Dependency problems

Jelmer Vernooij jelmer at samba.org
Thu Nov 21 04:42:03 MST 2013


On Thu, Nov 21, 2013 at 02:28:24PM +1300, Andrew Bartlett wrote:
> 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. 
wheezy doesn't have current packages - I suspect you meant jessie or sid?

Jelmer


More information about the samba-technical mailing list