Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Martin Kosek
On 03/23/2015 10:19 AM, Prashant Bapat wrote: Hi, I'm trying to add a custom attribute to user object. Below is the ldif i'm using. dn: cn=schema changetype: modify add: attributeTypes attributeTypes: (2.16.840.1.113730.3.8.11.31.1 NAME 'ipaSshSigTimestamp' DESC 'SSH public key

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Prashant Bapat
Martin, Thanks! Let me double check. Yes I was referring to the exact same pdf. Regards. --Prashant On 23 March 2015 at 16:49, Martin Kosek mko...@redhat.com wrote: On 03/23/2015 10:19 AM, Prashant Bapat wrote: Hi, I'm trying to add a custom attribute to user object. Below is the ldif

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Prashant Bapat
Ok the command you gave me worked. But I was following the PDF and below command never worked. ipa config-mod --addattr=ipaUserObjectClasses=ApigeeUserAttr Is that expected ? Thanks. --Prashant On 23 March 2015 at 17:37, Prashant Bapat prash...@apigee.com wrote: Martin, Thanks! Let me

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Rob Crittenden
Prashant Bapat wrote: Ok the command you gave me worked. But I was following the PDF and below command never worked. ipa config-mod --addattr=ipaUserObjectClasses=ApigeeUserAttr Is that expected ? Did you restart httpd after adding the schema? A cached copy is used and restarting will

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Prashant Bapat
Hi Rob, Yes I did restart it. Ok another problem. I'm not able to add this attr to existing users. Only the new ones. Any pointers ? Thanks. --Prashant On 23 March 2015 at 21:19, Rob Crittenden rcrit...@redhat.com wrote: Prashant Bapat wrote: Ok the command you gave me worked. But I was

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Martin Kosek
You would need to extend user-mod to add this objectclass to existing modified users. There is an example of such plugin in the PDF I mentioned. On 03/23/2015 05:22 PM, Prashant Bapat wrote: Hi Rob, Yes I did restart it. Ok another problem. I'm not able to add this attr to existing users.

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Prashant Bapat
​Thanks. I will take a look. However will using this attr only on new users from the time it was added have any issues ? Also, will replication include this new attr ?​ On 23 March 2015 at 21:57, Martin Kosek mko...@redhat.com wrote: You would need to extend user-mod to add this objectclass to

Re: [Freeipa-users] Adding a custom attribute to user object

2015-03-23 Thread Rob Crittenden
Prashant Bapat wrote: ​Thanks. I will take a look. However will using this attr only on new users from the time it was added have any issues ? Shouldn't cause any problems with IPA. Also, will replication include this new attr ?​ Yes. Schema is replicated as well. rob On 23 March 2015