Populating the AD Home Directory Field with IDM

Novell Cool Solutions: Tip
By Tim Edmonds

Digg This - Slashdot This

Posted: 5 Sep 2007



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"/>

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© Micro Focus