Re: LDAP: bugfix and deprecated OpenLDAP API
От | Peter Eisentraut |
---|---|
Тема | Re: LDAP: bugfix and deprecated OpenLDAP API |
Дата | |
Msg-id | 51D1777C.9080508@gmx.net обсуждение исходный текст |
Ответ на | Re: LDAP: bugfix and deprecated OpenLDAP API (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: LDAP: bugfix and deprecated OpenLDAP API
|
Список | pgsql-hackers |
On 7/1/13 7:58 AM, Magnus Hagander wrote: >> I also tried to fix the problem mentioned in >> > http://www.postgresql.org/message-id/CA+TgmoYnj=Es3L_0Q8+ijR4tVhvztW1fb=7C9K9gEmZWqhpwuQ@mail.gmail.com >> > that we use deprecated OpenLDAP functions, see the attached >> > ldap-undeprecate.patch. >> > >> > I added a file ldap.c in src/port with my own implementation >> > of some of the functions that OpenLDAP has deprecated. >> > With that, the code changes necessary are pretty minimal. > Doesn't this need a version check against OpenSSL at some point, or a > configure check? Are we just assuming that all versions that people > ever use have the function deprecated? (That's probably not entirely > unreasonable, just double checking) Btw., I just checked the source code of Apache, PHP, and PAM, and they are all unconditionally building with LDAP_DEPRECATED. So maybe there is no hurry about this.
В списке pgsql-hackers по дате отправления: