[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-29-14-g6cb775d

Günther Deschner gd at samba.org
Fri May 30 14:02:45 GMT 2008


The branch, v3-0-test has been updated
       via  6cb775d5b46dd091739ced9fde92e5620a4373dd (commit)
      from  0e407e77ad5af4bb78b1e6da247398f2677618ee (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit 6cb775d5b46dd091739ced9fde92e5620a4373dd
Author: Günther Deschner <gd at samba.org>
Date:   Fri May 30 15:59:49 2008 +0200

    Fix joining NT4 domains.
    
    The negotiated netlogon flags also need to be returned in case we received
    NT_STATUS_ACCESS_DENIED from a netauth2 request.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/rpc_client/cli_netlogon.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_client/cli_netlogon.c b/source/rpc_client/cli_netlogon.c
index d151113..fb8c5cf 100644
--- a/source/rpc_client/cli_netlogon.c
+++ b/source/rpc_client/cli_netlogon.c
@@ -185,9 +185,10 @@ static NTSTATUS rpccli_net_auth2(struct rpc_pipe_client *cli,
 
         result = r.status;
 
+	*neg_flags_inout = r.srv_flgs.neg_flags;
+
         if (NT_STATUS_IS_OK(result)) {
 		*srv_chal_out = r.srv_chal;
-		*neg_flags_inout = r.srv_flgs.neg_flags;
         }
 
         return result;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list