[Samba] Logon Script Via Group

Jeff L jeff80 at linuxmail.org
Mon Oct 20 15:23:20 GMT 2008


In order to use Samba and migrate our Windows domain we need to be able to map users to a drive based on the Unix groups they are a member of.


If user is a member of finance, map drive f:\ finance
If user is a a member of domainusers, run logon script logon.bat

I tried placing differnet logon scripts in a directory named after the groupname and using the %g variable in Samba but it did not work.
It only looks up the FIRST group ignoring the rest. 

Please let us know a easy way to do this. 


New York Film Academy
Study Abroad Filmmaking & Acting. London, Paris, Florence, USA.

Powered by Outblaze

More information about the samba mailing list