]> git.sur5r.net Git - openldap/commitdiff
Technically, since the authid is expected to be a normalized DN, uidNumber
authorHoward Chu <hyc@openldap.org>
Thu, 6 Mar 2003 12:08:39 +0000 (12:08 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 6 Mar 2003 12:08:39 +0000 (12:08 +0000)
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

index 560a0d21ca653dc4e376df87d00a0fe42b4d087f..5869fe418c98243d965836541c49deb0fa5f705f 100644 (file)
@@ -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);
                                        }