[OpenAFS] openafs pioctl issue on windows
David Bear
David.Bear@asu.edu
Wed, 22 Oct 2008 12:56:44 -0700
------=_Part_33691_32877454.1224705404574
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Wed, Oct 22, 2008 at 12:18 PM, Jeffrey Altman <
jaltman@secure-endpoints.com> wrote:
> NIM uses the same pioctl call as tokens.exe to obtain the tokens list.
>
> As long as they are being executed from within the same logon session
> they will display the same results.
>
> Hint: "Run as ..." or "Run as administrator" produces a new logon session.
>
Okay -- I tried this from cmd, in a new session.
This failes.
C:\WINDOWS\system32>tokens
Tokens held by the Cache Manager:
--End of list --
pioctl temp != 0: 0x66543218
Then
C:\WINDOWS\system32>kinit iddwb
kinit(v5): Inappropriate I/O control operation while getting initial
credentials
So, I guess kfw is not working properly here. Any pointers on what could be
wrong with KFW?
> Jeffrey Altman
>
> David Bear wrote:
> > I am using
> >
> > /usr/sbin/rxdebug -server pp-bvossoughi.dhcp.asu.edu
> > <http://pp-bvossoughi.dhcp.asu.edu> -port 7001 -vers
> >
> > Trying 10.218.16.141 (port 7001):
> > AFS version: OpenAFS_1.5.5400
> >
> > This system has had intermittent erros with accessing openafs. The issue
> > seems to be always an access/token issue.
> >
> > KFW 3.2.2 is install and the user is able to get tokens in the asu.edu
> > <http://asu.edu> realm. NIM show the TGT's.
> >
> > However, any attempt to use 'tokens' to display the afs tokens causes
> this:
> >
> > C:\Documents and Settings\bvossoug>tokens
> > Tokens held by the Cache Manager:
> >
> > pioctl temp != 0: 0x66543218
> > --End of list --
> >
> > I googled and found someone with a similar error here:
> > http://www.openafs.org/pipermail/openafs-info/2006-December/024568.html
> >
> > But I don't know if it could be related since there was no resolution on
> > the thread and it is so old.
> >
> > I created an fs minidump and copied that ad the afsd_init.log to an afs
> > location that should be world readable at
> >
> > /afs/asu.edu/pp/oss/afsDumps <http://asu.edu/pp/oss/afsDumps>
> >
> > ( the acl is set as system:anyuser so I hope the world can read this
> > location )
> >
> > Any pointers on where to go next? (BTW, the issue seems to be tied to a
> > specific user logon. I was able to log on to windows as myself, get
> > tokens, and use afs)
> >
> > --
> >
> > David Bear
> > College of Public Programs at ASU
> > 602-464-0424
>
--
David Bear
College of Public Programs at ASU
602-464-0424
------=_Part_33691_32877454.1224705404574
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<br><br><div class="gmail_quote">On Wed, Oct 22, 2008 at 12:18 PM, Jeffrey Altman <span dir="ltr"><<a href="mailto:jaltman@secure-endpoints.com">jaltman@secure-endpoints.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
NIM uses the same pioctl call as tokens.exe to obtain the tokens list.<br>
<br>
As long as they are being executed from within the same logon session<br>
they will display the same results.<br>
<br>
Hint: "Run as ..." or "Run as administrator" produces a new logon session.<br>
</blockquote><div></div><div>Okay -- I tried this from cmd, in a new session.</div><div>This failes.</div><div>C:\WINDOWS\system32>tokens<br><br>Tokens held by the Cache Manager:<br><br> --End of list --<br>pioctl temp != 0: 0x66543218<br>
</div><div></div><div>Then<br>C:\WINDOWS\system32>kinit iddwb<br>kinit(v5): Inappropriate I/O control operation while getting initial credentials<br><br>So, I guess kfw is not working properly here. Any pointers on what could be wrong with KFW?<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Jeffrey Altman<br>
<div class="Ih2E3d"><br>
David Bear wrote:<br>
> I am using<br>
><br>
> /usr/sbin/rxdebug -server <a href="http://pp-bvossoughi.dhcp.asu.edu" target="_blank">pp-bvossoughi.dhcp.asu.edu</a><br>
</div>> <<a href="http://pp-bvossoughi.dhcp.asu.edu" target="_blank">http://pp-bvossoughi.dhcp.asu.edu</a>> -port 7001 -vers<br>
<div class="Ih2E3d">><br>
> Trying <a href="http://10.218.16.141" target="_blank">10.218.16.141</a> (port 7001):<br>
> AFS version: OpenAFS_1.5.5400<br>
><br>
> This system has had intermittent erros with accessing openafs. The issue<br>
> seems to be always an access/token issue.<br>
><br>
> KFW 3.2.2 is install and the user is able to get tokens in the <a href="http://asu.edu" target="_blank">asu.edu</a><br>
</div>> <<a href="http://asu.edu" target="_blank">http://asu.edu</a>> realm. NIM show the TGT's.<br>
<div class="Ih2E3d">><br>
> However, any attempt to use 'tokens' to display the afs tokens causes this:<br>
><br>
> C:\Documents and Settings\bvossoug>tokens<br>
> Tokens held by the Cache Manager:<br>
><br>
> pioctl temp != 0: 0x66543218<br>
> --End of list --<br>
><br>
> I googled and found someone with a similar error here:<br>
> <a href="http://www.openafs.org/pipermail/openafs-info/2006-December/024568.html" target="_blank">http://www.openafs.org/pipermail/openafs-info/2006-December/024568.html</a><br>
><br>
> But I don't know if it could be related since there was no resolution on<br>
> the thread and it is so old.<br>
><br>
> I created an fs minidump and copied that ad the afsd_init.log to an afs<br>
> location that should be world readable at<br>
><br>
</div>> /afs/<a href="http://asu.edu/pp/oss/afsDumps" target="_blank">asu.edu/pp/oss/afsDumps</a> <<a href="http://asu.edu/pp/oss/afsDumps" target="_blank">http://asu.edu/pp/oss/afsDumps</a>><br>
<div><div class="Wj3C7c">><br>
> ( the acl is set as system:anyuser so I hope the world can read this<br>
> location )<br>
><br>
> Any pointers on where to go next? (BTW, the issue seems to be tied to a<br>
> specific user logon. I was able to log on to windows as myself, get<br>
> tokens, and use afs)<br>
><br>
> --<br>
><br>
> David Bear<br>
> College of Public Programs at ASU<br>
> 602-464-0424<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Bear<br>College of Public Programs at ASU<br>602-464-0424<br>
------=_Part_33691_32877454.1224705404574--