Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2009 09:25:36 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        ruel.freebsd@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Samba PDC with LDAP backend
Message-ID:  <200907180225.n6I2PaES071268@banyan.cs.ait.ac.th>
In-Reply-To: <ee9dc2b40907171917k1089ea27n22d0b9621c083b7@mail.gmail.com> (message from Ruel Luchavez on Sat, 18 Jul 2009 10:17:55 %2B0800)
References:  <ee9dc2b40907171829r5afbc885u1f84b2054ff4f5e5@mail.gmail.com> <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th> <ee9dc2b40907171917k1089ea27n22d0b9621c083b7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907180225.n6I2PaES071268>