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

Re: errors output from ldapadd command

you must edit your slapd.conf and include several schema files -- the
following lines should be sufficient (though you may have to change the
path depending on where they live on your system)

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/inetorgperson.schema

	good luck,

anmais@in.gr wrote:
> Dear friends,
> Congratulations for your usefull work!
> My name is Antonis Maisoglou and I'm a student of Technological Educational Institution in
> Thessaloniki(Greece).First of all sorry for my bad English.
> I've taken up a project about directory services.I downloaded openldap-2.0.23 from
> your site and I started to configure my database.However,when I run the command
> ldapadd in order to add an entry,the output of this command is:
> ldap_add: object class violation
>           additional info: attribute 'mail' not allowed
> ldif_record()=65
> Additionally,
>  ldap_add: object class violation
>           additional info: unrecognized objectclass 'inetOrgPerson'
> ldif_record()=65
> Would you be kind enough to give some help about these errors?
> Thanks a lot and sorry for your usefull time.