samba4 alpha7 with openldap backend provision problem

Sassy Natan sassyn at
Mon May 4 06:14:20 GMT 2009

The deref is a openldap overlay used by samba4.
If I remember correctly this overlay is part of the latest version of
openldap - so please make sure to use the latest build.

There are number of overlay used by samba 4 which need to be configure in
the modules.conf file. If u compiled the openldap not as a static build,
then u should make sure you have included all the overlay required, and add
the required modules.conf.

Please run openldap with debug mode on ( add -d-1 to the run line).
And see whats wrong.

Hope this one helps


On Sun, May 3, 2009 at 10:49 PM, Theodor Chirana <office at> wrote:

> Hello,
> I am trying to use openldap with samba 4 so I installed openldap with:
> ./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.5/include/
> -I/usr/local/ssl/include/" LDFLAGS="-L/usr/local/BerkeleyDB.4.5/lib
> -L/usr/local/ssl/lib/" --enable-debug --enable-slapd --enable-modules
> --enable-monitor  --enable-overlays --enable-deref --enable-memberof
> --enable-refints --enable-bdb
> and when I try to start:
> slapd -d0 -f /usr/local/samba/private/ldap/slapd.conf -h
> ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
> gives me:
> overlay "deref" not found
> slapd destroy: freeing system resources.
> slapd stopped.
> Please help because it's been a week now. How do I really enable the deref
> overlay?? Must be othe configurations made to samba4 or openldap???
> Best regards,
> Theodor Chirana

More information about the samba-technical mailing list