[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Reg Adding New Attributes



Hi,

Thanks for the reply.

I have to define my own schema so as to use the new attribute and it should be similar to the schema which is used to create new user like the one I mentioned in my first mail.

Also the methods that I found through google suggest to do some modification to the file slapd.conf where as in my case, I don't have any slapd.conf file at all.

Please comment.

Regards
Asimananda

On Thu, Sep 10, 2009 at 10:10 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
--On Thursday, September 10, 2009 9:33 AM -0700 Quanah Gibson-Mount <quanah@zimbra.com> wrote:

--On Thursday, September 10, 2009 3:20 PM +0530 Asimananda Mohanty
<asimananda.mohanty@gmail.com> wrote:

Hi All,


I have installed OpenLdap and PHPLdapAdmin.


I have added a user which objectclass is :


objectClass inetOrgPerson posixAccount shadowAccount


I need to add a new attribute which will be application specific
(application which will need LDAP authentication and based on the
attribute value, it will provide service to the user).


When I tried to do the same by adding attribute and value to ldif files
and then adding the ldif file, it showed error:


ldap_add: Undefined attribute type (17) additional info: AppAttribute1:
attribute type undefined.


What is AppAttribute1?  It's not a part of any of those schema.

Or more to the point -- Have you defined your own custom schema, with that attribute and whatever other custom attributes you need, with an objectClass holding them?

I suggest reading over <http://www.openldap.org/faq/data/cache/219.html>


--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration