]> git.sur5r.net Git - openldap/commitdiff
Fix typo in peercred DN. Make it agree with actual name used by slapd
authorHoward Chu <hyc@openldap.org>
Thu, 13 Feb 2003 23:11:30 +0000 (23:11 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 13 Feb 2003 23:11:30 +0000 (23:11 +0000)
just to avoid confusion.

libraries/libldap/open.c

index 31db8f49a14b760c0ac09df972a26c6d0bee3b0b..29ee1353495c70c4f27e96ed74841fa62a5da03e 100644 (file)
@@ -358,9 +358,9 @@ ldap_int_open_connection(
        }
 #ifdef LDAP_PF_LOCAL
        if( proto == LDAP_PROTO_IPC ) {
-               char authid[sizeof("uidNumber=4294967295,gidNumber=4294967295,"
+               char authid[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) geteuid(), (int) getegid() );
                ldap_int_sasl_external( ld, conn, authid, LDAP_PVT_SASL_LOCAL_SSF );