]> git.sur5r.net Git - openldap/commitdiff
expand authid buffer
authorKurt Zeilenga <kurt@openldap.org>
Sun, 8 Dec 2002 07:56:49 +0000 (07:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 8 Dec 2002 07:56:49 +0000 (07:56 +0000)
libraries/libldap/open.c
servers/slapd/daemon.c

index 9be52bae647a5c940e621558170527ce26023abe..5e7f69f092a13a6268784e1429247a373d856fe6 100644 (file)
@@ -360,7 +360,7 @@ ldap_int_open_connection(
         * yet anyway.
         */
        if( proto == LDAP_PROTO_IPC ) {
-               char authid[sizeof("uidNumber=XXXXXX,gidNumber=XXXXXX,"
+               char authid[sizeof("uidNumber=4294967295,gidNumber=4294967295,"
                        "cn=peercred,cn=external,cn=auth")];
                sprintf( authid, "uidNumber=%d,gidNumber=%d,"
                        "cn=peercred,cn=external,cn=auth",
index ab9c202f0722f122a2e4d73230be7b166abad579..94c002d14240d51068e6e6624f9ebc4234d55f39 100644 (file)
@@ -1561,7 +1561,7 @@ slapd_daemon_task(
 
                                        if( getpeereid( s, &uid, &gid ) == 0 ) {
                                                authid = ch_malloc(
-                                                       sizeof("uidNumber=XXXXXX+gidNumber=XXXXXX,"
+                                                       sizeof("uidNumber=4294967295+gidNumber=4294967295,"
                                                                "cn=peercred,cn=external,cn=auth"));
                                                sprintf(authid, "uidNumber=%d+gidNumber=%d,"
                                                        "cn=peercred,cn=external,cn=auth",