Getting user names

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


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

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

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 
work.

Peter




More information about the samba-technical mailing list