setting ad_conn url breaks ns_returnnotfound and several related
routines so I suggest you not do it.
I just half fixed a bug related to this although if you use hostname based subsites you will still have problems.
(see https://openacs.org/sdm/one-baf.tcl?baf_id=1586 for the details).