SAMBA in Linux – Administration Checklist
This post was last updated on May 27th, 2020 at 05:04 pm
Samba startup guide checklist:
This applies to a lot of Linux versions, notes for this page was gathered from RH70.
check your hostname:
If the system host name is not set correctly then Samba and any number
of other programs will have problems.
Check your smb.conf file for the following:
- Set your workgroup
- set your descriptor string
- Turn on encryption and point to a smbpassword file (uncomment those 2 lines).
- shares are set up at the end of the smb.conf file. at the end
you’ll find a lot of samples, just take one section, copy it, and make
modifications to it.
Set up your users by 1st adding them to linux (useradd / passwd)
Set up your users by then adding them to samba (smbadduser / smbpasswd)
Check the run levels you want samba to run in (usually 2,3,4, and 5)
– Use ntsysv or use chkconfig to set the runlevels:
chkconfig --list smb chkconfig --level 2345 smb on
See if samba is running: “ps ax | grep mbd”, you should see smbd
and nmbd running; if not, then they are not running.
start samba /etc/rc.d/init.d/smb start
Now the “ps -ax | grep mbd” should show both smbd and nmbd running.
Getting SWAT to work in RH70
If running RH70 you should get the updates from www.redhat.com on
thir RH70 Post instal gotcha’s page: http://www.redhat.com/support/docs/gotchas/7.0/gotchas-7-6.html#ss6.3
Here are two items to get swat running (Samba Web Administration Tool):
edit /etc/xinetd.d/swat and change 2 lines.
The one line that says localhost, change it to 127.0.0.1
The line that says disabled=yes, change it value to no.
You might also like
This post was last updated on August 1st, 2020 at 04:05 pmCron is a program that is used to automate a task in a Unix based operating system. It is
This post was last updated on June 3rd, 2020 at 04:16 pmManually setting up a network interface. This can come in handy if you need networking but don’t have any
This post was last updated on August 1st, 2020 at 03:09 pmA system backup is a process in which the state, files, and data of a computer system are copied