Skip to content

Commit 9f7975b

Browse files
committed
Use new xrootd-lcmaps config syntax
1 parent 8495c56 commit 9f7975b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

osgtest/tests/test_150_xrootd.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ def test_01_start_xrootd(self):
6767
lcmaps_packages = ('lcmaps', 'lcmaps-db-templates', 'xrootd-lcmaps', 'vo-client', 'vo-client-lcmaps-voms')
6868
if all([core.rpm_is_installed(x) for x in lcmaps_packages]):
6969
core.log_message("Using xrootd-lcmaps authentication")
70-
sec_protocol = '-authzfun:libXrdLcmaps.so -authzfunparms:--loglevel,5'
71-
if core.PackageVersion('xrootd-lcmaps') >= '1.4.0':
72-
sec_protocol += ',--policy,authorize_only'
70+
sec_protocol = '-authzfun:libXrdLcmaps.so -authzfunparms:loglevel=5,policy=authorize_only'
7371
else:
7472
core.log_message("Using XRootD mapfile authentication")
7573
sec_protocol = '-gridmap:/etc/grid-security/xrd/xrdmapfile'

0 commit comments

Comments
 (0)