Thank everyone for your help with FreeTDS, I have finished my mod_auth_tds apache module, you can download it by following the download link at the following URL: http://ian.cwru.edu/projects/mod_auth_tds.html I hope this is helpful to someone, and the open source spirit lives on. Ian.