Skip Menu | Logged in as guest | Logout
 
Ticket metadata
Id: 3021
Status: resolved
Priority: 0/0
Queue: vdt-support

Fixed in: (no value)
Fix scheduled: (no value)

Owner: Alain Roy
Requestors: lbhajdu@bnl.gov
Cc: jbasney@ncsa.uiuc.edu
AdminCc:

More about lbhajdu@bnl.gov
Comments about this user:
No comment entered about this user
This user's 10 highest priority tickets:
Groups this user belongs to:
  • Unprivileged
  • Everyone

New reminder:

Created: Thu Oct 11 11:51:34 2007
Starts: Not set
Started: Not set
Last Contact: Thu Oct 11 14:55:21 2007
Due: Not set
Closed: Thu Oct 11 14:55:21 2007
Updated: Thu Oct 11 14:55:21 2007 by roy



History Brief headersFull headers
Subject: MYPROXY usage question
Date: Thu, 11 Oct 2007 12:41:37 -0400
To: vdt-support@OPENSCIENCEGRID.ORG
From: Levente Hajdu <lbhajdu@bnl.gov>
Hello VDT Team,

<>This is a usage question on MYPROXY, I am trying to get a full proxy
using a limited proxy from within a running job using my limited proxy
to authenticate. I am trying this between two nodes right now.

Doing this with out authentication seems to work for me. Like this:

[stargrid02] ~/temp/> myproxy-init -V

myproxy-init version MYPROXYv2 (v3.6 10 Aug 2006 PAM)

//From my local node:

[stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov

//From another node, this works:

[stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s myproxy.fnal.gov –S

A credential has been received for user lbhajdu in /tmp/x509up_u7665.



//However when I try this:

[stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov -r "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387"

Your identity: /DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387

Enter GRID pass phrase for this identity:

Creating proxy ............................ Done

Proxy Verify OK

Your proxy is valid until: Thu Mar 27 11:42:19 2008

Enter MyProxy pass phrase:

Verifying - Enter MyProxy pass phrase:

A proxy valid for 4044 hours (168.5 days) for user lbhajdu now exists on myproxy.fnal.gov.





//It returns this error to me:

[stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s myproxy.fnal.gov -S

Failed to receive credentials.

ERROR from myproxy-server (myproxy.fnal.gov):

"/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not authorized by server's trusted_retrievers policy

"/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not authorized by credential's authorized_retrievers policy


--
-----------------------------------------------------
Levente B. Hajdu
U.S. Department of Energy
The STAR experiment at the Relativistic Heavy Ion Collider (RHIC)
Brookhaven National Laboratory
Bldg. 510A Room 1-179
Upton, NY 11973-5000
Telephone: (631) 344-5733
E-mail(main): lbhajdu@bnl.gov
E-mail: lbhajdu@rcf.rhic.bnl.gov


/\\ ____ ,^^o,
``-,' `-';~"
.',-'~ ../'
`^^ ^^
Thanks for your question, Levente.

As I said on the phone today, I'm not terribly experienced with MyProxy.
So I've added Jim Basney to this ticket. He's the current maintainer of
MyProxy. I'm betting he can help us out.

Any suggestions, Jim?

Thanks,
-alain

>
> Hello VDT Team,
>
> <>This is a usage question on MYPROXY, I am trying to get a full proxy
> using a limited proxy from within a running job using my limited proxy
> to authenticate. I am trying this between two nodes right now.
>
> Doing this with out authentication seems to work for me. Like this:
>
> [stargrid02] ~/temp/> myproxy-init -V
>
> myproxy-init version MYPROXYv2 (v3.6 10 Aug 2006 PAM)
>
> //From my local node:
>
> [stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov
>
> //From another node, this works:
>
> [stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
> myproxy.fnal.gov –S
>
> A credential has been received for user lbhajdu in /tmp/x509up_u7665.
>
>
>
> //However when I try this:
>
> [stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov -r
> "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387"
>
> Your identity: /DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu
> 105387
>
> Enter GRID pass phrase for this identity:
>
> Creating proxy ............................ Done
>
> Proxy Verify OK
>
> Your proxy is valid until: Thu Mar 27 11:42:19 2008
>
> Enter MyProxy pass phrase:
>
> Verifying - Enter MyProxy pass phrase:
>
> A proxy valid for 4044 hours (168.5 days) for user lbhajdu now exists
> on myproxy.fnal.gov.
>
>
>
>
>
> //It returns this error to me:
>
> [stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
> myproxy.fnal.gov -S
>
> Failed to receive credentials.
>
> ERROR from myproxy-server (myproxy.fnal.gov):
>
> "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
> authorized by server's trusted_retrievers policy
>
> "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
> authorized by credential's authorized_retrievers policy
>
>
>
>
Subject: Re: [vdt-support #3021] MYPROXY usage question
Date: Thu, 11 Oct 2007 14:19:30 -0500
To: vdt-support@OPENSCIENCEGRID.ORG, lbhajdu@bnl.gov
From: Jim Basney <jbasney@ncsa.uiuc.edu>
Download (untitled) / with headers
text/plain 3.7k
Hi Levente (and Alain),

It looks like you need to add -x before -r in your myproxy-init command.
Here's the myproxy-init man page text:

-r dn, --retrievable_by dn
Allow the specified entity to retrieve credentials. By default,
the argument will be matched against the common name (CN) of the
client (for example: "Jim Basney"). Specify -x before this
option to match against the full distinguished name (DN) (for
example: "/C=US/O=National Computational Science Alliance/CN=Jim
Basney") instead.

If you run myproxy-info, it should show something like:

retrieval policy: */CN=DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387

The -x option tells myproxy-init not to add that "*/CN=" part.

Also, since you mention that you're using a limited proxy, please be
aware of a change in MyProxy v3.8 and later:

- check if client authenticates with a limited proxy, and if so,
only allow the client to obtain another limited proxy, unless
ignore_globus_limited_proxy_flag is set in myproxy-server.config

I had the myproxy.fnal.gov server in mind when I added that
ignore_globus_limited_proxy_flag option. If in the future you get the
error message:

Client with limited proxy may not retrieve full credentials.

it means the myproxy-server needs the ignore_globus_limited_proxy_flag
to be set in myproxy-server.config.

Regards,
Jim

Alain Roy via RT <vdt-support@opensciencegrid.org> wrote:
> Thanks for your question, Levente.
>
> As I said on the phone today, I'm not terribly experienced with MyProxy.
> So I've added Jim Basney to this ticket. He's the current maintainer of
> MyProxy. I'm betting he can help us out.
>
> Any suggestions, Jim?
>
> Thanks,
> -alain
>
> >
> > Hello VDT Team,
> >
> > <>This is a usage question on MYPROXY, I am trying to get a full proxy
> > using a limited proxy from within a running job using my limited proxy
> > to authenticate. I am trying this between two nodes right now.
> >
> > Doing this with out authentication seems to work for me. Like this:
> >
> > [stargrid02] ~/temp/> myproxy-init -V
> >
> > myproxy-init version MYPROXYv2 (v3.6 10 Aug 2006 PAM)
> >
> > //From my local node:
> >
> > [stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov
> >
> > //From another node, this works:
> >
> > [stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
> > myproxy.fnal.gov –S
> >
> > A credential has been received for user lbhajdu in /tmp/x509up_u7665.
> >
> >
> >
> > //However when I try this:
> >
> > [stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov -r
> > "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387"
> >
> > Your identity: /DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu
> > 105387
> >
> > Enter GRID pass phrase for this identity:
> >
> > Creating proxy ............................ Done
> >
> > Proxy Verify OK
> >
> > Your proxy is valid until: Thu Mar 27 11:42:19 2008
> >
> > Enter MyProxy pass phrase:
> >
> > Verifying - Enter MyProxy pass phrase:
> >
> > A proxy valid for 4044 hours (168.5 days) for user lbhajdu now exists
> > on myproxy.fnal.gov.
> >
> >
> >
> >
> >
> > //It returns this error to me:
> >
> > [stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
> > myproxy.fnal.gov -S
> >
> > Failed to receive credentials.
> >
> > ERROR from myproxy-server (myproxy.fnal.gov):
> >
> > "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
> > authorized by server's trusted_retrievers policy
> >
> > "/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
> > authorized by credential's authorized_retrievers policy
> >
> >
> >
> >
>
>
> --
> View ticket at <http://vdt.cs.wisc.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=3021>
> VDT Support, vdt-support@ivdgl.org
Subject: Re: [vdt-support #3021] MYPROXY usage question
Date: Thu, 11 Oct 2007 15:42:57 -0400
To: vdt-support@OPENSCIENCEGRID.ORG
From: Levente Hajdu <lbhajdu@bnl.gov>
Download (untitled) / with headers
text/plain 4.3k
Thanks Jim and Alain,

It works, it really works!!! I can’t believe it works. That’s all I
needed was the –x, can’t believe I didn’t see that.

B.T.W.
You can close the ticket now.

Leve


Jim Basney via RT wrote:

>Hi Levente (and Alain),
>
>It looks like you need to add -x before -r in your myproxy-init command.
>Here's the myproxy-init man page text:
>
> -r dn, --retrievable_by dn
> Allow the specified entity to retrieve credentials. By default,
> the argument will be matched against the common name (CN) of the
> client (for example: "Jim Basney"). Specify -x before this
> option to match against the full distinguished name (DN) (for
> example: "/C=US/O=National Computational Science Alliance/CN=Jim
> Basney") instead.
>
>If you run myproxy-info, it should show something like:
>
> retrieval policy: */CN=DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387
>
>The -x option tells myproxy-init not to add that "*/CN=" part.
>
>Also, since you mention that you're using a limited proxy, please be
>aware of a change in MyProxy v3.8 and later:
>
> - check if client authenticates with a limited proxy, and if so,
> only allow the client to obtain another limited proxy, unless
> ignore_globus_limited_proxy_flag is set in myproxy-server.config
>
>I had the myproxy.fnal.gov server in mind when I added that
>ignore_globus_limited_proxy_flag option. If in the future you get the
>error message:
>
> Client with limited proxy may not retrieve full credentials.
>
>it means the myproxy-server needs the ignore_globus_limited_proxy_flag
>to be set in myproxy-server.config.
>
>Regards,
>Jim
>
>Alain Roy via RT <vdt-support@opensciencegrid.org> wrote:
>
>
>>Thanks for your question, Levente.
>>
>>As I said on the phone today, I'm not terribly experienced with MyProxy.
>>So I've added Jim Basney to this ticket. He's the current maintainer of
>>MyProxy. I'm betting he can help us out.
>>
>>Any suggestions, Jim?
>>
>>Thanks,
>>-alain
>>
>>
>>
>>>Hello VDT Team,
>>>
>>><>This is a usage question on MYPROXY, I am trying to get a full proxy
>>>using a limited proxy from within a running job using my limited proxy
>>>to authenticate. I am trying this between two nodes right now.
>>>
>>>Doing this with out authentication seems to work for me. Like this:
>>>
>>>[stargrid02] ~/temp/> myproxy-init -V
>>>
>>>myproxy-init version MYPROXYv2 (v3.6 10 Aug 2006 PAM)
>>>
>>>//From my local node:
>>>
>>>[stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov
>>>
>>>//From another node, this works:
>>>
>>>[stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
>>>myproxy.fnal.gov –S
>>>
>>>A credential has been received for user lbhajdu in /tmp/x509up_u7665.
>>>
>>>
>>>
>>>//However when I try this:
>>>
>>>[stargrid02] ~/temp/> myproxy-init -c 0 -s myproxy.fnal.gov -r
>>>"/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387"
>>>
>>>Your identity: /DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu
>>>105387
>>>
>>>Enter GRID pass phrase for this identity:
>>>
>>>Creating proxy ............................ Done
>>>
>>>Proxy Verify OK
>>>
>>>Your proxy is valid until: Thu Mar 27 11:42:19 2008
>>>
>>>Enter MyProxy pass phrase:
>>>
>>>Verifying - Enter MyProxy pass phrase:
>>>
>>>A proxy valid for 4044 hours (168.5 days) for user lbhajdu now exists
>>>on myproxy.fnal.gov.
>>>
>>>
>>>
>>>
>>>
>>>//It returns this error to me:
>>>
>>>[stargrid01] ~/temp/> echo "LeveHIn*@bnl!" | myproxy-logon -s
>>>myproxy.fnal.gov -S
>>>
>>>Failed to receive credentials.
>>>
>>>ERROR from myproxy-server (myproxy.fnal.gov):
>>>
>>>"/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
>>>authorized by server's trusted_retrievers policy
>>>
>>>"/DC=org/DC=doegrids/OU=People/CN=Levente B. Hajdu 105387" not
>>>authorized by credential's authorized_retrievers policy
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>View ticket at <http://vdt.cs.wisc.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=3021>
>>VDT Support, vdt-support@ivdgl.org
>>
>>
>
>
>
>
>

--
-----------------------------------------------------
Levente B. Hajdu
U.S. Department of Energy
The STAR experiment at the Relativistic Heavy Ion Collider (RHIC)
Brookhaven National Laboratory
Bldg. 510A Room 1-179
Upton, NY 11973-5000
Telephone: (631) 344-5733
E-mail(main): lbhajdu@bnl.gov
E-mail: lbhajdu@rcf.rhic.bnl.gov


/\\ ____ ,^^o,
``-,' `-';~"
.',-'~ ../'
`^^ ^^
Download (untitled) / with headers
text/plain 102b
Thanks for the fast response, Jim! It is greatly appreciated.

I'll resolve the ticket now.

-alain