RE: [dev] Proposed path to allow LDAP server redundancy

Robert Kehl wrote:
On Saturday, May 29, 2004 12:15 AM Tyler Hepworth
wrote: Normally it would be ... or die ... but I can't do that. If an LDAP server is not availabe and I tell it to die, then none of the other servers in the array get looked at. Is there are way to tell the foreach loop to die with a message only if none of the servers in the array are available? I have thought about this, but probably not hard enough because I don't know the answer right now.
One could think about my $Flag being set ($Flag = 1;) when a server is found, and an action if ($Flag = 1).
Done. The module is ready to go and will work OOB with old and new Config.pm files.
Could I get you to diff this version against the most recent CVS version and attach one or multiple patch file(s) that can be applied to the source tree?
Sorry, but what do you mean by "most recent"? Do you mean version 1.3 or the most recent 1.2.3 copy?
Oh man. Now you are talking way over my head. To be honest, perl is yet. Got any advice for me? In the meantime I will see what I can learn about merging and see if I can fill your request.
Don't worry, it's not that hard. Try to get a GUI client for cvs to get you started. Tortoisecvs.sf.net is a good one on the Windows platform.
You are right. It was not too tough. Thanks for your patience. :-)
All we need to render your changes usable is a diff against the CVS version of the files. So you take the original file you developed afrom, and diff it with your working version, using 'diff -bru'. You supplied diffs against your most recent working version, which doesn't help that much. Get it?
Got it. It doesn't help that much to show the diff against my own working version. You'll get the right patch in the next couple of days. Cheers, Tyler
participants (1)
-
Tyler Hepworth