Multiple login scripts

David Collier-Brown David.Collier-Brown at
Wed Jun 14 13:48:23 GMT 2000

Aaron Zuercher wrote:
| Is there a way to setup different logins for students and
| staff?  My current logon script line is as follows:
        logon script = homelogon.bat

Sure, use %G or %g in the path to the script:
     %G is the primary group name of %U (requested username) 
     %g is the primary group name of %u (actual username)

David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | //
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at

More information about the samba mailing list