Provisioning problem

Zahari Zahariev zahari.zahariev at
Tue Apr 14 14:02:45 GMT 2009

Hello list,

Interesting problem I cannot provision my Samba4 server any more and I 
used to before. The error that I get is:

Adding DomainDN: DC=zahari,DC=local (permitted to fail)
Traceback (most recent call last):
 File "./setup/provision", line 192, in <module>
 File "bin/python/samba/", line 1052, in provision
 File "bin/python/samba/", line 801, in setup_samdb
   "DOMAIN_OC": domain_oc
 File "bin/python/samba/", line 187, in setup_add_ldif
 File "bin/python/samba/", line 192, in add_ldif
_ldb.LdbError: (1, 'Operations error (1)')

The provisioning command I execute looks like this:

sudo ./setup/provision --realm=zahari.local --domain=zahari 
--adminpass=sambamamba --server-role='domain controller'

However there is a case where provisioning passes OK. That's when after 
a crash like the above '/usr/local/samba/etc/smb.conf' is deleted and I 
provision again as this:

sudo ./setup/provision --domain=zahari 
--adminpass=sambamamba --server-role='domain controller'

Is now mandatory that your realm consists of three parts e.g. 
'zahari.local' is bad but '' is good?



More information about the samba-technical mailing list