[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem: ldap_bind: Invalid credentials (49)
- To: openldap-software@openldap.org
- Subject: Problem: ldap_bind: Invalid credentials (49)
- From: Chatree Srichart <chatree.srichart@gmail.com>
- Date: Tue, 5 Jan 2010 14:35:47 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7g/D5S4UTJrkcyG5mqvybtFG9Kk2kunuPyiQ7bnOmTQ=; b=gbbOoB8PR7EJ1YioFjv6GAT8/p1fZ/HgsxkXOgjH7lYbLMCo1hbTvUJVoCaEWWQNYO wKVfZXJEyzt6IxlFXjCryka9MS6QMRAlEKx6jkHvn9Q1pflWq/6vIdHwWoW8orgWvUBm OJheFlWMCHGna4qrE1DxG+DYqJDnzJHflzbSo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fThOkO/RC4bDCdypqRnTauGOlDHVa+v3Ckk4ZZSAlRB8pFRLT9MdTkaSn6TRFt6tB9 ePmqvQLXipCCq8H6U68vLFgY5iZnJZ69tl8SCKx6B+LCBI7uQfE2qORSB3UhHIHbf5eS O7fiSDIgu8qIVCICSjRoC+HVBVcfEFTndL7Lk=
Hi all..
I try to add ldif file but I found error:
ldap_bind: Invalid credentials (49)
I use Ubuntu 9.04
/etc/ldap/slapd.conf
==============
# Make sure you edit or add these directives after the first 'database' directive.
suffix "dc=example,dc=com"
directory "/var/lib/ldap"
rootdn "cn=admin,dc=example,dc=com"
rootpw {SSHA}b7Jy+04HxRvtDWbsZwsYuQrU7YTzFrWl
admin.ldif
==============
dn: dc=ceenet,dc=example,dc=com
objectclass: dcObject
objectclass: organization
dc: ceenet
o: CEENET Workshop 2001
dn:cn=Manager,dc=ceenet,dc=example,dc=com
objectclass: organizationalRole
cn: Manager
I following command:
===============
$ ldapadd -x -h localhost -D cn=admin,dc=example,dc=com -W -f admin.ldif
Enter LDAP Password: xxxxx
ldap_bind: Invalid credentials (49)
Can any one help me?