summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-30 14:49:37 +0200
committerGünther Deschner <gd@samba.org>2011-03-30 15:14:55 +0200
commit3253d5ad0515198083b0b185c06b659fc6972830 (patch)
tree2bb27d5eeb9618bd4bb997d66bdb6d3b7cbddd2b /source3/include/smb.h
parentc8ed33ae9c26a63fd8adffa2041fe46a2542f0ba (diff)
downloadsamba-3253d5ad0515198083b0b185c06b659fc6972830.tar.gz
samba-3253d5ad0515198083b0b185c06b659fc6972830.tar.bz2
samba-3253d5ad0515198083b0b185c06b659fc6972830.zip
s3-passdb: move some passdb defines to passdb.h
Guenther
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index b7fe64984b..9427435483 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -731,27 +731,6 @@ struct pipe_open_rec {
#define NT_HASH_LEN 16
#define LM_HASH_LEN 16
-/* Password history contants. */
-#define PW_HISTORY_SALT_LEN 16
-#define SALTED_MD5_HASH_LEN 16
-#define PW_HISTORY_ENTRY_LEN (PW_HISTORY_SALT_LEN+SALTED_MD5_HASH_LEN)
-#define MAX_PW_HISTORY_LEN 24
-
-/*
- * Flags for local user manipulation.
- */
-
-#define LOCAL_ADD_USER 0x1
-#define LOCAL_DELETE_USER 0x2
-#define LOCAL_DISABLE_USER 0x4
-#define LOCAL_ENABLE_USER 0x8
-#define LOCAL_TRUST_ACCOUNT 0x10
-#define LOCAL_SET_NO_PASSWORD 0x20
-#define LOCAL_SET_PASSWORD 0x40
-#define LOCAL_SET_LDAP_ADMIN_PW 0x80
-#define LOCAL_INTERDOM_ACCOUNT 0x100
-#define LOCAL_AM_ROOT 0x200 /* Act as root */
-
/* key and data in the connections database - used in smbstatus and smbd */
struct connections_key {
struct server_id pid;
@@ -1652,14 +1631,6 @@ struct unix_error_map {
};
/*
- * Size of new password account encoding string. This is enough space to
- * hold 11 ACB characters, plus the surrounding [] and a terminating null.
- * Do not change unless you are adding new ACB bits!
- */
-
-#define NEW_PW_FORMAT_SPACE_PADDED_LEN 14
-
-/*
Do you want session setups at user level security with a invalid
password to be rejected or allowed in as guest? WinNT rejects them
but it can be a pain as it means "net view" needs to use a password