Search This Blog

Monday, July 12, 2010

Share folders in Ubuntu server using through CLI...

Change the samba configuration file located at /etc/samba/smb.conf as follows...
i. For authentication-based-access, append...
[private]
comment = Private Share
path = /tmp/pri-share
browseable = no
read only = no

ii. For anonymous-read-only access
[public]
comment = Public Share
path = /tmp/pub-share
read only = no
guest only = yes
guest ok = yes
Be sure, while accessing the shares from either windows or linux box, you are using 'private' of 'public' as share names instead 'pri-share' and 'pub-share'.

e.g. \\192.168.1.10\private
smb://192.168.1.10/private


..............Done!!!

No comments:

Post a Comment