(kcm_ccache_new_client): make root be able to pass the name
constraints, not the opposite. From Bryan Jacobs. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20487 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -118,7 +118,7 @@ kcm_ccache_new_client(krb5_context context,
|
||||
}
|
||||
|
||||
/* Allow root to create badly-named ccaches */
|
||||
if (bad && CLIENT_IS_ROOT(client))
|
||||
if (bad && !CLIENT_IS_ROOT(client))
|
||||
return KRB5_CC_BADNAME;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user