summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-10-30 08:32:26 +0000
committerAndrew Tridgell <tridge@samba.org>2003-10-30 08:32:26 +0000
commit7fd381376f88ae99a4bf022d89f21ae497b48c1a (patch)
tree82faf5b1e26e2676c85d17d3f34336f58f21db64 /source4/auth/auth.c
parent4e3ca10b13b03b01fda2233b88c827019a69bfee (diff)
downloadsamba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.tar.gz
samba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.tar.bz2
samba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.zip
- 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)
Diffstat (limited to 'source4/auth/auth.c')
-rw-r--r--source4/auth/auth.c16
1 files changed, 8 insertions, 8 deletions
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",