Paul Gienger writes:

I've following in my smb.conf
 root postexec = /bin/rm /hades/samba/netlogon/scripts/%U.bat
Have you tried using %u also? There is a subtle difference between the two, and they actually use %u in the smb.conf man page for postexec.

no, as


root preexec = /usr/local/sbin/ntlogon.py --user=%U --os=%m -d /hades/samba/netlogon/scripts/

works. but I'll try it.
--
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