Greetings, I am having an issue where I can connect to a share, but am unable to view contents. Server: RHEL5.2 Samba Version: 3.0.28 Clients: OS X 10.5.4, 10.4.11, XP SP2, SP3 and Win Server 2003. My smb.conf file is posted below. The share that is causing me grief is called "office". Thanks in advance for any assistance. [global] workgroup = OFFICE realm = OFFICE.MATH.PSU.EDU server string = MathNet Samba Server %v security = ADS password server = dogwood.math.psu.edu passdb backend = tdbsam:/etc/samba/passdb.tdb username map = /etc/samba/users.map log level = 3 printcap name = cups ldap ssl = no idmap uid = 10000-20000 idmap gid = 10000-20000 winbind use default domain = Yes hosts allow = x.x.x.x [homes] read only = No browseable = No posix locking = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [print$] comment = Windows Print Drivers path = /etc/samba/drivers write list = root [julieandmary] comment = Share for Julie and Mary path = /home/fourier2/office/JulieandMary valid users = @officeexams read only = No create mask = 00 force create mode = 0660 force directory mode = 0770 posix locking = No [office] path = /home/fourier2/office posix locking = No Michael Dunne Systems Administrator Mathematics Department The Pennsylvania State University 4 McAllister Bldg. University Park, PA 16802
Greetings, Thanks for the rapid reply. I have posix locking set to no due to an issue with MS Word and Excel documents on machines with XP SP3 installed. IIRC, it was this thread that helped me crack that issue: http://www.mail-archive.com/samba@lists.samba.org/msg93598.html. The users that need to access that share are in a unix group called "office" which has read/write/execute over /home/fourier/office. They all have unix accounts. Thanks again! Mike Michael Dunne Systems Administrator Mathematics Department The Pennsylvania State University 4 McAllister Bldg. University Park, PA 16802 On Jul 28, 2008, at 1:54 PM, kissg wrote:> > [office] > path = /home/fourier2/office > posix locking = No > > > First of all, why do you need "posix locking = No"? According to > the smb.conf man page, you should never need to disable file > locking this way. > Also, check if your users, who need access to that share, have the > proper UNIX permissions to "/home/fourier2/office". Are your user > mappings set up correctly? Keep in mind, that you need to create > UNIX accounts for all of your Windows users, to maintain > permissions correctly. > > You can easily check, if you have a UNIX account for a user by typing > > id <username> > > on your Samba server.