There is no reason to use the -s option for your example. You would
only use that value for -s if the server were running under your own
personal credentials. Normally the server is run under host credentials
as in your example.
Mike
Soumyadeep nandi wrote:
Hi,
To transfer files using GridFTP I am using the following command:
globus-url-copy -s "`grid-cert-info -subject`" file:///tmp/test
gsiftp://sit.hpc.org/tmp/test1
And I am ending up with the following error:
error: globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote entity
(/O=Grid/OU=JNU/OU=sit.hpc.org/CN=host/sit.hpc.org), and the expected name for
the remote entity (/O=Grid/OU=JNU/OU=sit.hpc.org/OU=hpc.org/CN=Osdd) do not
match
The entry in /etc/grid-security/grid-mapfile is:
"/O=Grid/OU=JNU/OU=sit.hpc.org/OU=hpc.org/CN=Osdd" osdd
Please suggest me from where the remote name
"(/O=Grid/OU=JNU/OU=sit.hpc.org/CN=host/sit.hpc.org)" is being taken.
Could you suggest me what should be done to fix this trouble.
Regards,
Soumyadeep