(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:
Love Hörnquist Åstrand
2007-04-21 06:25:06 +00:00
parent 07885a8445
commit 80defeb51c

View File

@@ -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;
}