#1317 Detect LDAPDerefRes in configure script
Closed: Fixed None Opened 11 years ago by jzeleny.

On RHEL 6.2 and its derivatives there are two versions of openldap library and its devel package:

  • openldap (openldap-devel)
  • openldap24 (openldap24-libs-devel)

The former doesn't contain LDAPDerefRes structure, therefore if it is used instead of openldap24, a user can see the following compilation error:

./src/providers/ldap/sdap.h:421: error: expected declaration specifiers or '...' before 'LDAPDerefRes'

This missing definition should be detected by configure script.


Replying to [ticket:1317 jzeleny]:

On RHEL 6.2 and its derivatives there are two versions of openldap library and its devel package:
openldap (openldap-devel)
openldap24 (openldap24-libs-devel)

That should read RHEL5, RHEL6 contains openldap-2.4 and compat-openldap-2.3

The former doesn't contain LDAPDerefRes structure, therefore if it is used instead of openldap24, a user can see the following compilation error:
{{{
./src/providers/ldap/sdap.h:421: error: expected declaration specifiers or '...' before 'LDAPDerefRes'
}}}

This missing definition should be detected by configure script.

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.0
priority: minor => trivial

Fields changed

rhbz: => 0

Fields changed

component: SSSD => Build Environment
keywords: => easyfix

Fields changed

owner: somebody => jhrozek
patch: 0 => 1
status: new => assigned

master: 3767159

resolution: => fixed
status: assigned => closed

Metadata Update from @jzeleny:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.9.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2359

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata