Univention Bugzilla – Attachment 11113 Details for
Bug 56547
replace pam_tally with pam_faillock
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make nss-pam-ldapd use LDAP_DN_FORMAT_LDAPV3
01_handle_umlauts.quilt (text/plain), 1.04 KB, created by
Julia Bremer
on 2023-09-07 09:10:21 CEST
(
hide
)
Description:
Make nss-pam-ldapd use LDAP_DN_FORMAT_LDAPV3
Filename:
MIME Type:
Creator:
Julia Bremer
Created:
2023-09-07 09:10:21 CEST
Size:
1.04 KB
patch
obsolete
>Index: nss-pam-ldapd-0.9.12/nslcd/myldap.c >=================================================================== >--- nss-pam-ldapd-0.9.12.orig/nslcd/myldap.c >+++ nss-pam-ldapd-0.9.12/nslcd/myldap.c >@@ -2116,7 +2116,7 @@ static char **get_exploded_rdn(const cha > if ((dn == NULL) || (strcasecmp(dn, "unknown") == 0)) > return NULL; > /* explode dn into { "uid=test", "ou=people", ..., NULL } */ >- exploded_dn = ldap_explode_dn(dn, 0); >+ exploded_dn = ldap_explode_dn(dn, LDAP_DN_FORMAT_LDAPV3); > if ((exploded_dn == NULL) || (exploded_dn[0] == NULL)) > { > log_log(LOG_WARNING, "ldap_explode_dn(%s) returned NULL: %s", >@@ -2127,7 +2127,7 @@ static char **get_exploded_rdn(const cha > e.g. "cn=Test User+uid=testusr" into > { "cn=Test User", "uid=testusr", NULL } */ > errno = 0; >- exploded_rdn = ldap_explode_rdn(exploded_dn[0], 0); >+ exploded_rdn = ldap_explode_rdn(exploded_dn[0], LDAP_DN_FORMAT_LDAPV3); > if ((exploded_rdn == NULL) || (exploded_rdn[0] == NULL)) > { > log_log(LOG_WARNING, "ldap_explode_rdn(%s) returned NULL: %s", >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56547
: 11113