directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Athar Shiraz Siddiqui" <atharshi...@gmail.com>
Subject Re: Attempt to Create Suffix
Date Mon, 08 Dec 2008 02:38:38 GMT
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
<atharshiraz@gmail.com> 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)

Mime
View raw message