Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13909

Deprecated warnings from ldap code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: LDAP
    • Labels:
      None

      Description

      When compiling on OSX I get many warnings from the LDAP code about the use of deprecated functions.

      A sample below:

      In file included from /Users/rchapman/HPCC-Platform/esp/services/ws_smc/./../../../system/security/LdapSecurity/permissions.ipp:20:
      /Users/rchapman/HPCC-Platform/esp/services/ws_smc/./../../../system/security/LdapSecurity/ldapconnection.hpp:259:23: warning: 'ldap_init' is deprecated: first deprecated in OS X 10.10 - use ldap_initialize [-Wdeprecated-declarations]
                  if ((ld = ldap_init( (char*)host, port )) == NULL)
                            ^
      /usr/include/ldap.h:1522:1: note: 'ldap_init' has been explicitly marked deprecated here
      ldap_init LDAP_P(( /* deprecated, use ldap_create or ldap_initialize */
      ^
      In file included from /Users/rchapman/HPCC-Platform/esp/services/ws_smc/ws_smcService.cpp:23:
      In file included from /Users/rchapman/HPCC-Platform/esp/services/ws_smc/./../../../system/security/LdapSecurity/ldapsecurity.ipp:23:
      In file included from /Users/rchapman/HPCC-Platform/esp/services/ws_smc/./../../../system/security/LdapSecurity/permissions.ipp:20:
      /Users/rchapman/HPCC-Platform/esp/services/ws_smc/./../../../system/security/LdapSecurity/ldapconnection.hpp:274:16: warning: 'ldap_simple_bind_s' is deprecated: first deprecated in OS X 10.10 - use ldap_sasl_bind_s [-Wdeprecated-declarations]
              return ldap_simple_bind_s(ld, userdn, password);
                     ^
      

        Attachments

          Activity

            People

            • Assignee:
              russwhitehead Russ Whitehead
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: