I’m working on importing a Ldif from an older version of Redhat and have a few dozen of the below: is there a way to increase debugging such that it tells me which attribute violates syntax? I’ve looked and can’t find anything. We have a moderately complex custom schema and it’s tough to guess which attribute is a problem.
[02/Oct/2017:19:26:51.469805388 -0400] - WARN - import_producer - import userRoot: Skipping entry “uid=user1,ou=employees,dc=domain,dc=org" which violates attribute syntax, ending line 2988973 of file "/home/morgan/devldap03.ldif”
Thanks,
-morgan
Hi Morgan,
On 10/04/2017 03:46 PM, Morgan Jones wrote:
I’m working on importing a Ldif from an older version of Redhat and have a few dozen of the below: is there a way to increase debugging such that it tells me which attribute violates syntax?
Yes, set nsslapd-syntaxlogging to "on" under the cn=config entry
Regards, Mark
I’ve looked and can’t find anything. We have a moderately complex custom schema and it’s tough to guess which attribute is a problem.
[02/Oct/2017:19:26:51.469805388 -0400] - WARN - import_producer - import userRoot: Skipping entry “uid=user1,ou=employees,dc=domain,dc=org" which violates attribute syntax, ending line 2988973 of file "/home/morgan/devldap03.ldif”
Thanks,
-morgan _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Thanks Mark, I should have been able to find that.
Is there a downside to leaving this on all the time?
-morgan
On Oct 4, 2017, at 3:53 PM, Mark Reynolds mareynol@redhat.com wrote:
Hi Morgan,
On 10/04/2017 03:46 PM, Morgan Jones wrote:
I’m working on importing a Ldif from an older version of Redhat and have a few dozen of the below: is there a way to increase debugging such that it tells me which attribute violates syntax?
Yes, set nsslapd-syntaxlogging to "on" under the cn=config entry
Regards, Mark
I’ve looked and can’t find anything. We have a moderately complex custom schema and it’s tough to guess which attribute is a problem.
[02/Oct/2017:19:26:51.469805388 -0400] - WARN - import_producer - import userRoot: Skipping entry “uid=user1,ou=employees,dc=domain,dc=org" which violates attribute syntax, ending line 2988973 of file "/home/morgan/devldap03.ldif”
Thanks,
-morgan _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
389-users@lists.fedoraproject.org