[Samba] tree connect

Ed Suominen general at eepatents.com
Wed Feb 4 01:07:36 GMT 2004


When trying to access a disk share (on a VMware Win2K machine) that shows up
fine with smbclient -L (version 2.2.8a on Gentoo), I get a "tree connect
failed: NT_STATUS_ACCESS_DENIED" error. Examining the TCP stream with
Ethereal (see excerpts below) revealed that the initial login went fine,
with password sent and accepted. However, a second authentication exchange,
apparently for connecting to the disk share, failed. I am able to access a
shared printer on this same Win2K machine with no problem.

Any ideas?

-- 
Ed Suominen
Registered Patent Agent 
Open Source Developer (Yes, both...)
Web Site: http://www.eepatents.com


Linux -> Win2k
----------------------------------------------------------------------
...
Tree Connect AndX Request (0x75)
        Word Count (WCT): 4
        AndXCommand: No further commands (0xff)
        Reserved: 00
        AndXOffset: 0
        Flags: Ox0000
        0 = Disconnect TID: Do NOT disconnect TID
        Password Length: 1
        Byte Count (BCC) : 43
        Password: 00
        Path: \\VMWARE-WIN2K\C$
        Service: ?????

Win2k -> Linux (reply)
----------------------------------------------------------------------
...
SMB Command: Tree Connect AndX (0x75)
NT Status: STATUS_ACCESS_DENIED (0xc0000022)




More information about the samba mailing list