Siddharth Vajirkar
2009-Jul-01 18:46 UTC
[Samba] Problem with provision of samba4 as domain controller
I'm trying to setup samba4 alpha 8 as a domain controller on fedora core 10. The compile and install seems to have gone well, but the provision step is failing: ?./setup/provision --realm=peap.local --domain=peap.local --server-role='domain controller' Setting up secrets.ldb Setting up the registry Setting up templates db Setting up idmap db schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details) pdc_fsmo_init: no domain object present: (skip loading of domain details) schema_fsmo_init: no schema dn present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details) pdc_fsmo_init: no domain dn present: (skip loading of domain details) Setting up sam.ldb attributes Setting up sam.ldb rootDSE Erasing data from partitions schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details) pdc_fsmo_init: no domain object present: (skip loading of domain details) Pre-loading the Samba 4 and AD schema Adding DomainDN: DC=peap,DC=local (permitted to fail) Modifying DomainDN: DC=peap,DC=local Adding configuration container (permitted to fail) Modifying configuration container Adding schema container (permitted to fail) Modifying schema container Setting up sam.ldb schema Setting up sam.ldb configuration data Setting up display specifiers Adding users container (permitted to fail) Modifying users container Adding computers container (permitted to fail) Modifying computers container Setting up sam.ldb data Traceback (most recent call last): ? File "./setup/provision", line 192, in <module> ??? ldap_backend_type=opts.ldap_backend_type) ? File "bin/python/samba/provision.py", line 1052, in provision ??? ldap_backend_type=ldap_backend_type) ? File "bin/python/samba/provision.py", line 892, in setup_samdb ??? "SERVERDN": names.serverdn ? File "bin/python/samba/provision.py", line 187, in setup_add_ldif ??? ldb.add_ldif(data) ? File "bin/python/samba/__init__.py", line 192, in add_ldif ??? self.add(msg) _ldb.LdbError: (68, 'Entry CN=Builtin,DC=peap,DC=local already exists') What am I missing? Thanks, Sid ?
Reasonably Related Threads
- Samba4. Provision script fails.
- samba4 partitions upgrade probs
- Fwd: removing windows 2003 from samba4&In-Reply-To=<4DEDC91A.3080706@samba.org>
- Unable to provision with openldap/samba4: pdc_fsmo_init: no domain object present
- samba4/Win2008: error -> directory property cannot be found in the cache