From 7fd381376f88ae99a4bf022d89f21ae497b48c1a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Oct 2003 08:32:26 +0000 Subject: - a few portability fixes from Jim Myers - added SMBD_LISTEN_BACKLOG in local.h - added the beginnings of a ndr/rpc parsing framework for Samba4. It currently correctly parses security descriptors for the nttrans QUERY_SECDESC call, but I hope it will become a reasonable framework that an idl based generator can work to (This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761) --- source4/auth/auth.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source4/auth/auth.c') diff --git a/source4/auth/auth.c b/source4/auth/auth.c index 74c60f6a95..514a6bde6a 100644 --- a/source4/auth/auth.c +++ b/source4/auth/auth.c @@ -27,16 +27,16 @@ static const struct auth_init_function_entry builtin_auth_init_functions[] = { { "guest", auth_init_guest }, -// { "rhosts", auth_init_rhosts }, -// { "hostsequiv", auth_init_hostsequiv }, +/* { "rhosts", auth_init_rhosts }, */ +/* { "hostsequiv", auth_init_hostsequiv }, */ { "sam", auth_init_sam }, { "samstrict", auth_init_samstrict }, { "samstrict_dc", auth_init_samstrict_dc }, { "unix", auth_init_unix }, -// { "smbserver", auth_init_smbserver }, -// { "ntdomain", auth_init_ntdomain }, -// { "trustdomain", auth_init_trustdomain }, -// { "winbind", auth_init_winbind }, +/* { "smbserver", auth_init_smbserver }, */ +/* { "ntdomain", auth_init_ntdomain }, */ +/* { "trustdomain", auth_init_trustdomain }, */ +/* { "winbind", auth_init_winbind }, */ #ifdef DEVELOPER { "name_to_ntstatus", auth_init_name_to_ntstatus }, { "fixed_challenge", auth_init_fixed_challenge }, @@ -106,7 +106,7 @@ static const uint8 *get_ntlm_challenge(struct auth_context *auth_context) DEBUG(5, ("auth_context challenge created by %s\n", challenge_set_by)); DEBUG(5, ("challenge is: \n")); - dump_data(5, auth_context->challenge.data, auth_context->challenge.length); + dump_data(5, (const char*)auth_context->challenge.data, auth_context->challenge.length); SMB_ASSERT(auth_context->challenge.length == 8); @@ -203,7 +203,7 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context, auth_context->challenge_set_by)); DEBUG(10, ("challenge is: \n")); - dump_data(5, auth_context->challenge.data, auth_context->challenge.length); + dump_data(5, (const char*)auth_context->challenge.data, auth_context->challenge.length); #ifdef DEBUG_PASSWORD DEBUG(100, ("user_info has passwords of length %d and %d\n", -- cgit