I'm having a problem with getting client attributes. The code is the following: rpc_binding_inq_auth_client(h, &privs, &server_princ_name, &protect_level, &authn_svc, &authz_svc, status); switch(authz_svc) { case rpc_c_authz_name: sprintf (server_reply, "CLIENT: \"%s\"", (unsigned_char_t *) privs); break; case rpc_c_authz_dce: dce_sec_privs = (sec_id_pac_t *)privs; sprintf (server_reply, "DCE SECURITY CLIENT %s", dce_sec_privs->principal.name ); break; } If the service returned is rpc_c_authz_name, privs contains a pointer to the client's name. However, if the service returned is rpc_c_authz_dce, the sec_id_pac_t structure looks like this: {pac_type = sec_id_pac_format_v1, authenticated = 1, realm = {uuid = { time_low = 3562440, time_mid = 22677, time_hi_and_version = 7230, clock_seq_hi_and_reserved = 135 '\207', clock_seq_low = 133 '\205', node = 0x0 "\213�\005|\000"}, name = 0x0 }, principal = {uuid = { time_low = 109, time_mid = 39155, time_hi_and_version = 11350, clock_seq_hi_and_reserved = 139 '\213', clock_seq_low = 0 '\000', node = 0x0 "\213�\005|\000"}, name = 0x0 }, group = {uuid = { time_low = 12, time_mid = 22677, time_hi_and_version = 11326, clock_seq_hi_and_reserved = 135 '\207', clock_seq_low = 1 '\001', node = 0x0 "\213�\005|\000"}, name = 0x0}, num_groups = 1, num_foreign_groups = 0, groups = 0x26e568, foreign_groups = 0x0 } The data looks reasonable, but obviously the strings are not filled in. Is this a bug or am I doing something wrong? Any help would be appreciated. Thanks, Rick Rick Wessman Network Products Division Oracle Corporation rwessman@us.oracle.com -- Thanks, Rick Rick Wessman Network Products Division Oracle Corporation rwessman@us.oracle.com