[Samba] samba4 Seize Roles

Julian julian.reyes.escrigas at gmail.com
Wed Apr 17 10:51:06 MDT 2013


I have a samba4.0.0alpha making problems, now i decide update to samba4.0.3
with the following step

1. Compile and install samba 4.0.3 in a new machine
2. provision with samba-tool domain join <NEWDC> DC -UAdministrator
3. now seize roles with samba-tool fsmo seize --role=all
4. all roles except one are transfer to new dc

# samba-tool fsmo show
InfrastructureMasterRole owner: CN=NTDS
Settings,CN=NEWDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=myname,DC=com,DC=co
RidAllocationMasterRole owner: CN=NTDS
Settings,CN=NEWDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=myname,DC=com,DC=co
PdcEmulationMasterRole owner: CN=NTDS
Settings,CN=NEWDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=myname,DC=com,DC=co
DomainNamingMasterRole owner: CN=NTDS
Settings,CN=OLDDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=myname,DC=com,DC=co
SchemaMasterRole owner: CN=NTDS
Settings,CN=NEWDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=myname,DC=com,DC=co

now when try yo seize the last role i get a error i dont know how to fix

# samba-tool fsmo seize --role=naming
Attempting transfer...
ERROR(ldb): uncaught exception - Failed FSMO transfer: WERR_BADFILE
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 160, in run
    self.seize_role(role, samdb, force)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 126, in seize_role
    transfer_role(self.outf, role, samdb)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/fsmo.py",
line 53, in transfer_role
    samdb.modify(m)


can help me with this error

-- 
Julian Reyes


More information about the samba mailing list