Samba4 OpenLDAP backend

Andrew Bartlett abartlet at samba.org
Tue Apr 27 23:11:49 MDT 2010


On Wed, 2010-04-28 at 10:27 +0530, nitin bhadauria wrote:
> I have just updated openldap from cvs reposetry and i end up with a new
> error...
> 
> 
> /usr/local/bin/python setup/provision
> --realm=SAMBA.DOMAIN.COM<http://samba.domain.com/>--domain=
> DOMAIN.COM <http://samba.domain.com/> --server-role='domain controller'
> --ldap-backend-type=openldap --slapd-path="/usr/local/libexec/slapd"
> --adminpass=passw0rd
> 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 share.ldb
> 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=SAMBA,DC=DOMAIN,DC=COM
> 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
> 
> Traceback (most recent call last):
>   File "setup/provision", line 249, in <module>
>     nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
>   File "bin/python/samba/provision.py", line 1328, in provision
>     dom_for_fun_level=dom_for_fun_level)
>   File "bin/python/samba/provision.py", line 952, in setup_samdb
>     samdb.add_ldif(schema.schema_data, controls=["relax:0"])
>   File "bin/python/samba/__init__.py", line 251, in add_ldif
>     self.add(msg,controls)
> _ldb.LdbError: (3, 'error in module acl: Time limit exceeded (3)')
> A transaction is still active in ldb context [0xa1e32b0] on
> /usr/local/samba/private/secrets.ldb
> 

You will probably need to gdb the slapd to see why it's not
responding.  

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100428/2163cb62/attachment.pgp>


More information about the samba-technical mailing list