From: Martin Hochreiter on 9 Feb 2010 11:30 Am 2010-02-09 10:46, schrieb James Ray: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > I'm trying to get samba4 to provision with the latest git version. My > provision command looks like so: > # ./setup/provision --realm=TEST.DOMAIN --domain=DOMAIN --adminpass=pass > - --server-role='domain controller' --ldap-backend-type=openldap > - --slapd-path=/usr/sbin/slapd > > I get the following output from the command: > hdb_db_open: database "cn=Schema,cn=Configuration,dc=test,dc=domain": > db_open(/usr/local/samba4/private/ldap/db/schema/id2entry.bdb) failed: > No such file or directory (2). > backend_startup_one (type=hdb, > suffix="cn=Schema,cn=Configuration,dc=test,dc=domain"): 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%2Fsamba4%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=test,DC=domain > pdc_fsmo_init: no domain object present: (skip loading of domain details) > > Traceback (most recent call last): > File "./setup/provision", line 244, in<module> > nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb) > File "bin/python/samba/provision.py", line 1301, in provision > dom_for_fun_level=dom_for_fun_level) > File "bin/python/samba/provision.py", line 945, in setup_samdb > "SAMBA_VERSION_STRING": version > File "bin/python/samba/provision.py", line 260, in setup_modify_ldif > ldb.modify_ldif(data) > File "bin/python/samba/__init__.py", line 261, in modify_ldif > self.modify(msg, controls) > _ldb.LdbError: (1, 'LDAP client internal error: NT_STATUS_INTERNAL_ERROR') > A transaction is still active in ldb context [0x42f1450] on > /usr/local/samba4/private/secrets.ldb > > Any one with any ideas on where I progress from here with this? I seem > to have come to a road block. > > Thanks for any help you can provide. > I am experiencing exactly the same behaviour with samba4alpha11 -the script is not able to connect to the ldap server but it still is able to start it - maybe someone can give us a hint, please regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Endi Sukma Dewata on 10 Feb 2010 00:00 Hi James, There is a bug for this issue: https://bugzilla.samba.org/show_bug.cgi?id=7040 -- Endi S. Dewata ----- "James Ray" <j.ray(a)qmul.ac.uk> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > I'm trying to get samba4 to provision with the latest git version. > My > provision command looks like so: > # ./setup/provision --realm=TEST.DOMAIN --domain=DOMAIN > --adminpass=pass > - --server-role='domain controller' --ldap-backend-type=openldap > - --slapd-path=/usr/sbin/slapd > > I get the following output from the command: > hdb_db_open: database "cn=Schema,cn=Configuration,dc=test,dc=domain": > db_open(/usr/local/samba4/private/ldap/db/schema/id2entry.bdb) > failed: > No such file or directory (2). > backend_startup_one (type=hdb, > suffix="cn=Schema,cn=Configuration,dc=test,dc=domain"): 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%2Fsamba4%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=test,DC=domain > pdc_fsmo_init: no domain object present: (skip loading of domain > details) > > Traceback (most recent call last): > File "./setup/provision", line 244, in <module> > > nosync=opts.nosync,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb) > File "bin/python/samba/provision.py", line 1301, in provision > dom_for_fun_level=dom_for_fun_level) > File "bin/python/samba/provision.py", line 945, in setup_samdb > "SAMBA_VERSION_STRING": version > File "bin/python/samba/provision.py", line 260, in > setup_modify_ldif > ldb.modify_ldif(data) > File "bin/python/samba/__init__.py", line 261, in modify_ldif > self.modify(msg, controls) > _ldb.LdbError: (1, 'LDAP client internal error: > NT_STATUS_INTERNAL_ERROR') > A transaction is still active in ldb context [0x42f1450] on > /usr/local/samba4/private/secrets.ldb > > Any one with any ideas on where I progress from here with this? I > seem > to have come to a road block. > > Thanks for any help you can provide. > > - -- > James Ray. <j.ray(a)qmul.ac.uk> > Computing Services (http://pub.tsn.dk/how-to-quote.php) > Queen Mary, University of London > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAktxLvgACgkQcGHKt+AwrtjkZgCgjmqOJ5GH/Myi/siTlx+1hbNE > m3IAniZmq2vxv98P8OxMcunlWj6jTnFS > =GNAH > -----END PGP SIGNATURE----- > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
|
Pages: 1 Prev: [Samba] (no subject) Next: [Samba] [netlogon] section being ignored |