Displaying 3 results from an estimated 3 matches for "computer_dns_host_nam".
Did you mean:
computer_dns_host_name
2024 Nov 20
1
samba-tool computer delete does not work
...none of the pc accounts had the attribute
> dNSHostName there are no dns-rcords concerning the account
The computer accounts should have the dNSHostName attribute set.
This seems to explain why it hangs though, the code is this:
if "dNSHostName" in res[0]:
computer_dns_host_name = str(res[0]["dNSHostName"][0])
else:
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_d...
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
...ribute
> > dNSHostName there are no dns-rcords concerning the account
>
> The computer accounts should have the dNSHostName attribute set.
> This seems to explain why it hangs though, the code is this:
>
> ??????????? if "dNSHostName" in res[0]:
> ??????????????? computer_dns_host_name =
> str(res[0]["dNSHostName"][0])
> ??????????? else:
> ??????????????? 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:
>
> ???...