Code: Select all
sudo apt-get install winbind
Code: Select all
sudo apt-get install gadmin-samba
this is what u wanna edit to ur needs
under the tab servers host name
1. the servers host name = what ever name u want
2. allowed hosts & networks = this shoud be ur ip range with subnet EG. 10.42.0.1/8
3. handle connections on = this shoud be ur ip EG. 10.42.0.1
4. announce this server to = ur broadcast ip EG. 10.42.0.255
5. retrieve announcements fro - ur broadcast ip EG. 10.42.0.255
& dont change enything els .. default is good for most of us uless u r configuring samba s a domain
and click apply
& to add users
under users tab
1.click new user
2.give a user name
3. give a password ( must b 6 digits )
4. give group
Note if the user allready exist on the system dont need to give group, home, & shell
if its a new user group=nobody, home & shell=/dev/null
and click apply
to share folders
under shares tab
1. new share
2.shared directory(u can brows using shared directory button)
3 share name
other options as u like and click add
if u want to edit a share .. just select the share & edit what ever u want & click apply
when all is done
Code: Select all
sudo service smbd restart
pictures of my configuration is given bellow