I have fixed the other error I had. Right now I have patched the source tree with qmail-ldap-1.03-20011001.patch and everything makes correctly. I should note here I am trying to compile with Netscape SDK.
When I patch the qmail-ldap-control-* to the source. It fails. It seems to be looking for an Openldap installation. Has anyone found a way around this? Please let me know. Thanks Gene
