File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def test_01_configure(self):
22
22
23
23
def test_02_xrootd_policy (self ):
24
24
core .skip_ok_unless_installed ('xrootd-lcmaps' , * self .required_rpms )
25
+ core .skip_ok_unless (core .package_version_compare ('xrootd-lcmaps' , '1.4.0' ) >= 0 )
25
26
26
27
files .append (core .config ['lcmaps.db' ],
27
28
'''xrootd_policy:
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ def test_01_start_xrootd(self):
49
49
if all ([core .rpm_is_installed (x ) for x in lcmaps_packages ]):
50
50
core .log_message ("Using xrootd-lcmaps authentication" )
51
51
sec_protocol = '-authzfun:libXrdLcmaps.so -authzfunparms:--loglevel,5'
52
+ if core .package_version_compare ('xrootd-lcmaps' , '1.4.0' ) >= 0 :
53
+ sec_protocol += ',--policy,authorize_only'
52
54
else :
53
55
core .log_message ("Using XRootD mapfile authentication" )
54
56
sec_protocol = '-gridmap:/etc/grid-security/xrd/xrdmapfile'
You can’t perform that action at this time.
0 commit comments