Skip Menu |
 

Subject: LDAP error prevents KfM 6.0 from building on Tiger
On Tiger I now get:
plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h:42:4: error: #error This code triggers bugs in old
OpenLDAP implementations. Please update to 2.2.24 or later.

I realize that the LDAP plugin can't support Tiger's LDAP 2.2.19, but I'd like to be able to do
development of KfM 6.0 on Tiger.

#warning works on all Mac OS X compilers. So if you special case this for Mac OS X, you can
add a #warning so it continues to warn about the problem. Alternatively a macro to skip the
#error would be fine as well.
From: Ken Raeburn <raeburn@MIT.EDU>
Subject: Re: [krbdev.mit.edu #4292] LDAP error prevents KfM 6.0 from building on Tiger
Date: Tue, 19 Sep 2006 16:06:13 -0400
To: MIT Kerberos RT <rt@krbdev.mit.edu>
RT-Send-Cc:
Actually, we should test it, and it's high on my list right now... I
think the known-to-be-broken version was earlier than 2.2.19; 2.2.24
is just the earliest known-to-be-working version, and there's a big gap.

Ken
From: raeburn@mit.edu
Subject: SVN Commit
* kdb_ldap.h: If BUILD_WITH_BROKEN_LDAP is defined, skip version checks.

Commit By: raeburn



Revision: 18595
Changed Files:
U trunk/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h