<p dir="ltr">Hi Rob,</p>
<p dir="ltr">My concern was for new entries only.</p>
<p dir="ltr">-Yogesh Sharma</p>
<p dir="ltr">(Sent from my HTC)</p>
<div class="gmail_quote">On 15-Aug-2015 7:40 pm, "Rob Crittenden" <<a href="mailto:rcritten@redhat.com">rcritten@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yogesh Sharma wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Team,,<br>
<br>
We are having issue in configuring Auto Membership for Usergroup i.e.<br>
when ever we add/update a user to IPA , it should get added to a group<br>
on the basis of his/her Job Title.<br>
<br>
Below is the rule:<br>
<br>
[root@ipa-inf-prd-ng2-02 ~]# ipa automember-find  dbausers<br>
Grouping Type: group<br>
---------------<br>
1 rules matched<br>
---------------<br>
   Description: DBA Auto membership<br>
   Automember Rule: dbausers<br>
   Inclusive Regex: title=(.*)((?i)(DBA))(.*)<br>
----------------------------<br>
Number of entries returned 1<br>
----------------------------<br>
[root@ipa-inf-prd-ng2-02 ~]#<br>
<br>
<br>
We are setting Job Title as "Sr. DBA Mgr" , "DBA II" etc, However it is<br>
not working.<br>
<br>
We have tested the regex, and it seems to be working while testing it.<br>
</blockquote>
<br>
The rules only apply to new entries. In order to apply rules to existing entries run: ipa automember-rebuild --type=group<br>
<br>
rob<br>
<br>
</blockquote></div>