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

2012-07-30 Thread steve

On 30/07/12 01:14, John Drescher wrote:

On Sun, Jul 29, 2012 at 11:43 AM, steve st...@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


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

2012-07-30 Thread steve

On 30/07/12 09:43, Daniel Müller wrote:

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



Hi Daniel
I don't know what you mean by address books. I can scan the directory on 
OU=domain Controllers and pull out the fqdn's to use from there. Is that it?

Cheers,
Steve


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2012-07-30 Thread Daniel Müller
Thats it. In replication mode all information is equal. So it should not
matter which DC you use.

---
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: muel...@tropenklinik.de
Internet: www.tropenklinik.de
---

-Ursprüngliche Nachricht-
Von: steve [mailto:st...@steve-ss.com] 
Gesendet: Montag, 30. Juli 2012 10:38
An: muel...@tropenklinik.de
Cc: 'John Drescher'; samba@lists.samba.org
Betreff: Re: AW: [Samba] Samba4: 2DC domain. Which ldap:// address do I use,
DC1 or DC2?

On 30/07/12 09:43, Daniel Müller wrote:
 If you use your DCs (using samba4 internal ldap)in replication mode 
 all of your address-books on your Dcs should be equal.


Hi Daniel
I don't know what you mean by address books. I can scan the directory on
OU=domain Controllers and pull out the fqdn's to use from there. Is that it?
Cheers,
Steve



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2012-07-30 Thread steve

On 30/07/12 10:43, Daniel Müller wrote:

Thats it. In replication mode all information is equal. So it should not
matter which DC you use.


OK, got it now. I can change my scripts to cut out the fqdns.

My question about how to include multiple ldap://fqdn's on ldbsearch 
command lines is still unclear however.

Cheers,
Steve


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2012-07-29 Thread steve

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?

Cheers,
Steve

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2012-07-29 Thread John Drescher
On Sun, Jul 29, 2012 at 11:43 AM, steve st...@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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba