[Samba] prevent "delete user script" to delete special Samba user

Niels Peuyn peuyn at npy.oberon.net
Wed Jan 3 12:52:11 GMT 2007


Hello,

OS: FreeBSD 6.1
Samba: 3.0.23c

What kind of exit code do the "delete user script" need, to 
prevent Samba from deleting a user in tdbsam database?

I'm testing Windows "User Manager for Domain" (usrmgr.exe) and 
I'm trying to convince Samba to NOT delete special users like
"administrator" etc.

Whenever I delete such a user within User Manager for Domain
the unix user is still in passwd, but the Samba user has been
deleted.

Thanks in advance
Niels



More information about the samba mailing list