looks like it looks up the members of a group a different way (not /etc/group) Chad On 2001.12.20 16:28 Drew Foehn wrote:> Hi, > > I have a share in my smb.conf file that I want to share to members of a > supplemental group, but I keep getting a network error. > > here is the share: > > [mp3s] > comment = MPEG3 Encoded Audio > path = /usr/share/mp3 > public = no > browsable = no > valid users = +mp3users > writable = yes > create mask = 0644 > > I have a group called mp3users that inside my /etc/group file looks like > this: > > mp3users:x:104:kenshin,saraht,sarahp,yoonk,shanel,jackyw,andrewb,nathanm > > All these users are primary members of other groups, and the directory is > located at /usr/share/mp3 > and it has ownerships of root.mp3users 0775 > > Also the server does domain checking by another NT server box, and all > these > users have entries in /etc/passwd > > Does anyone know of a switch I can use so that forces the user logging in > (if it is permitted to do so by /etc/group) to use the mp3users group? > > Regards > > Drew Foehn > R&D Engineer > Optima Computer Technology > Phone: +61 (02) 9475 2719 > Fax: +61 (02) 9475 2780 > Email: <andrewf@optima.com.au> > Web: <http://www.optima.com.au> > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12"> > <TITLE>Supplemental group support in smb.conf</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2 FACE="Arial">Hi,</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">I have a share in my smb.conf file that I > want to share to members of a supplemental group, but I keep getting a > network error.</FONT></P> > > <P><FONT SIZE=2 FACE="Arial">here is the share:</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">[mp3s]</FONT> > <BR><FONT SIZE=2 FACE="Arial"> comment = MPEG3 Encoded > Audio</FONT> > <BR><FONT SIZE=2 FACE="Arial"> path = /usr/share/mp3</FONT> > <BR><FONT SIZE=2 FACE="Arial"> public = no</FONT> > <BR><FONT SIZE=2 FACE="Arial"> browsable = no</FONT> > <BR><FONT SIZE=2 FACE="Arial"> valid users = +mp3users</FONT> > <BR><FONT SIZE=2 FACE="Arial"> writable = yes</FONT> > <BR><FONT SIZE=2 FACE="Arial"> create mask = 0644</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">I have a group called mp3users that inside > my /etc/group file looks like this:</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">mp3users:x:104:kenshin,saraht,sarahp,yoonk,shanel,jackyw,andrewb,nathanm</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">All these users are primary members of other > groups, and the directory is located at /usr/share/mp3 </FONT> > <BR><FONT SIZE=2 FACE="Arial">and it has ownerships of root.mp3users > 0775</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">Also the server does domain checking by > another NT server box, and all these users have entries in > /etc/passwd</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">Does anyone know of a switch I can use so > that forces the user logging in (if it is permitted to do so by > /etc/group) to use the mp3users group?</FONT></P> > > <P><FONT SIZE=2 FACE="Arial">Regards</FONT> > </P> > > <P><FONT SIZE=2 FACE="Arial">Drew Foehn</FONT> > <BR><FONT SIZE=2 FACE="Arial">R&D Engineer</FONT> > <BR><FONT SIZE=2 FACE="Arial">Optima Computer Technology</FONT> > <BR><FONT SIZE=2 FACE="Arial">Phone: +61 (02) 9475 2719</FONT> > <BR><FONT SIZE=2 FACE="Arial">Fax: +61 (02) 9475 2780</FONT> > <BR><FONT SIZE=2 FACE="Arial">Email:<U> </U></FONT><U><FONT > COLOR="#0000FF" SIZE=2 FACE="Arial"><andrewf@optima.com.au></FONT></U> > <BR><FONT SIZE=2 FACE="Arial">Web:</FONT><U> <FONT COLOR="#0000FF" SIZE=2 > FACE="Arial"><<A HREF="http://www.optima.com.au" > TARGET="_blank">http://www.optima.com.au</A>></FONT></U><FONT SIZE=2 > FACE="Arial"> </FONT> > </P> > > </BODY> > </HTML> >