Displaying 6 results from an estimated 6 matches for "master_dns_name".
2024 Jul 10
0
DomainDnsZones and ForestDnsZones problem transfer
while transferring fsmo roles I encountered a problem transferring the
DomainDnsZones and ForestDnzZones roles in samba 4.20.2, I went to the
samba source code in the fsmo.py file and started studying the code snippet
in the Transfer_dns_role() function
if master_dns_name != new_dns_name:
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp, Fallback_machine=True)
samdb = SamDB(url="ldap://%s" % (master_dns_name),
session_info=system_session(),
credentials=credits, lp=lp)
and...
2016 Jul 07
4
FSMO Transfer fail
...*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 452,
in run
transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in
transfer_dns_role
master_dns_name = '%s._msdcs.%s' % (master_guid,
root at gteste2:~#
root at gteste2:~#
Thanks,
Anderson Hoffmann
2016-07-07 16:43 GMT-03:00 Jason Waters <jason at geeknocity.com>:
> try
> samba-tool fsmo transfer --role=all -UAdministrator
>
> And see if that works.
>
> On...
2016 Jul 07
1
FSMO Transfer fail
...*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 452,
in run
transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in
transfer_dns_role
master_dns_name = '%s._msdcs.%s' % (master_guid,
root at gteste2:~#
root at gteste2:~#
root at gteste2:~#
root at gteste2:~#
root at gteste2:~# samba-tool fsmo show
ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element'
File "/usr/lib/python2.7/dist-pac...
2016 Jul 08
0
FSMO Transfer fail
...2.7/dist-packages/samba/netcmd/fsmo.py", line 452,
>> in run
>> transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
>> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76,
>> in transfer_dns_role
>> master_dns_name = '%s._msdcs.%s' % (master_guid,
>> root at gteste2:~#
>> root at gteste2:~#
>>
>>
>>
>>
>> root at gteste2:~#
>> root at gteste2:~#
>> root at gteste2:~# samba-tool fsmo show
>> ERROR(<type 'exceptions.KeyError'>): u...
2016 Jul 07
0
FSMO Transfer fail
...quot;/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 452,
> in run
> transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76,
> in transfer_dns_role
> master_dns_name = '%s._msdcs.%s' % (master_guid,
> root at gteste2:~#
> root at gteste2:~#
>
>
> Thanks,
> Anderson Hoffmann
>
>
>
> 2016-07-07 16:43 GMT-03:00 Jason Waters <jason at geeknocity.com>:
>
>> try
>> samba-tool fsmo transfer --role=all -UAd...
2016 Jul 07
2
FSMO Transfer fail
Hi for All!
I am using a Windows Server 2008R2 as primary DC and a Ubuntu Server 16.04
as secundary DC with Samba 4.3.9 (from repository/apt-get).
During a migration test of FSMO roles I received an error from Samba:
root at gteste2:~# samba-tool fsmo transfer --role=all
ERROR: Failed to delete role 'domaindns': LDAP error 50
LDAP_INSUFFICIENT_ACCESS_RIGHTS - <00002098: SecErr: