Re: [Freeipa-users] how to make email as mandatory field before user creation
On 01/03/2017 06:45 PM, Petr Vobornik wrote: On 01/02/2017 08:46 PM, nirajkumar.si...@accenture.com wrote: Hi Prtr, Can you please suggest how to do it with plugins and which plugin I need to use and how to integrate that plugin with freeipa. Thanks Niraj Disclaimer: the example below is not really save because it doesn't handle e.g. stageusers ... which you could perhaps ensure by replacing "user" with "baseuser" in the whole proposed "zuserplugin.py" file. It should not break more stuff than the proposed change I should hope :) and it might not work with later releases of FreeIPA because IPA doesn't provide any supported plugin API yet. Example: https://pvoborni.fedorapeople.org/plugins/backend/zuserplugin.py Old(FreeIPA 3.3) extending guide: http://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf -Original Message- From: Petr Vobornik [mailto:pvobo...@redhat.com] Sent: 02 January 2017 22:21 To: Singh, NirajKumar <nirajkumar.si...@accenture.com>; freeipa-users@redhat.com Subject: Re: [Freeipa-users] how to make email as mandatory field before user creation On 01/02/2017 05:00 PM, nirajkumar.si...@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 This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. __ www.accenture.com -- 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
Re: [Freeipa-users] how to make email as mandatory field before user creation
On 01/02/2017 08:46 PM, nirajkumar.si...@accenture.com wrote: > Hi Prtr, > > Can you please suggest how to do it with plugins and which plugin I need to > use and how to integrate that plugin with freeipa. > > Thanks > Niraj Disclaimer: the example below is not really save because it doesn't handle e.g. stageusers and it might not work with later releases of FreeIPA because IPA doesn't provide any supported plugin API yet. Example: https://pvoborni.fedorapeople.org/plugins/backend/zuserplugin.py Old(FreeIPA 3.3) extending guide: http://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf > > -Original Message- > From: Petr Vobornik [mailto:pvobo...@redhat.com] > Sent: 02 January 2017 22:21 > To: Singh, NirajKumar <nirajkumar.si...@accenture.com>; > freeipa-users@redhat.com > Subject: Re: [Freeipa-users] how to make email as mandatory field before user > creation > > On 01/02/2017 05:00 PM, nirajkumar.si...@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 > > > > This message is for the designated recipient only and may contain privileged, > proprietary, or otherwise confidential information. If you have received it > in error, please notify the sender immediately and delete the original. Any > other use of the e-mail by you is prohibited. Where allowed by local law, > electronic communications with Accenture and its affiliates, including e-mail > and instant messaging (including content), may be scanned by our systems for > the purposes of information security and assessment of internal compliance > with Accenture policy. > __ > > www.accenture.com > -- 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
Re: [Freeipa-users] how to make email as mandatory field before user creation
Hi Prtr, Can you please suggest how to do it with plugins and which plugin I need to use and how to integrate that plugin with freeipa. Thanks Niraj -Original Message- From: Petr Vobornik [mailto:pvobo...@redhat.com] Sent: 02 January 2017 22:21 To: Singh, NirajKumar <nirajkumar.si...@accenture.com>; freeipa-users@redhat.com Subject: Re: [Freeipa-users] how to make email as mandatory field before user creation On 01/02/2017 05:00 PM, nirajkumar.si...@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 This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. __ www.accenture.com -- 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
Re: [Freeipa-users] how to make email as mandatory field before user creation
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: >> On 01/02/2017 05:00 PM, nirajkumar.si...@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 -- 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
Re: [Freeipa-users] how to make email as mandatory field before user creation
Doesn't get the user a default mailaddress when you add him under the REALM domain ? 2017-01-02 17:50 GMT+01:00 Petr Vobornik: > On 01/02/2017 05:00 PM, nirajkumar.si...@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 -- 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
Re: [Freeipa-users] how to make email as mandatory field before user creation
On 01/02/2017 05:00 PM, nirajkumar.si...@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