[Samba] Clear Samba Process

Aldyth Maharsha demhyt at gmail.com
Fri Aug 26 06:12:16 MDT 2011


Hi list, i'm have problem with samba 3.5 in ubuntu 11.04 server. When my
user open file like office file it is okey but when close file it is
extremely slow, and i'm view at log it is show error message "Oplocks break
failed for xxx". I try to running smbstatus to view pid process and kill pid
locked files it is works but my question is, what happening with my samba?,
because if my user closing file extremely slow i must kill pid
process(locked files), can i have another solution? because i'm copy file
more than 5Gb it is fast and no problem with that...Thanks before

It is my smb.conf :
[global]
        workgroup = AAA
        netbios name = SUNKO08
        security = user
        enable privileges = yes
        server string = %h server
        encrypt passwords = Yes

        unix password sync = yes
        ldap passwd sync = yes
        passwd program = /usr/sbin/smbldap-passwd -u "%u"
        passwd chat = "Changing *\nNew password*" %n\n "*Retype new
password*" %n\n"

        log level = 0
        syslog = 0
        log file = /var/log/samba/log.%U
        max log size = 100000
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = no
        mangling method = hash2
        Dos charset = CP932
        Unix charset = UTF-8
        logon script = logon.bat
        logon drive = H:
        logon home =
        logon path =
        domain logons = Yes
        domain master = Yes
        os level = 65
        preferred master = Yes
        wins support = yes
        passdb backend = ldapsam:ldap://sunko02.sunko.
local/
        ldap admin dn = cn=admin,dc=sunko,dc=local
        ldap suffix = dc=sunko,dc=local
        ldap group suffix = ou=groups
        ldap user suffix = ou=people
        ldap machine suffix = ou=computer
       add user script = /usr/sbin/smbldap-useradd -m "%u"
        delete user script = /usr/sbin/smbldap-userdel "%u"
        add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
        set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
        admin users = domainadm
        ldap ssl = no
        load printers = Yes
        create mask = 0640
        directory mask = 0750
        nt acl support = No
        printing = cups
        printcap name = cups
        deadtime = 10
        guest account = nobody
        map to guest = Bad User
        dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
        show add printer wizard = yes
        preserve case = yes
        short preserve case = yes
        case sensitive = no


best regards,
Aldyth M


More information about the samba mailing list