strange effect in cli_NetServerEnum

Stephan Kulow coolo at suse.de
Mon Apr 7 15:43:36 GMT 2003


Hi!

I'm fighting a strange problem. I try testsmbc smb://COOLO
(that workgroup contains only one computer running XP)
and in return I get a:
cli_errno_from_nt: 32 bit codes: code=00000000
Could not open directory: smb://COOLO: Success

The problem seems to be that the error returned is Unknown
and because of that there are no entries and cli_NetServerEnum
returns False, but the error flag in the cli struct is 0 -> success.

I attached the log of that little chat, maybe someone can
make sense out of it. These errno = 0 situations are really
hard to interpret :)

Greetings, Stephan

-- 
Feuerverzinken - Just do it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethereal.log
Type: text/x-log
Size: 3182 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030407/043e544e/ethereal.bin


More information about the samba-technical mailing list