1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-19 07:52:23 +01:00

Make deprecated "ldapserver" work again.

Reported by giovannibajo in Issue #27:
<http://code.google.com/p/yubico-pam/issues/detail?id=27>.
This commit is contained in:
Simon Josefsson 2010-07-13 16:53:24 +00:00
parent c8eb802620
commit e6bed0bfcd
2 changed files with 8 additions and 2 deletions

4
NEWS
View File

@ -10,6 +10,10 @@ Contributed by qistoph reported in Issue #22:
Reported by qistoph in Issue #20:
<http://code.google.com/p/yubico-pam/issues/detail?id=20>.
** Make deprecated "ldapserver" work again.
Reported by giovannibajo in Issue #27:
<http://code.google.com/p/yubico-pam/issues/detail?id=27>.
* Version 2.3 (released 2010-04-14)
** New keyword "ldap_uri" added.

View File

@ -259,8 +259,10 @@ authorize_user_token_ldap (const char *ldap_uri,
else
{
if ((ld = ldap_init (ldapserver, PORT_NUMBER)) == NULL)
D (("ldap_init"));
return 0;
{
D (("ldap_init"));
return 0;
}
}
/* Bind anonymously to the LDAP server. */