Failure to do this breaks other attribute providers' set_attribute()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24775
dc483132-0cff-0310-8789-
dd5450dbe970
* interoperability
*/
-#if 0
-static krb5_data s4u2proxy_proxy_target_attr = {
- KV5M_DATA,
- sizeof("urn:constrained-delegation:proxy-target") - 1,
- "urn:constrained-delegation:proxy-target"
-};
-#endif
-
static krb5_data s4u2proxy_transited_services_attr = {
KV5M_DATA,
sizeof("urn:constrained-delegation:transited-services") - 1,
const krb5_data *value)
{
/* Only the KDC can set this attribute. */
+ if (!data_eq(*attribute, s4u2proxy_transited_services_attr))
+ return ENOENT;
return EPERM;
}