361 views

Description

When a user is importing data from LDAP via a MID Server, the 'glide.import_set_row.dynamically_add_fields' property is set to true to make sure columns are created, but the column does not get created. Even after adding 'mobile' to the attributes setting in LDAP Server on the instance, the column still does not exist even though the attribute exists.

Steps to Reproduce

Connect the MID Server and LDAP Server:

  1. Create a MID Server.
  2. Create an LDAP Server with loaded users (approximately 50).
  3. Log in to your instance and ensure the MID Server connects to your instance correctly.
  4. On your instance, go to the LDAP Servers and create an LDAP Server to connect to your LDAP Server via the MID Server. It is important this goes via your MID Server.
  5. Set LDAP Server attributes to "cn,source,dn,facsimiletelephonenumber,givenname,l,mail,manager,objectClass,ou,roomnumber,sn,mobile,telephonenumber,uid,userpassword,manager"
  6. On the LDAP server, find a specific user (e.g. jsmith). Add an attribute called mobile and add the value +61429385774 for jsmith.
  7. Navigate to System Import Sets > Data Sources and create a new LDAP data source.
  8. Set the LDAP target to Users (RDN: ou=People). Set the other properties as required (name, etc.).
  9. Click Load All Records.
  10. Go to imported data and find user jsmith.
    Expected result: This record should have the mobile column.
    Actual result: The mobile column does not exist for anyone.

Workaround

  1. Navigate to Systen Definition > Tables & Columns.
  2. Find and select the table LDAP User Import. A description for the table will be shown at the right side.
  3. The table will show the current columns available.
  4. Click on the  Edit Table button.
  5. Under the Columns section, next to Table Columns, click New. This will open the dictionary entry.
  6. In the Type field, enter String.
  7. In the Column Label field, enter the same name as the attribute that you want to add in LDAP, and preserve the case. For example, "nylAgentCode".
  8. Click on the Max length Field (notice that the Column name field will be automatically populated) and set it to a value according to the maximum length for this attribute in LDAP side. Do not save the record yet!
  9. Click on the related link Advanced view. A new Attributes field will be displayed.
  10. Enter the following in the Attributes field: import_attribute_name=<attribute_name_here>
    Note: <attribute_name_here> is the exact name of the attribute as it is in LDAP side. For example: import_attribute_name=nylAgentCode
  11. Click Update to update the record.
  12. Repeat these steps for each additional attribute desired in the import stage table.

Related Problem: PRB643379

Seen In

Fuji Patch 3
Fuji Patch 6
Fuji Patch 7 Hot Fix 5
Fuji Patch 9 Hot Fix 1
Geneva Patch 4

Fixed In

Helsinki

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-10-11 07:27:35
Published:2017-01-03