Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring Samba

Status
Not open for further replies.

jasmjaso

MIS
May 23, 2001
35
US
I have a RH 7.1 System, I'm looking to configure Samba I cannot find it. In 6.2 I could see it in Linuxconf, the OS tells me Samba is installed. If I'm in root and type at the terminal /etc/samba/smb.conf, I get permission denied. Where, and how do I configure samba in RH 7.1
 
Are you trying to execute the '/etc/samba/smb.conf' file from the command line. If you are trying to change something within Samba, you have to edit the conf file - you do not execute the smb.conf file to start Samba.

Take a look at for the exact configuration of Samba.

Hope this helps,
Paul
 
Funny thing, I am trying this now after a new install of 7.2. I cannot for the life of me find inetd.conf anywhere. When I do a ps -ef, the closest thing I find there is xinetd. Is this the new one or something?
 
RedHat is replaced inetd with xinetd daemon since 7.0 release. it is more flexible and easy to admin. anyway samba and xinetd is not bind together. you have to configure samba separately.

if you are installed samba on server, you have in /etc/init.d or /etc/rc.d/init.d directory service start script smb. you can start it typing

# /etc/init.d/smb start

but be sure you are configured it right by modifying /etc/samba/smb.conf file.

anyway read samba-howto. i had to read it just once to start samba. and after trying to connect read log files if you cannot connect to samba server
 
I use Webmin to do all my Samba configurations (actually all my server configurations.)

If you install Webmin you can access your system through any web browser with ssl as well.

With Webmin go into the Servers tab and select Samba. There you can add shares, printer etc. You can also go into Swat to do even more configurations.

I find Webmin the easiest and best tool to change your system settings including installing software, stopping and starting samba and more.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top