Configuring a Windows File Server (SAMBA Server)



What is SAMBA Server?

Samba is an implementation of a Common Internet File System (CIFS, also known as SMB) protocol server that can be run on almost every variant of Unix in existence.
Microsoft clients will use this protocol to access files and printers located on your Unix
box just as if it were a native Windows server.

Samba is an open source project, just like the Linux kernel (a Unix-like operating system
for PCs). The source code, written in C, is always available to you to explore, test, or
change. And it’s free!

The implication of these items is that Samba is being installed in more and more server
rooms in order to provide file and print services to Microsoft Windows clients without
installing a Windows NT/2000 Server or any other CIFS server.

STEPS
  • Check the RPM - # rpm -q samba
  • Set the SAMBA work group name according to windows work group or domain name
# nano /etc/samba/smb.conf

* press Ctrl+W & find the word mygroup.
* Remove mygroup and type windows work group name or domain name.
* Save & Exit
  • Start the SAMBA Service
# service smb start
# chkconfig smb on

Now you will be able to see the SAMBA Server through My Network Places in windows, but to access the SAMBA server. We have to have windows compatible user accounts in Linux. That is also known as SAMBA user accounts.

* You must have a Linux user accounts.
* The Linux server accounts you can convert to SAMBA.

# smbpasswd -a user1 → (user name)

New Password → Give windows compatible password

Now users can access their Linux Home folder through Windows. Because by default the User's Home Folder will be automatically shared, when we add the user to SAMBA.

Download SAMBA RPM - http://samba.xsec.it/

0 comments:

Post a Comment