Mike Westkamper
2004-Mar-03 22:34 UTC
[Samba] Windows access to data created by Linux application
I am using Samba on a remote Linux system to offer Windows clients access to data being collected by a real-time system. The real-time data collection systems are built on the RH 8 Linux distribution. I also have one that was built using the RH Fedora Core 1 distribution. The data collection software runs as root (yes I do know its not the best way but for a number of reasons it is most convenient and the system ONLY runs the one application). This system is an isolated subnet with only 6 boxes, 5 are Linux data collection systems and the 6th is a Windows 2000 GUI box. The problem arises when Windows client try's to access the data. It gets an "Access Denied" message.>From the default smb.conf - the following are my changes from the default...workgroup = WORKGROUP hosts allow = 192.168.1. 127. security = share [filestore] comment = Digital Data Files path = /filestore public = yes writable = yes create mask = 0777 directory mode = 0777 I am not a Linux guru, however is do have some experience with both Samba and Linux. Any help will be greatly appreciated. Mike
Van Sickler, Jim
2004-Mar-08 16:08 UTC
[Samba] Windows access to data created by Linux application
Mike, Try adding these lines to your smb.conf: Map To Guest = Bad User guest account = nobody and guest ok = Yes to the [filestore] section. It appears you want to have everyone given access to the share, but the permissions don't match that. e.g. none of your Win2k users are mapped to either User, Group, or Others. Mapping Guest (Everyone/Noone) to the nobody account might give you the access. Jim> -----Original Message----- > From: Mike Westkamper [mailto:mjwestkamper@weiinc.com] > Sent: Wednesday, March 03, 2004 3:34 PM > To: samba@lists.samba.org > Subject: [Samba] Windows access to data created by Linux application > > > > I am using Samba on a remote Linux system to offer Windows > clients access to > data being collected by a real-time system. The real-time > data collection > systems are built on the RH 8 Linux distribution. I also have > one that was > built using the RH Fedora Core 1 distribution. The data > collection software > runs as root (yes I do know its not the best way but for a > number of reasons > it is most convenient and the system ONLY runs the one application). > > This system is an isolated subnet with only 6 boxes, 5 are Linux data > collection systems and the 6th is a Windows 2000 GUI box. > > The problem arises when Windows client try's to access the > data. It gets an > "Access Denied" message. > > >From the default smb.conf - the following are my changes > from the default... > > workgroup = WORKGROUP > > hosts allow = 192.168.1. 127. > > security = share > > [filestore] > comment = Digital Data Files > path = /filestore > public = yes > writable = yes > create mask = 0777 > directory mode = 0777 > > I am not a Linux guru, however is do have some experience > with both Samba > and Linux. > > Any help will be greatly appreciated. > > Mike > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >