From: Collen Blijenberg on 18 Feb 2010 06:20
Hi all, I'm experiencing the same problems as this post.
the problem is with the slapd.d config files, samba suppose to generate.
they aren't there.. and that's why the ldapi won't start up.
and that's why the provision fails...
i did find a slapd.conf file at the same location,
but running slaptest to convert it failed... (overlay deref not found)
any tips or suggestions how to proceed ?!
>> Wiki seems to be out of date here. The wiki reference's   a
>> script, as well as a "setup/provision" script, yet current git only
>> has a setup/provision
>> executable. Some #samba and #openldap IRC advice was that
>> provision-backend wasnt needed
>> anymore, but based off the errors i'm seeing, there's definitely
>> _something_ missing, I just
>> dont know if that something ( /usr/local/samba4/private/ldap/slapd.d/
>> files ) ought to be
>> provided by the missing setup/provision-backend.
>>  http://wiki.samba.org/index.php/Samba4/LDAP_Backend/OpenLDAP
>>  http://wiki.samba.org/index.php/Samba4/HOWTO/Ubuntu_Server_9.04
>> Following IRC advice, I attempted to just use the setup/provision
>> script. It didnt work. I
>> added a "[running]" print to provisionbackend.py, to see what it was
>> running, so I could
>> attempt to run slapd as it was running it, with debugging enabled.
>> Heres the result:
>> rektide(a)deneb:~/archives/samba/source4$ setup/provision
>> --ldap-backend-type=openldap --server-role=dc --domain=ELDERGODS
>> [running] '/usr/sbin/slapd'
>> '-F/usr/local/samba4/private/ldap/slapd.d' '-h'
>> Failed to bind - LDAP client internal error:
>> Failed to connect to
>> Traceback (most recent call last):
>> File "setup/provision", line 213, in <module>
>> File "bin/python/samba/provision.py", line 1257, in provision
>> File "bin/python/samba/provisionbackend.py", line 252, in start
>> raise ProvisioningError("slapd died before we could make a
>> connection to it")
> -- snip
>> connections_destroy: nothing to destroy.
>> The /usr/local/samba4/private/ldap/slapd.d/ directory is completely
>> empty. I'm not sure
>> what is supposed to populate this, but as can be seen from the above
>> debug logs, the slapd
>> kicked off by setup/provision is definitely expecting there to be
>> contents. This could very
>> well be a result of the missing-in-action setup/provision-backend
>> I'll be happy to do some wiki updating if I can get this issue
>> resolved: the OpenLDAP wiki
>> entry's last major work was the Ides of June 2008.
To unsubscribe from this list go to the following URL and read the
Prev: [Samba] Unwanted case sensitivity
Next: [Samba] Samba 3.2.5 / Debian Lenny preexec/postexec