The Samba-Bugzilla – Attachment 3707 Details for
Bug 5855
Failed "wbinfo -t" after "net rpc oldjoin"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check the length of opt_user_name variable
samba-3.0.32.git-net_username.patch (text/plain), 454 bytes, created by
Yasuma Takeda
on 2008-11-03 23:46:38 UTC
(
hide
)
Description:
check the length of opt_user_name variable
Filename:
MIME Type:
Creator:
Yasuma Takeda
Created:
2008-11-03 23:46:38 UTC
Size:
454 bytes
patch
obsolete
>diff --git a/source/utils/net.c b/source/utils/net.c >index 38ebaf6..2a4550e 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) { >+ if (opt_user_name && strlen(opt_user_name) > 0) { > nt_status = connect_to_ipc(&cli, &server_ip, server_name); > if (NT_STATUS_IS_OK(nt_status)) { > goto connected;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5855
:
3690
| 3707