[Samba] Samba4: 2DC domain. Which ldap:// address do I use, DC1 or DC2?

Daniel Müller mueller at tropenklinik.de
Mon Jul 30 01:43:04 MDT 2012


If you use your DCs (using samba4 internal ldap)in replication mode all of
your address-books on your Dcs should be equal.
 

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------

-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von steve
Gesendet: Montag, 30. Juli 2012 09:18
An: John Drescher
Cc: samba at lists.samba.org
Betreff: Re: [Samba] Samba4: 2DC domain. Which ldap:// address do I use, DC1
or DC2?

On 30/07/12 01:14, John Drescher wrote:
> On Sun, Jul 29, 2012 at 11:43 AM, steve <steve at steve-ss.com> wrote:
>> 2 Samb4 DC's joined and replicating great.
>> Hi
>> I'm running some Linux scripts on DC2 which I copied from DC1.
>>
>> I changed the ldap://address for a script which I copied to DC2 to 
>> that of DC2. If I now deliberately failover DC1,  the script on DC2 
>> complains that the ldap addresss is invalid.
>>
>> Do I keep the scripts at the same ldap://address on BOTH DC's? Is, 
>> that correct?
>
> I put both ldap servers (actually in my case 3 ldap servers and 3 DCs) 
> on that line on both DCs.
>
> John
>
Hi John
Thanks
Say I have:
ldbsearch --url=ldap://hh1.hh3.site --kerberos=yes --krb5-ccache=$ccache
<some search stuff>

How would I add ldap://hh6.hh3.site to that line?

Is there a way to pull the fqdn's for both DC's from the directory? (so I
can make the script non specific to my domain) Cheers, Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list