problem updating samba 4

hesam mohamadian hesam.mohamadian at gmail.com
Mon Apr 4 22:40:24 MDT 2011


*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 *?
my smb.conf is like this :

 [globals]
        netbios name    = ITS
        workgroup       = ITSDC
        realm           = ITSDC.UM.AC.IR
        server role     = domain controller

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/itsdc.um.ac.ir/scripts
        read only = no

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = no


More information about the samba-technical mailing list