From 8e19a288052bca5efdb0277a40c1e0fdd099cc2b Mon Sep 17 00:00:00 2001 From: Zach Loafman Date: Sat, 14 Feb 2009 18:20:33 +0000 Subject: 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. --- source3/include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include') 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); -- cgit