libsmbclient: Browsing and a URI spec?

Kevin Colby kevinc at grainsystems.com
Tue Jan 2 18:36:00 GMT 2001


Matt Peterson wrote:
>
> Thinking out loud... it makes me wonder if libsmbclient should rely on
> a specific file like ~/.smbc.conf or if it would be better for developer
> (via the API) to set the default workgroup (on a per process basis).

Armand's recent post makes this clear, I thought.

"Welsh, Armand" wrote:
> 
> If a user clicks on their network neighborhood, the network neighborhood
> application should be configured with a default workgroup, or read the
> default workgroup, from the smb.conf file (or through the some other
> means) and then send the network neighborhood "browser" to the address
> of smb://workgroup/ as defined.  But then the programmer would need to
> include a "Entire Network" link, to take them back to "smb://" since the
> default doesn't send the user there.

The library wouldn't implement "default workgroup" at all.  If
Konqueror wanted to read and default to a certain workgroup for
a certain user, it could send a "smb://defaultworkgroup/" request,
rather than "smb://".

	- Kevin Colby
	  kevinc at grainsystems.com




More information about the samba-technical mailing list