Samba Setup on CentOS 5.4 help.

shaunwingin
shaunwingin used Ask the Experts™
on
Say, I can browse the windows workgroup. How do I give my CentOS PC a name and how can I then set it up to allow browsing from the windows machine?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Tx, but what exact settings are needed for a Windows Workgroup?
Commented:
In [global] section of you smb.conf file put:

workgroup = MYGROUP

Restart samba server
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
Will try. Tx

Commented:
Install the swat package for an easy web interface to really configure alot of samba settings on Linux.

Author

Commented:
Tx. How do I install swat and what is web address?

Commented:
If you have yum running, you can yum install samba-swat. Or find the samba-swat rpm and install it (rpm -ivh). Then connect to the web address nodename:901

Author

Commented:
Tx. Help please:


Installed:
  samba-swat.i386 0:3.0.33-3.15.el5_4.1

Complete!


http://192.168.10.208:901/

Failed to connect display anything. I'm on the same lan and firewall is open.

Commented:
chkconfig swat on
reboot or /etc/init.d/xinetd restart

now try to connect the localhost:901 , use root for username and root password for password.

Author

Commented:
Same issue...
you'll probably need to allow port 901 through the firewall?? and possible look at your selinux settings.

Author

Commented:
What selinux changes may be needed?
Also I can browse to the machine's ip from my windows machine as in \\ip
but the workgroup name is not accessable.
What settings are needed?

Author

Commented:
I had to trouble shoot it myself too...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial