[Samba] Samba + NFS + Solaris 9

Torey Alford toreya at imagemattersllc.com
Mon Jul 18 13:12:27 GMT 2005


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



More information about the samba mailing list