Quote:
I am not a programmer by trade, I only use Kixtart for a login script


You just described 99% of the users here (including myself). \:\)

A long time ago, I wrote a script that would enumerate OUs. It is not what I consider some of my better code, as I was still new to kix at the time. At one point I started to rewrite it, but stopped for more reasons than I care to get into. The old function might be of use to you...

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Main=12245&Number=75055#Post75055

I still find it hard to believe this type of function has not already been done.