LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ldap_add: Undefined attribute type (17) additional info: ojectclass: attribute type (https://www.linuxquestions.org/questions/linux-newbie-8/ldap_add-undefined-attribute-type-17-additional-info-ojectclass-attribute-type-729046/)

vinaytp 05-28-2009 04:06 AM

ldap_add: Undefined attribute type (17) additional info: ojectclass: attribute type
 
hi all...

I am trying to add entry to the directory..

hi all...

I am trying to add new entry to directory.....

dn: dc=example,dc=com
ojectclass: dcObject
objectclass: organization
o: example
dc: example

dn: cn=Manager,dc=example,dc=com
objectclass: trainee
cn: Manager

ldapadd -v -x -D "cn=Manager,dc=example,dc=com" -W -f first.ldif
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add ojectclass:
dcObject
add objectclass:
organization
add o:
example
add dc:
example
adding new entry "dc=example,dc=com"
ldap_add: Undefined attribute type (17)
additional info: ojectclass: attribute type undefined

I am getting this error...can anyone help me please...

Thanks in advance...

bathory 05-28-2009 04:29 AM

Quote:

I am trying to add new entry to directory.....

dn: dc=example,dc=com
ojectclass: dcObject
objectclass: organization
o: example
dc: example
You have a typo in the 2nd line (ojectclass instead of objectclass)

vinaytp 05-28-2009 04:57 AM

Thank you....


All times are GMT -5. The time now is 06:28 PM.