[Samba] MYOB and Samba- the proverbial...

Adrian Bolzan Adrian.Bolzan at aot.com.au
Thu Jul 24 06:47:56 GMT 2003


Hi,

We use redHat 9.0, Samba 2.2.8 and WinXP Pro clients.

MYOB premier 7 is installed on the Workstation, and is a multi-user 
version.

Every time someone accesses a MYOB data file shared on the 
Samba server all users lose their connections to Samba and a reboot 
of the server is required (not just a restart of samba!).

Trawlng google and lists it seems that this is a common problem but 
usually fixed by setting "oplocks = no".  This has not worked for us...

any thoughts would be appreciated.

adrian


smb.conf:

#======================= Global Settings 
#=====================================
[global]
   workgroup = tucksgrp
   netbios name = tuckssvr
   server string = Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = cups
   guest account = smbguest
   log file = /var/log/samba/%m.log
   log level = 2
   max log size = 0
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u

   passwd chat = *New*password* %n\n *Retype*new*password* 
%n\n
   *passwd:*all*authentication*tokens*updated*successfully*

   pam password change = yes
   obey pam restrictions = yes

   socket options = TCP_NODELAY IPTOS_LOWDELAY  
SO_KEEPALIVE SO_RCVBUF=16384 SO_SNDBUF=16384

   local master = yes
   os level = 64
   domain master = yes 
   preferred master = yes
   domain logons = yes
   domain admin group = root @admins
   logon script = logon.bat
   logon path = \\tuckssvr\profiles\%U
   logon home = \\tuckssvr\%U
   logon drive = Z:
   wins support = yes
   dns proxy = no 
   oplocks = no
   kernel oplocks = no


#============================ Share Definitions
#==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   guest ok = yes
   writable = no
   share modes = no

[profiles]
    path = /home/profiles
    browseable = no
    create mode = 0600
    directory mode = 0700
    guest ok = yes
    read only = no
    profile acls = yes
    csc policy = disable

[shared]
   comment = Public Stuff
   path = /home/shared
   public = yes
   writable = yes
   force group = tucks
   printable = no
   write list = @tucks
   create mode = 0660
   directory mode = 0770

[company]
   comment = Company Directory
   path = /home/shared/company
   public = yes
   writable = yes
   force group = tucks
   printable = no
   write list = @tucks
   create mode = 0660
   directory mode = 0770

[myob]
   comment = MYOB data
   path = /home/shared/myob
   public = yes
   writable = yes
   force group = tucks
   printable = no
   write list = @tucks
   create mode = 0660
   directory mode = 0770

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
----------------------------------------------------------




More information about the samba mailing list