Directory listing in libsmbclient.so

Simo Sorce simo.sorce at polimi.it
Wed Dec 27 02:22:08 GMT 2000


On Wed, 27 Dec 2000, Richard Sharpe wrote:

> At 08:33 AM 12/26/00 -0500, Michael Sweet wrote:
> >Richard Sharpe wrote:
> >> ...
> >> We are working with a URI style syntax, and I wanted to propose
> >> the following:
> >>
> >>   smb:        means list all workgroups on current network
> >>
> >>   smb:wg//    means list all servers in workgroup wg
> >>   smb://      means list all servers in your workgroup (as defined in
> >>               $USER/.smb/smb.conf
> >> ...
> >> Does anyone have any comments on this ...
> >
> >What we've done for CUPS is similar:
> >
> >    smb://workgroup
> >    smb://workgroup/server
> >    smb://workgroup/server/share
> >    smb:///server/share (server in current workgroup)
> >
> >The main difference is (as you can see) that the workgroup shows up
> >after the // in the URI, which IMHO is a bit more "standard" and
> >follows the recommended stuff for the file: scheme.
>
> I note that the smbspool code says that the URI format is:
>
>   smb://[user:passwd@][workgroup/]server/share
>
> However, this seems problematical, in that it is slightly at odds with what
> you said above and makes it difficult to decide whether or not a workgroup
> was specified.
>
> I would have thought that the syntax should be:
>
>   smb://[user:passwd@][workgroup]/server/share

following win semantic isn't it better to use:

smb://workgroup\user:password/server/share ?

>
> >--
> >______________________________________________________________________
> >Michael Sweet, Easy Software Products                  mike at easysw.com
> >Printing Software for UNIX                       http://www.easysw.com
> >
>
> Regards
> -------
> Richard Sharpe, sharpe at ns.aus.com
> Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
> Contributing author, SAMS Teach Yourself Samba in 24 Hours
> Author, Special Edition, Using Samba
>
>
>
>

-- 
Simo Sorce - Integrazione Sistemi Unix/Windows - Politecnico di Milano
E-mail: simo.sorce at polimi.it
Tel.int: 02 2399 2425 - Fax.int. 02 2399 2451
-----------------------------------------------------------------
Be happy, use Linux!





More information about the samba-technical mailing list