[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: High availability



Taymour A. El Erian skrev, on 21-08-2007 08:21:

Would you happen to have any documentation on how to implement chaining ?

If you've built from source (Buchan's srpm or whatever) and have a build directory from a successful build, go to $DIR/tests, run './run test032-chain'; when it's done, got to ./testrun and look at both slapd.?.conf; that should give you a basic idea, together with the rest there.


I always get this error

Could not locate slapd(8)

What "always"?

When do you get this error? What are you doing at the time?

(In Thunderbird 2.0.0.6 I attempt to remove incorrectly inserted quotes and *try* to correct anathema-waking coding and formatting).


I checked the code and this happens because of the following check
if test ! -x /usr/sbin/.3 ; then

Nowhere in my test environment can I reproduce (or anything like it) such a path. If you're in $tests, and after a successful build, whatever it is, is testing for slapd, then slapd is in ../servers/slapd/slapd. There's never any '.3' in /usr/sbin/, whatever happens, and never will be.


I get the error when I try to run the test as you noted above

AFAICS you never produced a successful build, but I could be wrong.

Anyone else care to help Taymour on his way? I give up ...

--Tonni

--


However, I broke my own chain slapd config file on the relevant (Samba) slave server and my shell scripts which I use for master updates etc. kept getting referral errors, even with the above configs. I spent "a good time" on this and finally got it working again with the following:

overlay chain
chain-uri               ldaps://ldap.master/
chain-idassert-bind     bindmethod=simple
                        binddn="cn=proxy,dc=school,dc=nl"
                        credentials=Wh4t3v3r
                        mode=self
                        flags=non-prescriptive

I was using digest-md5 SASL binding and ldap with starttls, which I always use for all replication etc., but that was what was breaking chaining - no idea why.

This is OL 2.3.37, BTW.

I'd seriously forget doing *anything whatever* (let alone "High availability") with OpenLDAP until you can get this little thing working.


Best,

--Tonni

--

Tony Earnshaw
Email: tonni at hetnet dot nl





--
Tony Earnshaw
Email: tonni at hetnet dot nl