Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 205441 Details for
Bug 304361
libvirt (at least virsh) doesn't use the username in an URI
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
diff -u patch for adding username handling
username.patch (text/plain), 960 bytes, created by
Fabian Deutsch
on 2007-09-25 12:58:01 UTC
(
hide
)
Description:
diff -u patch for adding username handling
Filename:
MIME Type:
Creator:
Fabian Deutsch
Created:
2007-09-25 12:58:01 UTC
Size:
960 bytes
patch
obsolete
>Index: src/remote_internal.c >=================================================================== >RCS file: /data/cvs/libvirt/src/remote_internal.c,v >retrieving revision 1.26 >diff -u -r1.26 remote_internal.c >--- src/remote_internal.c 21 Sep 2007 20:17:09 -0000 1.26 >+++ src/remote_internal.c 25 Sep 2007 12:56:07 -0000 >@@ -315,13 +315,14 @@ > } else if (transport == trans_ssh) { > port = strdup ("22"); > if (!port) goto out_of_memory; >- if (uri->user) { >- username = strdup (uri->user); >- if (!username) goto out_of_memory; >- } > } else > port = NULL; /* Port not used for unix, ext. */ > >+ if (uri->user) { >+ username = strdup (uri->user); >+ if (!username) goto out_of_memory; >+ } >+ > /* Get the variables from the query string. > * Then we need to reconstruct the query string (because > * feasibly it might contain variables needed by the real driver,
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 304361
:
205071
| 205441