summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorZach Loafman <zach.loafman@isilon.com>2009-02-14 18:20:33 +0000
committerTim Prouty <tprouty@samba.org>2009-02-16 00:29:21 -0800
commit8e19a288052bca5efdb0277a40c1e0fdd099cc2b (patch)
treea4ce6f232c5b2059a4bcf5dc08757b7aabdf956f /source3/include
parent57a31ef2030d3146ec1c099c1c4036efa01a3dfa (diff)
downloadsamba-8e19a288052bca5efdb0277a40c1e0fdd099cc2b.tar.gz
samba-8e19a288052bca5efdb0277a40c1e0fdd099cc2b.tar.bz2
samba-8e19a288052bca5efdb0277a40c1e0fdd099cc2b.zip
s3 auth: Add parameter that forces every user through an NSS lookup
When set to yes, "force username map" forces every user, even AD users, through an NSS lookup. This allows the token to be overridden with information from NSS in certain broken environments.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8a5d649b48..3baa8c0fc4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -110,6 +110,7 @@ NTSTATUS make_server_info_sam(auth_serversupplied_info **server_info,
NTSTATUS create_local_token(auth_serversupplied_info *server_info);
NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
bool is_guest,
+ bool force_nss,
uid_t *uid, gid_t *gid,
char **found_username,
struct nt_user_token **token);
@@ -3969,6 +3970,7 @@ const char *lp_afs_username_map(void);
int lp_afs_token_lifetime(void);
char *lp_log_nt_token_command(void);
char *lp_username_map(void);
+bool lp_force_username_map(void);
const char *lp_logon_script(void);
const char *lp_logon_path(void);
const char *lp_logon_drive(void);