[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-31-9-gd29db97

Karolin Seeger kseeger at samba.org
Mon Aug 4 12:34:26 GMT 2008


The branch, v3-0-test has been updated
       via  d29db976dcffef772044b1e5246ec6715d6afbbb (commit)
      from  062bd2592e249cce426369b92c2238a4deb33956 (commit)

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


- Log -----------------------------------------------------------------
commit d29db976dcffef772044b1e5246ec6715d6afbbb
Author: Michael Adam <obnox at samba.org>
Date:   Mon Aug 4 13:31:26 2008 +0200

    net: Fix IPC connections with interactive password prompt.
    
    This fixes a regression introduced with 52f916c6.
    Some net subcommands didn't work when the username, but not the
    corresponding password was given on the command line.

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

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


Changeset truncated at 500 lines:

diff --git a/source/utils/net.c b/source/utils/net.c
index d8ea462..38ebaf6 100644
--- a/source/utils/net.c
+++ b/source/utils/net.c
@@ -496,7 +496,7 @@ struct cli_state *net_make_ipc_connection_ex( const char *domain, const char *se
 		server_ip = *ip;
 	}
 
-	if (opt_user_name && opt_password) {
+	if (opt_user_name) {
 		nt_status = connect_to_ipc(&cli, &server_ip, server_name);
 		if (NT_STATUS_IS_OK(nt_status)) {
 			goto connected;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list