Hello.

Some of you may recall me asking some questions a few months ago in regards to using QMail LDAP in a dmz with a Active Directory backend. I got some teriffic reponses and managed to get it working, and have had it going in a limited production for testing. I have been working on a small how to documenting how to make this work as I think it may be of interest to others.

I have however found one issue I haven't been able to work around. In qmail-ldap.h I modified the LDAP_MAILALTERNATE to be "proxyAddresses" which is the equivalent of "mailAlternateAdress". There problem is the proxyAddresses in Active Directory aren't just smtp address, they could be other types like x400, ms mail, notes, or groupwise. When an address is an smtp address is is prefixed with "smtp:". Therefore I think I will need to make some sort of patch to strip out the "smtp:" portion of an address so the comparison will succeed.

I was wondering if someone with a more intimate knowledge of the source code could tell me where I should be looking. From my own digging through the source code I think I will need to modify the qldap_get_attr function to strip "smtp:" if it exists in the values returned from the directory. My knowledge of C is limited, so I was hoping if I was pointed in the right direction I might be able to muddle my way thought making my own patch to Qmail LDAP.

Thanks.

_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.

Reply via email to