Author Topic: Empty company brackets in cn when importing CSV to internal LDAP  (Read 1178 times)

joernv

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Hey,
there seems to be a bug in the script that imports the CSV file to the internal LDAP server. This bug adds empty company brackets in the cn, after the first entry with a not empty company field was processed.

Example:

Import the following CSV:
firstname_1;lastname_1;;;;;
firstname_2;lastname_2;company_2;;;;
firstname_3;lastname_3;;;;;

This will result in the following entries being created on the LDAP server:
cn=firstname_1 lastname_1
cn=firstname_2 lastname_2 (company_2)
cn=firstname_3 lastname_3 ()

As you can see, the last entry has empty company brackets in the cn, which should not be there.

Kind regards,

Jörn
« Last Edit: August 15, 2016, 09:03:05 PM by joernv »

joernv

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Empty company brackets in cn when importing CSV to internal LDAP
« Reply #1 on: October 12, 2016, 09:18:03 PM »
Askozia 5.1 was released today, but unfortunately this bug still occurs :(