By: Madhu Unnikrishnan user 14 Aug 2020 at 4:38 p.m. CDT

3 Responses
Madhu Unnikrishnan gravatar
Hello, We are using gluu server 3.1.2 with custom ldap schema using this doc and when we try to import data to opendj, it is not importing people table. Please help. https://github.com/GluuFederation/community-edition-setup/tree/master/static/scripts/openldap2opendj_migration Thanks, Madhu

By Mohit Mali staff 17 Aug 2020 at 1:32 a.m. CDT

Mohit Mali gravatar
Hi Madhu Unnikrishnan, Thanks you for reaching out gluu support , Please describe in detail in which step its fail and what is the error message you are getting. Thanks and Regards Mohit Mali

By Madhu Unnikrishnan user 17 Aug 2020 at 9:44 a.m. CDT

Madhu Unnikrishnan gravatar
Hi Mohit, Below is the error we get and people directory is empty in opendj after migration from openldap. we have a custom schema and we follow documentation for migration at https://github.com/GluuFederation/community-edition-setup/tree/master/static/scripts/openldap2opendj_migration. So we assume there might me some additional steps to be done to migrate custom schema. ``` Entry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!0009.9CEA.E8D2.E8EC,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu read from LDIF starting at line 73745 is not valid because it violates the server's schema configuration: Entry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!0009.9CEA.E8D2.E8EC,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu violates the Directory Server schema configuration because it includes attribute goodgridAddress1 which is not allowed by any of the objectclasses defined in that entryEntry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!0008.1548.32B6.F206,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu read from LDIF starting at line 73745 is not valid because it violates the server's schema configuration: Entry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!0008.1548.32B6.F206,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu violates the Directory Server schema configuration because it includes attribute goodgridAddress1 which is not allowed by any of the objectclasses defined in that entry Entry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!000A.368F.2DFD.925D,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu read from LDIF starting at line 73745 is not valid because it violates the server's schema configuration: Entry inum=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF!0000!000A.368F.2DFD.925D,ou=people,o=@!74AD.A3AA.2164.E230!0001!F8C4.EBDF,o=gluu violates the Directory Server schema configuration because it includes attribute goodgridAddress1 which is not allowed by any of the objectclasses defined in that entry ```

By Mohit Mali staff 18 Aug 2020 at 2:07 a.m. CDT

Mohit Mali gravatar
hi Madhu, you can try one thing after running this script ( and after getting this error ) –> create custom attribute named “goodgridAddress1” in OpenDJ then re-run migration script. thanks and regards Mohit Mali