Dependency problems

Andrew Bartlett abartlet at samba.org
Wed Nov 20 18:28:24 MST 2013


On Fri, 2013-10-11 at 10:39 +0200, antlib at u-picardie.fr wrote:
> 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/domain.py",  
> line 398, in run
>      use_rfc2307=use_rfc2307, skip_sysvolacl=False)
>    File  
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line  
> 1892, in provision
>      sitename=sitename, rootdn=rootdn)
>    File  
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line  
> 564, in guess_names
>      raise ProvisioningError("guess_names: Realm '%s' must not be  
> equal to hostname '%s'!" % (realm, hostname))

> Please, how to solve this problem ?

Don't use these packages as an AD DC.  Samba 4.0.1 is very old, and the
packages presented in wheezy are not suitable for building an AD DC, and
should not in retrospect have been included.  Wheezy/testing now has
current and correct packages. 

Either way, the issue comes from your hostname and DNS domain being
'debian' at the same time. 

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz




More information about the samba-technical mailing list