Commit c1473eb8 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

normalize authid

parent 07e93b1c
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment