I am trying to do this
https://research.cs.wisc.edu/htcondor/HTCondorWeek2017/presentations/TueKnoeller_Schedd.pdfÂ(page 19)Â
So I have something like this
SCHEDD_CLASSAD_USER_MAP_NAMES = $(SCHEDD_CLASSAD_USER_MAP_NAMES) Groups
CLASSAD_USER_MAPFILE_Groups = mapfile
JOB_TRANSFORM_NAMES = AssignGroupÂ
JOB_TRANSFORM_AssignGroup @=end
[Â
copy_Owner="AcctGroupUser";
copy_AcctGroup="RequestedAcctGroup";Â
eval_set_AcctGroup=usermap("AssignGroup",AcctGroupUser,AcctGroup);
]Â
@end
Â# Prevent CheatingÂ
IMMUTABLE_JOB_ATTRS = $(IMMUTABLE_JOB_ATTRS) AcctGroup AcctGroupUserÂ
SUBMIT_REQUIREMENT_NAMES = $(SUBMIT_REQUIREMENT_NAMES) CheckGroupÂ
SUBMIT_REQUIREMENT_CheckGroup = AcctGroup isnt undefinedÂ
SUBMIT_REQUIREMENT_CheckGroup_REASON = strcat("Could not map '", Owner, "' to a group")
And my mapfile looks like this
*<tab>submituserA<tab>group_a
I mkeep seeing.Â
ERROR: could not map 'submituserA' to a group.
What am I doingÂwrong?
--
--- Get your facts first, then you can distort them as you please.--