Bug 942 - machine account not deleted when leaving domain
Summary: machine account not deleted when leaving domain
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.11
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-01-04 15:38 UTC by Carsten Menke
Modified: 2007-08-28 11:50 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Menke 2004-01-04 15:38:09 UTC
As far as I know, if you remove a machine from the domain on a WindowsNT 4 PDC,
it removes also the machine from it's registry/database. 

So also to tidy up the system running samba, I would love to see a "delete
machine script parameter" in the config file, so that machines which are to be
renamed or to be removed from the Domain don't sit any longer in /etc/passwd and
in passdb.tdb files.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:45:14 UTC
This should just be the delete user script.  We don't distinguish between 
users and machines in delete_domain_user() IIRC.
Comment 2 Carsten Menke 2005-02-16 16:03:29 UTC
Aha, and how do I know that a machine should be deleted ? I have a delete user
script but, it does not remove machine names from /etc/passwd, apparently the
delete user script is not called when a machine is removed from the domain.

So I would propose -> Reopen
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-17 07:10:31 UTC
reopening for further investigation
Comment 4 Gerald (Jerry) Carter (dead mail address) 2007-08-28 11:50:02 UTC
later maybe.