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.comwrote:
--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
Hi, I tried to follow the steps defined in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html under Configuration section (steps numbered 1 to 5).
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.
Regards Asimananda
On Fri, Sep 11, 2009 at 12:16 PM, Asimananda Mohanty < asimananda.mohanty@gmail.com> wrote:
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.comwrote:
--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
Hi Quanah,
I have finally added a new schema and a new attribute to my ldap.... Like I stated in one of my previous mails, I followed the steps 1 to 4 given in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
https://help.ubuntu.com/8.10/serverguide/C/openldap-server.htmlThen I modified the ldif and added new olcAttributeTypes (AppAttribute1) and olcObjectClasses (inetOrgPerson1) and then I followed step 5.
This way I have been successful in adding a new attribute to my ldap.
Thanks Quanah.
Thanks all.
Regards Asimananda
On Fri, Sep 11, 2009 at 12:33 PM, Asimananda Mohanty < asimananda.mohanty@gmail.com> wrote:
Hi, I tried to follow the steps defined in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html under Configuration section (steps numbered 1 to 5).
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
- Whether to add the attribute manually,
- About the OID and
- How to proceed after the schema is created.
Please let me know if I am heading in the right direction.
Regards Asimananda
On Fri, Sep 11, 2009 at 12:16 PM, Asimananda Mohanty < asimananda.mohanty@gmail.com> wrote:
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.comwrote:
--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
openldap-technical@openldap.org