Stew Benedict wrote:
> On Mon, 14 Oct 2002, Buchan Milne wrote:
>
>
>>Only problem is that it only authenticates for the share if it can't
>>connect as guest. So you can't get to your home directory on a samba
>>server with a homes share but allowing guest access. It would be nice to
>>be able to set a user-name and password before browsing a machine.
>>
>>And it would be nice if *all* password fields used password boxes,
>>rather than having your password visible in the clear.
>>
>
>
> Fixed the last item in CVS. The first I'm not sure how to handle. It
> should be falling back to asking for the username/password after guest
> browsing fails.
>
The problem is when guest browsing is ok, but not all shares are visible
as guest. I am not sure if this is a samba-only feature, but here is a
guest browsing the default samba setup:
[bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne
added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server 2.2.6pre2)
ADMIN$ Disk IPC Service (Samba Server 2.2.6pre2)
xerox Printer
hp2100 Printer
hp1200 Printer
dj970 Printer
dj1120 Printer
And here is an autheticated user broswing the same server:
[bgmilne@bgmilne bgmilne]$ smbclient -L bgmilne -U bgmilne
added interface ip=xxx.xxx.xxx.36 bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
Password:
Domain=[CAE] OS=[Unix] Server=[Samba 2.2.6pre2]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba Server 2.2.6pre2)
ADMIN$ Disk IPC Service (Samba Server 2.2.6pre2)
xerox Printer
hp2100 Printer
hp1200 Printer
dj970 Printer
dj1120 Printer
bgmilne Disk Home Directories
You will note the additional share available.
It may *only* be a problem against samba servers, but there are lots of
samba servers around.
Regards,
Buchan
--
|----------------Registered Linux User #182071-----------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7