From: Howard Chu Date: Thu, 6 Mar 2003 12:08:39 +0000 (+0000) Subject: Technically, since the authid is expected to be a normalized DN, uidNumber X-Git-Tag: NO_SLAP_OP_BLOCKS~170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa84264fc2069f250ab8e21f109d67a51b811771;p=openldap 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? --- 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); }