Hello Cleber,

thanks for you reply.

> You can put a if test using script.
> Similar to:
> delete user script = path/to/script/script.sh "%U"
> Into script.sh
> 
> #!/bin/bash
> if [ $1 -ne "myuser" ];
> then delete_user;
> fi
> 
> This is preventing Samba from deleting Samba myuser user.
> I haven't check this script. Check by yourself in a test environment first.
> 

this will prevent Samba from deleting the Unix user, but this is not
my problem. My script is doing this in a correct way.

Thank you very much
Niels

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to