Samba PDC with LDAP backend

Olivier Nicole on at cs.ait.ac.th
Sat Jul 18 02:25:38 UTC 2009


Ruel,

> And yes ldap is running
> #ps -aux | grep slap

That the process slapd is running does not mean you can access it.

That: 

> /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap://
> 0.0.0.0/ldap://192.168.5.0/ldap://127.0

looks strange to me, I am used to someting like:

    /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
    ldaps://192.41.170.6/ ldap://192.41.170.6/ -u ldap -g ldap

with space between each URL on the command line.

You should first assert that LDAP is running the way you want, if it
is, you should be able to find a set of options to use with ldapsearch
to be able to access your LDAP server.

Basically, these options will have to be transposed into smbldap
configuration.

Good luck,

Olivier


More information about the freebsd-questions mailing list