auth.idl: mark confidential attributes as [noprint]
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Jun 2012 15:52:23 +0000 (17:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Jun 2012 05:17:42 +0000 (07:17 +0200)
We should allow NDR_PRINT_DEBUG() to log them.

TODO: we could add some more magic which logs it at level 100.

metze

librpc/idl/auth.idl

index 2451d2bab77eff6e5723adbe3b065145dc550019..b0494f99ecff2be372497b845737d8437f7b1d93 100644 (file)
@@ -83,8 +83,8 @@ interface auth
                uint32 num_sids;
                [size_is(num_sids)] dom_sid sids[*];
                auth_user_info *info;
-               DATA_BLOB user_session_key;
-               DATA_BLOB lm_session_key;
+               [noprint] DATA_BLOB user_session_key;
+               [noprint] DATA_BLOB lm_session_key;
        } auth_user_info_dc;
 
        typedef [public] struct {
@@ -104,13 +104,13 @@ interface auth
                 * Bottom line, it is not the same as the session keys in info3.
                 */
 
-               DATA_BLOB session_key;
+               [noprint] DATA_BLOB session_key;
 
                [value(NULL), ignore] cli_credentials *credentials;
        } auth_session_info;
 
        typedef [public] struct {
                auth_session_info *session_info;
-               DATA_BLOB exported_gssapi_credentials;
+               [noprint] DATA_BLOB exported_gssapi_credentials;
        } auth_session_info_transport;
 }