--
Dipl.-Inform. (FH) Jan Ploski
OFFIS
Betriebliches Informationsmanagement
Escherweg 2  - 26121 Oldenburg - Germany
Fon: +49 441 9722 - 184 Fax: +49 441 9722 - 202
E-Mail: [EMAIL PROTECTED] - URL: http://www.offis.de

[EMAIL PROTECTED] schrieb am 10/25/2007 11:13:36 AM:

> Hi there :-)
> 
> I am looking for some advise to get my globus 4.0.5 installation running 
to 
> the needs I have.
> 
> First of all globus is running fine anyway, but I have to provide for 
one DN 
> more than one unix account. Here I used the command line tool 
> grid-mapfile-add-entry. After doing so, my grid-mapfile looks like this:
> 
> "/O=XXXXX/OU=XXXXXX/CN=XXXXX XXXX" hp0007,dt0031
> my organisation,name and also two unix accounts
> 
> While trying to submit a job using the second unix account dt0031 via
> globusrun-ws I get 
> 
> ==== snipp ====
> globusrun-ws  -submit -F udo-gt01.grid.uni-dortmund.de -Ft PBS  -f 
> hello2.xml -s
> Delegating user credentials...Done.
> Submitting job...Done.
> Job ID: uuid:e46660ca-82d8-11dc-a0c9-0050560bd129
> Termination time: 10/26/2007 09:01 GMT
> Current job state: Failed
> Destroying job...Done.
> Cleaning up any delegated credentials...Done.
> globusrun-ws: Job failed: Error code: 201
> Script stderr:
> dt0031 is not in the grid mapfile
> ==== snipp ====
> 
> After looking around a little bit I found that the errors results from a 
call 
> of ./globus-gridmap-and-execute which gets the correct grid-mapfile for 
use, 
> but tells my when I do 
> 
> [EMAIL PROTECTED]:/usr/local/globus/libexec> ./globus-gridmap-and-
> execute /bin/date
> dt0031 is not in the grid mapfile
> 
> but
> 
> [EMAIL PROTECTED]:/usr/local/globus/libexec> ./globus-gridmap-and-
> execute /bin/date
> Thu Oct 25 11:11:06 CEST 2007
> 
> So, for one of the entries the command globus-gridmap-and-execute works 
and 
> for the other not. (As you have seen, both unix accounts are in the 
> grid-mapfile)
> 
> Has anybody else the same problems or a solution for me?

Yes, I can reproduce the same problem here, and the reason is in 
gridmap.c:

        if((gline_tmp->user_ids != NULL) &&
           (gline_tmp->user_ids[0] != NULL) &&
           (strcmp(local_user, gline_tmp->user_ids[0]) == 0))
        {
            found = 1;
        }

Evidently, it only compares the FIRST user id from each line. Maybe you 
should file a bug report.

Regards,
Jan Ploski

Reply via email to