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

source/librpc/idl/winbind_protocol.idl

index 542f3758b61da1c91078b8a8811156943f91cc05..56cb35114762d9c2c8d012d1ed0f2caf2dc17926 100644 (file)
@@ -90,7 +90,8 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN    = 1,
                WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE = 2,
                WINBIND_AUTH_LEVEL_COMPAT_LOGOFF        = 3,
-               WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN= 4
+               WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN= 4,
+               WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT= 5
        } winbind_auth_level;
 
        struct winbind_auth_compat_auth_plain_req {
@@ -142,6 +143,15 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                [string,charset(UTF8)] uint8    new_password[];
        };
 
+       struct winbind_auth_change_password_crypt_req {
+               [string,charset(UTF8)] uint8    account_name[];
+               [string,charset(UTF8)] uint8    *domain_name;
+               samr_CryptPassword              nt_password;
+               samr_Password                   nt_verifier;
+               samr_CryptPassword              *lm_password;
+               samr_Password                   *lm_verifier;
+       };
+
        typedef [switch_type(winbind_auth_level)] union {
        [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN)]
                struct winbind_auth_compat_auth_plain_req compat_auth_plain;
@@ -151,6 +161,8 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                struct winbind_auth_compat_logoff_req compat_logoff;
        [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN)]
                struct winbind_auth_change_password_plain_req change_password_plain;
+       [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT)]
+               struct winbind_auth_change_password_crypt_req change_password_crypt;
        [default];
        } winbind_auth_req;
 
@@ -161,6 +173,7 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                struct winbind_auth_compat_auth_rep compat_auth;
        [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)];
        [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN)];
+       [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT)];
        [default];
        } winbind_auth_rep;
 
@@ -170,8 +183,6 @@ import "security.idl",  "lsa.idl", "samr.idl", "netlogon.idl";
                [out,switch_is(*level)] winbind_auth_rep *rep
        );
 
-       winbind_status winbind_pam_chng_paswd_auth_crap(/*TODO*/);
-
        /*
         * List various things
         */