r18907: W00t. My original fix was correct after all :-).
authorJeremy Allison <jra@samba.org>
Mon, 25 Sep 2006 20:59:48 +0000 (20:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:14:45 +0000 (12:14 -0500)
Re-checking it in.
Fix bug #4095 - username composed into domain\user
twice in spnego path.
Jeremy.

source/smbd/sesssetup.c

index dd8d9fc8525e5d74be3656cf4a5deecff2fffb04..8c8173ef3741df2c8f2439c29b77c120d09c1b6e 100644 (file)
@@ -327,7 +327,7 @@ static int reply_spnego_kerberos(connection_struct *conn,
                /* pass the unmapped username here since map_username() 
                   will be called again from inside make_server_info_info3() */
                
-               ret = make_server_info_info3(mem_ctx, user, domain, 
+               ret = make_server_info_info3(mem_ctx, client, domain, 
                                             &server_info, &logon_info->info3);
                if ( !NT_STATUS_IS_OK(ret) ) {
                        DEBUG(1,("make_server_info_info3 failed: %s!\n",