We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e88af7 + e25223b commit 6ea6088Copy full SHA for 6ea6088
base/etc/osg/image-config.d/ce-common-startup
@@ -1,6 +1,13 @@
1
+# FIXME: remove mkdir once htcondor-ce 5.1.0 is released
2
+mkdir -p /etc/condor-ce/mapfiles.d/
3
+
4
# Return list of local users mapped from grid credentials
5
function get_mapped_users () {
- cat /etc/grid-security/grid-mapfile /etc/grid-security/voms-mapfile |
- awk '/^"[^"]+" +[a-zA-Z0-9\-\._]+$/ {print $NF}' |
- sort -u
6
+ {
7
+ awk '$1 == "SCITOKENS" { print $NF }' /etc/condor-ce/condor_mapfile \
8
+ /etc/condor-ce/mapfiles.d/* 2>/dev/null
9
+ cat /etc/grid-security/grid-mapfile /etc/grid-security/voms-mapfile |
10
+ awk '/^"[^"]+" +[a-zA-Z0-9\-\._]+$/ {print $NF}'
11
+ } | sort -u
12
}
13
0 commit comments