problem in upgrade samba-provison

Matthieu Patou mat at samba.org
Tue Apr 5 13:15:47 MDT 2011


On 04/04/2011 11:48, hesam mohamadian wrote:
> *root at its: */usr/local/src/samba-4.0.0alpha14/source4#
> ./scripting/bin/upgradeprovision --full -s /usr/local/samba/etc/smb.conf
> Creating a reference provision Traceback (most recent call last):   File
> "./scripting/bin/upgradeprovision", line 1638, in<module>
> provision_logger)   File "bin/python/samba/upgradehelpers.py",
> line 383, in newprovision     ldap_dryrun_mode=None, useeadb=True)   File
> "bin/python/samba/provision/__init__.py", line 1492, in provision
> sitename=sitename)   File "bin/python/samba/provision/__init__.py",
> *line 520, in guess_names     raise ProvisioningError("guess_names: Domain
> '%s' must not be equal to short host name '%s'!" % (domain, netbiosname))
> samba.provision.ProvisioningError: ProvisioningError: guess_names: Domain
> 'ITSDC' must not be equal to short host name 'ITSDC'!
> *A transaction is still active in ldb context [0x8c6bec0] on
> /usr/local/samba/private/sam.ldb A transaction is still active in ldb
> context [0x9946510] on /usr/local/samba/private/idmap.ldb A transaction is
> still active in ldb context [0x98a7fa8] on
> /usr/local/samba/private/secrets.ldb A transaction is still active in ldb
> context [0x9a73a08] on /usr/local/samba/private/privilege.ld
> *how can i change host name in samba4 *?
Well the thing is that it's also written in the database, the easiest 
would be to change the NT name of the domain but it's still not for the 
faint of heart !


Matthieu.

-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list