You are not logged in.
Hi
I have the problem using KMail on kdemod 4.2.3. We have an MS Exchange server here. I could login to it in Kubuntu using KMail but it doesn't work in Arch, giving me the following error:
Authorization failed, Unable to authenticate via NTLM.
The server 192.168.4.155 replied:
SASL(-4): no mechanism available: No worthy mechs found authentication not supported
I know this is due to the lack of NTLM support in the sasl2 package. I tried to compile the package (sasl ver. 2.1.23 and ver. 2.1.22) myself and copy the generated modules to the /usr/lib/sasl2 directory but I get the following error when I run make:
digestmd5.c:3703: warning: unused parameter 'serverin'
digestmd5.c:3704: warning: unused parameter 'serverinlen'
digestmd5.c: In function 'digestmd5_client_mech_step3':
digestmd5.c:3838: warning: unused parameter 'prompt_need'
digestmd5.c:3839: warning: unused parameter 'clientout'
digestmd5.c:3840: warning: unused parameter 'clientoutlen'
digestmd5.c: In function 'digestmd5_client_mech_step':
digestmd5.c:4000: warning: pointer targets in assignment differ in signedness
digestmd5.c:4037:15: error: #elif with no expression
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/home/navid/cyrus-sasl-2.1.23/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/navid/cyrus-sasl-2.1.23'
make: *** [all] Error 2
Any idea how I can make it work? My workplace's email server is MS Exchange and uses NTLM (and only NTLM) for authentication so I have to make it work. Any help is aprreciated in advance.
Offline
digestmd5.c:4037:15: error: #elif with no expression
change that line from "#elif" to "#elif 1".
Offline
I did. It still doesn't work. I also used ABS but it still doesn't work. I wonder how the packagers compiled this headache.
Offline
Sounds like this is not the kind of things I can handle on my own. How can I ask the packages maintainers to compile the package with NTLM support? I need it at my worksplace so much. Can someone help?
Offline
I've been trying for the last 3 days but I can't make it work. Can someone who has managed to compile cyrus-sasl with NTLM support, kindly send me his compiled modules or insrtuct me to compile it myself?
Offline