Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 50730 invoked from network); 8 Dec 2008 02:46:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2008 02:46:23 -0000 Received: (qmail 7443 invoked by uid 500); 8 Dec 2008 02:46:35 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 7412 invoked by uid 500); 8 Dec 2008 02:46:35 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 7401 invoked by uid 99); 8 Dec 2008 02:46:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 18:46:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of atharshiraz@gmail.com designates 72.14.220.154 as permitted sender) Received: from [72.14.220.154] (HELO fg-out-1718.google.com) (72.14.220.154) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 02:45:05 +0000 Received: by fg-out-1718.google.com with SMTP id 13so766925fge.3 for ; Sun, 07 Dec 2008 18:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wt1I5vSgSqvOrxjuWMS5qY+M8i5apUWS6ol0qYs9FKA=; b=nPrpqafaTB+e6N8+hg/rgIWRg9wMTlKy+OosMylrp7TznuaW+bwp53zC3WIkZD5e6w Jn+j2vzHGpI4MEBwq84Ak/EkhPYzCaeYTyGZXkBNWzlQsNfQ+GnUd/TUi3evf5aHummn 9yf7OT+xEzhQ7QB/ZFLIyLBNeoHilRi6IyEQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=o/ZUL04hB+/GGrLTZIAmXXB1NRyUwVANjA+ktWqZlNPVby7MFzNV/NNrSHS0S6xz/y uNO+7RAmrxuAy8vCpjujyWffbB/8KrXwdczPdt8Xws8dpvX2M2Y1EU1XpGmCHIuxAHwn er4imIJ/CF9xV5Y9SD3JFKMqRDRfwAfBFnafo= Received: by 10.181.59.6 with SMTP id m6mr1057480bkk.20.1228704342866; Sun, 07 Dec 2008 18:45:42 -0800 (PST) Received: by 10.180.250.2 with HTTP; Sun, 7 Dec 2008 18:45:42 -0800 (PST) Message-ID: Date: Sun, 7 Dec 2008 21:45:42 -0500 From: "Athar Shiraz Siddiqui" To: users@directory.apache.org Subject: Re: Attempt to Create Suffix In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org 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 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: sbaker@ibm.com > mail: susan.baker@ibm.com > 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: sbaker@ibm.com > mail: susan.baker@ibm.com > 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: sbaker@ibm.com > mail: susan.baker@ibm.com > 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 > wrote: >> This time I added the following to server.xml >> >> >> > optimizerEnabled="true" syncOnWrite="true"> >> >> >> 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 >> 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: bjensen@ibm.com >>> mail: barbara.jensen@ibm.com >>> 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: spretz@ibm.com >>> mail: stuart.pretzman@ibm.com >>> 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: vsingh@ibm.com >>> mail: varad.singh@ibm.com >>> 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: moyer1@ibm.com >>> mail: steven.moyer@ibm.com >>> 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: carla3@ibm.com >>> mail: carla.vandyke@ibm.com >>> 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: wparker@ibm.com >>> mail: william.parker@ibm.com >>> 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)