call to _ldap_get_lderrno() from storage_ldapvcard.c fails (linking error?) 2.2.17

Bug #1247104 reported by Master5597
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jabberd
New
Undecided
Unassigned

Bug Description

I was connection to my AD domain and I was having a ldap problem. Unfortunately since the library couldn't call the external function _ldap_get_lderrno all I would get was and error that it couldn't make that call. (see line 40 in storage_ldapvcard.c) As a test I copied the _ldap_get_lderrno function from authreg_ldap.c into the storage_ldapvcard.c file and was able to get my error message. My guess is that this is a linking problem as the function is in the authreg_ldap.so library, it doesn't seem to be accessible to the storage_ldapvcard.so library for runtime.

Also in my testing I noticed a line was in the incorrect ifdef in mod_roster_publish.c basically if NO_SM_CACHE is defined the compile will fail. I think the fix is to move line 241 (int userinsm) up one line to just outside the #ifndef NO_SMCACHE line (#240).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.