openldap and samba 4

Michał Maciejczak maciejczak at ctdp.pl
Thu Jul 30 02:08:35 MDT 2009


Hi
Could anyone help with setting up samba4 with openldap backend?
Which version and how to compile ?


berkeley db-4.7.25
cd build_unix
../dist/configure --enable-mutex --enable-debug --enable-diagnostic

openssl-0.9.8k
./config

openldap-2.4.15
./configure LD_LIBRARY_PATH="/usr/src/db-4.7.25/build_unix/.libs" 
CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include/ 
-I/usr/local/ssl/include/" LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib/ 
-L/usr/local/ssl/lib/" --enable-debug --enable-dynamic --enable-slapd 
--enable-modules --enable-slapi --enable-bdb --enable-hdb --enable-ldap 
--enable-overlays --enable-monitor --enable-accesslog --enable-deref 
--enable-memberof --enable-refint --enable-translucent --enable-syncprov 
--with-cyrus-sasl --enable-spasswd --enable-rewrite 
--libdir=/usr/local/lib:/usr/lib 
--includedir=/usr/local/include:/usr/include

krb5-1.6.3
./configure --enable-shared --localstatedir=/etc --mandir=/usr/share/man 
--without-tcl --enable-dns-for-realm 
--libdir=/usr/local/BerkeleyDB.4.7/lib/ 
--includedir=/usr/local/BerkeleyDB.4.7/include/ --with-ldap

cyrus-sasl-2.1.23
./configure --prefix=/usr --enable-static --enable-login --without-des 
--without-rc4 --enable-gssapi --disable-krb4 --mandir=/usr/share/man 
--infodir=/usr/share/info 
--with-bdb-libdir=/usr/local/BerkeleyDB.4.7/lib/ 
--with-bdb-incdir=/usr/local/BerkeleyDB.4.7/include/ 
--with-openssl=/usr/local/ssl/ --with-ldap=/usr/local/


Can anyone help pls?
Best regards
-- 

Michał Maciejczak
IT Department
tel. (+48) 52 580 3454

<http://www.ctdp.pl>



More information about the samba-technical mailing list