summaryrefslogtreecommitdiff
path: root/source4/auth/auth_sam.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-05 13:41:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:39 -0500
commit8107bdec7b451fbb980c0cc22e61501cd76545e6 (patch)
tree83ddb20925a5f4529587f15d282caa1c4fe83fcb /source4/auth/auth_sam.c
parent7f9f0897eb06960e770cd61fa9c43a941526cd7d (diff)
downloadsamba-8107bdec7b451fbb980c0cc22e61501cd76545e6.tar.gz
samba-8107bdec7b451fbb980c0cc22e61501cd76545e6.tar.bz2
samba-8107bdec7b451fbb980c0cc22e61501cd76545e6.zip
r7306: Use a consistant #define for detecting support for the Heimdal krb5
log redirection code. Andrew Bartlett (This used to be commit 93335d587d9f48c46d9c3b91237f649693cf3003)
Diffstat (limited to 'source4/auth/auth_sam.c')
-rw-r--r--source4/auth/auth_sam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index a4dd8984dd..1ad9087bfe 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -173,7 +173,7 @@ static NTSTATUS authsam_account_ok(TALLOC_CTX *mem_ctx,
Look for the specified user in the sam, return ldb result structures
****************************************************************************/
-static NTSTATUS authsam_search_account(TALLOC_CTX *mem_ctx, void *sam_ctx,
+static NTSTATUS authsam_search_account(TALLOC_CTX *mem_ctx, struct ldb_context *sam_ctx,
const char *account_name,
const char *domain_name,
struct ldb_message ***ret_msgs,
@@ -312,7 +312,7 @@ static NTSTATUS authsam_search_account(TALLOC_CTX *mem_ctx, void *sam_ctx,
}
static NTSTATUS authsam_authenticate(const struct auth_context *auth_context,
- TALLOC_CTX *mem_ctx, void *sam_ctx,
+ TALLOC_CTX *mem_ctx, struct ldb_context *sam_ctx,
struct ldb_message **msgs,
struct ldb_message **msgs_domain,
const struct auth_usersupplied_info *user_info,
@@ -362,7 +362,7 @@ static NTSTATUS authsam_authenticate(const struct auth_context *auth_context,
return nt_status;
}
-static NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, void *sam_ctx,
+static NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, struct ldb_context *sam_ctx,
struct ldb_message **msgs,
struct ldb_message **msgs_domain,
DATA_BLOB user_sess_key, DATA_BLOB lm_sess_key,
@@ -521,7 +521,7 @@ static NTSTATUS authsam_check_password_internals(struct auth_method_context *ctx
const char *account_name = user_info->account_name;
struct ldb_message **msgs;
struct ldb_message **domain_msgs;
- void *sam_ctx;
+ struct ldb_context *sam_ctx;
DATA_BLOB user_sess_key, lm_sess_key;
if (!account_name || !*account_name) {