[Samba] %U doesn't work in root postexec
Robert Penz
robert.penz at outertech.com
Wed Apr 6 14:47:05 GMT 2005
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.
More information about the samba
mailing list