Skip to content
Snippets Groups Projects
Commit da53cd0c authored by Howard Chu's avatar Howard Chu
Browse files

uid/gid are unsigned

parent f02d4814
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment