Can I kill... 'add user script' behaviour in adding users during logon?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri May 17 08:25:01 GMT 2002


On Fri, May 17, 2002 at 11:22:49PM +1000, Andrew Bartlett wrote:
> 'delete user script' runs when a user attempts to log in, but the PDC
> says that they don't exist.  Firstly:  does this really happen?  If a

Yes, obviously. I once was called to a machine that went completely wild. It
would not really boot anymore. There was no 'root' in /etc/passwd :-(. I could
not see how that happened, but they had a 'delete user script' activated.

> Could these be killed in the auth context?  This would leave them as
> SAMR commands, for when 
> users are really added to the system.
> 
> If we still need the capability to add users to the system on a dynamic
> basis (this is really the job of winbind, but I digress) could we at
> least use a different option?    Like 'dynamic login user add script'? 
> Or keep these but rename the SAMR meanings?

Not sure. Optionitis striking again. But I think that the dynamic user adding
upon session setup is a bad hack anyway.

For compatibility: 2 new options: 'samr add user script' and 'dynamic add user
script', and mark 'add user script' as deprecated? These are really two
functions and should be treated as such in the future.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20020517/d209a08e/attachment.bin


More information about the samba-technical mailing list