Print

Print


DNs appear to be transformed, replacing `,<space>` with `/` ahead of comparison to the mapfile.

```C++
s.replace(", ", "/");
```
https://github.com/xrootd/xrootd/blob/v5.4.2/src/XrdCrypto/XrdCryptosslAux.cc#L779

For example, a client intended to match the following gridmap line
```"/DC=org/DC=incommon/C=US/ST=California/L=La Jolla/O=University of California, San Diego/CN=stashcache.t2.ucsd.edu" ligo```
will result in xrootd comparing the client's DN as 
```/DC=org/DC=incommon/C=US/ST=California/L=La Jolla/O=University of California/San Diego/CN=stashcache.t2.ucsd.edu```
which does not match.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1684
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1