Tuesday, May 20, 2014

Re: [389-users] db2ldif vs ldapmodify: turn up debugging of db2ldif?

On May 20, 2014, at 12:42 PM, Noriko Hosoi <nhosoi@redhat.com> wrote:

>
>> On May 19, 2014, at 4:48 PM, Noriko Hosoi <nhosoi@redhat.com> wrote:
>>
>>> Could you send out an entry placed at "ending line 5457262 of file /var/tmp/students_fixed.ldif" to the list?
>> Probably. It's k-1student data so always a sensitive topic. I'll work on getting approval.
>>
>> Our student records are ~70 or so attributes, many of them custom so I wouldn't expect the list to troubleshoot problems with our schema/data. I was able to resolve several "violates attribute syntax" errors but adding the entries with ldapmodify which showed where the problem was—so far either empty attributes or data that doesn't match the RFC.
>>
>> I can, of course, work through it attribute by attribute but I'm surprised have to do that when usually the server logs the problem verbosely.
> What does this config param value?
> ldapserver ... -D <Directory_Manager> -w <Password> -b "cn=config" -s base nsslapd-syntaxlogging

it is off.

>
> If "off", could you try the import with "on"?
>
> Do you get any extra info in the error log?

On first blush that seems to have done it. I have to work through it but I like this output much better:

[20/May/2014:17:06:01 -0400] Syntax Check - "uid=7739428,ou=students,dc=philasd,dc=org": (modifyTimestamp) value #0 invalid per syntax
[20/May/2014:17:06:01 -0400] - import studentRoot: WARNING: skipping entry "uid=xxx,ou=students,dc=domain,dc=org" which violates attribute syntax, ending line 7527060 of file "/var/tmp/students_fixed.ldif"

thanks for your help,

-morgan


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

No comments:

Post a Comment