Bug 3963 - Tabs in the grid-mapfile cause errors for secure services
: Tabs in the grid-mapfile cause errors for secure services
Status: RESOLVED FIXED
: CoG jglobus
security
: unspecified
: Macintosh All
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-11-30 10:28 by
Modified: 2005-12-05 17:00 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-11-30 10:28:01
Given a line in the grid-mapfile that reads:
b1618@ANL.GOV^I^I^I^I^I^I^Iblau

Where ^I is the tab character, a secure container with GRAM fails to startup in
the following way:

Failed to start container: Failed to initialize 'ManagedJobFactoryService' servi
ce [Caused by: [SEC] Service credentials not configured and was not able to obta
in container credentials.; nested exception is: 
        org.globus.wsrf.security.SecurityException: [SEC] Error obtaining contai
ner credentials; nested exception is: 
        org.globus.wsrf.config.ConfigException: Failed to initialize container s
ecurity config [Caused by: Failed to load gridmap: "grid-mapfile" [Caused by: Us
er ID mapping missing: b1618@ANL.GOV                                            
        blau]]]


Probably any whitespace should be legal.  I don't think the C side rejects this
entry.  Certainly grid-mapfile-check-consistency doesn't complain about it.
------- Comment #1 From 2005-11-30 10:43:43 -------
Committed fixes and tests for it. Checked in updated cog-jglobus.jar to gt4 cvs 
trunk and globus_4_0_branch.