[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Samba and Win95/98 drive mounts



>>Yes, Samba/windows supports logon scripts.  If [netlogon] share is
>>/usr/local/samba/netlogon and you set "logon script=scripts/%G.bat" in
>>the[global] section of the samba config,  then whenever a client logs in
>>the M$-DOS batch file in /usr/locla/samba/netlogon/scripts/%G.bat will be
>>executed ON THE CLIENT.  %G is a substitution for the users primary
>>group,
>What is a user's PRIMARY group? And what makes it primary?

The gid number (fourth column) that appears with the users account entry in
/etc/passwd or RFC2307 gidnumber attribute in LDAP is the PRIMARY group.

Comma delimited users may be listed in the last field of /etc/group or as
memberuid(s) in LDAP to specify AUXILLARY groups of which they are members.

The distinction between primary and auxillary groups is UNIX-ism and doesn't
exist under WinNT or WinY2K.  Samba only makes the distinction for the %G macro,
it treats group memberships as equal in all other cases "allow users =
@groupname", etc....

Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW.
Grand Rapids, MI. 49505