[Samba] Can't get guest users to see a drive without logging in

Edmundo Valle Neto edmundo.valle at terra.com.br
Tue Oct 3 17:14:08 GMT 2006


Felipe Augusto van de Wiel escreveu:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> On 09/22/2006 01:15 PM, Scott Simpson escreveu:
>   
>> I have a drive set up like
>>
>> [public]
>>    comment = Public drive for miscellaneous stuff
>>    path = /apps/local/public
>>    writable = yes
>>    guest ok = yes
>>    force user = root
>>    force group = engr
>>    create mask = 0664
>>    directory mask = 0775
>>    public = yes
>>    browseable = yes
>>
>> and I want users without Unix accounts to be able to access this drive
>> from 
>> Windows machines. However, whenever they try to access the drive it asks
>> for 
>> a login password. Users with Linux accounts on the machine aren't asked
>> for 
>> the password. How can I let in guest users without Linux accounts?
>> Thanks.
>>     
>
> 	My guess is that you having problems with your guest
> account and trying to set the user (force user) to be root.
>
> 	Kind regards,
>
> - --
> Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
> http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
>
> iD8DBQFFInbPCj65ZxU4gPQRAh+ZAJ0Rvfz9I38OP8f7Ccfz1oJvY2TCXQCfQowc
> Di+qfKBQBd7v+Hj1HNUO6Pw=
> =66wR
> -----END PGP SIGNATURE-----
>   

If you use security = user and want that unexistent accounts be mapped 
to guest without beeing asked for a password you can use the "map to 
guest = Bad User" option.


Regards.

Edmundo Valle Neto


More information about the samba mailing list