Setup local LDAP server in mac OSX
Asked Answered
K

2

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?

Kinetics answered 6/10, 2014 at 11:8 Comment(5)
This question doesn't appear to be about programming. Try apple.stackexchange.com instead.Vinylidene
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'"Hammond
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?Kinetics
If anyone is still looking for this, following seems to work for me. Setting up OpenLDAP under MAC OS XHormonal
I have changed the README instructions of OpenLDAP to a working instruction guide. Hope it helps.Hymenopteran
K
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.

Kinetics answered 14/10, 2014 at 6:16 Comment(0)
P
6

Use -d3 suffix.

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

Pinnatipartite answered 7/4, 2016 at 16:10 Comment(1)
Yes, it shows this. :-) sudo: /usr/local/libexec/slapd: command not foundImaginal

© 2022 - 2024 — McMap. All rights reserved.