rerun
[metze/samba/wb-ndr.git] / source / librpc / gen_ndr / winbind_protocol.h
index 4e155f4b39bcd0a1af9b514d5e12cedf8e17b214..05f7137bd61b6199eb841b21972b118048e9c389 100644 (file)
@@ -65,12 +65,14 @@ enum winbind_auth_level
 #ifndef USE_UINT_ENUMS
  {
        WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN=1,
-       WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE=2
+       WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE=2,
+       WINBIND_AUTH_LEVEL_COMPAT_LOGOFF=3
 }
 #else
  { __donnot_use_enum_winbind_auth_level=0x7FFFFFFF}
 #define WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN ( 1 )
 #define WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE ( 2 )
+#define WINBIND_AUTH_LEVEL_COMPAT_LOGOFF ( 3 )
 #endif
 ;
 
@@ -106,9 +108,18 @@ struct winbind_auth_compat_auth_response_req {
        DATA_BLOB nt_response;
 };
 
+struct winbind_auth_compat_logoff_req {
+       uint32_t flags;
+       const char *account_name;/* [charset(UTF8)] */
+       const char *domain_name;/* [unique,charset(UTF8)] */
+       const char *krb5_cc_name;/* [unique,charset(UTF8)] */
+       uint64_t *uid;/* [unique] */
+};
+
 union winbind_auth_req {
        struct winbind_auth_compat_auth_plain_req compat_auth_plain;/* [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN)] */
        struct winbind_auth_compat_auth_response_req compat_auth_response;/* [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE)] */
+       struct winbind_auth_compat_logoff_req compat_logoff;/* [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)] */
 }/* [switch_type(winbind_auth_level)] */;
 
 union winbind_auth_rep {
@@ -449,14 +460,6 @@ struct winbind_pam_chauthtok {
 };
 
 
-struct winbind_pam_logoff {
-       struct {
-               enum winbind_status result;
-       } out;
-
-};
-
-
 struct winbind_pam_chng_paswd_auth_crap {
        struct {
                enum winbind_status result;