OSF DCE Application Development Guide--Introduction and Style Guide
OSF DCE Application Development Guide—Introduction and Style Guide
/* Validate the login context... */
DCE_SVC_DEBUG((smp_svc_handle, smp_s_server, svc_c_debug4,
"Calling sec_login_validate_identity()"));
sec_login_validate_identity(login_context,
keydata,
&reset_pwd,
&auth_src,
status);
if (*status != error_status_ok)
{
print_server_error("sec_login_validate_identity()", *status);
return;
}
}
DCE_SVC_DEBUG((smp_svc_handle, smp_s_server, svc_c_debug7,
"Successfully exiting server_renew_identity()"));
}
/******
*
* server_create_dflt_acl -- Create a default ACL; i.e., get the initial
* container ACL and copy it (instead of con-
* structing an ACL whole, as below), and create
* a UUID for the ACL.
*
* Not called from anywhere. NOT YET TESTED.
*
******/
void server_create_dflt_acl(
dce_db_handle_t db_acl, /* Backing store handle. */
unsigned_char_t *container, /* Object we want the ACL of. */
void (*resolver)(), /* ACL name-to-UUID resolver function; */
/* i.e., sample_resolve_by_name(). */
boolean32 is_container, /* Is the object a container? */
sec_acl_t *acl, /* ACL will be returned here. */
uuid_t *acl_uuid, /* ACL’s UUID will be returned here. */
unsigned32 *status)
{
sec_acl_type_t sec_acl_type; /* To contain ACL type specifier. */
uuid_t iacl_uuid; /* To contain initial container */
/* ACL’s UUID. */
DCE_SVC_DEBUG((smp_svc_handle, smp_s_server, svc_c_debug7,
"Entering server_create_dflt_acl()"));
A− 32 Tandem Computers Incorporated 124246