LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-28-2009, 04:06 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
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...
 
Old 05-28-2009, 04:29 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,883

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
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)
 
Old 05-28-2009, 04:57 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Thank you....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba4: LDAP memberOf: attribute type undefined touzeaud Linux - Server 10 04-13-2009 07:03 PM
LDAP_add: Type or value exists (20) akhtar.bhat Linux - Server 2 02-19-2008 02:15 PM
Warning ___ specifies undefined mime type/service type mbvpixies78 Linux - Software 0 12-29-2007 10:25 PM
OpenLDAP error ldapadd: Undefined attribute type (17) gergaholic Linux - Server 2 11-11-2007 03:03 AM
Cause of "Attribute /sys/devices/pci [...] type does not exist"? demoman Linux - Hardware 0 04-16-2006 02:10 AM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration