Need help setting up OpenLDAP on OSX Mountain Lion
Posted
by
rjcarr
on Server Fault
See other posts from Server Fault
or by rjcarr
Published on 2012-10-15T21:04:01Z
Indexed on
2012/10/15
21:39 UTC
Read the original article
Hit count: 455
I'm trying to get OpenLDAP manually configured on OSX Mountain Lion. I'd prefer to do it manually instead of installing OSX server, but if that's the only option (i.e., OpenLDAP on OSX isn't meant to be used without server) then I'll just install it.
I've seen guides that mostly just say to change the password in slapd.conf and then start the server and it should work. However, whenever I try to do anything with the client it tells me this:
ldap_bind: Invalid credentials (49)
I've tried encrypting the password as well as leaving it plain it doesn't seem to matter.
The version is 2.4.28 and I've read as of 2.4 OpenLDAP uses slapd.d directories, but that doesn't seem to be the case in OSX. There was mention of an 'olcRootPW' I should use (instead of 'rootpw' in slapd.conf), but I only found that in a file named slapd.ldif.
So ... I'm really confused. Has anyone got OpenLDAP working on OSX Moutain Lion without the server tools?
© Server Fault or respective owner