Hi all,
I was trying to use the mailsource mechanism with ldapaliasd, and I found that
the filtering doesn't seem to work. I think the reason is around line 302 in
ldapaliasd.c.
The code
else if (*sourcefield)
strcat(filter, "(!(source=*))");
should be changed to
else if (*sourcefield)
{
strcat(filter, "(!(");
strcat(filter, sourcefield);
strcat(filter, "=*))");
}
so that we get all aliases which have no "sourcefield" set, as desired.
I've made this change and all starts working, in my case, but I think that
something similar should be applied also around line 402 of the same file.
Paolo
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users