s/%d/%u/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1638 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -199,8 +199,10 @@ siad_ses_authent(sia_collect_func_t *collect,
|
||||
if(getpwnam_r(entity->name, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
|
||||
return SIADFAIL;
|
||||
snprintf((char*)entity->mech[pkgind], sizeof(entity->mech[pkgind]),
|
||||
"%s%d_%d",
|
||||
TKT_ROOT, pwd->pw_uid, getpid());
|
||||
"%s%u_%u",
|
||||
TKT_ROOT,
|
||||
(unsigned)pwd->pw_uid,
|
||||
(unsigned)getpid());
|
||||
krb_set_tkt_string((char*)entity->mech[pkgind]);
|
||||
|
||||
krb_get_lrealm(realm, 1);
|
||||
|
Reference in New Issue
Block a user