Best way to do logins by group?
Andrew Rittner
arittner at gris.grad.uconn.edu
Tue Feb 22 21:06:38 GMT 2000
Hello!
I'm setting up a fileserver, running RedHat and Samba 2.0.6. This
server will support about 80 people in several different departments,
who all work under the same main unit. Each of the smaller
departments has different requirements as far as shared resources.
So what I'd like to do is create a login.bat for each department, and
have Samba use it based on the group membership of the users
logging in. The problem is, the only variables are for the primary
group of %U. (%g and %G) Which is the same as the login name.
Which is kind of useless, in my particular situation. Now, if I
change everyone's primary groups to reflect their departments, I
have a feeling it's going to hose something on the Linux side of
things, since as far as I can remember, people have their user ID
and group the same for a reason.
Short of making an individual login script for each person, and just
using %U.bat in the smb.conf, what would be the easiest way to
get around this problem?
Thanks in advance,
Andy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Andrew Rittner
andrew.rittner at uconn.edu - 860-486-1864
Computer Technical Support Consultant
University of Connecticut
Office of the Vice Provost for Research and Graduate Education
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the samba
mailing list