Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
1  
If you're trying to set up a Not-A-Server, you're probably in the wrong place. This is a Q&A site for IT Professional operating their systems and networks in a professional capacity, which doesn't fit this question. A professional would be using the appropriate tools and system packages whenever possible – Adrian Oct 16 '12 at 1:56
Thanks Adrian, I didn't even realize I was on server fault. I'll take the question elsewhere. – rjcarr Oct 16 '12 at 16:37

closed as off topic by SvW, Adrian, sysadmin1138 Oct 19 '12 at 20:06

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.