[Freeipa-users] IPA User Group Auto membership

Yogesh Sharma yks0000 at gmail.com
Sat Aug 15 15:22:06 UTC 2015


Hi Rob,

My concern was for new entries only.

-Yogesh Sharma

(Sent from my HTC)
On 15-Aug-2015 7:40 pm, "Rob Crittenden" <rcritten at 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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150815/05c164b1/attachment.htm>


More information about the Freeipa-users mailing list