[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] could not map to a group



Nevermind. I had to reread another thread to get the answer.

Thanks TJ

On Sat, May 2, 2020 at 1:11 PM Rita <rmorgan466@xxxxxxxxx> wrote:
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.--


--
--- Get your facts first, then you can distort them as you please.--