From aa84264fc2069f250ab8e21f109d67a51b811771 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 6 Mar 2003 12:08:39 +0000 Subject: [PATCH] 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? --- servers/slapd/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 560a0d21ca..5869fe418c 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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); } -- 2.39.5