diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-10-20 02:08:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:01:56 -0500 |
commit | 1ee3a7419e04b0d7574792ceebecc89b4a849a73 (patch) | |
tree | 59131e332378d450e3adaa536673dd09a32acc72 /source4/librpc | |
parent | 31e96d8def1dd2fea76d31a032d64e5917462dc8 (diff) | |
download | samba-1ee3a7419e04b0d7574792ceebecc89b4a849a73.tar.gz samba-1ee3a7419e04b0d7574792ceebecc89b4a849a73.tar.bz2 samba-1ee3a7419e04b0d7574792ceebecc89b4a849a73.zip |
r3074: Add in a new 'field present' flag samr.idl for the Account Flags
field. Add torture test for setting this feild - including all the
odd cases (not all the flags 'stick', and not others cannot be
removed).
Seperate the two 'password change' flags, and test them both in the
torture code.
Check that the password did change after every password set call.
Andrew Bartlett
(This used to be commit 3759128bd33b802d5213d50ba25f7c7d11cfe1d7)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/samr.idl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 42a549cc5c..f40f71df3e 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -678,10 +678,12 @@ const int SAMR_FIELD_PROFILE_PATH = 0x00000200; const int SAMR_FIELD_WORKSTATION = 0x00000400; const int SAMR_FIELD_LOGON_HOURS = 0x00002000; + const int SAMR_FIELD_ACCT_FLAGS = 0x00100000; const int SAMR_FIELD_CALLBACK = 0x00200000; const int SAMR_FIELD_COUNTRY_CODE = 0x00400000; const int SAMR_FIELD_CODE_PAGE = 0x00800000; - const int SAMR_FIELD_PASSWORD = 0x03000000; /* 2 bits!? */ + const int SAMR_FIELD_PASSWORD = 0x01000000; /* either of these */ + const int SAMR_FIELD_PASSWORD2 = 0x02000000; /* two bits seems to work */ typedef struct { NTTIME last_logon; |