[Samba] Samba4 + existing OpenLDAP possible?

Sebastian Hoffmann sebastian.hoffmann at pallas-group.de
Wed Jul 14 02:49:27 MDT 2010

Hello list,

I've got an already running OpenLDAP-Server with online configuration 
through cn=config.
Is it possible to use the existing OpenLDAP with Samba4 alpha12?

For the existing openldap ps aux gives me

/usr/sbin/slapd -h ldap:/// ldapi:/// -g openldap -u openldap -F 

but when I try

setup/provision --realm=ad.pallas --domain=ad --ldapadminpass="XXX" 
--ldap-backend-type=openldap --server-role='domain controller' 
--adminpass='XXX' --slapd-path="/usr/sbin/slapd"

I only get

Failed to bind - LDAP client internal error: 
Failed to connect to 
Could not start slapd with: '/usr/sbin/slapd' 
'-F/usr/local/samba/private/ldap/slapd.d' '-h' 
'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi' '-d0'
ProvisioningError: slapd died before we could make a connection to it

Is there a way to run the provisioning without restarting my openldap?
Or what files do I have to modify to make it working?

Mit freundlichen Grüßen

Sebastian Hoffmann
-Pallas Group-
P+O Compact Disc GmbH & Co. KG
IT / Programmierung
Auf dem Esch 8
49356 Diepholz
Tel.: +49 5441 977-180
Fax: +49 5441 977-177
E-Mail: Sebastian.Hoffmann at pallas-group.de
Internet: www.pallas-group.de

Amtsgericht Walsrode HRB 100696
UST.ID.NR.: (VAT.REG.NO.): DE 811248035
Persönlich haftende Gesellschafterin:
Order Verwaltungs-GmbH * Sitz Diepholz
Amtsgericht Walsrode HRB 101171
Rolf Neumann * Holger Neumann * Rainer Koppermann

P.S.: Wir sind offizieller Lizenzpartner von Toshiba, Philips und MPEG-2.

More information about the samba mailing list