rerun
[metze/samba/wb-ndr.git] / source / librpc / gen_ndr / winbind_protocol.h
index 721e03a556874c3a19672526643452b729118078..aa348f1d240a6d5620e55958bc5a112b0f03356b 100644 (file)
@@ -67,7 +67,8 @@ enum winbind_auth_level
        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
 }
 #else
  { __donnot_use_enum_winbind_auth_level=0x7FFFFFFF}
@@ -75,6 +76,7 @@ enum winbind_auth_level
 #define WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE ( 2 )
 #define WINBIND_AUTH_LEVEL_COMPAT_LOGOFF ( 3 )
 #define WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN ( 4 )
+#define WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT ( 5 )
 #endif
 ;
 
@@ -125,11 +127,21 @@ struct winbind_auth_change_password_plain_req {
        const char *new_password;/* [charset(UTF8)] */
 };
 
+struct winbind_auth_change_password_crypt_req {
+       const char *account_name;/* [charset(UTF8)] */
+       const char *domain_name;/* [unique,charset(UTF8)] */
+       struct samr_CryptPassword nt_password;
+       struct samr_Password nt_verifier;
+       struct samr_CryptPassword *lm_password;/* [unique] */
+       struct samr_Password *lm_verifier;/* [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)] */
        struct winbind_auth_change_password_plain_req change_password_plain;/* [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN)] */
+       struct winbind_auth_change_password_crypt_req change_password_crypt;/* [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_CRYPT)] */
 }/* [switch_type(winbind_auth_level)] */;
 
 union winbind_auth_rep {
@@ -462,14 +474,6 @@ struct winbind_auth {
 };
 
 
-struct winbind_pam_chng_paswd_auth_crap {
-       struct {
-               enum winbind_status result;
-       } out;
-
-};
-
-
 struct winbind_list_users {
        struct {
                enum winbind_status result;