mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix typo in peercred DN. Make it agree with actual name used by slapd
just to avoid confusion.
This commit is contained in:
parent
844cc97928
commit
1128bc63b7
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user