[Freeipa-users] how to make email as mandatory field before user creation

Petr Vobornik pvoborni at redhat.com
Mon Jan 2 18:08:23 UTC 2017


On 01/02/2017 06:21 PM, Matt . wrote:
> Doesn't get the user a default mailaddress when you add him under the
> REALM domain ?


By default user gets an email address but there ways to skip it:

   ipa user-add test2 --first Test --last Test --email=
   ipa config-mod --emaildomain=


Btw, in Web UI, user adder dialog doesn't have email field. To add it
there a Web UI plugin would be needed.

> 
> 2017-01-02 17:50 GMT+01:00 Petr Vobornik <pvoborni at redhat.com>:
>> On 01/02/2017 05:00 PM, nirajkumar.singh at accenture.com wrote:
>>> Hi Team,
>>>
>>> Is there any way to make email as mandatory field before creating any user from
>>> WEBUI or Console?
>>>
>>> Thanks & Regards,
>>>
>>> Niraj Kumar Singh
>>>
>>
>> Hello Niraj,
>>
>> FreeIPA doesn't support such configuration out of the box.
>>
>> It is theoretically possible to implement IPA server side plugin to mark
>> the field as required. It may not be straightforward though.
>>
>> --
>> Petr Vobornik
>>
>> --
>> 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
> 


-- 
Petr Vobornik




More information about the Freeipa-users mailing list