[Samba] Question about multiple join same PC

Marc Muehlfeld mmuehlfeld at samba.org
Mon Nov 23 19:52:32 UTC 2015


Am 23.11.2015 um 20:16 schrieb Lee Brown:
> Sorry I wasn't clear.  I meant what would I run on the server to remove a
> client from the domain.  Assume my client PC self-destructed before I could
> run the net command.


You can use ADUC to remove the machine account or on your DC:
# ldbdel -H /usr/local/samba/private/sam.ldb
'CN=TESTWIN81,CN=Computers,DC=samdom,DC=example,DC=com'
Deleted 1 record


To remove the DNS record:
https://wiki.samba.org/index.php/DNS_administration#Delete_a_record
https://wiki.samba.org/index.php/DNS_administration#Delete_a_record_2


Regards,
Marc



More information about the samba mailing list