Can the logon script know username?

Steve Snyder ssnyder at
Thu Feb 18 21:38:52 GMT 1999

I use a common logon script when a user logs in.  The assignment of a home
directory is done within smb.conf by using the %U parameter, but I don't
see a way to pass that name to the script.

Is it possible for the Samba logon script to know the ID of the user who is
currently logging in?  If so, how is it done?

Thank you.

*** Steve Snyder ***

More information about the samba mailing list