Skip to Main Content
DCE Replacement Strategies
book

DCE Replacement Strategies

by Heinz Johner, Jakob Erber, Stephen Hawkins, Klaus Mueller, Pallavi Nagesha Rao, Donna Skibbie
June 2003
Intermediate to advanced content levelIntermediate to advanced
454 pages
10h 19m
English
IBM Redbooks
Content preview from DCE Replacement Strategies
Appendix C. Scenario 3: Source code listings 371
&status
);
CHECK_STATUS (status, "sec_id_parse_name failed", ABORT);
/*
* Find out if the principal name that is returned by the server
* is a member of the directory_server group.
*/
is_member = sec_rgy_pgo_is_member (
rgy_handle,
sec_rgy_domain_group,
SERVER_GROUP,
princ_name,
&status
);
CHECK_STATUS (status, "is_member failed", ABORT);
/*
* We are done with the registry; we can release the rgy_handle now.
*/
sec_rgy_site_close(rgy_handle, &status);
CHECK_STATUS (status, "rgy_site_close failed", ABORT);
if (! is_member ) {
printf ("Found an invalid directory server\n");
exit(1);
}
/*
* Annotate binding handle for authentication.
*/
rpc_binding_set_auth_info(
binding_handle,
server ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738453080Purchase book