mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 16:52:17 +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:
parent
c8eb802620
commit
e6bed0bfcd
4
NEWS
4
NEWS
@ -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.
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user