Multiple login scripts

David Collier-Brown David.Collier-Brown at canada.sun.com
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)

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


More information about the samba mailing list