summaryrefslogtreecommitdiff
path: root/source4/auth/auth.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-06-03 12:13:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:28 -0500
commit0b4a3021e1db39dedb1eb16026ed2bff6aa2c4dd (patch)
treef5853fd517988213a4415a728733c9d40638de03 /source4/auth/auth.h
parentc1b95bd467109793333c15ea44ec910ffe3e86b4 (diff)
downloadsamba-0b4a3021e1db39dedb1eb16026ed2bff6aa2c4dd.tar.gz
samba-0b4a3021e1db39dedb1eb16026ed2bff6aa2c4dd.tar.bz2
samba-0b4a3021e1db39dedb1eb16026ed2bff6aa2c4dd.zip
r7224: add some more usefull data to the auth_usersupplied_info struct
(This used to be commit e40c44e9cdc0be7c52207f8479568804e7d9cff2)
Diffstat (limited to 'source4/auth/auth.h')
-rw-r--r--source4/auth/auth.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index 1ac0b82e17..d1f8caa2a0 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -36,11 +36,16 @@
/* version 4 - subsequent samba4 version - metze */
#define AUTH_INTERFACE_VERSION 4
+#define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */
+#define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */
+#define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* dont check unix account status */
+
struct auth_usersupplied_info
{
const char *account_name;
const char *domain_name;
const char *workstation_name;
+ const char *remote_host;
/* the values the client gives us */
struct {
@@ -55,6 +60,8 @@ struct auth_usersupplied_info
DATA_BLOB lm_interactive_password;
DATA_BLOB nt_interactive_password;
DATA_BLOB plaintext_password;
+
+ uint32_t flags;
};
struct auth_serversupplied_info