diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-16 20:02:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:11 -0500 |
commit | 9b48f7d76d1700f3be951b0322a7184bd192004f (patch) | |
tree | dce698e0d049cfc0590f703d03be49d95ceb2b8a | |
parent | 478ccc150ba3b8c87ac67769c46be20a73d14096 (diff) | |
download | samba-9b48f7d76d1700f3be951b0322a7184bd192004f.tar.gz samba-9b48f7d76d1700f3be951b0322a7184bd192004f.tar.bz2 samba-9b48f7d76d1700f3be951b0322a7184bd192004f.zip |
r22953: Well, this apparently has never been tested. But *this* code never saw a
release yet .... ;-))
(This used to be commit f93b6353fe18e2c992a3dad96afd1a4c16032c55)
-rw-r--r-- | source3/auth/auth_server.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index e5331893fd..20ce078d2e 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -254,7 +254,7 @@ static DATA_BLOB auth_get_challenge_server(const struct auth_context *auth_conte ****************************************************************************/ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context, - void *my_private_data, + void *private_data, TALLOC_CTX *mem_ctx, const auth_usersupplied_info *user_info, auth_serversupplied_info **server_info) @@ -266,6 +266,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context static BOOL bad_password_server = False; NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED; BOOL locally_made_cli = False; + struct server_security_state *state; /* * Check that the requested domain is not our own machine name. @@ -273,12 +274,10 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context * password file. */ - if(is_myname(user_info->domain)) { - DEBUG(3,("check_smbserver_security: Requested domain was for this machine.\n")); - return nt_status; - } + state = talloc_get_type_abort( + private_data, struct server_security_state); - cli = (struct cli_state *)my_private_data; + cli = state->cli; if (cli) { } else { |