Example:
Cse-> user name
# touch /etc/samba/smbpasswd
# smbpasswd -a cse [to encrypt the password]
# vi /etc/samba/smb.conf [SAMBA configuration file]
Important change of config file:
1. Workgooup [samba]
2. Server String [server name shown to client side, i.e samba server]
3. [myshare] [make a folder as /share ]
4. [public] [path=/, to share all folder]
5. [fredsdir] [make a folder /cse & share the folder]
# service smb restart
*In windows change workgroup from MyComputer-> Properties-> Computer Name-> Change -> Workgroup(samba).
No comments:
Post a Comment