[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap_bind: Invalid credentials (49)
I'm not able to add record to the ldap server, here is the config file....
#/etc/openldap/slapd.conf
database ldbm
suffix "dc=lmpnet,dc=se"
rootdn "cn=Manager,dc=lmpnet,dc=se"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw testtest
##########################################
#start.ldif
# Organization for LMPNET Corporation
dn: dc=lmpnet, dc=se
objectClass: dcObject
objectClass: organization
dc: lmpnet
o: LMP Network
description: The Main Corporation
# Organizational Role for Directory Manager
dn: cn=Manager, dc=lmpnet, dc=se
objectClass: organizationalRole
cn: Manager
description: Directory Manager
#######################################
Here is the command that I try to run
ldapadd -x -D "cn=Manager,dc=lmpnet,dc=se" -W -f start.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
.M
--
Michael Jonsson
begin:vcard
fn:Michael Jonsson
n:Jonsson;Michael
org:LMP Network
adr:;;Kungsholms Kyrkoplan 4;Stockholm;;112 24;Sweden
email;internet:micke@lmpnet.se
title:Konsult
tel;work:+46 8 154060
tel;fax:+46 8 651 29 60
tel;cell:+46 709 81 52 04
x-mozilla-html:TRUE
url:http://www.lmpnet.se
version:2.1
end:vcard