Print

Print


Well, try as much as I want the correct environment cannot be passed irrespective of any changes to the XrdCks objects. Why? Because the problem is far more fundamental. The checksum calculation occurs in the background and the background task is not provided with the SecEntity object because, well, at that point it isn't needed. In your particular case you want it because you need to set the uid/gid. With some machinations I could do that but the setup wasn't created to pass pointers to complex objects. In R5 the correct mechanism is to set the correct uid/gid in the SecEntity object either via the authentication handler or, more likely in your case, in the post authentication handler plugin. That way the uid/gid is determined once and that information is easy to pass around. I will need more time to figure out how best to accomplish this. In any case, the revised solution did not touch any public headers nor changed any semantics; unfortunately, it also did not accomplish what was needed. 

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