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

Andrew Bartlett abartlet at samba.org
Fri Jun 27 14:18:20 GMT 2003


On Sat, 2003-06-28 at 00:08, Ben Gould wrote:
> Avoid those scripts i sent as the guest_user i added breaks the other 
> tests in a strange way; if the guest user is not added into the 
> smbpasswd file (i only added it specifically for the three tests 
> written) then connections to the guest share fail.
> 
> On Friday, Jun 27, 2003, at 03:54 Europe/Paris, Andrew Bartlett wrote:
> 
> > We also need to fill in '$guest_user' somewhere in the build farm
> > scripts.
> 
> i'll modify this to go with the $whoami as well if its undefined
> 
> > 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).
> 
> i assume you'll also need something to check (via plain old ls) whether 
> files created are actually owned by the guest user rather than the 
> authenticated user in these configurations?

Well, the way these tests are setup, we only have one user - the user
that we run as on the build farm.  (ie, we don't have root on those
boxes).

So I do these 'am I guest' tests by denying the guest access to the
share etc.

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/d2f229d3/attachment.bin


More information about the samba-technical mailing list