I've been trying out CHAP authentication with the comstar iscsi target. I used an existing target and set a 'targetchapsecret':
# itadm modify-target -s iqn.1986-03.com.sun:02:7e969860-cb8d-475a-ddbb-97bf2f22ce7b Enter CHAP secret: Re-enter secret: Target iqn.1986-03.com.sun:02:7e969860-cb8d-475a-ddbb-97bf2f22ce7b successfully modified # itadm list-target -v TARGET NAME STATE SESSIONS iqn.1986-03.com.sun:02:7e969860-cb8d-475a-ddbb-97bf2f22ce7b online 0 alias: - auth: chap targetchapuser: - targetchapsecret: set tpg-tags: TPG172 = 2 My question is: "Is there any way to get targetchapsecret back to 'unset'. That is, can I remove the target chap secret? I cannot see an option for that on 'itadm modify-target'." I want to remove the secret value, so I can repeat my test procedure from a pristine starting point, to make sure I fully understand how CHAP is working. I guess I could delete the target, having first removed it from it's target group, and create a new target, to take its place, and add it back into the target group. And then repeat the discovery of the target from the initiator... For the target alias and targetchapuser, you can explicitly remove any value, by passing parameter 'none'. Thanks Nigel Smith -- This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list storage-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/storage-discuss