On 06/16/2011 08:11 PM, 王道邦 wrote:
> 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.
>
What distro is this or what is the userspace environment? We have seen
this before and have been trying to figure out why pass is NULL in
certain cases like yours.
>> 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.
>>
--
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.