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: [email protected] Internet: www.tropenklinik.de ----------------------------------------------- -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von steve Gesendet: Montag, 30. Juli 2012 09:18 An: John Drescher Cc: [email protected] 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 <[email protected]> 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
