Skip to content

Commit 14b1d53

Browse files
committed
Merge branch 'V23-branch' into V23_x-branch
2 parents f2cdcdb + ae8cdda commit 14b1d53

33 files changed

+14
-63
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ CE_DEFAULT_CONFIG_FILES := \
138138
contrib/apelscripts/50-ce-apel-defaults.conf
139139

140140
CE_MAP_FILES := \
141-
config/mapfiles.d/10-gsi.conf \
141+
config/mapfiles.d/10-ssl.conf \
142142
config/mapfiles.d/10-scitokens.conf \
143-
config/mapfiles.d/50-gsi-callout.conf \
144143
config/mapfiles.d/90-ban.conf
145144

146145
CE_CONDOR_CONFIG_FILES := \

config/01-ce-auth.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# By default, regular expressions in the second field of HTCondor-CE
1111
# mapfiles must be enclosed with '/'. For exmaple:
1212
#
13-
# GSI /(.*)/ GSS_ASSIST_GRIDMAP
13+
# SSL /(.*/CN=Jane)/ jane
1414
#
1515
# To restore the previous behavior where the second field is enclosed
1616
# in double-quotes and they are all treated as potential regular

config/01-common-auth-defaults.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use security:recommended_v9_0
1515
# Pool password directory for the CE and collector.
1616
SEC_PASSWORD_DIRECTORY = /etc/condor-ce/passwords.d
1717

18-
# GSI settings
18+
# Authentication settings
1919
CERTIFICATE_MAPFILE=/etc/condor-ce/condor_mapfile
2020

2121
# Alter SSL settings to work with both standard and grid file locations

config/05-ce-collector-auth.conf

+2-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,8 @@
1010
###############################################################################
1111

1212
# Allow site CEs to advertise to the central collector via SSL (SOFTWARE-3939)
13-
if version > 9.0.6
14-
# 9.0.6 includes AUTH_SSL_REQUIRE_CLIENT_CERTIFICATE (HTCONDOR-236)
15-
COLLECTOR.SEC_ADVERTISE_SCHEDD_AUTHENTICATION_METHODS = SSL, GSI
16-
COLLECTOR.SEC_ADVERTISE_MASTER_AUTHENTICATION_METHODS = SSL, GSI
17-
else
18-
COLLECTOR.SEC_ADVERTISE_SCHEDD_AUTHENTICATION_METHODS = GSI, SSL
19-
COLLECTOR.SEC_ADVERTISE_MASTER_AUTHENTICATION_METHODS = GSI, SSL
20-
endif
13+
COLLECTOR.SEC_ADVERTISE_SCHEDD_AUTHENTICATION_METHODS = SSL
14+
COLLECTOR.SEC_ADVERTISE_MASTER_AUTHENTICATION_METHODS = SSL
2115

2216
# Allow CEs and XCache hosts not in the grid-mapfile to advertise to the central collector
2317
COLLECTOR.ALLOW_ADVERTISE_SCHEDD = $(COLLECTOR.ALLOW_ADVERTISE_SCHEDD), $(UNMAPPED_USERS), $(USERS)

config/05-ce-view-defaults.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ else
5151
# CE View drops privs after startup to the condor user, which doesn't
5252
# have access to the host key for auth. Use FS auth instead.
5353
CEVIEW.SEC_CLIENT_AUTHENTICATION_METHODS = FS
54-
MASTER.SEC_DEFAULT_AUTHENTICATION_METHODS = FS, GSI
54+
MASTER.SEC_DEFAULT_AUTHENTICATION_METHODS = FS
5555
endif
5656

5757
# Cherrypy does not respect SIGTERM signals from the master, so kill it (and everything else) quickly

config/condor-ce

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# /opt/condor
1616
# export PATH=/opt/condor/bin:/opt/condor/sbin:$PATH
1717

18-
# Example: Have GSI authorization use a different plugin for Condor than the
19-
# rest of the system.
20-
# export GSI_AUTHZ_CONF=/etc/condor-ce/gsi-authz.conf
21-
2218
# Example: Have the HTCondor-CE use a different hostname from the rest of
2319
# the system.
2420
# export CONDORCE_HOSTNAME=condorce.example.com

config/condor-ce-collector

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# /opt/condor
1616
# export PATH=/opt/condor/bin:/opt/condor/sbin:$PATH
1717

18-
# Example: Have GSI authorization use a different plugin for Condor than the
19-
# rest of the system.
20-
# export GSI_AUTHZ_CONF=/etc/condor-ce/gsi-authz.conf
21-
2218
# Example: Have the HTCondor-CE collector use a different hostname from the rest of
2319
# the system.
2420
# export CONDORCE_HOSTNAME=condorce.example.com

config/mapfiles.d/10-gsi.conf renamed to config/mapfiles.d/10-ssl.conf

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77
###############################################################################
88

9-
# Using GSI authentication for certificates requires the issuer CAs to be
10-
# installed in /etc/grid-security/certificates. If you would also like to
9+
# Using SSL authentication for IGTF certificates requires the issuer CAs to
10+
# be installed in /etc/grid-security/certificates. If you would also like to
1111
# authenticate VOMS attributes, *.lsc files should be installed in
1212
# /etc/grid-security/vomsdir/
1313

@@ -16,16 +16,16 @@
1616
# with '\/') with the Distinguished Name (DN) of the incoming user certificate
1717
# and the unix account under which the job should run, respectively:
1818
#
19-
# GSI /<DISTINGUISHED NAME>/ <USERNAME>
19+
# SSL /<DISTINGUISHED NAME>/ <USERNAME>
2020

2121
# VOMS attributes can also be used for mapping:
2222
#
23-
# GSI /<DISTINGUISHED NAME>,<VOMS FQAN 1>,<VOMS FQAN 2>,...,<VOMSFQAN N>/ <USERNAME>
23+
# SSL /<DISTINGUISHED NAME>,<VOMS FQAN 1>,<VOMS FQAN 2>,...,<VOMSFQAN N>/ <USERNAME>
2424

2525
# The second field should be a Perl Compatible Regular Expression (PCRE), thus
2626
# allowing you to accept any DN with a given VOMS FQAN. For example, to map any
2727
# GLOW certificate with the 'htpc' role to the 'glow' user, add a line that
2828
# looks like the following:
2929
#
30-
# GSI /.*,\/GLOW\/Role=htpc.*/ glow
30+
# SSL /.*,\/GLOW\/Role=htpc.*/ glow
3131
#

config/mapfiles.d/50-gsi-callout.conf

-12
This file was deleted.

rpm/htcondor-ce.spec

+1-2
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,8 @@ getent passwd condorce_webapp >/dev/null || \
303303
%config(noreplace) %{_sysconfdir}/condor-ce/config.d/03-managed-fork.conf
304304
%config(noreplace) %{_sysconfdir}/sysconfig/condor-ce
305305

306-
%config(noreplace) %{_sysconfdir}/condor-ce/mapfiles.d/10-gsi.conf
306+
%config(noreplace) %{_sysconfdir}/condor-ce/mapfiles.d/10-ssl.conf
307307
%config(noreplace) %{_sysconfdir}/condor-ce/mapfiles.d/10-scitokens.conf
308-
%config(noreplace) %{_sysconfdir}/condor-ce/mapfiles.d/50-gsi-callout.conf
309308
%config(noreplace) %{_sysconfdir}/condor-ce/mapfiles.d/90-ban.conf
310309

311310
%{_datadir}/condor-ce/config.d/01-ce-audit-payloads-defaults.conf

src/condor_ce_config_val

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_config_val "$@"

src/condor_ce_history

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_history "$@"

src/condor_ce_hold

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_hold "$@"

src/condor_ce_job_router_info

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ missing_tool()
77
}
88

99
. /usr/share/condor-ce/condor_ce_env_bootstrap
10-
export GSI_AUTHZ_CONF=/dev/null
1110
CONDOR_BIN_DIR=$(/usr/bin/dirname $(/usr/bin/which condor_version 2> /dev/null ) 2> /dev/null )
1211
if [ -z "$CONDOR_BIN_DIR" ]; then
1312
missing_tool

src/condor_ce_off

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_off "$@"

src/condor_ce_on

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_on "$@"

src/condor_ce_ping

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54

65
exec condor_ping "$@"
76

src/condor_ce_q

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_q "$@"

src/condor_ce_qedit

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_qedit "$@"

src/condor_ce_reconfig

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_reconfig "$@"

src/condor_ce_release

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_release "$@"

src/condor_ce_reschedule

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_reschedule "$@"

src/condor_ce_restart

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_restart "$@"

src/condor_ce_rm

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_rm "$@"

src/condor_ce_router_q

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_router_q -S "$@"

src/condor_ce_run

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def main():
234234
opts, args = parse_opts()
235235
if opts.remote:
236236
os.environ.setdefault("CONDOR_CONFIG", "/etc/condor-ce/condor_config")
237-
os.environ.setdefault('_condor_SEC_CLIENT_AUTHENTICATION_METHODS', 'SCITOKENS,GSI,FS')
237+
os.environ.setdefault('_condor_SEC_CLIENT_AUTHENTICATION_METHODS', 'SCITOKENS,SSL,FS')
238238

239239
if len(args) < 2:
240240
print("Usage: condor_ce_run <hostname> <command> [arg1] [arg2] [...]")

src/condor_ce_status

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_status "$@"

src/condor_ce_store_cred

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_store_cred "$@"

src/condor_ce_submit

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_submit "$@"

src/condor_ce_trace

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def main():
332332
raise ce.CondorRunException('ERROR: Could not find CE schedd at %s.\n' % job_info['schedd_name'] + \
333333
'Verify that the Scheduler daemon is up with `condor_ce_status -any`.')
334334

335-
os.environ.setdefault('_condor_SEC_CLIENT_AUTHENTICATION_METHODS', 'SCITOKENS,GSI,FS')
335+
os.environ.setdefault('_condor_SEC_CLIENT_AUTHENTICATION_METHODS', 'SCITOKENS,SSL,FS')
336336
check_authz(coll_ad, schedd_ad)
337337
try:
338338
job_info.update(ce.generate_job_files())

src/condor_ce_transform_ads

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_transform_ads "$@"

src/condor_ce_upgrade_check

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54
exec condor_upgrade_check -ce "$@"

src/condor_ce_version

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22

33
. /usr/share/condor-ce/condor_ce_env_bootstrap
4-
export GSI_AUTHZ_CONF=/dev/null
54

65
echo "\$HTCondorCEVersion: $(condor_ce_config_val HTCondorCEVersion | tr -d \") \$"
76
exec condor_version "$@"

0 commit comments

Comments
 (0)