You are not logged in.

#1 2009-06-07 06:13:40

p.navid
Member
Registered: 2007-11-03
Posts: 14

Problem with IMAP server using NTLM authentication

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

#2 2009-06-07 06:43:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Problem with IMAP server using NTLM authentication

digestmd5.c:4037:15: error: #elif with no expression

change that line from "#elif" to "#elif 1".

Offline

#3 2009-06-07 10:21:32

p.navid
Member
Registered: 2007-11-03
Posts: 14

Re: Problem with IMAP server using NTLM authentication

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

#4 2009-06-07 10:38:28

p.navid
Member
Registered: 2007-11-03
Posts: 14

Re: Problem with IMAP server using NTLM authentication

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

#5 2009-06-08 11:41:21

p.navid
Member
Registered: 2007-11-03
Posts: 14

Re: Problem with IMAP server using NTLM authentication

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

Board footer

Powered by FluxBB