I cannot believe it but I just changed eperson to person (As per error) and it worked).
I think I may finally be able to add a suffix and an entry into that suffix ! Thank goodness! On Sun, Dec 7, 2008 at 9:42 PM, Athar Shiraz Siddiqui <[EMAIL PROTECTED]> wrote: > I restarted the editor and I see dc=ibm dc=com but then when I try to > import this add employee ldif I get the following error : > Error while importing LDIF > [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for Add Request : > ClientEntry > dn: > 0.9.2342.19200300.100.1.1=c0007,2.5.4.11=people,0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com > objectclass: ePerson > objectclass: inetOrgPerson > uid: c0007 > mail: [EMAIL PROTECTED] > mail: [EMAIL PROTECTED] > sn: Baker > carlicense: 6ABDE3 > ou: Billing > labeleduri: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ > registeredaddress: 348 Parkside Dr Anywhere, IL 23480 > givenname: Susan > o: ibm > employeetype: full time > telephonenumber: +1 999 555 1262 > roomnumber: 0220 > facsimiletelephonenumber: +1 999 555 1292 > title: Billing worker > userpassword: '0x68 0x65 0x6C 0x6C 0x6F 0x6D 0x65 0x31 ' > employeenumber: 9899 > postaladdress: 347 Parkside Dr. Anywhere, IL 23480 > initials: SAB > cn: Susan Baker > preferredlanguage: en > departmentnumber: 2604 > homephone: +1 999 111 3425 > mobile: +1 999 555 141 > : OID for name 'eperson' was not found within the OID registry] > [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for Add Request : > ClientEntry > dn: > 0.9.2342.19200300.100.1.1=c0007,2.5.4.11=people,0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com > objectclass: ePerson > objectclass: inetOrgPerson > uid: c0007 > mail: [EMAIL PROTECTED] > mail: [EMAIL PROTECTED] > sn: Baker > carlicense: 6ABDE3 > ou: Billing > labeleduri: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ > registeredaddress: 348 Parkside Dr Anywhere, IL 23480 > givenname: Susan > o: ibm > employeetype: full time > telephonenumber: +1 999 555 1262 > roomnumber: 0220 > facsimiletelephonenumber: +1 999 555 1292 > title: Billing worker > userpassword: '0x68 0x65 0x6C 0x6C 0x6F 0x6D 0x65 0x31 ' > employeenumber: 9899 > postaladdress: 347 Parkside Dr. Anywhere, IL 23480 > initials: SAB > cn: Susan Baker > preferredlanguage: en > departmentnumber: 2604 > homephone: +1 999 111 3425 > mobile: +1 999 555 141 > : OID for name 'eperson' was not found within the OID registry] > > > I am using the following addemployee.ldif : > # this is a comment the # must be in FIRST column - very picky > > version: 1 > > ## > ------------------------------------------------------------------------------------------------ > ## ePerson is an AUXILLIARY objectclass from IBM and must > ## have a STRUCTURAL objectclass (inetOrgPerson in this case) > ## > ## this is an entry sequence and is preceded by a blank line > > dn: uid=c0007,ou=people,dc=ibm,dc=com > objectclass: ePerson > objectclass: inetOrgPerson > cn: Susan Baker > sn: Baker > givenName: Susan > initials: SAB > title: Billing worker > uid: c0007 > userpassword: hellome1 > mail: [EMAIL PROTECTED] > mail: [EMAIL PROTECTED] > homephone: +1 999 111 3425 > telephoneNumber: +1 999 555 1262 > facsimileTelephoneNumber: +1 999 555 1292 > mobile: +1 999 555 141 > roomNumber: 0220 > carLicense: 6ABDE3 > o: ibm > ou: Billing > departmentNumber: 2604 > registeredAddress: 348 Parkside Dr Anywhere, IL 23480 > postalAddress: 347 Parkside Dr. Anywhere, IL 23480 > employeeNumber: 9899 > employeeType: full time > preferredLanguage: en > labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ > > > > On Sun, Dec 7, 2008 at 9:38 PM, Athar Shiraz Siddiqui > <[EMAIL PROTECTED]> wrote: >> This time I added the following to server.xml >> >> >> <jdbmPartition id="ibm" cacheSize="100" suffix="dc=ibm,dc=com" >> optimizerEnabled="true" syncOnWrite="true"> >> </jdbmPartition> >> >> and I get a different error it did give an error about not finding >> attributes something or the other (with regards to the people being >> entered) >> >> Now when i re import the ldif i get: >> Error while importing LDIF >> [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for Add Request : >> ClientEntry >> dn: 0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com >> objectclass: dcObject >> objectclass: organization >> dc: ibm >> description: My company IBM. >> o: IBM, Inc. >> : dc=ibm,dc=com already exists!] >> [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for Add Request : >> ClientEntry >> dn: 0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com >> objectclass: dcObject >> objectclass: organization >> dc: ibm >> description: My company IBM. >> o: IBM, Inc. >> : dc=ibm,dc=com already exists!] >> >> >> On Sun, Dec 7, 2008 at 9:29 PM, Athar Shiraz Siddiqui >> <[EMAIL PROTECTED]> wrote: >>> I am trying to create a suffix as per the setup.ldif file located at >>> the bottom. It would not import it ofcourse and the error is : >>> >>> >>> Error while importing LDIF >>> [LDAP: error code 32 - NO_SUCH_OBJECT: failed for Add Request : >>> ClientEntry >>> dn: 0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com >>> objectclass: dcObject >>> objectclass: organization >>> dc: ibm >>> description: My company IBM. >>> o: IBM, Inc. >>> : dc=ibm,dc=com] >>> [LDAP: error code 32 - NO_SUCH_OBJECT: failed for Add Request : >>> ClientEntry >>> dn: 0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com >>> objectclass: dcObject >>> objectclass: organization >>> dc: ibm >>> description: My company IBM. >>> o: IBM, Inc. >>> : dc=ibm,dc=com] >>> >>> the log file says : >>> # this is a comment the # must be in first column >>> version: 1 >>> ## version not strictly necessary but good practice to include for >>> future releases >>> ## DEFINE DIR ROOT/BASE/SUFFIX #### >>> ## uses RFC 2377 format >>> ## replace ibm and com as necessary below >>> # >>> ## >>> ## dcObject is an AUXILLIARY objectclass and MUST >>> ## have a STRUCTURAL objectclass (organization in this case) >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> #!RESULT ERROR >>> #!CONNECTION ldap://localhost:10389 >>> #!DATE 2008-12-07T21:26:51.033 >>> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for Add >>> Request : ClientEntry dn: >>> 0.9.2342.19200300.100.1.25=ibm,0.9.2342.19200300.100.1.25=com >>> objectclass: dcObject objectclass: organization dc: ibm >>> description: My company IBM. o: IBM, Inc. : dc=ibm,dc=com] >>> dn: dc=ibm,dc=com >>> dc: ibm >>> description: My company IBM. >>> objectClass: dcObject >>> objectClass: organization >>> o: IBM, Inc. >>> >>> >>> >>> -- >>> >>> # this is a comment the # must be in first column >>> >>> version: 1 >>> >>> ## version not strictly necessary but good practice to include for >>> future releases >>> >>> ## DEFINE DIR ROOT/BASE/SUFFIX #### >>> ## uses RFC 2377 format >>> ## replace ibm and com as necessary below >>> # >>> >>> ## >>> ## dcObject is an AUXILLIARY objectclass and MUST >>> ## have a STRUCTURAL objectclass (organization in this case) >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> dn: dc=ibm,dc=com >>> dc: ibm >>> description: My company IBM. >>> objectClass: dcObject >>> objectClass: organization >>> o: IBM, Inc. >>> >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## FIRST Level hierarchy - people >>> ## uses mixed upper and lower case for objectclass >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> dn: ou=people,dc=ibm,dc=com >>> ou: people >>> description: All people in organization >>> objectclass: organizationalunit >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## SECOND Level hierarchy >>> ## ADD a single entry under FIRST (people) level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> ## the ou: Billing is the department >>> >>> >>> dn: uid=c0001,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Barbara Jensen >>> displayName: Babs Jensen >>> sn: Jensen >>> givenName: Barbara >>> initials: BJJ >>> title: Billing manager >>> uid: c0001 >>> userpassword: babs1me >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 111 2225 >>> telephoneNumber: +1 999 555 1862 >>> facsimileTelephoneNumber: +1 999 555 1992 >>> mobile: +1 999 555 1941 >>> roomNumber: 0209 >>> carLicense: 6ABC246 >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 5234 >>> employeeType: full time >>> preferredLanguage: fr, en-gb;q=0.8, en;q=0.7 >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## ADD another single entry to people level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> dn: uid=c0002,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Stu Pretzman >>> displayName: Stu Pretzman >>> sn: Pretzman >>> givenName: Stuart >>> initials: SP >>> title: Billing worker >>> uid: c0002 >>> userpassword: retire1 >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 133 2225 >>> telephoneNumber: +1 999 515 1862 >>> facsimileTelephoneNumber: +1 999 555 4444 >>> mobile: +1 999 555 1231 >>> roomNumber: 0210 >>> carLicense: 6ATUI6 >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 2345 >>> employeeType: full time >>> preferredLanguage: en-gb;q=0.8, en;q=0.7 >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## ADD another single entry to people level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> dn: uid=c0003,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Varad Singh >>> displayName: Varad T Singh >>> sn: Singh >>> givenName: Varad >>> initials: VTS >>> title: Billing worker >>> uid: c0003 >>> userpassword: chenaif >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 123 2425 >>> telephoneNumber: +1 999 515 1278 >>> facsimileTelephoneNumber: +1 999 555 1144 >>> mobile: +1 999 555 4531 >>> roomNumber: 0211 >>> carLicense: 5YTAKY >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 7895 >>> employeeType: full time >>> preferredLanguage: hi, en-gb;q=0.8, en;q=0.7 >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## ADD another single entry to people level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> dn: uid=c0004,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Steven Moyer >>> displayName: The Stevester >>> sn: Moyer >>> givenName: Steven >>> initials: SGM >>> title: Billing worker >>> uid: c0004 >>> userpassword: dogfood >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 123 2355 >>> telephoneNumber: +1 999 515 2323 >>> facsimileTelephoneNumber: +1 999 555 1900 >>> mobile: +1 999 555 2864 >>> roomNumber: 0212 >>> carLicense: STEVE! >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 3453 >>> employeeType: full time >>> preferredLanguage: en;q=0.7 >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## ADD another single entry to people level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> >>> dn: uid=c0005,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Carla VanDyke >>> displayName: C. VanDyke >>> sn: VanDyke >>> givenName: Carla >>> initials: CAVD >>> title: Billing worker >>> uid: c0005 >>> userpassword: cute23 >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 113 2355 >>> telephoneNumber: +1 999 665 2323 >>> facsimileTelephoneNumber: +1 999 545 1782 >>> mobile: +1 999 595 2864 >>> roomNumber: 0213 >>> carLicense: YEW342 >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 4342 >>> employeeType: full time >>> preferredLanguage: en >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >>> ## >>> ------------------------------------------------------------------------------------------------ >>> ## ADD another single entry to people level >>> ## >>> ## ePerson is an AUXILLIARY objectclass from IBM and MUST >>> ## have a STRUCTURAL objectclass (inetOrgPerson in this case) >>> ## >>> ## this is an ENTRY sequence and is preceded by a BLANK line >>> >>> >>> dn: uid=c0006,ou=people,dc=ibm,dc=com >>> objectclass: ePerson >>> objectclass: inetOrgPerson >>> cn: Billy Parker >>> displayName: Billy The Kid >>> sn: Parker >>> givenName: William >>> initials: WDP >>> title: Billing worker >>> uid: c0006 >>> userpassword: gun2s3 >>> mail: [EMAIL PROTECTED] >>> mail: [EMAIL PROTECTED] >>> homephone: +1 999 113 2223 >>> telephoneNumber: +1 999 665 2374 >>> facsimileTelephoneNumber: +1 999 545 3854 >>> mobile: +1 999 595 9864 >>> roomNumber: 0214 >>> carLicense: DTR32G >>> o: ibm >>> ou: Billing >>> departmentNumber: 2604 >>> registeredAddress: 348 Parkside Dr Anywhere, IL 23480 >>> postalAddress: 347 Parkside Dr. Anywhere, IL 23480 >>> employeeNumber: 5892 >>> employeeType: full time >>> preferredLanguage: en >>> labeledURI: http://www-1.ibm.com/servers/eserver/iseries/ldap/schema/ >>> >> >> >> >> -- >> Shiraz >> >> 500 Riverside Drive >> #425 >> New York, NY 10027 >> (703) 879-8342 (skype prefer) >> (703) 862 4796 (cell) >> (212) 316 8630 (landline) (extn 8630) >> > > > > -- > Shiraz > > 500 Riverside Drive > #425 > New York, NY 10027 > (703) 879-8342 (skype prefer) > (703) 862 4796 (cell) > (212) 316 8630 (landline) (extn 8630) > -- Shiraz 500 Riverside Drive #425 New York, NY 10027 (703) 879-8342 (skype prefer) (703) 862 4796 (cell) (212) 316 8630 (landline) (extn 8630)
