summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-27 16:49:44 +0100
committerGünther Deschner <gd@samba.org>2008-02-27 17:13:32 +0100
commitc672a343138b4c642fe8902337d7a9225531c276 (patch)
tree2958b824c24e039e42e2dde910a8618e09956180
parentec790d039779c2a920911bbcdc6969f792e86ab1 (diff)
downloadsamba-c672a343138b4c642fe8902337d7a9225531c276.tar.gz
samba-c672a343138b4c642fe8902337d7a9225531c276.tar.bz2
samba-c672a343138b4c642fe8902337d7a9225531c276.zip
Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.
Guenther (This used to be commit 618eae4c0cd6a68349a76cdf36f281733fb472ae)
-rw-r--r--source3/include/rpc_samr.h3
-rw-r--r--source3/librpc/idl/samr.idl4
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index cf6027999b..12fbfb601d 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/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/source3/librpc/idl/samr.idl b/source3/librpc/idl/samr.idl
index ebd1975458..ddef8b4d30 100644
--- a/source3/librpc/idl/samr.idl
+++ b/source3/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;