A Forum reader recently asked:

“How can we populate the AD home directory field using IDM? Is it even possible?”

And here’s the response from Tim Edmonds …


Set the AD Attributes as below:

  • homeDrive – Drive to which Home Directory will be mapped
  • homeDirectory – URL of Home Directory, including the user portion

Here’s some sample XML that uses a GCV to set the specifics of the homeDirectory. It also uses CN for a directory name (sorry if it word-wraps and gets a bit confusing …)

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE policy PUBLIC 
    <description>Create Home Directory</description>
    <comment xml:space="preserve">Create the Home Directory for the user 
in AD</comment>
        <if-op-attr name="CN" op="available"/>
      <do-set-dest-attr-value class-name="User" name="homeDrive">
        <arg-value type="string">
          <token-text xml:space="preserve">H:</token-text>
      <do-set-dest-attr-value class-name="User" name="homeDirectory">
        <arg-value type="string">
          <token-attr name="CN"/>
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.

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
By: tse7147
Sep 5, 2007
3:26 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