ldap backend rejoining domain problem

Gerald (Jerry) Carter jerry at samba.org
Tue Jan 28 14:06:59 GMT 2003

Hash: SHA1

On 28 Jan 2003, Bradley W. Langhorst wrote:

> ah - this is what i'm suggesting - that samba automatically delete the
> machine account when it a machine leaves the domain. I don't know if it
> should be via that delete user script (but i don't think it gets called
> during domain unjoining).
> The script does work okay when run at the command line.
> Do you think that auto-deletion of machine accounts makes sense?
> I think it does because you can end up with a bunch of orphan machine
> accounts over time as various mahcines leave the domain and rejoin under
> different names.

I don't think this is what the "delete user script" was originally
intended for.  I'll have to check and see how the code has changed since 
then to verify.

Win2k/XP does issue a "delete my account" when you leave a domain, but 
this is a different case than where the "delete user script" used to be 
called.  I'll check.

cheers, jerry
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba-technical mailing list