tag:blogger.com,1999:blog-5455238682241651508.post5252099415465474582..comments2021-11-06T01:45:56.337-07:00Comments on Rising Trigger: Setting up Samba server on LinuxUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5455238682241651508.post-10032696418608501432010-11-12T09:01:23.442-08:002010-11-12T09:01:23.442-08:00Good job DearGood job DearAjith Pathiranahttps://www.mcpvirtualbusinesscard.com/VBCServer/WPAPathirana/profile/noreply@blogger.comtag:blogger.com,1999:blog-5455238682241651508.post-20522257452823809012009-09-24T19:50:12.000-07:002009-09-24T19:50:12.000-07:00thanks dude...like to add detail documentation
#yu...thanks dude...like to add detail documentation<br />#yum search samba<br />#rpm -ql samba<br />#rpm -qa| grep samba<br />#yum intall samba<br />#chkconfig --list smb<br />#chkconfig --level 35 smb on <br />#service smb status<br />#ps -ef| grep smb<br />#vim /etc/samba/smb.conf<br />< Workgroup=should be same<br />set the public directory--with specified location<br />give all the required permission><br />#chcon -R -t samba_share_t /home/<location> --> if you want to access the location with selinux ON<br />#getenforce<br />#setenforce 0 --> turn selinux to premissive<br />#smbpasswd -a dhan<br />#service smb restart<br />#ifconfig<br />#smbclient -L //192.168.1.188/public -U dhan<br />#smbclient //192.168.1.188/homes -U dhan<br />#smbclient //server.glowfute.com -U root<br /><br /><br />Check firewall<br />Check iptables<br />Check Selinux<br /><br />#man smb.conf ---> to modify and to give permission<br /><br />###with selinux<br />Allowing AccessYou can alter the file context by executing chcon -R -t samba_share_t './nfsserver' You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t samba_share_t './nfsserver'" The following command will allow this access:<br />#chcon -R -t samba_share_t './nfsserver'<br />#chcon -R -t samba_share_t /home/arghhttps://www.blogger.com/profile/13060065522835268303noreply@blogger.comtag:blogger.com,1999:blog-5455238682241651508.post-73348622527108408822009-09-23T23:26:31.000-07:002009-09-23T23:26:31.000-07:00good tut ya thanksgood tut ya thanksarghhttps://www.blogger.com/profile/13060065522835268303noreply@blogger.com