search for: remove_dc

Displaying 19 results from an estimated 19 matches for "remove_dc".

2016 Apr 30
2
Samba 4.4.2 AD DC demote fails
...it is on samba-technical if you are curious). >> I found this on a post by Rowland penny ( >> https://lists.samba.org/archive/samba/2016-March/198662.html): >> >> HI, it would seem you have found a bug, line 943 in 'domain.py' sends >> this: >> >> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >> >> to 'remove_dc.py' , which expects to receive this: >> >> def remove_sysvol_references(samdb, logger, dc_name): >> >> Definitely a bug, logger is set earlier in the 'cmd_domain_demote' >>...
2016 Dec 16
2
remove dead server (samba 4.4.4)
...must be string or read-only buffer, not dnsp.DnssrvRpcRecord File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 720, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 423, in remove_dc remove_dns_account=True) File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 351, in offline_remove_ntds_dc rem...
2018 Jun 22
2
Error removing Windows DC from AD
..._delete: Unable to delete a non-leaf node (it has 1 children)! File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 721, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/lib/python2.7/dist-packages/samba/remove_dc.py", line 422, in remove_dc remove_dns_account=True) File "/usr/lib/python2.7/dist-packages/samba/remove_dc.py", line 350, in offline_remove_ntds_dc remove...
2016 Nov 16
2
Error on demote dead server
...ead-only buffer, not dnsp.DnssrvRpcRecord File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 720, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py", line 423, in remove_dc remove_dns_account=True) File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py", line 351, in offline_rem...
2016 Feb 10
0
4.4.0rc2 demote and --remove-other-dead-server
...nt 1 must be string or read-only buffer, not dnsp.DnssrvRpcRecord File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 720, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 423, in remove_dc remove_dns_account=True) File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 351, in offline_remove_ntds_dc remove_d...
2016 Mar 30
2
Demote a working DC fails with uncaught exception
...erences() takes exactly 3 arguments (2 given) 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/domain.py", line 943, in run remove_dc.remove_sysvol_references(remote_samdb, dc_name) root at dc2:~# Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on dc1. Was able to re...
2016 Apr 30
2
Samba 4.4.2 AD DC demote fails
...ld then go away (bug I have a patch for that as well, it is > on samba-technical if you are curious). I found this on a post by Rowland penny (https://lists.samba.org/archive/samba/2016-March/198662.html): HI, it would seem you have found a bug, line 943 in 'domain.py' sends this: remove_dc.remove_sysvol_references(remote_samdb, dc_name) to 'remove_dc.py' , which expects to receive this: def remove_sysvol_references(samdb, logger, dc_name): Definitely a bug, logger is set earlier in the 'cmd_domain_demote' class. Would this still apply after the patches you did?...
2018 May 08
0
best practice for migrating win-dc to samba-dc
...lete a non-leaf node (it has 1 children)! File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 730, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py", line 423, in remove_dc remove_dns_account=True) File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py", line 351, in offline_rem...
2018 Jun 26
0
Error removing Windows DC from AD
...> non-leaf node (it has 1 children)! >   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", > line 176, in _run >     return self.run(*args, **kwargs) >   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line > 721, in run >     remove_dc.remove_dc(samdb, logger, remove_other_dead_server) >   File "/usr/lib/python2.7/dist-packages/samba/remove_dc.py", line > 422, in remove_dc >     remove_dns_account=True) >   File "/usr/lib/python2.7/dist-packages/samba/remove_dc.py", line > 350, in offline_remove...
2017 Jun 05
0
Unable to delete a non-leaf node (it has 4 children)
...o delete a non-leaf node (it has 4 children)! File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 730, in run remove_dc.remove_dc(samdb, logger, remove_other_dead_server) File "/usr/local/samba/lib/python2.7/site-packages/samba/remove_dc.py", line 412, in remove_dc remove_dns_account=True) File "/usr/local/samba/lib/python2.7/site-packages/samba/remove_dc.py", line 229, in offline_remove_...
2018 Jun 20
2
Error removing Windows DC from AD
Hi, I'm preparing to move a small business environment away from Windows-based AD (Windows Server 2012R2, Domain and Forest downgraded to Win2008R2 level) to Samba. So far in my lab environment joining Samba as a DC works, including DNS and Sysvol replication. OS: Debian 9 Samba versions 4.5.12 (Debian repository) and 4.8.2 (latest release compiled from source), same behavior on both
2016 Mar 31
2
Demote a working DC fails with uncaught exception
...iven) >> 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/domain.py", line 943, in run >> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >> root at dc2:~# >> >> Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication >> and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO r...
2018 Aug 27
2
Problems removing a SBS 2008 server from a Samba AD DC.
...y_Replication_Statuses All of the tests pass. Since we are going to retire the Windows server, I figured I would try just running "samba-tool domain demote --remove-other-dead-server=PHT1". That gave me the error described in https://bugzilla.samba.org/show_bug.cgi?id=13484. So I patched remove_dc.py as called out in the above bug. Once that was done I now get the following error: (pht-vdc1 pts8) # samba-tool domain demote --remove-other-dead-server=PHT1 ERROR(ldb): uncaught exception - replmd_delete: Failed to modify object CN=owa (SBS Web Applications),CN=HTTP,CN=Protocols,CN=PHT1,CN=Serve...
2016 Mar 31
0
Demote a working DC fails with uncaught exception
...3 arguments (2 given) > 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/domain.py", line 943, in run > remove_dc.remove_sysvol_references(remote_samdb, dc_name) > root at dc2:~# > > Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication > and samba-tool ntacl sysvolcheck produced no errors. All 7 FSMO roles reside on d...
2016 Apr 01
0
Demote a working DC fails with uncaught exception
...t; 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/domain.py", line 943, in run >>> remove_dc.remove_sysvol_references(remote_samdb, dc_name) >>> root at dc2:~# >>> >>> Samba version is 4.4.0 running on Debian Jessie. Replication was working OK before the demotion attempt as was SysVol replication >>> and samba-tool ntacl sysvolcheck produced no errors...
2016 Apr 29
4
Samba 4.4.2 AD DC demote fails
Demotion of a AD DC fails with the following errors: If I explicitly select a partner server with the "--server=" option the error is: Deactivating inbound replication Asking partner server [selectedDC] to synchronize from us Error while demoting, re-enabling inbound replication ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local variable
2016 Sep 22
0
[Announce] Samba 4.4.6 Available for Download
...CN_PAYLOAD_MAX_SIZE. * BUG 11982: Invalid auth_pad_length is not ignored for BIND_* and ALTER_* pdus. * BUG 11994: gensec/spnego: Work around missing server mechListMIC in SMB servers. * BUG 12007: libads: Ensure the right ccache is used during spnego bind. * BUG 12018: python/remove_dc: Handle dnsNode objects without dnsRecord attribute. * BUG 12129: samba-tool/ldapcmp: Ignore differences of whenChanged. o Marc Muehlfeld <mmuehlfeld at samba.org> * BUG 12023: man: Wrong option for parameter ldap ssl in smb.conf man page. o Andreas Schneider <asn at samba.o...
2016 Sep 22
0
[Announce] Samba 4.4.6 Available for Download
...CN_PAYLOAD_MAX_SIZE. * BUG 11982: Invalid auth_pad_length is not ignored for BIND_* and ALTER_* pdus. * BUG 11994: gensec/spnego: Work around missing server mechListMIC in SMB servers. * BUG 12007: libads: Ensure the right ccache is used during spnego bind. * BUG 12018: python/remove_dc: Handle dnsNode objects without dnsRecord attribute. * BUG 12129: samba-tool/ldapcmp: Ignore differences of whenChanged. o Marc Muehlfeld <mmuehlfeld at samba.org> * BUG 12023: man: Wrong option for parameter ldap ssl in smb.conf man page. o Andreas Schneider <asn at samba.o...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
.../provision/common.py symlink: samba/provision/kerberos.py -> python/samba/provision/kerberos.py symlink: samba/provision/kerberos_implementation.py -> python/samba/provision/kerberos_implementation.py symlink: samba/provision/sambadns.py -> python/samba/provision/sambadns.py symlink: samba/remove_dc.py -> python/samba/remove_dc.py symlink: samba/samba3/__init__.py -> python/samba/samba3/__init__.py symlink: samba/samdb.py -> python/samba/samdb.py symlink: samba/schema.py -> python/samba/schema.py symlink: samba/sd_utils.py -> python/samba/sd_utils.py symlink: samba/sites.py -&gt...