To allow users to query the collector (i.e. use condor_status) without a token, we suggest allowing the ANONYMOUS or CLAIMTOBE authentication method for the READ and CLIENT authorization levels. If you donât set the authentication methods, CLAIMTOBE
is enabled by default. If you use the get_htcondor tool to configure your machines, ANONYMOUS is enabled.
If youâre setting the authentication methods explicitly on your config file, then try using these values:
SEC_READ_AUTHENTICATION_METHODS = IDTOKENS, FS, ANONYMOUS
SEC_CLIENT_AUTHENTICATION_METHODS = IDTOKENS, FS, ANONYMOUS
The -authz argument to condor_token_create specifies authorization levels, not command names. UPDATE_SCHEDD_AD, QUERY_STARTD_ADS, and UPDATE_AD_GENERIC are command names and thus wonât do anything in the token.
The authorization levels are described here: https://htcondor.readthedocs.io/en/latest/admin-manual/security.html#access-level-descriptions
- Jaime
|