Directory listing in libsmbclient.sou

Simo Sorce simo.sorce at polimi.it
Wed Dec 27 23:52:52 GMT 2000


On Wed, 27 Dec 2000, Allen, Michael B (RSCH) wrote:

>
>
> > -----Original Message-----
> > From:	Simo Sorce [SMTP:simo.sorce at polimi.it]
> >
> > > 	1) smb://[workgroup][auth]server[hier]
> > >
> > > 	2) smb://[auth][workgroup]server[hier]
> > >
> > > 	3) smb://[auth]server[workgroup][heir]
> > >
> > > 	If I explore using the '#' in case 1 you get URLs like:
> > >
> > > 	smb://workgroup#domain/user:password@server/share/path/file
> > > 	smb://workgroup#server/share/path/file
> > > 	smb://workgroup#
> > > 	smb://workgroup#domain/user:password@
> > >
> > > 	In case 2 you get stuff like:
> > >
> > > 	smb://domain/user:password#workgroup@server/share/path/file
> > > 	smb://#workgroup@server/share/path/file
> > > 	smb://#workgroup
> > > 	smb://domain/user:password#workgroup
> >
> > Another variation which I prefer:
> >
> >   smb://domain/user:password@workgroup#server/share/path/file
> >   smb://workgroup#server/share/path/file
> >   smb://workgroup
> >   smb://#server
> >   smb://domain/user:password@workgroup
> >
> 	Oh, yes, I'm sorry. This is what I think my intention was for case two. I certainly did not intend for the workgroup to be included in the authentication information. That would be contrary to the auth info being a separable unit. But are some of your examples ambiguous? The # would be required I think.
>
> 	smb://workgroup#
> 	smb://domain/user:password@workgroup#
>

Probably there cannot be a server name with the same name of a workgroup,
so also without the pending # it is not ambiguous.

-- 
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