Samba server backup for CentOS 5

Taking care of your Linux box.

Samba server backup for CentOS 5

Postby alitoday » Tue Jul 07, 2009 1:52 pm

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.
Ali
"Yes we can!"
alitoday
Naik
 
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

Postby lambda » Tue Jul 07, 2009 5:00 pm

your /etc/passwd, /etc/shadow, and /etc/group files should be in sync with your samba passwds. also, you need to restore the the secrets file (secrets.tdb, i think).

shouldn't you have asked that before the reinstall? in general, backup /etc to some other system nightly. the "etckeeper" application can help with that.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

samba on CentOS 5.3

Postby alitoday » Wed Jul 08, 2009 12:34 pm

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

regards
Ali

"Yes we can!"
alitoday
Naik
 
Posts: 62
Joined: Fri Nov 05, 2004 3:01 pm

Re: samba on CentOS 5.3

Postby nomankhn » Thu Jul 16, 2009 3:49 pm

alitoday wrote: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.

regards


lol

you are working on linux and you are not aware what CENTOS IS???????

ref -> http://en.wikipedia.org/wiki/CentOS

Thanks,
Noman
nomankhn
Colonel
 
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron