Same is working when I use userclass instead of title as because options to set title is available only after creating user where as we can set the userclass while creating user from UI.
*Best Regards,* *__________________________________________* *Yogesh Sharma* *Email: yks0...@gmail.com <yks0...@gmail.com> | Web: www.initd.in <http://www.initd.in/> * *RHCE, VCE-CIA, RACKSPACE CLOUD U Certified* <https://www.fb.com/yks0000> <http://in.linkedin.com/in/yks0000> <https://twitter.com/checkwithyogesh> <http://google.com/+YogeshSharmaOnGooglePlus> On Sat, Aug 15, 2015 at 8:52 PM, Yogesh Sharma <yks0...@gmail.com> wrote: > Hi Rob, > > My concern was for new entries only. > > -Yogesh Sharma > > (Sent from my HTC) > On 15-Aug-2015 7:40 pm, "Rob Crittenden" <rcrit...@redhat.com> 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