LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-04-2003, 10:03 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 606

Rep: Reputation: 32
samba PDC <-> BDC


Hello!

I have a Samba pdc working fine but i plan to config a bdc which can take over the service if heartbeat tells him to.

As

http://samba.irc.gr/samba/ftp/docs/h...BDC-HOWTO.html

says it is possible to copy a few files (groups / passwd / smbpasswd and so on) but it doesn` t work.

I even do not have the option to:

"...running smbpasswd -S as the root user, the domain SID will be retrieved from a domain controller matching the value of the workgroup parameter in smb.conf and stored as the new Samba server's machine SID. See the smbpasswd(8) man page for more details on this functionality. "

as there is no "-S" in smbpasswd.

Does anybody have some experience ?
 
Old 08-18-2004, 02:46 AM   #2
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 30
Re: samba PDC <-> BDC

Quote:
Originally posted by saavik
Hello!

I have a Samba pdc working fine but i plan to config a bdc which can take over the service if heartbeat tells him to.

As

http://samba.irc.gr/samba/ftp/docs/h...BDC-HOWTO.html

says it is possible to copy a few files (groups / passwd / smbpasswd and so on) but it doesn` t work.

I even do not have the option to:

"...running smbpasswd -S as the root user, the domain SID will be retrieved from a domain controller matching the value of the workgroup parameter in smb.conf and stored as the new Samba server's machine SID. See the smbpasswd(8) man page for more details on this functionality. "

as there is no "-S" in smbpasswd.

Does anybody have some experience ?
I was in a similar situation, but a quick look at the sambe documentation:

http://au.samba.org/samba/docs/man/S...html#id2520259

explains what to do:

The domain SID has to be the same on the PDC and the BDC. In Samba versions pre-2.2.5, the domain SID was stored in the file private/MACHINE.SID. The domain SID is now stored in the file private/secrets.tdb. This file is unique to each server and can not be copied from a PDC to a BDC, the BDC will generate a new SID at start-up. It will over-write the PDC domain SID with the newly created BDC SID. There is a procedure that will allow the BDC to aquire the Domain SID. This is described here.

To retrieve the domain SID from the PDC or an existing BDC and store it in the secrets.tdb, execute:

root# net rpc getsid


So on the BDC, issue the net rpc getsid command.

Last edited by rohang; 08-18-2004 at 03:00 AM.
 
Old 08-18-2004, 02:58 AM   #3
hasnain
Member
 
Registered: Jun 2004
Location: Karachi
Distribution: Redhat
Posts: 56

Rep: Reputation: 15
Samba PDC how to

hello..
would you like to send me the link or how--tos of makinf samba PDC


regards
 
Old 08-18-2004, 11:30 AM   #4
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
You guys need to take a look at Samba By Example, book by John Terpstra, which goes into this in detail.

2.2.5 is pretty darned oudated - probably EOL by now, or close to it.
 
  


Reply


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 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
PDC and BDC in case of sendmail-------- pal Linux - Networking 4 09-02-2005 09:07 AM
possibility of PDC & BDC in Sendmail sever------------------------------------------- dhanju Linux - Newbie 1 08-30-2005 09:07 PM
Distro suggestion to replace NT 4.0 PDC & BDC wyohman Linux - Distributions 0 12-28-2004 10:49 PM
Linux PDC using Samba with NT 4 servedr BDC ??? TechnoBod Linux - Networking 3 02-11-2003 10:08 PM


All times are GMT -5. The time now is 05:17 PM.

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