August 1st, 2004, 08:30 AM
LDAP newbie help
I am trying to setup LDAP on RH8 to act as an address book for Outlook users. I have read several examples and don't understand what I am missing.
My slapd.conf file:
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
From Outlook I get invalid DN syntax error 34
From server cmd line doing:
ldapadd -x -D "cn=root" -w mypassword -h localhost
Output: ldap_bind: Invalid credentials
August 1st, 2004, 12:39 PM
root dn needs to be
cn=Manager,dc=mycompany,dc=com not cn=root
August 1st, 2004, 08:32 PM
I can change cn=<anything> and it still gets the same error.
August 2nd, 2004, 10:30 AM
can you log on with an annomous bind?
August 4th, 2004, 10:07 AM
One problem resolved. Outlook needs to be restarted after making any changes. I can now connect to the LDAP server and see an entry I added from the cmd line.
But I cannot connect to add entries. Whenever I use a login and password I get "Invalid DN syntax".
What user do I enter into a ldap utility to connect as? root? Manager? I don't get it.
August 4th, 2004, 10:47 AM
your root dn is
rootdn "cn=Manager,dc=mycompany,dc=com" so you have to connect with
to connect as root
August 4th, 2004, 11:05 AM
No wonder I didn't get it!!! I kept thinking the login name is a single word "Manager" or "root". I had no idea you enter the whole thing into the user name.
I can now login with a user name but Outlook cannot add or modify entries as "Manager". I get no error.
August 4th, 2004, 11:13 AM
did you enter your password in Outlook?
August 4th, 2004, 12:21 PM
Yes the login and password are in Outlook. If I intentionally enter a wrong password Outlook won't let me connect (error 48). I connect as the rootdn but it won't let me modify or add entries.
August 4th, 2004, 02:54 PM
perhaps outlook doesn't support it