SMBCLIENT bug or design feature?

bterrier at bterrier at
Sat Jan 3 19:20:02 GMT 1998

I was having problems seeing the share list on an NT system running 4.0 SP3.
It would always just come up empty, even though the browse list
would come up. Command syntax was:

        smbclient -L myntserver -U myusername

I was using smbclient on a FreeBSD system, Samba version 1.9.17p5.
In mucking with the code, i noticed that if changed the check
for "res == 0" on or about line 3751 of client.c to ignore checking,
then the sharelist magically appears! Perhaps someone can enlighten
me as to why the check is there and if the above is a fix or if
there is more to it.

thx in advance                  
Bill Terrier
bterrier at

More information about the samba mailing list