Hi Dave,
Accessing the db with cache is about the fastest way I could do this. Besides having neglected to add the cache.. (my bad), there's probably some global variables with the info in it.. Please, "core-ize" this code. Maybe add it to ad_conn url?
I'm not sure if there's an nsunix anymore. If there is, I just wanted to cover all cases.
cheers,
Torben