openldap and samba 4 - update

grimstone office at
Tue May 26 08:08:24 GMT 2009

recompiled samba4 and openldap from latest git/cvs and on provision ... still
IO timeout as follows:

Setting up secrets.ldb
Setting up the registry
Setting up templates db
Setting up idmap db
schema_fsmo_init: no schema dn present: (skip schema loading)
naming_fsmo_init: no partitions dn present: (skip loading of naming contexts
pdc_fsmo_init: no domain dn present: (skip loading of domain details)

........ a long wait ... 2minutes

and then:

Failed to bind - LDAP client internal error: NT_STATUS_IO_TIMEOUT
Failed to connect to
module partition initialization failed
module show_deleted initialization failed
module extended_dn_out_dereference initialization failed
module operational initialization failed
module kludge_acl initialization failed
module samldb initialization failed
module asq initialization failed
module server_sort initialization failed
module paged_results initialization failed
module rootdse initialization failed
Unable to load modules for /usr/local/samba/private/sam.ldb: (null)
Traceback (most recent call last):
  File "setup/provision", line 192, in <module>
  File "bin/python/samba/", line 1052, in provision
  File "bin/python/samba/", line 775, in setup_samdb
    ldap_backend_type=ldap_backend_type, erase=erase)
  File "bin/python/samba/", line 564, in setup_samdb_partitions
    credentials=credentials, lp=lp)
  File "bin/python/samba/", line 49, in __init__
  File "bin/python/samba/", line 54, in connect
    super(SamDB, self).connect(self.lp.private_path(url))
_ldb.LdbError: (80, None)

Andrew Bartlett wrote:
> On Mon, 2009-05-25 at 08:13 +0300, Theodor wrote:
>> Ok,  so that  IO TIMEOUT is the problem
> Correct.  it seems odd that you claim the other tools don't see this
> issue.  Try a standalone ldbsearch against the *ldapi URL* (not the
> sam.ldb).  If that hangs, see what strace of that command shows.
> I wish I could help more, but as far as I've been able to tell the
> problems I'm seeing are on the OpenLDAP side.  (And until my setup
> works, trying to debug yours is difficult).
> Andrew Bartlett
> -- 
> Andrew Bartlett                      
> Authentication Developer, Samba Team 
> Samba Developer, Red Hat Inc.        

View this message in context:
Sent from the Samba - samba-technical mailing list archive at

More information about the samba-technical mailing list