Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-10-2009, 11:18 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
samba on centos 5

I have re-installed our operating system (CentOS 5) ,what is the
best way to restore our Samba server? Can it be as simple as
copying the smb.config and smbpasswd files back into the
/etc/samba directory? That's what I am hoping. If I just copy
the smb.config and the smbpasswd files back to the samba
directory will the machine trusts, users and passwords just
work? If not, what is the proper procedure for restoring.

Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:

1. Is CentOS 5 is more stable than RHEL 5 etc.
2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.
3. How can i use logon scripts like GPO in windows servers.
4. How can add users in samba server and linux at one time with one command.
5. Please tell me any Web based samba administration tool other than SWAT.
6. Last one, any good book of samba server administration
Old 07-14-2009, 03:56 PM   #2
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 862

Rep: Reputation: 118Reputation: 118
So far as I know, you can just copy everything from /etc/samba/ on the old setup into /etc/samba in the new setup. You may have to do the same with the hosts* files in /etc/. Finally, restart samba (or the computer, assuming that samba is set as a startup process), and you should be in business.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba "system-config-samba" not displaying users in Gnome GUI - CentOS 5.0 bskrakes Linux - Server 6 03-01-2009 11:59 AM
samba , xp and centos 5 cyberiapost Linux - Newbie 7 11-30-2008 01:56 PM
installing samba in centos venu_babu Linux - Server 1 08-29-2008 05:16 AM
samba installation with centos 5 jianght Linux - Newbie 3 03-06-2008 08:52 PM
Samba config on CentOS 4.3 Yig Linux - Networking 3 06-06-2006 12:00 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration