From: Stefan Metzmacher Date: Fri, 14 Mar 2008 12:39:50 +0000 (+0100) Subject: wb-ndr: add idl for WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwb-ndr.git;a=commitdiff_plain;h=0d60e5817e19879b4421fe609018c727da181b2f wb-ndr: add idl for WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN metze --- diff --git a/source/librpc/idl/winbind_protocol.idl b/source/librpc/idl/winbind_protocol.idl index 6e1d1dbf473..542f3758b61 100644 --- a/source/librpc/idl/winbind_protocol.idl +++ b/source/librpc/idl/winbind_protocol.idl @@ -89,7 +89,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_LOGOFF = 3 + WINBIND_AUTH_LEVEL_COMPAT_LOGOFF = 3, + WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN= 4 } winbind_auth_level; struct winbind_auth_compat_auth_plain_req { @@ -134,6 +135,13 @@ import "security.idl", "lsa.idl", "samr.idl", "netlogon.idl"; hyper *uid; }; + struct winbind_auth_change_password_plain_req { + [string,charset(UTF8)] uint8 account_name[]; + [string,charset(UTF8)] uint8 *domain_name; + [string,charset(UTF8)] uint8 old_password[]; + [string,charset(UTF8)] uint8 new_password[]; + }; + typedef [switch_type(winbind_auth_level)] union { [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN)] struct winbind_auth_compat_auth_plain_req compat_auth_plain; @@ -141,6 +149,8 @@ import "security.idl", "lsa.idl", "samr.idl", "netlogon.idl"; struct winbind_auth_compat_auth_response_req compat_auth_response; [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)] 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; [default]; } winbind_auth_req; @@ -150,6 +160,7 @@ import "security.idl", "lsa.idl", "samr.idl", "netlogon.idl"; [case(WINBIND_AUTH_LEVEL_COMPAT_AUTH_RESPONSE)] struct winbind_auth_compat_auth_rep compat_auth; [case(WINBIND_AUTH_LEVEL_COMPAT_LOGOFF)]; + [case(WINBIND_AUTH_LEVEL_CHANGE_PASSWORD_PLAIN)]; [default]; } winbind_auth_rep; @@ -159,7 +170,6 @@ import "security.idl", "lsa.idl", "samr.idl", "netlogon.idl"; [out,switch_is(*level)] winbind_auth_rep *rep ); - winbind_status winbind_pam_chauthtok(/*TODO*/); winbind_status winbind_pam_chng_paswd_auth_crap(/*TODO*/); /*