A Forum reader recently asked:

“I am using IDM 3.0.1 with an AD driver setup working. I would like to have the format of the fullname changed. Currently when the admin creates a user in iManager, the fullname is in the format of “Firstname Lastname” and this syncronizes over to AD in the same format. We have all of the old accounts in “Lastname, Firstname” format and all the new accounts in “Firstname Lastname” format. Management would like to keep the accounts in the “Lastname, Firstname” format because it is easier to search in the Exchange address lists.

The problem is that the accounts don’t want to sync when the accounts are created “Lastname, Firstname” in iManager. How can I accomplish this task through IDM?”

And here is the response from Rowan Truscott …


You need to change the placement rule. You most likely want users to log into AD with their eDirectory CN. This translates to a CN -> sAMAccountName mapping.

The naming attribute for AD is Full Name. When you create a new account, you need to specify this in the destination DN of the placement rule. Your current placement rule probably has something like this:

Source DN(convert="true", length="1",

So, edit you user placement rule to look something like this:

<description>User Placement</description>
      <if-class-name mode="nocase" op="equal">User</if-class-name>
      <if-op-attr name="Surname" op="available"/>
      <if-op-attr name="Given Name" op="available"/>
        <token-text xml:space="preserve">cn=</token-text>
        <token-op-attr name="Surname"/>
        <token-text xml:space="preserve">, </token-text>
        <token-op-attr name="Given Name"/>

If you want the eDirectory full name changed to Surname, Given Name then add this rule on either the create or command transform policy of the Subscriber channel:

<description>Write back reformatted Full Name</description>
      <if-operation mode="case" op="equal">add</if-operation>
      <if-class-name mode="nocase" op="equal">User</if-class-name>
    <do-clear-src-attr-value name="Full Name"/>
    <do-set-src-attr-value name="Full Name">
        <token-src-attr name="Surname"/>
        <token-text xml:space="preserve">, </token-text>
        <token-src-attr name="Given Name"/>

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
Jan 28, 2008
8:10 am
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management IT Security Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Supported Troubleshooting Workflow