[Samba] STATUS_INVALID_HANDLE?

Pat Riehecky prieheck at iwu.edu
Fri May 25 20:52:22 GMT 2007


I have a user who gets some random disconnects (well not exactly, it is
more like her box goes insane randomly...explained better below).  I was
able to run a wireshark dump on her box and when the trigger action is
performed I get a STATUS_INVALID_HANDLE.  

She is in MS Access an runs a report to trigger it (then she gets about
a thousand "disk or network error" dialog boxes).  The action is 100%
repeatable.

This feels like an oplock problem, but then again I don't really know...

Extracted bits of the dump are available on request (but no reason to
spam the whole list)

Any help would be most appreciated!
Pat

Samba 3.0.22 / Linux 2.6.17 / (Ubuntu 6.10)

Output from testparm (removed the add user/box bits because you don't
care)

[global]
        display charset = UTF8
        workgroup = IWU_LEARN
        server string = %h server (Samba, Ubuntu)
        obey pam restrictions = Yes
        passdb backend = tdbsam
        algorithmic rid base = 10000
        passwd program = /usr/bin/passwd %u
        username map = /etc/samba/users.map
        restrict anonymous = 2
        lanman auth = No
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        log level = 1
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        min protocol = NT1
        announce version = 2.0
        announce as = win95
        max mux = 100
        max xmit = 65535
        change notify timeout = 300
        deadtime = 900
        max disk size = 5240
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
SO_KEEPALIVE IPTOS_LOWDELAY
        load printers = No
        domain logons = Yes
        os level = 1
        lm announce = No
        preferred master = No
        domain master = No
        wins server = 192.168.132.25
        lock spin count = 30
        lock spin time = 15
        panic action = /usr/share/samba/panic-action %d
        hosts allow = 192.168.132., 10., 172.16.1., 127.0.0.1
        ea support = Yes
        map acl inherit = Yes

[homes]
        comment = Home Directories
        valid users = %S
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        guest ok = Yes
        share modes = No

[HR]
        comment = Human Resources Share
        path = /home/hr
        valid users = @it, @hr
        force group = hr
        read only = No
        create mask = 0775
        directory mask = 0775
        strict allocate = Yes
        use sendfile = Yes
        preserve case = No
        hide special files = Yes
        hide unreadable = Yes
        hide unwriteable files = Yes
        browseable = No
        fstype = FAT
        wide links = No




More information about the samba mailing list