use krb5_is_config_principal()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23867 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -282,9 +282,7 @@ print_tickets (krb5_context context,
|
|||||||
ccache,
|
ccache,
|
||||||
&cursor,
|
&cursor,
|
||||||
&creds)) == 0) {
|
&creds)) == 0) {
|
||||||
const char *str;
|
if (!do_hidden && krb5_is_config_principal(context, creds.server)) {
|
||||||
str = krb5_principal_get_comp_string(context, creds.server, 0);
|
|
||||||
if (!do_hidden && str && str[0] == '@') {
|
|
||||||
;
|
;
|
||||||
}else if(do_verbose){
|
}else if(do_verbose){
|
||||||
print_cred_verbose(context, &creds);
|
print_cred_verbose(context, &creds);
|
||||||
|
Reference in New Issue
Block a user