Samba: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
= Description =
This page will show you how to create Windows shares on a Linux box.  This will allow Windows computers to access files on Linux.<br>
= Installation =
Firstly install the samba server and client
Firstly install the samba server and client


== Installation of Applications ==
<pre>
<pre>
yum install samba samba-client
yum install samba samba-client
</pre>
</pre>


== Configuration of Applications ==
Once the required applicatons are installed we can add the computer to the domain by running authconfig.
Once the required applicatons are installed we can add the computer to the domain by running authconfig.


Line 28: Line 34:
Select Ok.<br>
Select Ok.<br>


== Creating File Shares ==
Now edit the file /etc/samba/smb.conf file.<br>
Now edit the file /etc/samba/smb.conf file.<br>
Create the required shares.
Create the required shares.

Revision as of 05:33, 10 September 2007

Description

This page will show you how to create Windows shares on a Linux box. This will allow Windows computers to access files on Linux.

Installation

Firstly install the samba server and client

Installation of Applications

yum install samba samba-client

Configuration of Applications

Once the required applicatons are installed we can add the computer to the domain by running authconfig.

authconfig

Under the User infromation select Use Winbind
Under Authentication select Use Winbind Authentication
Under the Authentication column the "Use MD5 Password" and "Use Shadow Passwords" should be automatically select. Leave them selected.

File:auth-config.jpg

Security Model is ads
Domain is NETBIOS domain name
Domain Controllers is the name of a Domain Controller
ADS Realm is DNS (FQDN) domain name
by default the /bin/false is selected.

File:winbind.jpg

Select Join Domain.
Select Ok.

Creating File Shares

Now edit the file /etc/samba/smb.conf file.
Create the required shares.

[meetme]
   comment = comment here
   path = /var/spool/asterisk/meetme
   guest ok = no
   browseable = yes
   writable = yes

Once the file has been saved restart the service.

service restart smb