libsmbclient: Browsing and a URI spec?

Richard Sharpe sharpe at
Mon Jan 1 21:40:26 GMT 2001

At 02:45 PM 1/1/01 -0600, Christopher R. Hertel wrote:
>Steve Langasek wrote:
>> Will there also be a means of listing the servers in the 'current' (as
>> configured on the client), such as 'smb:///'?
>The existance of a default workgroup is a problem.  In some environments, 
>eg. web browsers or file managers, you might not have a default while in 
>others you would.
>Richard's library will look for a .smb.conf file in the user's home
>directory thus allowing for a default to be specified.  I imagine, though
>that applications developers may have their own ideas.  Eg., were Mozilla
>to adopt libsmbclient, they might want to keep their own config
>I think the smb:/// syntax would make sense for browsing the default 
>workgroup.  Entering smb:// (two slashes) will be more 'natural' to 

OK, but smb:/// looks like you want all the shares on the default server,
although there is no such concept available.

I guess I am happy to use smb:/// but worry that it may preclude something
in the future.

>people but it will not be a problem, since they will be able to select 
>their own workgroup from the list in any case.  Another way to handle 
>this is that the application could easily start within the default 
>workgroup and offere a means for going up or down from there.
>Chris -)-----
>Christopher R. Hertel -)-----                   University of Minnesota
>crh at              Networking and Telecommunications Services
>    Ideals are like stars; you will not succeed in touching them
>    with your choose them as your guides, and following
>    them you will reach your destiny.  --Carl Schultz

Richard Sharpe, sharpe at
Samba (Team member,, Ethereal (Team member,
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba

More information about the samba-technical mailing list