I was trolling around on the lists, and noticed that there were a few
people who had issues with making Samba share directories which happend
to be NFS mounts. That is, on Machine A, I am exporting (via
NFS) /export, and on Machine B, I have mounted MachineA:/export
to /export on this machine. Machine B is also the Samba box in which I
share /export/shared. Whenever a Win32 user browses the folders, it
seems to be okay. However, the moment a write attempt occurs, the Samba
process spazzes out, and the Win32 client freezes waiting for the
spazzed process to complete.
General Information:
Machine A: (NFS box)
* Sun Fire V440
* Solaris 9
Machine B: (Samba box)
* Sun Enterprise 420
* Solaris 9
* Samba 3.0.14a
Configuration File:
------------------------------------------------------------
[global]
encrypt passwords = true
netbios name = geometry
server string = Information Server
security = user
workgroup = MyWorkgroup
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 255
wins support = yes
time offset = 60
time server = True
passdb backend = ldapsam:ldap://192.168.0.2/
ldap passwd sync = Yes
ldap admin dn = "uid=sysadmin,ou=people,dc=localhost"
ldap ssl = no
password server = 192.168.0.2
ldap suffix = dc=localhost
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = yes
log level = 1
logon home = \\%L\%U
logon path = \\%L\profiles\%U
logon drive = H:
admin users = sysadmin tor Administrator
# Needed for NFS handling
lock directory = /opt/csw/var/locks/samba
kernel oplocks = no
oplocks = yes
level2 oplocks = yes
veto oplock files = /*.mdb/
posix locking = yes
hide dot files = no
[homes]
read only = no
create mode = 0600
directory mode = 0700
[share]
path = /export/share
create mode = 0664
read only = no
[profiles]
path = /export/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
profile acls = yes
------------------------------------------------------------
Any help would be much appreciated!
-Torey
Torey, We used a similar configuration for quite some time. Are your Samba binaries (in particular, the "private" directory) on a local disk, or an NFS mount? We were trying to run Samba from an NFS mount, to share out other NFS mounts. It would not work unless the Samba binaries were on a local (non-nfs) disk. Hope that helps. -Jason Torey Alford wrote:>I was trolling around on the lists, and noticed that there were a few >people who had issues with making Samba share directories which happend >to be NFS mounts. That is, on Machine A, I am exporting (via >NFS) /export, and on Machine B, I have mounted MachineA:/export >to /export on this machine. Machine B is also the Samba box in which I >share /export/shared. Whenever a Win32 user browses the folders, it >seems to be okay. However, the moment a write attempt occurs, the Samba >process spazzes out, and the Win32 client freezes waiting for the >spazzed process to complete. > >General Information: > >Machine A: (NFS box) >* Sun Fire V440 >* Solaris 9 > >Machine B: (Samba box) >* Sun Enterprise 420 >* Solaris 9 >* Samba 3.0.14a > >Configuration File: >------------------------------------------------------------ >[global] > encrypt passwords = true > netbios name = geometry > server string = Information Server > security = user > workgroup = MyWorkgroup > domain logons = yes > domain master = yes > local master = yes > preferred master = yes > os level = 255 > wins support = yes > time offset = 60 > time server = True > passdb backend = ldapsam:ldap://192.168.0.2/ > ldap passwd sync = Yes > ldap admin dn = "uid=sysadmin,ou=people,dc=localhost" > ldap ssl = no > password server = 192.168.0.2 > ldap suffix = dc=localhost > ldap machine suffix = ou=People > ldap user suffix = ou=People > ldap group suffix = ou=Groups > ldap machine suffix = ou=Computers > ldap passwd sync = yes > log level = 1 > logon home = \\%L\%U > logon path = \\%L\profiles\%U > logon drive = H: > admin users = sysadmin tor Administrator > # Needed for NFS handling > lock directory = /opt/csw/var/locks/samba > kernel oplocks = no > oplocks = yes > level2 oplocks = yes > veto oplock files = /*.mdb/ > posix locking = yes > hide dot files = no > >[homes] > read only = no > create mode = 0600 > directory mode = 0700 > >[share] > path = /export/share > create mode = 0664 > read only = no > >[profiles] > path = /export/profiles > writeable = yes > browseable = no > create mask = 0600 > directory mask = 0700 > profile acls = yes > >------------------------------------------------------------ > >Any help would be much appreciated! > >-Torey > > >
Jason, The "private" and samba configuration files are on the local disk on the Solaris machine. Particularly in /opt/csw/*. The only thing NFS mounted is /export from Machine A, which contains project folders and user directories. I am currently contemplating putting Samba on Machine A, seeing as this seems a bit impossible at the moment. I think this is the best work-around for the time being, unless someone can give me another solution. -Torey On Mon, 2005-07-18 at 11:28 -0500, Jason Signalness wrote:> Torey, > > We used a similar configuration for quite some time. Are your Samba > binaries (in particular, the "private" directory) on a local disk, or an > NFS mount? We were trying to run Samba from an NFS mount, to share out > other NFS mounts. It would not work unless the Samba binaries were on a > local (non-nfs) disk. > > Hope that helps. > > -Jason > > Torey Alford wrote: > > >I was trolling around on the lists, and noticed that there were a few > >people who had issues with making Samba share directories which happend > >to be NFS mounts. That is, on Machine A, I am exporting (via > >NFS) /export, and on Machine B, I have mounted MachineA:/export > >to /export on this machine. Machine B is also the Samba box in which I > >share /export/shared. Whenever a Win32 user browses the folders, it > >seems to be okay. However, the moment a write attempt occurs, the Samba > >process spazzes out, and the Win32 client freezes waiting for the > >spazzed process to complete. > > > >General Information: > > > >Machine A: (NFS box) > >* Sun Fire V440 > >* Solaris 9 > > > >Machine B: (Samba box) > >* Sun Enterprise 420 > >* Solaris 9 > >* Samba 3.0.14a > > > >Configuration File: > >------------------------------------------------------------ > >[global] > > encrypt passwords = true > > netbios name = geometry > > server string = Information Server > > security = user > > workgroup = MyWorkgroup > > domain logons = yes > > domain master = yes > > local master = yes > > preferred master = yes > > os level = 255 > > wins support = yes > > time offset = 60 > > time server = True > > passdb backend = ldapsam:ldap://192.168.0.2/ > > ldap passwd sync = Yes > > ldap admin dn = "uid=sysadmin,ou=people,dc=localhost" > > ldap ssl = no > > password server = 192.168.0.2 > > ldap suffix = dc=localhost > > ldap machine suffix = ou=People > > ldap user suffix = ou=People > > ldap group suffix = ou=Groups > > ldap machine suffix = ou=Computers > > ldap passwd sync = yes > > log level = 1 > > logon home = \\%L\%U > > logon path = \\%L\profiles\%U > > logon drive = H: > > admin users = sysadmin tor Administrator > > # Needed for NFS handling > > lock directory = /opt/csw/var/locks/samba > > kernel oplocks = no > > oplocks = yes > > level2 oplocks = yes > > veto oplock files = /*.mdb/ > > posix locking = yes > > hide dot files = no > > > >[homes] > > read only = no > > create mode = 0600 > > directory mode = 0700 > > > >[share] > > path = /export/share > > create mode = 0664 > > read only = no > > > >[profiles] > > path = /export/profiles > > writeable = yes > > browseable = no > > create mask = 0600 > > directory mask = 0700 > > profile acls = yes > > > >------------------------------------------------------------ > > > >Any help would be much appreciated! > > > >-Torey > > > > > >