[Freeipa-users] IPA User Group Auto membership

Rob Crittenden rcritten at redhat.com
Sat Aug 15 14:10:57 UTC 2015


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 at 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 at 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




More information about the Freeipa-users mailing list