Sounds like the incontainer UDF is not working properly in your script.
Maybe you can do this to check if the incontainer udf runs properly.

Code:

$rc= InContainer('OU=TPA,dc=mfmlegal,dc=com','User')[0]
?$rc
sleep 5



this way you can see if the incontainer udf returns something and what it is.



PS, if you want to post code please put it between the code tags (in te list below the textfield when posting).


Edited by R2D2 (2005-03-30 11:35 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.