]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.
authorGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 15:49:44 +0000 (16:49 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 16:13:32 +0000 (17:13 +0100)
Guenther

source/include/rpc_samr.h
source/librpc/idl/samr.idl

index cf6027999b58a071b62465517b2cd7389ddc2ae8..12fbfb601d7d3439b6286fd1949b895374a729d0 100644 (file)
@@ -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. */
index ebd1975458857084cf939296aa097f29b38f73aa..ddef8b4d3075f546724b1ecb6cd960a49ef4b299 100644 (file)
@@ -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;