LDAP Importing truncating fields to 40 character

Luiz Lucena
Mega Sage

Hi all, 

Just created a LDAP OU Definition to import the groups we use for File Share, I'm importing them into the table cmdb_ci_storage_fileshare.

The first issue was the LDAP Target, the RDN was limited to 40 characters. I've increased that to 255 char.

After have finished to create the Data Source, run the test and looks good. But after ran the Load All Records, some of the fields are being truncated to 40 characters, even though the fields are setup to have more than 40. 

The field 'Name' is setup to 255 characters.

The field 'Source' as well.

Not sure if I missed something. Any ideas?

We're running Kingston, just updated to Patch 9.

find_real_file.png

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

Make sure import set table that you are using has more than 40 characters limit.  For groups it might be ldap_group_import.list

View solution in original post

3 REPLIES 3

Mike Patel
Tera Sage

Make sure import set table that you are using has more than 40 characters limit.  For groups it might be ldap_group_import.list

Yep, found the limit on the import set table.

 

Thanks you

tillu
Giga Expert

Hello,

I had the same issue and the first thing that I checked was the LDAP table - which solved the issue. However, my question would be:

why is it that the fields are created by default as 40 characters long?

What we noticed is that there is a difference when using a midserver. When we used direct LDAP integration, the fields where updated correctly. However, when we used LDAP through a mid-server all the fields have been created with a 40 character limit.