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}
#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
;
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 {
};
-struct winbind_pam_chng_paswd_auth_crap {
- struct {
- enum winbind_status result;
- } out;
-
-};
-
-
struct winbind_list_users {
struct {
enum winbind_status result;