I have installed openldap successfully with bdb.
I am facing problem with ldapadd details below :
[root@web1 bin]# ldapadd -x -D "cn=root,dc=bsoft,dc=com" -W -f entries1.ldif
Enter LDAP Password:
adding new entry "dc=bsoft, dc=com"
ldap_add: Naming violation
additional info: value of naming attribute 'dc' is not present in entry
ldif_record() = 64
*********************************************************
My entries1.ldif is Below::::::::::::::
I want to populate the above data to my ldap database , Please tell me what are
all the changes should i make in schema file.
Other than schema files if any please specify!!!
Waiting for U'r Early Replies !!!
Thank U :)
Best Regards
ashok
Viper_SB is right - you need to add these attributes to your schema - once that is done correctly you will no longer see those errors.
To do that just include another schema file in your slapd.conf:
include /etc/openldap/schema/local.schema
Then create a file in that location called local.schema - make it look like the other included schema files - but don't duplicate the OID's ....
Hi...........
Thank's a lot'zzz for u'r help & guidance.........
I read about Schemas in openldap.org/docs/..............
i was not able to understand , i could only understand very little..............
As you told to include another schema file in slapd.conf
include /etc/openldap/schema/local.schema
This i have done........
I am getting confused how exactly this local.schema file should look like..............
Please , kindly i request you to provide me the local.schema file for my requirnments.i,e (with respect to dhi.ldif file).............
I shall analyse your local.schema...further i can create of my own...........in future..
Please Help me !!!
Waiting for U'r early replies!!!
Thanku
Best Regards
ashok
The local.schema file should look like the other schema files in the schema directory.
Just take a look at http://www.openldap.org/doc/admin21/schema.html and see what you can do ...
Hi...friends...............
I studied the complete document of schema.html ....i was very much confused with specifying OID...i am not understanding how exactly i should use & develop my schema file ...with attributetypes & objectclass according to my requirnments...............
I request u to please provide me local.schema according to my dhi.ldif file..........
I hate to keep pointing you to links - but I hate to type out long replies. This really should help you solve your problems - as I assume you are trying to configure for Solaris authentication on an openLDAP server. All you will need to do is create the file and cut and paste the info provided - then make sure you are including that file in startup: