#756 Get rid of mozldap code
Closed: Fixed None Opened 13 years ago by jhrozek.

The plugins (and probably client, too) contain Mozldap-specific code. Since we only support OpenLDAP now, we should get rid of it.


IPA installation fails without mozldap-devel package installed. Solved in this ticket.

$ make
...
ipapwd_common.lo -MD -MP -MF .deps/ipapwd_common.Tpo -c ipapwd_common.c  -fPIC -DPIC -o .libs/ipapwd_common.o
ipapwd_common.c: In function 'ipapwd_rdn_count':
ipapwd_common.c:390:5: error: implicit declaration of function 'ldap_value_free'
ipapwd_common.c: In function 'ipapwd_CheckPolicy':
ipapwd_common.c:881:13: error: implicit declaration of function 'ldap_utf8isdigit'
ipapwd_common.c:883:13: error: implicit declaration of function 'ldap_utf8isalpha'
ipapwd_common.c:902:17: error: implicit declaration of function 'ldap_utf8len'
ipapwd_common.c:903:17: error: implicit declaration of function 'ldap_utf8prev'
ipapwd_common.c:903:32: warning: initialization makes pointer from integer without a cast
ipapwd_common.c:919:13: error: implicit declaration of function 'ldap_utf8next'
ipapwd_common.c:919:15: warning: assignment makes pointer from integer without a cast
ipapwd_common.c:1026:5: error: implicit declaration of function 'ldap_utf8characters'
ipapwd_common.c: In function 'ipapwd_get_cur_kvno':
ipapwd_common.c:1093:9: warning: passing argument 1 of 'ber_init' discards qualifiers from pointer target type
/usr/include/lber.h:514:1: note: expected 'struct berval *' but argument is of type 'const struct berval *'
make[3]: *** [ipapwd_common.lo] Error 1
make[3]: Leaving directory `/home/mkosek/freeipa/daemons/ipa-slapi-plugins/ipa-pwd-extop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mkosek/freeipa/daemons/ipa-slapi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mkosek/freeipa/daemons'
make: *** [all] Error 2

Metadata Update from @jhrozek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata