Error 0 from libsmbclient smbc_opendir("smb://:@@HOME/")
rsharpe at richardsharpe.com
Fri Aug 22 07:32:41 GMT 2003
On Thu, 21 Aug 2003, Michael Spilo wrote:
> Hi All,
> Sorry to bother you again, but I'm still having problems browsing my
> workgroups, now with libsmbclient 3.0rc1. I'm new to this stuff, though
> I dealt with NETBIOS for other issues in a previous life.
> Anyway, the question is why do I get a -1 return with 0 errno on a
> smbc_opendir("smb://:@@HOME/") Could this be caused by some stupid setup
> mistake on my part?
> (The ":@" I've found is necessary if the workgroup name contains an @,
> since there doesn't seem to be a way to escape the @ out of the URI
> user:password@ sequence, which ends up a problem if you have @ in the
> user name, password or server/workgroup, but that's another topic.)
Can you get us a network trace of what is going on? tcpdump or ethereal
are your friends.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical