[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2636-g3b31f8c
Volker Lendecke
vlendec at samba.org
Fri May 30 09:47:20 GMT 2008
The branch, v3-3-test has been updated
via 3b31f8cce3703645a57778bc752bc9b9e853df5d (commit)
from e7f76a0c65085dd1e7b50ea3537e11922e7d9ecd (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 3b31f8cce3703645a57778bc752bc9b9e853df5d
Author: Volker Lendecke <vl at samba.org>
Date: Fri May 30 11:46:34 2008 +0200
Fix security=server, bug 5502
This has brown paper bag quality and is definitely needed for 3.2.0.
Thanks to Orion Poplawski for reporting this!
Volker
-----------------------------------------------------------------------
Summary of changes:
source/auth/auth_server.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/auth/auth_server.c b/source/auth/auth_server.c
index b07884c..31d1d37 100644
--- a/source/auth/auth_server.c
+++ b/source/auth/auth_server.c
@@ -270,13 +270,15 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context
const auth_usersupplied_info *user_info,
auth_serversupplied_info **server_info)
{
+ struct server_security_state *state = talloc_get_type_abort(
+ my_private_data, struct server_security_state);
struct cli_state *cli;
static bool tested_password_server = False;
static bool bad_password_server = False;
NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED;
bool locally_made_cli = False;
- cli = (struct cli_state *)my_private_data;
+ cli = state->cli;
if (cli) {
} else {
@@ -285,7 +287,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context
}
if (!cli || !cli->initialised) {
- DEBUG(1,("password server is not connected (cli not initilised)\n"));
+ DEBUG(1,("password server is not connected (cli not initialised)\n"));
return NT_STATUS_LOGON_FAILURE;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list