summaryrefslogtreecommitdiff
path: root/source/include/passdb.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-12 00:07:41 +0100
committerGünther Deschner <gd@samba.org>2008-02-12 09:48:47 +0100
commitd1e5a5a7f9dfb5756398e99cf09a4712d2b42682 (patch)
treeaac17fa18809ce40ebdac8414ee863c203fc0619 /source/include/passdb.h
parentef7c74401c71a238944cb1a9bbd448a4693339bf (diff)
downloadsamba-d1e5a5a7f9dfb5756398e99cf09a4712d2b42682.tar.gz
Removing unused ACCT_-flags.
Guenther
Diffstat (limited to 'source/include/passdb.h')
-rw-r--r--source/include/passdb.h33
1 files changed, 3 insertions, 30 deletions
diff --git a/source/include/passdb.h b/source/include/passdb.h
index b72ec6b0baa..8d5934df521 100644
--- a/source/include/passdb.h
+++ b/source/include/passdb.h
@@ -25,40 +25,13 @@
/*
- * fields_present flags meanings
- * same names as found in samba4 idl files
+ * in samba4 idl
+ * ACCT_NT_PWD_SET == SAMR_FIELD_PASSWORD and
+ * ACCT_LM_PWD_SET == SAMR_FIELD_PASSWORD2
*/
-#define ACCT_USERNAME 0x00000001
-#define ACCT_FULL_NAME 0x00000002
-#define ACCT_RID 0x00000004
-#define ACCT_PRIMARY_GID 0x00000008
-#define ACCT_DESCRIPTION 0x00000010
-#define ACCT_COMMENT 0x00000020
-#define ACCT_HOME_DIR 0x00000040
-#define ACCT_HOME_DRIVE 0x00000080
-#define ACCT_LOGON_SCRIPT 0x00000100
-#define ACCT_PROFILE 0x00000200
-#define ACCT_WORKSTATIONS 0x00000400
-#define ACCT_LAST_LOGON 0x00000800
-#define ACCT_LAST_LOGOFF 0x00001000
-#define ACCT_LOGON_HOURS 0x00002000
-#define ACCT_BAD_PWD_COUNT 0x00004000
-#define ACCT_NUM_LOGONS 0x00008000
-#define ACCT_ALLOW_PWD_CHANGE 0x00010000
-#define ACCT_FORCE_PWD_CHANGE 0x00020000
-#define ACCT_LAST_PWD_CHANGE 0x00040000
-#define ACCT_EXPIRY 0x00080000
-#define ACCT_FLAGS 0x00100000
-#define ACCT_CALLBACK 0x00200000
-#define ACCT_COUNTRY_CODE 0x00400000
-#define ACCT_CODE_PAGE 0x00800000
#define ACCT_NT_PWD_SET 0x01000000
#define ACCT_LM_PWD_SET 0x02000000
-#define ACCT_PRIVATEDATA 0x04000000
-#define ACCT_EXPIRED_FLAG 0x08000000
-#define ACCT_SEC_DESC 0x10000000
-#define ACCT_OWF_PWD 0x20000000
/*
* bit flags representing initialized fields in struct samu