Samba4 OpenLDAP backend

nitin bhadauria bhadauria.nitin at gmail.com
Wed Apr 28 00:23:58 MDT 2010


Here is the out put ..

gdb /usr/local/libexec/slapd
GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run -d7 -f /usr/local/samba/private/ldap/slapd.conf -h "ldap://:3000";
Starting program: /usr/local/libexec/slapd -d7 -f
/usr/local/samba/private/ldap/slapd.conf -h "ldap://:3000";
warning: .dynamic section for "/lib/libuuid.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
[New Thread 0xb7564710 (LWP 27465)]
@(#) $OpenLDAP: slapd 2.X (Apr 28 2010 11:29:48) $
    root at samba.domain.com:/root/openldap/servers/slapd
ldap_pvt_gethostbyname_a: host=samba.domain.com, r=0
daemon_init: ldap://:3000
daemon_init: listen on ldap://:3000
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://:3000)
daemon: listener initialized ldap://:3000
daemon_init: 2 listeners opened
ldap_create
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008)
hdb_back_initialize: initialize HDB backend
hdb_back_initialize: Berkeley DB 4.7.25: (May 15, 2008)

and it startted without any error ..

send_ldap_result: conn=-1 op=0 p=0
send_ldap_result: err=0 matched="" text=""
slapd starting



On Wed, Apr 28, 2010 at 10:41 AM, Andrew Bartlett <abartlet at samba.org>wrote:

> 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/<http://samba.org/%7Eabartlet/>
> Authentication Developer, Samba Team           http://samba.org
> Samba Developer, Cisco Inc.
>


More information about the samba-technical mailing list