Directory listing in libsmbclient.so

Steve Langasek vorlon at netexpress.net
Fri Dec 29 21:39:11 GMT 2000


On Fri, 29 Dec 2000, Kevin Colby wrote:

> Ugh.  We can't very well make that the URI syntax.

> Since both the workgroup and the scope could potentially contain
> anything at all, there is no possible way to really tell them apart.
> (Who thought that up?)  Given the situation, I think Chris mentioned
> the only viable solution:  Demand a specific character be escaped if
> used in the workgroup or scope name.  Since NT is already starting
> to sing a different tune when it sees a ".", that may be the best
> nominee for the job.

Agreed.

> Just to summarize, I think that leaves two syntaxes:
> (broswing) smb://[workgroup[.scope]]/

> (specific) smb://[[domain;]user[:password]@]server/[share/[path/][file]]

With the understanding that 'server' here can be one of
'<netbios_name>[.<scope>]', '<host>[.domain]', or '<ip_addr>', tested in that
order, yes.

Steve Langasek
postmodern programmer





More information about the samba-technical mailing list