OSF DCE Application Development Guide--Introduction and Style Guide
Security
break;
default:
*acl_uuid = dataheader.s_hdr.tagged_union.h.acl_uuid;
}
/* Here it might be interesting to try retrieving the ACL itself, */
/* and e.g seeing what its manager type is... */
dce_db_fetch_by_uuid(db_acl,
acl_uuid,
&retrieved_acl,
st);
/* We are handling two ACL managers through this function, so we */
/* have to make sure that we’ve extracted from the single ACL */
/* database the correct ACL: that is, one whose manager type UUID is */
/* identical to the manager_type parameter we were passed: this is */
/* the manager whose ACL the runtime is trying to bind to. So... */
if ((manager_type != NULL) &&
(!uuid_equal(manager_type, &(retrieved_acl.sec_acl_manager_type), st)))
{
/* Return a bad status... */
*st = acl_s_bad_manager_type;
/* And no ACL UUID... */
acl_uuid = NULL;
return(0);
}
}
124246 Tandem Computers Incorporated 3− 49










