Thanks Luke. Since DFS is not used in this particular instance, I'll try it with the re-define commented out in safe_strings.h so that I can compile. Hopefully I can then get on with the LDAP stuff for this site :-) Cheers, Gordon Smith, MCP Network Administrator Horticultural Automation Ltd.