[Samba] Problem with provision of samba4 as domain controller

Siddharth Vajirkar vajirkar at yahoo.com
Wed Jul 1 18:39:27 GMT 2009





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

 



More information about the samba mailing list