Re: [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-1002-gb90062e

2008-04-21 Thread Jeremy Allison
On Sat, Apr 19, 2008 at 04:54:10PM -0500, Volker Lendecke wrote:
 The branch, v3-2-test has been updated
via  b90062e33cbde7de4961414fd35a3a588760d002 (commit)
   from  06c5076f8ef23ac36d234ed417b80a58ab8dd7b4 (commit)
 
 http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
 
 
 - Log -
 commit b90062e33cbde7de4961414fd35a3a588760d002
 Author: Volker Lendecke [EMAIL PROTECTED]
 Date:   Sat Apr 19 23:50:58 2008 +0200
 
 Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal
 
 This probably does not matter in current code, but without this it's not
 possible to do the bind as a different user than the underlying smb user.
 
 Jeremy, please check!

+1 looks perfectly correct - thanks for finding this.

Jeremy.


[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-1002-gb90062e

2008-04-19 Thread Volker Lendecke
The branch, v3-2-test has been updated
   via  b90062e33cbde7de4961414fd35a3a588760d002 (commit)
  from  06c5076f8ef23ac36d234ed417b80a58ab8dd7b4 (commit)

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


- Log -
commit b90062e33cbde7de4961414fd35a3a588760d002
Author: Volker Lendecke [EMAIL PROTECTED]
Date:   Sat Apr 19 23:50:58 2008 +0200

Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal

This probably does not matter in current code, but without this it's not
possible to do the bind as a different user than the underlying smb user.

Jeremy, please check!

Thanks,

Volker

---

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


Changeset truncated at 500 lines:

diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 2a2b547..bc49e24 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -2330,12 +2330,12 @@ static struct rpc_pipe_client 
*cli_rpc_pipe_open_ntlmssp_internal(struct cli_sta
 
result-auth.a_u.ntlmssp_state = ntlmssp_state;
 
-   *perr = ntlmssp_set_username(ntlmssp_state, cli-user_name);
+   *perr = ntlmssp_set_username(ntlmssp_state, username);
if (!NT_STATUS_IS_OK(*perr)) {
goto err;
}
 
-   *perr = ntlmssp_set_domain(ntlmssp_state, cli-domain); 
+   *perr = ntlmssp_set_domain(ntlmssp_state, domain);
if (!NT_STATUS_IS_OK(*perr)) {
goto err;
}


-- 
Samba Shared Repository