Network and Storage Protocols

CIFS ACCESS WITHOUT PASSWORD

jesus_vaquero
6,318 Views

¿How is't possible export a cifs share without password?

We want all users can access to this share without they have to introduce their credentials

- Cifs is in workgroup mode -

Regards

1 ACCEPTED SOLUTION

aborzenkov
6,318 Views

Yes, you need to set option cifs.guest_account and ensure that this Unix user maps to some Windows user which should be considered guest.

simsim> options cifs.guest_account nobody

simsim> cifs sessions

Server Registers as 'SIMSIM' in workgroup 'WORKGROUP'

Root volume language is not set. Use vol lang.

Using Local Users authentication

====================================================

PC IP(PC Name) (user) #shares #files

192.168.233.1() (DOMAIN\user - nobody[guest])

1 0

View solution in original post

2 REPLIES 2

aborzenkov
6,319 Views

Yes, you need to set option cifs.guest_account and ensure that this Unix user maps to some Windows user which should be considered guest.

simsim> options cifs.guest_account nobody

simsim> cifs sessions

Server Registers as 'SIMSIM' in workgroup 'WORKGROUP'

Root volume language is not set. Use vol lang.

Using Local Users authentication

====================================================

PC IP(PC Name) (user) #shares #files

192.168.233.1() (DOMAIN\user - nobody[guest])

1 0

jesus_vaquero
6,318 Views

Hi,

Thanks for you quick and usefull answer.

Public