[Samba] Re: include statement in smb.conf

webster at lexmark.com webster at lexmark.com
Thu Dec 8 16:18:42 GMT 2005

I have been doing this successfully for years (w/ Samba 2.2.8a)

include = /etc/samba/u%U.conf

Of course, this is just the user(s) primary group we are talking about .

Gary R. Webster

"David Lucas" <djlucas at orcsd.org>
Sent by: samba-bounces+webster=lexmark.com at lists.samba.org
12/08/05 07:48 AM

        To:     <samba at lists.samba.org>
        Subject:        RE: [Samba] Re: include statement in smb.conf

Yeah, I have tried it and it didn't work.  But as soon as I added the %m
variable or the name of the file it worked.  This solution will not work 
me seeing I need this based on groups..

Does anyone have a way that I could get this to work??  I REALLY want this 
work so I can get away from Windows and use Linux.


-----Original Message-----
From: samba-bounces+djlucas=orcsd.org at lists.samba.org
[mailto:samba-bounces+djlucas=orcsd.org at lists.samba.org] On Behalf Of Rex
Sent: Wednesday, December 07, 2005 9:55 PM
To: samba at lists.samba.org
Subject: [Samba] Re: include statement in smb.conf

David Lucas wrote:

> I'm wondering if it possible to use the %G variable to include config 
> based on group membership.
> Is this even possible??

Theoretically should work, why not try it?  (-:

-- Rex

More information about the samba mailing list