Hi Rob, My concern was for new entries only.
-Yogesh Sharma (Sent from my HTC) On 15-Aug-2015 7:40 pm, "Rob Crittenden" <[email protected]> wrote: > Yogesh Sharma wrote: > >> Team,, >> >> We are having issue in configuring Auto Membership for Usergroup i.e. >> when ever we add/update a user to IPA , it should get added to a group >> on the basis of his/her Job Title. >> >> Below is the rule: >> >> [root@ipa-inf-prd-ng2-02 ~]# ipa automember-find dbausers >> Grouping Type: group >> --------------- >> 1 rules matched >> --------------- >> Description: DBA Auto membership >> Automember Rule: dbausers >> Inclusive Regex: title=(.*)((?i)(DBA))(.*) >> ---------------------------- >> Number of entries returned 1 >> ---------------------------- >> [root@ipa-inf-prd-ng2-02 ~]# >> >> >> We are setting Job Title as "Sr. DBA Mgr" , "DBA II" etc, However it is >> not working. >> >> We have tested the regex, and it seems to be working while testing it. >> > > The rules only apply to new entries. In order to apply rules to existing > entries run: ipa automember-rebuild --type=group > > rob > >
-- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
