16

I've followed this (https://github.com/IntersectAustralia/acdata/wiki/Setting-up-OpenLDAP) tutorial for set up LDAP server in my local machine.

I've done all these steps

  1. Installed Homebrew
  2. Installed openldap using brew command, including berkeley db
  3. Updated the slapd.conf file
  4. Started the server using command "sudo /usr/local/libexec/slapd"

Now how do i know the LDAP server is running?

Raptor
  • 53,206
  • 45
  • 230
  • 366
skyler
  • 742
  • 1
  • 10
  • 24
  • 2
    This question doesn't appear to be about programming. Try http://apple.stackexchange.com instead. – Droppy Oct 06 '14 at 11:16
  • 1
    From the page you linked to - "Using rake db:populate will build a up the necessary directory structure in your local LDAP instance for development. Then you can do a test query: ldapsearch -D 'cn=admin,dc=localhost' -W -x -b 'o=unsw,dc=localhost'" – stuartd Oct 06 '14 at 11:47
  • 1
    hi, thanks for the reply. When i do rake db:populate in jn terminal i get this error "No rake file found". What am i doing wrong? – skyler Oct 06 '14 at 12:22
  • 3
    If anyone is still looking for this, following seems to work for me. [Setting up OpenLDAP under MAC OS X](http://blog.facilelogin.com/2012/05/setting-up-openldap-under-mac-os-x.html) – Akalanka Sep 28 '15 at 03:50
  • 1
    I have changed the README instructions of OpenLDAP to a [working instruction guide](https://github.com/IntersectAustralia/acdata/wiki/Setting-up-OpenLDAP). Hope it helps. – Raptor Oct 05 '21 at 02:26

2 Answers2

15

I tried a lot but i could'nt succeed,later i deiced to go with ADS (http://directory.apache.org/studio/). Its easy to set up. Believe me i made the installation and configuration in 5 mins. Thank you apache.

skyler
  • 742
  • 1
  • 10
  • 24
5

Use -d3 suffix.

Run sudo /usr/libexec/slapd -d3, it will show you the details.

julien bouteloup
  • 3,022
  • 22
  • 16