[Samba] Secondary group problem in include statement

Gerald (Jerry) Carter jerry at samba.org
Fri Jan 7 13:34:13 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian Chow wrote:
| Hi,
|
| Scenario :-
| User A belongs primarily to GroupA and secondary to GroupB.
| Somedirectory contains GroupA.conf and GroupB.conf
|
| Have anyone got
|
| "include = /somedirectory/%g.conf" in smb.conf
|
| to work such that scripts in groupA.conf and groupb.conf
| will be executed when UserA logins?
|
| Am I using the correct syntax?  If not, what is the
| correct syntax?
|
| I am on Debian with 3.0.10 version of samba.

%g is the primary group only.  There is no variable for
secondary groups.




cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB3o/VIR7qMdg1EfYRAkBFAKCjHYZu0NWMPIEI97iBXp5QCZ/B5gCgzXIO
O1DRABfdsex7SI5O9tdaDoU=
=tzZk
-----END PGP SIGNATURE-----


More information about the samba mailing list