Hello, I have an NFS server with all our user's home directories on a server that does not support SMB. I wish to mount this directory on a second system and re-export it via samba so that users can access their unix home directories from their windows boxes. My samba server is running CentOS 5.0, and I have the the home directories mounted at /home/na, and there is no rootsquash, so the root user on my server has full access to the home directoris. My smb.conf is below: [global] workgroup = UNIXPEOPLE server string = smbserver # logs split per machine # max 50KB per log file, then rotate security = user passdb backend = tdbsam # the login script name depends on the machine name # the login script name depends on the unix user used # disables profiles support by specifing an empty path load printers = yes cups options = raw #obtain list of printers automatically on SystemV [unixhome] comment = unix home directories path = /home/na valid users = myusername public = no writable = yes printable = no create mask = 0700 I know my samba is configured correctly, in general, because if I export /tmp, then I can mount it just fine from my WinXP client. But, when I make the simple change to export /home/na, then it fails. My windows client gives me the error "System error 53 has occurred. The network path was not found." In /var/log/messages on my samba server, I get: Mar 11 15:35:21 smbserver smbd[26668]: '/home/na' does not exist or permission denied when connecting to [unixhome] Error was Permission denied Is there some configuration I have to do to samba to get it to re-export a remote mount? Thanks, Michael $1,000,000,000 In a Day? How You Too Can Invest in the Same Market the Mega-Rich Make Billions. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=aae7ba4b061409f16e07e5829f0aa239 -- Powered by Outblaze
Hello, Am Dienstag, 11. M?rz 2008 20:56 schrieb Michael Bagehot:> I have an NFS server with all our user's home directories on a > server that does not support SMB. I wish to mount this directory on a > second system and re-export it via samba so that users can access their > unix home directories from their windows boxes. [...]I had similar problems with an debian server last august. The answer was that smb-shares on nfs-filesystems are officially not suppoted because of buggy nfs-implementations. I solved the problem by adding kernel oplocks = no to the global section of my smb.conf (see [2]). HTH Thomas ------------------------ [1] See Message-ID: <200708211725.21894.thomas.flaig@unibw.de> on this list: http://article.gmane.org/gmane.network.samba.general/92321 or http://lists.samba.org/archive/samba/2007-August/thread.html and the answers to this posting [2] http://article.gmane.org/gmane.network.samba.general/92426 -- Thomas Flaig mailto: thomas.flaig@unibw.de
Unfortunately this did not solve my problem. I took a look at the original thread and tried the 'posix locking = no' and the 'locking = no' options also, one at a time. None of them seemed to help. Are there any other possible fixes? Thanks, Michael> ----- Original Message ----- > From: "Thomas Flaig" <thomas.flaig@unibw.de> > To: samba@lists.samba.org > Subject: Re: [Samba] Samba exporting an NFS mount > Date: Wed, 12 Mar 2008 08:48:09 +0100 > > > Hello, > Am Dienstag, 11. M?rz 2008 20:56 schrieb Michael Bagehot: > > I have an NFS server with all our user's home directories on a > > server that does not support SMB. I wish to mount this directory on a > > second system and re-export it via samba so that users can access their > > unix home directories from their windows boxes. [...] > I had similar problems with an debian server last august. The answer was > that smb-shares on nfs-filesystems are officially not suppoted because of > buggy nfs-implementations. > I solved the problem by adding > kernel oplocks = no > to the global section of my smb.conf (see [2]). > > HTH > Thomas > ------------------------ > [1] > See > Message-ID: <200708211725.21894.thomas.flaig@unibw.de> > on this list: > http://article.gmane.org/gmane.network.samba.general/92321 > or > http://lists.samba.org/archive/samba/2007-August/thread.html > and the answers to this posting > [2] > http://article.gmane.org/gmane.network.samba.general/92426 > -- > Thomas Flaig > mailto: thomas.flaig@unibw.de > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba>Start a Nursing Career Jumpstart your career with a nursing degree! Request school info. http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=d121bcd7b8a9927f7b7150f0754df92f -- Powered by Outblaze