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, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@abh3 in #495: Hi All,\n\nGerri 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.\n\nAndy\n\nFrom: Gerardo GANIS \nSent: Tuesday, April 04, 2017 9:38 AM\nTo: xrootd/xrootd \nCc: Subscribed \nSubject: Re: [xrootd/xrootd] Fill the XrdSecEntity struct according to the last discussions, (#495)\n\nHi Fabrizio,\n\nI 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' .\nIf 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.\nDo I remember wrongly?\n\nGerri\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly, view it on GitHub, or mute the thread.\n"}],"action":{"name":"View Pull Request","url":"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