tests for smbclient, map to guest, various types of shares

Andrew Bartlett abartlet at samba.org
Fri Jun 27 01:54:58 GMT 2003

On Thu, 2003-06-26 at 01:51, Ben Gould wrote:
> hi,
> i had some time to look at the tests, and try various combinations of 
> map to guest, different username, password & share (guest ok, guest 
> only) configurations.  to test this it was necessary to add a flag to 
> client/client.c which disables the fall-back to anonymous 
> authentication.  (easier than finding "Anonymous login successful" in 
> the output of smbclient)
> you may want to add these to cvs and consider whether or not the option 
> 'guest only' is correctly implemented; it appears to allow 
> authenticated users to connect to a guest-only share.

It should - but they should connect as the guest user.

> -- ben
> changes - add -a (--no-anon) flag to smbclient to disable automatic 
> guest logon on failure to authenticate.

I think we should not have a 'short' parameter for this - we have too
many of these already.

We also need to fill in '$guest_user' somewhere in the build farm

Thankyou very much for doing this - if I don't get to it soon, bug me
until I get the patch in.  (I don't want to loose it).

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030627/9b3f69bd/attachment.bin

More information about the samba-technical mailing list