It sounds like we want to have a little more configurability w.r.t. mutual auth parameters. Comments?
Initiator operations -------------------- ### initiator_set_auth(initiator_wwn, in_user, in_pass, out_user, out_pass) Sets the inbound and outbound login credentials for the given initiator. 'in_user' and 'in_pass' are credentials that the initiator will use to login to the target and access luns exported by 'export_create'. 'out_user' and 'out_pass' are the credentials the target will use to authenticate itself back to the initiator.
'initiator_wwn' must be set, but 'in_user', 'in_pass', 'out_user' and 'out_pass' may be 'null'. If either or both of each directions' parameters are 'null', then authentication is disabled for that direction.
Calling this method is optional. If it is not called, exports configured via 'export_create' require no authentication.
Regards -- Andy