Hi Walter, Frank Walther wrote:> > Hello Jay, > > thanks for your answer. > > The UNIX-Permissions are: > > drwxrwxrwx 2 root sys 96 Oct 5 15:13 FSA >First I think it is not a good idea to make a directory owned by root world-writeable without the sticky bit. :-) --------- snip -----------> [FSA] > path = /Dat/Gruppe/FSA > valid users = +group1, +group2 > writeable = Yes > guest ok = No > only user = Yes >Have you tried: [FSA] path = /Dat/Gruppe/FSA valid users = @group1, @group2 writeable = Yes guest ok = No Without the only user option because valid users will limit the access to this share. andy -- ------------------------------- mailto:Andreas.Tirok@beusen.de fon: +49 30 549932-37 fax: +49 30 549932-21
Tanks, I tried the @ sign but it doesn't work. I aoways get the message: Invalid password or invalid user for \\hpk360\FSA. -----Ursprungliche Nachricht----- Von: Ries van Twisk [mailto:ries@franksintl.nl] Gesendet: Donnerstag, 2. November 2000 13:52 An: Frank Walther Betreff: Re: One Share for several groups> valid users = +group1, +group2Use that @ sign istead of the + example valid users = @mygroup, @othergroup, useone, usertwo Check out 'man smb.conf' and look for the 'valid users' options Ries
Hello Jay, thanks for your answer. The UNIX-Permissions are: drwxrwxrwx 2 root sys 96 Oct 5 15:13 FSA After trying to open the folder in the Windows-Explorer there are the following entries in the log-File: [2000/11/02 16:03:49, 3] smbd/process.c:process_smb(618) Transaction 37 of length 67 [2000/11/02 16:03:49, 3] smbd/process.c:switch_message(448) switch message SMBtconX (pid 6590) [2000/11/02 16:03:49, 2] lib/access.c:check_access(258) Allowed connection from pc-edv-p1.woehr.de (192.168.1.78) [2000/11/02 16:03:49, 2] smbd/service.c:make_connection(284) Invalid username/password for fsa [2000/11/02 16:03:49, 3] smbd/error.c:error_packet(138) error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2 [2000/11/02 16:03:49, 3] smbd/error.c:error_packet(143) error string = Bad file number In the Explorer I get the message: Invalid user name or invalid password. I also tried the "@" sign instead of "+" but that doesn't work too. The user is in the correct group and the password is correct. The security option in smb.conf is set to "USER". Maybe I am missing something. TIA Frank Walther OTTO WOEHR GmbH http://www.woehr.de Frank Walther Oelgraben Strasse 14 Tel 07044 46294 D-71292 Friolzheim Fax 07044 46149 -----Urspr?ngliche Nachricht----- Von: Sherman, Jay [mailto:JSherman@dainrauscher.com] Gesendet: Donnerstag, 2. November 2000 14:26 An: 'Frank Walther' Betreff: RE: One Share for several groups What's the Unix permissions on the share directory, and what kind of errors/problems are you seeing exactly? Also, with my distribution of Samba, "@" is the group token, not "+". -Jay -----Original Message----- From: Frank Walther [mailto:fw@woehr.de] Sent: Thursday, November 02, 2000 6:00 AM To: samba@us5.samba.org Subject: One Share for several groups Hi there, how can I create a share which provides access for several UNIX-groups ? I tried the option "valid users" and entered "+group1, +group2" but it doesn't work. Here's the entry in smb.conf: [FSA] path = /Dat/Gruppe/FSA valid users = +group1, +group2 writeable = Yes guest ok = No only user = Yes TIA Frank Walther OTTO WOEHR GmbH http://www.woehr.de Frank Walther Oelgraben Strasse 14 Tel 07044 46294 D-71292 Friolzheim Fax 07044 46149
Hi andy, thanks for your tip. Now I can access the Share.> -----Ursprungliche Nachricht----- > Von: andy@beusen.de [mailto:andy@beusen.de]Im Auftrag von Andreas Tirok > Gesendet: Dienstag, 31. Oktober 2000 14:52 > An: Frank Walther > Cc: samba@samba.org > Betreff: Re: AW: One Share for several groups > > > Hi Walter, > > Frank Walther wrote: > > > > Hello Jay, > > > > thanks for your answer. > > > > The UNIX-Permissions are: > > > > drwxrwxrwx 2 root sys 96 Oct 5 15:13 FSA > > > First I think it is not a good idea to make > a directory owned by root world-writeable > without the sticky bit. :-) > > --------- snip ----------- > > [FSA] > > path = /Dat/Gruppe/FSA > > valid users = +group1, +group2 > > writeable = Yes > > guest ok = No > > only user = Yes > > > > Have you tried: > > [FSA] > path = /Dat/Gruppe/FSA > valid users = @group1, @group2 > writeable = Yes > guest ok = No > > Without the only user option > because valid users will limit the > access to this share. > > andy > -- > ------------------------------- > mailto:Andreas.Tirok@beusen.de > fon: +49 30 549932-37 > fax: +49 30 549932-21