[PATCH] Allow %G substitution in force user and force group in samba-2.2
Robbert Kouprie
robbert at radium.jvb.tudelft.nl
Tue Nov 6 08:42:33 GMT 2001
Well, you are right that the "force group" substitution is kind of
pointless unless you have a really unnecessary complicated setup.
Obviously it's cleaner to just assign the right group to the forced user
in the /etc/passwd file.
Here's the new patch. Only "force user" this time.
- Robbert
> -----Original Message-----
> From: samba-technical-admin at lists.samba.org
> [mailto:samba-technical-admin at lists.samba.org] On Behalf Of
> Gerald (Jerry) Carter
> Sent: dinsdag 6 november 2001 6:14
> To: Robbert Kouprie
> Cc: samba-technical at samba.org
> Subject: Re: [PATCH] Allow %G substitution in force user and
> force group in samba-2.2
>
>
> %G in force group makes no sense to me. What would you want
> to do this?
>
>
>
>
>
>
> cheers, jerry
>
>
> On Mon, 5 Nov 2001, Robbert Kouprie wrote:
>
> > Hi,
> >
> > I don't know if this is the right approach, and probably other
> > substitutions should be added (%g), but I didn't see a fix for this
> > problem for a long time now, so I took a quick hack at the
> problem. It
> > works perfectly for me.
> >
> > Tested on samba-2.2.2 on a Debian Woody system, with about 50
> > simultaneous users. No problems here. Please apply this or
> fix it the
> > way it is supposed to be ;)
> >
> > Regards,
> > - Robbert Kouprie, Linux Systems Admin, The Netherlands
> >
>
> --
> ---------------------------------------------------------------------
> www.samba.org SAMBA Team jerry_at_samba.org
> www.plainjoe.org jerry_at_plainjoe.org
> --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-2.2.2-force-user-subst-fix
Type: application/octet-stream
Size: 458 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20011106/444847bf/samba-2.2.obj
More information about the samba-technical
mailing list