From: Maarten Kerkvliet on
Hey All,

I am trying to setup a samba4 environment with OpenLDAP backend on a Debian
5 server by using the following howto:
http://wiki.samba.org/index.php/Samba4/LDAP_Backend/OpenLDAP

Everything goes well but when I come at the point of provisioning I get the
following output and the provisioning stops.


Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi'
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=test,DC=local
pdc_fsmo_init: no domain object present: (skip loading of domain details)
Adding configuration container
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts
details)
Setting up sam.ldb schema
Reopening sam.ldb with new schema
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts
details)
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts
details)
Setting up sam.ldb configuration data
Setting up display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up sam.ldb users and groups
Setting up self join
Setting up sam.ldb rootDSE marking as synchronized
rndc: 'freeze' failed: not found
rndc: 'unfreeze' failed: not found
See /usr/local/samba/private/named.conf for an example configuration include
file for BIND
and /usr/local/samba/private/named.txt for further documentation required
for secure DNS updates
A Kerberos configuration suitable for Samba 4 has been generated at
/usr/local/samba/private/krb5.conf
Traceback (most recent call last):
File "setup/provision", line 253, in <module>
useeadb=eadb, next_rid=opts.next_rid)
File "bin/python/samba/provision.py", line 1561, in provision
provision_backend.post_setup()
File "bin/python/samba/provisionbackend.py", line 86, in post_setup
raise NotImplementedError(self.post_setup)
NotImplementedError: <bound method OpenLDAPBackend.post_setup of
<samba.provisionbackend.OpenLDAPBackend object at 0x9823a2c>>

The command i use to provision is:

setup/provision --realm=TEST.LOCAL --domain=TEST --server-role='domain
controller' --ldap-backend-type=openldap --adminpass='AbCd123'
--slapd-path="/usr/local/libexec/slapd"

Can someone tell me what is going wrong?

Regards

Maarten
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba