Dependency problems

antlib at antlib at
Fri Oct 11 02:50:25 MDT 2013

Hi all,

I try to install SAMBA4 on Debian Wheezy 7.1.

But at a moment i get this error :

ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed -  
ProvisioningError: guess_names: Realm 'DEBIAN' must not be equal to  
hostname 'debian'!
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/",  
line 398, in run
     use_rfc2307=use_rfc2307, skip_sysvolacl=False)
"/usr/lib/python2.7/dist-packages/samba/provision/", line  
1892, in provision
     sitename=sitename, rootdn=rootdn)
"/usr/lib/python2.7/dist-packages/samba/provision/", line  
564, in guess_names
     raise ProvisioningError("guess_names: Realm '%s' must not be  
equal to hostname '%s'!" % (realm, hostname))

dpkg: error processing samba4 (- configure):
   subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of winbind4:
   winbind4 depends on samba4 (= 4.0.1 + dfsg1-1), however:
   The samba4 package is not configured yet.

dpkg: error processing winbind4 (- configure):
   dependency problems - leaving unconfigured
Errors were encountered while processing:

Please, how to solve this problem ?

Thanks a lot.

More information about the samba-technical mailing list