Search code examples
ldapopenldapldap-client

Ldap configuration and root connection


Mac: Open Ldap

I am new to Open LDAP, i google it and found that max OS comes with default open ldap installed.

I followed this tutorial MAC Ldap tutorial

Following is my slapd.conf

#######################################################################
# BDB database definitions
#######################################################################

database    bdb
suffix      "dc=my-domain,dc=com"
rootdn      "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw      {SSHA}xEYpp/gcd4Mmf6j756LX4kBjSyYyZFz8
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory   /private/var/db/openldap/openldap-data
# Indices to maintain
index   objectClass eq

Now i am using Jxplorere as a client.

I tried following credentials, i don't know what will be user name so i assumed like other apps may be default username is root. and password i used was which i generated. enter image description here

when i tried to login got following error.

enter image description here

any help is appreciated.


Solution

  • The BaseDN is the suffix, and the username is the rootDN.