[Date Prev][Date Next]
Re: Reg Adding New Attributes
I have executed till step 4 but before executing ldapadd, I need to add my attribute type to the ldif.
The problem is that I am in a dilemma regarding
1. Whether to add the attribute manually,
2. About the OID and
3. How to proceed after the schema is created.
Please let me know if I am heading in the right direction.
On Fri, Sep 11, 2009 at 12:16 PM, Asimananda Mohanty <firstname.lastname@example.org>
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.
On Thu, Sep 10, 2009 at 10:10 PM, Quanah Gibson-Mount <email@example.com>
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?
--On Thursday, September 10, 2009 9:33 AM -0700 Quanah Gibson-Mount <firstname.lastname@example.org
--On Thursday, September 10, 2009 3:20 PM +0530 Asimananda Mohanty
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.
I suggest reading over <http://www.openldap.org/faq/data/cache/219.html>
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration