Hi Mike,

I just used it for x86_64, and just evaluate that it could work on linux kernel 
2.6.36.4 or not.

Best Wishes,
Daobang Wang.




发件人: Mike Christie 
发送时间: 2011-06-17  01:13:57 
收件人: 王道邦 
抄送: open-iscsi 
主题: Re: open-iscsi-2.0-870 issue 
 
On 06/15/2011 08:00 PM, 王道邦 wrote:
> Hi Mike,
> 
> There was no session logged in, and i commented out the following codes in 
> function mgmt_ipc_handle, it works,
> /*
> if (!mgmt_peeruser(fd, user) || strncmp(user, "root", PEERUSER_MAX)) {
> err = MGMT_IPC_ERR_ACCESS;
> goto err;
> }
> */
> 
> I think it should be wrong in the following codes,
> 
> pass = getpwuid(peercred.uid);
> if (pass == NULL) {
> log_error("peeruser_unix: unknown local user with uid %d",
> (int) peercred.uid);
> return 0;
> }
> 
> I debugged the codes, and found the pass is NULL, and i run the iscsiadm and 
> iscsid with root user.
> 
What distro are you using? Are you doing some sort of embedded work?

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to