But if you are smart about the binding, you could bind to a specific domain controller to create the user. If you select the DC that is in the same site as the file/print resource the account would be immediately available.

One could add an additional option parmeter call $DCname. Then the LDAP string would look like:
Code:
 $LDAPpath = "LDAP://" + $DCname + "/" + $ContainerDN + $sDNdom 

if the parm was used. $DCname would default back to the $Domain value if not used. This would permit the creation of objects on a specific DC.
_________________________
Home page: http://www.kixhelp.com/hb/