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 271111 Details for
Bug 402431
iSCSI authentication during kickstart does not work
[?]
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]
Patch to enable authentication for iscsi targets in kickstart mode
anaconda-iscsi-auth.patch (text/plain), 1.52 KB, created by
Tim Verhoeven
on 2007-11-28 09:22:56 UTC
(
hide
)
Description:
Patch to enable authentication for iscsi targets in kickstart mode
Filename:
MIME Type:
Creator:
Tim Verhoeven
Created:
2007-11-28 09:22:56 UTC
Size:
1.52 KB
patch
obsolete
>--- iscsi.py.orig 2007-06-27 16:18:51.000000000 +0200 >+++ iscsi.py 2007-11-28 10:12:59.000000000 +0100 >@@ -29,6 +29,7 @@ > ISCSID="/usr/sbin/iscsid" > ISCSIADM = "/usr/sbin/iscsiadm" > INITIATOR_FILE="/etc/iscsi/initiatorname.iscsi" >+ISCSID_FILE="/etc/iscsi/iscsid.conf" > > > def has_iscsi(): >@@ -115,8 +116,24 @@ > iutil.execWithRedirect(ISCSIADM, argv, > stdout = "/dev/tty5", stderr="/dev/tty5") > >+ def _setauth(node, portal, user, password): >+ if user is not None and password is not None: >+ argv = [ "-m", "node", "-T", node, "-p", portal, >+ "-o", "update", "-n", "node.session.auth.username", >+ "-v", user ] >+ log.debug("iscsiadm %s" %(string.join(argv),)) >+ iutil.execWithRedirect(ISCSIADM, argv, >+ stdout = "/dev/tty5", stderr="/dev/tty5") >+ argv = [ "-m", "node", "-T", node, "-p", portal, >+ "-o", "update", "-n", "node.session.auth.password", >+ "-v", password ] >+ log.debug("iscsiadm %s" %(string.join(argv),)) >+ iutil.execWithRedirect(ISCSIADM, argv, >+ stdout = "/dev/tty5", stderr="/dev/tty5") >+ > ret = False > for node in self.nodes: >+ _setauth(node, self.portal, self.user, self.password) > if _login(node, self.portal): > ret = True > _autostart(node, self.portal)
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 402431
: 271111