Skip to content

Commit

Permalink
Merge pull request #110 from brianhlin/SOFTWARE-4431.fix-authlib-syntax
Browse files Browse the repository at this point in the history
Fix ofs.authlib append syntax (SOFTWARE-4431)
  • Loading branch information
matyasselmeci authored Jan 27, 2021
2 parents f29d008 + 72165ba commit 6bb2a25
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions configs/stash-cache/config.d/50-stash-cache-authz.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ if defined ?StashCacheSciTokensConf && defined ?~XROOTD4
else if defined ?~XROOTD4
ofs.authlib libXrdAccSciTokens.so config=/run/stash-cache-auth/scitokens.conf
else if defined ?StashCacheSciTokensConf
ofs.authlib +++ libXrdAccSciTokens.so config=$StashCacheSciTokensConf
ofs.authlib ++ libXrdAccSciTokens.so config=$StashCacheSciTokensConf
else
ofs.authlib +++ libXrdAccSciTokens.so config=/run/stash-cache-auth/scitokens.conf
ofs.authlib ++ libXrdAccSciTokens.so config=/run/stash-cache-auth/scitokens.conf
fi

# Pass the bearer token to the Xrootd authorization framework.
Expand Down
4 changes: 2 additions & 2 deletions configs/stash-origin/config.d/50-stash-origin-authz.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if defined ?StashOriginSciTokensConf && defined ?~XROOTD4
else if defined ?~XROOTD4
ofs.authlib libXrdAccSciTokens.so config=/run/stash-origin-auth/scitokens.conf
else if defined ?StashOriginSciTokensConf
ofs.authlib +++ libXrdAccSciTokens.so config=$StashOriginSciTokensConf
ofs.authlib ++ libXrdAccSciTokens.so config=$StashOriginSciTokensConf
else
ofs.authlib +++ libXrdAccSciTokens.so config=/run/stash-origin-auth/scitokens.conf
ofs.authlib ++ libXrdAccSciTokens.so config=/run/stash-origin-auth/scitokens.conf
fi
5 changes: 4 additions & 1 deletion rpm/xcache.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: xcache
Summary: XCache scripts and configurations
Version: 1.5.4
Version: 1.5.5
Release: 1%{?dist}
License: Apache 2.0
Group: Grid
Expand Down Expand Up @@ -292,6 +292,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/grid-security/xrd
%config %{_sysconfdir}/xrootd/config.d/03-redir-tuning.cfg

%changelog
* Wed Jan 27 2021 Brian Lin <[email protected]> - 1.5.5-1
- Fix ofs.authlib append syntax (SOFTWARE-4431)

* Tue Jan 26 2021 Brian Lin <[email protected]> - 1.5.4-1
- Update configuration to append SciTokens to the auth list for XRootD
5+ (SOFTWARE-4431)
Expand Down

0 comments on commit 6bb2a25

Please sign in to comment.