You can force all users to be recognized as a single user. Set permissions on the directory to drwxrwsrws nobody nobody /home/technical [Technical] comment = Technical browseable = yes path = /home/technical valid users = +users force create mode = 0777 fforce directory mode = 0777 force user = nobody force group = nobody Works good for me . . . Calvin Gordon IT Guy; Nu-Fab Burton LP email: calvin.gordon@nufab.com # What I *really* want is a Wind*ws help file, with pretty pictures and # instructions for pressing the "any" key! And I want it to say "Your # mouse is unplugged - click 'OK' to continue". Hello, I'm new to this group so please accept my apologies for any gaffs I might make. My problem is this: I am running Samba 2.23 on RedHat 7.3. Using various unix permissions, users & groups & smbusers / smbpasswords I am able to control who see what shares. The Security in samba is set to users. and passwords are encrypted. What I would like to do is have one particular share RO to everybody but without having to setup everyone as unix & smbusers. I know if I changed to security=share I can do it but this causes me problems elsewhere on other shares because of the continuing need to input a username & password each time you connect. The PC's that need to see the share are NT4 workstations that are not on a NT domain (we use Novell). I guess in simple terms I need a public RO share without any restrictions on who connects, whilst maintaining the restrictions on the other shares. Any Ideas? Craig -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ------------------------------------------------------- --
> -----Original Message----- > From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On > Behalf Of Cal Gordon > Sent: 13 December 2002 16:36 > To: samba@lists.samba.org > Subject: Fwd: [Samba] Access to EveryoneThanks for the response Calvin> > > You can force all users to be recognized as a single user. Set > permissions on > the directory to > > drwxrwsrws nobody nobody /home/technicalNot sure of the correct chmod command to get drwxrwsrws CHMOD ????> > [Technical] > comment = Technical > browseable = yes > path = /home/technical > valid users = +users > force create mode = 0777 > fforce directory mode = 0777 > force user = nobody > force group = nobody > > Works good for me . . .I'm not sure it is quite what I'm after. I don't think I explained myself to well so I'll try again. I have a directory /drawing/froude that is written to by a user administrator this user exists in windows samba & unix the directory permissions are drwxrwxr-x administrator.Administrators. I also need to allow anyone to see this directory via windows in Read only mode, but without the need to type in a username & password because they don't exist in unix or samba. Is this possible whilst in security = user mode? I know it can be done in security = share mode but am reluctant to revert to that as it causes me other problems elsewhere. The relevant bits from my smb.conf file are below. As the settings are here any attempt to connect to altair gets a username prompt unless the user exists in unix/samba. [Global] smbpasswd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u wins server = xxx.xxx.xxx.xxx pam password change = yes encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 hosts allow = xxx.xxx.xxx. 127. preferred master = no obey pam restrictions = yes passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*al l*authentication*tokens*updated*successfully* security = user unix password sync = Yes workgroup = FROUDECONSINE server string = altair samba netbios name = altair log file = /var/log/samba/%m.log load printers = yes guest account = pcguest [Write] path = /drawing/froude create mode = 664 directory mode = 775 comment = Print Room Cabinets public = no force user = administrator write list = administrator,admin,root,@Administrators [Read] path = /drawing/froude comment = Print Room RO public = yes guest only = yes> > Calvin Gordon<snip> Craig
On Tue, 2002-12-17 at 07:10, Craig Wright wrote:> > -----Original Message----- > > From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On > > Behalf Of Cal Gordon > > Sent: 13 December 2002 16:36 > > To: samba@lists.samba.org > > Subject: Fwd: [Samba] Access to Everyone > > Thanks for the response Calvin > > > > You can force all users to be recognized as a single user. Set > > permissions on > > the directory to > > > > drwxrwsrws nobody nobody /home/technical > > Not sure of the correct chmod command to get drwxrwsrws CHMOD ????The correct chmod would be: chmod 6777 /home/technical The first number sets the "sticky bit" on the directory and would result in drwsrwsrwx forcing all _new_ files to be created as the owner/group and giving _all_ users rwx permission. Do a man chmod and search for sticky (/sticky) for more information. -- Ken Schneider Senior UNIX Administrator Network Administrator kschneider@rtsx.com