[Samba] "map to guest" in share definition?

Michael Heydon michaelh at jaswin.com.au
Wed Nov 28 23:23:49 GMT 2007


Are you sure about this?

 From the smb.conf man page:

 > Note that this parameter is needed to set up "Guest" share  services
 > when using security modes other than share. This is because in these
 > modes the name of the resource being requested is not  sent  to  the
 > server  until  after  the  server has successfully authenticated the
 > client so the server cannot make  authentication  decisions  at  the
 > correct time (connection to the share) for "Guest" shares.

 From that it sounds like the authentication must be 100% complete 
before the client can specify which share it is after, how could it 
decide whether or not the authentication request passes if each share 
has different rules for what is acceptable?


*Michael Heydon - IT Administrator *
michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>


Ryan Novosielski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yes, you can.
>
> Tim Bates wrote:
>   
>> Is it possible to use "map to guest" in a single share?
>> We have 2 or 3 shares where I want this behavior, but for most I would
>> like to not use it due to issues with home directories with bad users.
>>
>> I would simply try moving that line to a share definition to see what
>> happens, but I don't want to break a live server to test (and have no
>> spare Samba boxes right now).
>>
>> Tim B
>>
>> **********************************************************************
>> This message is intended for the addressee named and may contain
>> privileged information or confidential information or both. If you
>> are not the intended recipient please delete it and notify the sender.
>> **********************************************************************
>>     
>
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHTDsPmb+gadEcsb4RArbzAKCpgpRK2MoxmV/qlJKGhPpPUoVUpgCfS//i
> wUc4C5QoVTxGsc8eopRXwp8=
> =3FLa
> -----END PGP SIGNATURE-----
>   


More information about the samba mailing list