wb-ndr: add idl for WINBIND_AUTH_LEVEL_COMPAT_LOGOFF
authorStefan Metzmacher <metze@sernet.de>
Fri, 14 Mar 2008 15:57:12 +0000 (16:57 +0100)
committerStefan Metzmacher <metze@sernet.de>
Fri, 2 May 2008 14:13:45 +0000 (16:13 +0200)
metze

source/librpc/idl/winbind_protocol.idl

index 58c3e02e9bab13f38dde62a728b68c3edfbead49..6e1d1dbf4732a46f0340d67e304b54eb9d3804c1 100644 (file)
@@ -88,7 +88,8 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
 
        typedef [v1_enum] enum {
                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
        } winbind_auth_level;
 
        struct winbind_auth_compat_auth_plain_req {
@@ -125,11 +126,21 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                DATA_BLOB nt_response;
        };
 
+       struct winbind_auth_compat_logoff_req {
+               uint32 flags;
+               [string,charset(UTF8)] uint8    account_name[];
+               [string,charset(UTF8)] uint8    *domain_name;
+               [string,charset(UTF8)] uint8    *krb5_cc_name;
+               hyper *uid;
+       };
+
        typedef [switch_type(winbind_auth_level)] union {
        [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN)]
                struct winbind_auth_compat_auth_plain_req compat_auth_plain;
        [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE)]
                struct winbind_auth_compat_auth_response_req compat_auth_response;
+       [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)]
+               struct winbind_auth_compat_logoff_req compat_logoff;
        [default];
        } winbind_auth_req;
 
@@ -138,6 +149,7 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                struct winbind_auth_compat_auth_rep compat_auth;
        [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE)]
                struct winbind_auth_compat_auth_rep compat_auth;
+       [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)];
        [default];
        } winbind_auth_rep;
 
@@ -148,7 +160,6 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
        );
 
        winbind_status winbind_pam_chauthtok(/*TODO*/);
-       winbind_status winbind_pam_logoff(/*TODO*/);
        winbind_status winbind_pam_chng_paswd_auth_crap(/*TODO*/);
 
        /*