Getting user names

Peter Samuelson peter at
Fri Jul 21 01:39:52 GMT 2000

[Nick Kidd <nkidd at>]
> preexec = /path/to/add_user_script %u.

Try %U, uppercase.  Also you may want 'root preexec' instead of just

Also note that your script will probably run too late to actually
connect as that user: it will use 'guest' instead.  *Next* time it will 


More information about the samba-technical mailing list