s4 provision with ol fails (bugzilla.samba 7040?)

Oliver Liebel oliver at itc.li
Tue Mar 2 12:39:02 MST 2010


hi endi,

thanks for your reply.

yes, i know that #1 had to be used instead of #5,
but i wanted to test if i could get around this bug using #5
as dirk did,  as a temporarily workaround.

please keep me up to date, as i would like to
test mmr with ol-backend in the actual version again.

thanks and greetings
oliver






Am 02.03.2010 18:20, schrieb Endi Sukma Dewata:
> Hi Oliver,
>
> On bug #7040, it was decided that we'd use patch #1 instead of #5.
> That aside, valgrind indicates there seems to be a memory corruption
> inside ldb_ildap.c. I've verified this problem on several VM's. I'm
> going to start investigating.
>
> --
> Endi S. Dewata
>
>
> ----- "Oliver Liebel"<oliver at itc.li>  wrote:
>
>    
>> some additional info:
>>
>> using endis patch #5 instead of #1 (the one tridge disliked)
>> provision runs til "self join" but ends up in a segfault.
>>
>>
>> Am 02.03.2010 12:43, schrieb Oliver Liebel:
>>      
>>> i have tried latest s4 pre-a12 from git with ol 2.4.21 and it seems
>>>        
>> it
>>      
>>> is still
>>> hitting this bug:
>>>
>>> https://bugzilla.samba.org/show_bug.cgi?id=7040
>>>
>>> "make quicktest" runs fine, patches from endi are included in this
>>> git-version.
>>> any ideas?
>>>
>>> greetings,
>>> oliver
>>>
>>> ---
>>> samba4dc1:/install/samba-master/samba_4_0_test/source4 #
>>> setup/provision --realm=ldap.local.site --domain=LDAP
>>> --server-role='domain controller' --ldap-backend-type=openldap
>>> --username=samba-admin --password=linux --adminpass=linux
>>> --ldapadminpass=linux --slapd-path=/usr/local/libexec/slapd
>>> hdb_db_open: database
>>> "cn=Schema,cn=Configuration,dc=ldap,dc=local,dc=site":
>>> db_open(/usr/local/samba/private/ldap/db/schema/id2entry.bdb)
>>>        
>> failed:
>>      
>>> No such file or directory (2).
>>> backend_startup_one (type=hdb,
>>> suffix="cn=Schema,cn=Configuration,dc=ldap,dc=local,dc=site"):
>>> bi_db_open failed! (2)
>>> slap_startup failed (test would succeed using the -u switch)
>>> 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=ldap,DC=local,DC=site
>>> 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 245, in<module>
>>>
>>>
>>>        
>> nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
>>      
>>>    File "bin/python/samba/provision.py", line 1305, in provision
>>>      dom_for_fun_level=dom_for_fun_level)
>>>    File "bin/python/samba/provision.py", line 942, in setup_samdb
>>>      samdb.add_ldif(schema.schema_data, controls=["relax:0"])
>>>    File "bin/python/samba/__init__.py", line 258, 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 [0x9749868] on
>>> /usr/local/samba/private/secrets.ldb
>>> ---
>>>
>>>
>>>        
>
>    



More information about the samba-technical mailing list