mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
Technically, since the authid is expected to be a normalized DN, uidNumber
and gidNumber should be all lower case: uidnumber,gidnumber. Is it too late to fix this, would it break compatibility for anything major?
This commit is contained in:
parent
e906747d51
commit
aa84264fc2
1 changed files with 2 additions and 2 deletions
|
|
@ -1561,9 +1561,9 @@ slapd_daemon_task(
|
|||
|
||||
if( getpeereid( s, &uid, &gid ) == 0 ) {
|
||||
authid = ch_malloc(
|
||||
sizeof("uidNumber=4294967295+gidNumber=4294967295,"
|
||||
sizeof("uidnumber=4294967295+gidnumber=4294967295,"
|
||||
"cn=peercred,cn=external,cn=auth"));
|
||||
sprintf(authid, "uidNumber=%d+gidNumber=%d,"
|
||||
sprintf(authid, "uidnumber=%d+gidnumber=%d,"
|
||||
"cn=peercred,cn=external,cn=auth",
|
||||
(int) uid, (int) gid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue