Re: [Freeipa-users] Email address for directory admin

2015-03-19 Thread Giedrius Tuminauskas
Thank you Rob, it worked like a charm.


Giedrius 

At Thursday, 19-03-2015 on 13:41 Martin Kosek wrote:


On 03/19/2015 02:36 PM, Rob Crittenden wrote:
> Giedrius Tuminauskas wrote:
>> Hi,
>>
>> I am curious, Is there a possibility to add email address for the
>> "admin" user in the IPA web UI?
>> In my current configuration "admin" user is a Linux system user and
also
>> used by IPA.
>> I think there should be possibility to enter an email address for
that
>> user, but UI has no button/link (add)
>>
>> Is it expected behavior?
>> Can you please suggest some tweaks, how to add it?
> 
> Not easily from the UI but possible from the cli. The admin user
lacks
> the inetOrgPerson objectclass which provides the mail attribute.
> 
> I haven't given this a great deal of thought so can't guarantee that
> there won't be any subtle issues now or in the future, but given
that
> this objectclass only has MAY attributes is should be ok.
> 
> $ kinit admin
> $ ipa user-mod --email ad...@example.com --addattr
> objectclass=inetorgperson admin
> 
> rob

Related closed tickets with reasoning why this is not done by default:

https://fedorahosted.org/freeipa/ticket/4941
https://fedorahosted.org/freeipa/ticket/1162

Martin


-- 
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] Email address for directory admin

2015-03-19 Thread Martin Kosek
On 03/19/2015 02:36 PM, Rob Crittenden wrote:
> Giedrius Tuminauskas wrote:
>> Hi,
>>
>> I am curious, Is there a possibility to add email address for the
>> "admin" user in the IPA web UI?
>> In my current configuration "admin" user is a Linux system user and also
>> used by IPA.
>> I think there should be possibility to enter an email address for that
>> user, but UI has no button/link (add)
>>
>> Is it expected behavior?
>> Can you please suggest some tweaks, how to add it?
> 
> Not easily from the UI but possible from the cli. The admin user lacks
> the inetOrgPerson objectclass which provides the mail attribute.
> 
> I haven't given this a great deal of thought so can't guarantee that
> there won't be any subtle issues now or in the future, but given that
> this objectclass only has MAY attributes is should be ok.
> 
> $ kinit admin
> $ ipa user-mod --email ad...@example.com --addattr
> objectclass=inetorgperson admin
> 
> rob

Related closed tickets with reasoning why this is not done by default:

https://fedorahosted.org/freeipa/ticket/4941
https://fedorahosted.org/freeipa/ticket/1162

Martin

-- 
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] Email address for directory admin

2015-03-19 Thread Rob Crittenden
Giedrius Tuminauskas wrote:
> Hi,
> 
> I am curious, Is there a possibility to add email address for the
> "admin" user in the IPA web UI?
> In my current configuration "admin" user is a Linux system user and also
> used by IPA.
> I think there should be possibility to enter an email address for that
> user, but UI has no button/link (add)
> 
> Is it expected behavior?
> Can you please suggest some tweaks, how to add it?

Not easily from the UI but possible from the cli. The admin user lacks
the inetOrgPerson objectclass which provides the mail attribute.

I haven't given this a great deal of thought so can't guarantee that
there won't be any subtle issues now or in the future, but given that
this objectclass only has MAY attributes is should be ok.

$ kinit admin
$ ipa user-mod --email ad...@example.com --addattr
objectclass=inetorgperson admin

rob

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