Looks like there's a typo in include/ldap_log.h, shouldn't LDAP_DEBUG_DEPRECATED have a unique definition? Perhaps 0x4000? -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support