Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there an LDAP Server running on my OS X Snow Leopard deployment? How do I find it? Can I connect to it over the standard LDAP port of 389?

The simple telnet test results was not encouraging...

bobk-mbp:~ bobk$ telnet localhost 389
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
telnet: Unable to connect to remote host

The reason I'm asking is that I am developing an LDAP authentication capability in the webapp I work on and it would be most convenient if I can just test it out on my dev workstation leveraging the user accounts already set up there. My enthusiasm for deploying and maintaining an LDAP server on my dev workstation is rather low and if my mac already is running one I would just like to use it.

Enlighten me. Is LDAP already running on my Mac how can I connect to it?

My dev box is plain-jane Snow Leopard on a MacBook Pro.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

No, there isn't. There is only an LDAP server with OS X Server.

A cheaper alternative would be VirtualBox with a Linux VM running OpenLDAP's slapd.

share|improve this answer
    
Sigh. Too bad. It should be easy enough to get ApacheDS onto the launchd thingy. I've had success with this in the past. –  Bob Kuhar Nov 5 '12 at 19:24
add comment

Homebrew has an OpenLDAP formula. Deploying slapd this way uses much less RAM than installing a virtual machine with Linux running slapd.

share|improve this answer
    
Please add links and some description to your answer. This will help future users with the same question with their problem. –  Bart Arondson Dec 26 '12 at 1:08
    
@BartArondson done. –  user37169 Dec 26 '12 at 2:03
    
In other words, run: brew install slapd –  kenorb Sep 23 '13 at 19:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.