mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
uid/gid are unsigned
This commit is contained in:
parent
f02d481426
commit
da53cd0c40
1 changed files with 2 additions and 2 deletions
|
|
@ -670,9 +670,9 @@ ldap_int_sasl_bind(
|
|||
{
|
||||
char authid[sizeof("gidNumber=4294967295+uidNumber=4294967295,"
|
||||
"cn=peercred,cn=external,cn=auth")];
|
||||
sprintf( authid, "gidNumber=%d+uidNumber=%d,"
|
||||
sprintf( authid, "gidNumber=%u+uidNumber=%u,"
|
||||
"cn=peercred,cn=external,cn=auth",
|
||||
(int) getegid(), (int) geteuid() );
|
||||
getegid(), geteuid() );
|
||||
(void) ldap_int_sasl_external( ld, ld->ld_defconn, authid,
|
||||
LDAP_PVT_SASL_LOCAL_SSF );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue