Displaying 6 results from an estimated 6 matches for "remove_dns_references".
2016 Dec 16
2
remove dead server (samba 4.4.4)
...remove_dns_account=True)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 351, in
offline_remove_ntds_dc
remove_dns_account=remove_dns_account)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 266, in
offline_remove_server
remove_dns_references(samdb, logger, dnsHostName)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 186, in
remove_dns_references
for v in values if not to_remove(v) ]
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 160, in to_remove
dnsRecord = nd...
2016 Nov 16
2
Error on demote dead server
...unt=True)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py",
line 351, in offline_remove_ntds_dc
remove_dns_account=remove_dns_account)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py",
line 266, in offline_remove_server
remove_dns_references(samdb, logger, dnsHostName)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py",
line 186, in remove_dns_references
for v in values if not to_remove(v) ]
File "/usr/local/samba/lib64/python2.7/site-packages/samba/remove_dc.py",
line 160, in to_remove...
2016 Feb 10
0
4.4.0rc2 demote and --remove-other-dead-server
...e_dc
remove_dns_account=True)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 351,
in offline_remove_ntds_dc
remove_dns_account=remove_dns_account)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 266,
in offline_remove_server
remove_dns_references(samdb, logger, dnsHostName)
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 186,
in remove_dns_references
for v in values if not to_remove(v) ]
File "/usr/lib64/python2.7/site-packages/samba/remove_dc.py", line 160,
in to_remove
dnsRecord = ndr_unp...
2024 Nov 20
1
samba-tool computer delete does not work
...se:
computer_dns_host_name = None
Which means that 'computer_dns_host_name' is being set to 'None'
Then, a bit lower down, in the 'try' there is this:
try:
samdb.delete(computer_dn)
if computer_dns_host_name:
remove_dns_references(
This means that the 'if' is always run and the subsequent code tries to
remove the dns records for a computer called 'None', that is the way I
read it.
>
> we use bind9 for dns.
> all pc have a bind9 configured as dns server, which is a dns slave of
> the bind9 on th...
2024 Nov 20
1
samba-tool computer delete does not work
hi,
i deleted the accounts with pdbdel.
I did a few spot checks, none of the pc accounts had the attribute dNSHostName
there are no dns-rcords concerning the account
we use bind9 for dns.
all pc have a bind9 configured as dns server, which is a dns slave of the bind9 on the samba server.
here the requested informations:
all DC are on samba
smb.conf
[global]
netbios name = DCX
2024 Nov 20
1
samba-tool computer delete does not work
...None
>
> Which means that 'computer_dns_host_name' is being set to 'None'
>
> Then, a bit lower down, in the 'try' there is this:
>
> ??????? try:
> ??????????? samdb.delete(computer_dn)
> ??????????? if computer_dns_host_name:
> ??????????????? remove_dns_references(
>
> This means that the 'if' is always run and the subsequent code tries
> to
> remove the dns records for a computer called 'None', that is the way
> I
> read it.
>
> >
> > we use bind9 for dns.
> > all pc have a bind9 configured as dns se...