Print

Print


Hi All,

Gerri remembers correctly. The 8 character name is the one that gets put into the loginid for "kXR_login”. The entity structure name is, in fact, the full distinguished name. Unless someone tells me otherwise in the next couple of hours, I will merge in 495 (which should include Brian’s fix) and then Fabrizion will have to generate a new pull request with the login-name fix.

Andy

From: Gerardo GANIS 
Sent: Tuesday, April 04, 2017 9:38 AM
To: xrootd/xrootd 
Cc: Subscribed 
Subject: Re: [xrootd/xrootd] Fill the XrdSecEntity struct according to the last discussions, (#495)

Hi Fabrizio,

I am not 100% sure, but for XrdSecEntity.name in the case no username was specified, I thought we said to take the last 8 digits of the first '/CN=', without spaces, i.e., from '.../CN=Fabrizio Furano/...' we should have got 'ioFurano' .
If that is the case, then I am not sure the code does that: the buffer is 64 in length and the space is not removed.
Do I remember wrongly?

Gerri

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/495#issuecomment-291632177
########################################################################
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