[krbdev.mit.edu #3190] List principals lists wrong principals if principal name contains back slash
"K.G. Gokulavasan" via RT
rt-comment at krbdev.mit.edu
Fri Sep 23 12:38:54 EDT 2005
Hi,
When we were trying out principal names with special characters, we
found out that listprincs option of kadmin.local looks for the wrong
principals if the principal name contains a back slash. It looks for ']'
character instead of '\'.
(e.g.) if the principal name is a\/b at REALM, then
kadmin.local: listprincs a\\/b at REALM
looks for the principal a]]/b at REALM.
Proposed fix:
File: krb5-1.4.2/src/lib/kadm5/srv/svr_iters.c
lines: 110, 113
Existing:
case '\\':
*p++ = '\\';
*p++ = ++*glob;
break;
Proposed:
case '\\':
*p++ = '\\';
*p++ = *++glob;
break;
Regards,
Gokul.
More information about the krb5-bugs
mailing list