From: Günther Deschner Date: Wed, 27 Feb 2008 15:49:44 +0000 (+0100) Subject: Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl. X-Git-Tag: samba-3.2.0pre2~37^2~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=618eae4c0cd6a68349a76cdf36f281733fb472ae;p=thirdparty%2Fsamba.git Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl. Guenther --- diff --git a/source/include/rpc_samr.h b/source/include/rpc_samr.h index cf6027999b5..12fbfb601d7 100644 --- a/source/include/rpc_samr.h +++ b/source/include/rpc_samr.h @@ -74,9 +74,6 @@ SamrTestPrivateFunctionsUser ********************************************************************/ -#define PASS_MUST_CHANGE_AT_NEXT_LOGON 0x01 -#define PASS_DONT_CHANGE_AT_NEXT_LOGON 0x00 - #define MAX_SAM_ENTRIES_W2K 0x400 #define MAX_SAM_ENTRIES_W95 50 /* The following should be the greater of the preceeding two. */ diff --git a/source/librpc/idl/samr.idl b/source/librpc/idl/samr.idl index ebd19754588..ddef8b4d307 100644 --- a/source/librpc/idl/samr.idl +++ b/source/librpc/idl/samr.idl @@ -779,6 +779,10 @@ import "misc.idl", "lsa.idl", "security.idl"; SAMR_FIELD_OWF_PWD = 0x20000000 } samr_FieldsPresent; + /* used for 'password_expired' in samr_UserInfo21 */ + const int PASS_MUST_CHANGE_AT_NEXT_LOGON = 0x01; + const int PASS_DONT_CHANGE_AT_NEXT_LOGON = 0x00; + typedef struct { NTTIME last_logon; NTTIME last_logoff;