On 06/07/2012 03:18 PM, Chaudhari, Rohit K. wrote:

I restarted the console.  It did not change anything.  Maybe I did not set up the attribute and objectClass correctly?  Any other suggestions would be welcome.


ldapsearch -xLLL -D "cn=directory manager" -W -s base -b "cn=schema" "objectclass=*" attributetypes objectclasses| grep yourattrname or yourobjclassname

do you see your attribute and objectclass?  Also look in /etc/dirsrv/slapd-YOURINST/schema/99user.ldif

 

Thanks.

From: Rich Megginson [mailto:rmeggins@redhat.com]
Sent: Thursday, June 07, 2012 4:36 PM
To: 389 Directory server developer discussion.
Cc: Chaudhari, Rohit K.
Subject: Re: [389-devel] How to create User-Defined Attribute and...

 

On 06/07/2012 02:34 PM, Chaudhari, Rohit K. wrote:

Hey 389 Development Users,

 

I had a question regarding making a user-defined attribute available when creating a new user in the 389 DS.  This is what I attempted to do but it did not work:

 

1.       Create a new attribute

2.       Create a new objectClass and add the attribute to that objectClass.

3.       Create a new user, but when I click “Add attribute” in the Advanced Properties box, the new attribute is not listed there.

 

If anyone has suggestions, they would be extremely useful at this time.


Did you restart the console?


 

Thanks,

 

Rohit

 




--
389-devel mailing list
389-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel