fetchmail-friends
[Top] [All Lists]

[fetchmail]NTLM question

2002-01-24 18:20:07
Here is the log file from a fetchmail -v -v ( version 5.9.0 )
 
<SNIP>
fetchmail: 5.9.0 querying iss-au-xch-mel (protocol IMAP) at Fri, 25 Jan 2002
11:04:56 +1100 (EST)
fetchmail: IMAP< * OK Microsoft Exchange IMAP4rev1 server version
5.5.2654.89 (ISS-AU-XCH-MEL.invensys.com) ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 IDLE LITERAL+ LOGIN-REFERRALS
MAILBOX-REFERRALS NAMESPACE AUTH=NTLM
fetchmail: IMAP< A0001 OK CAPABILITY completed.
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 AUTHENTICATE NTLM
fetchmail: IMAP< +
NTLM Request:
      Ident = NTLMSSP
      mType = 1
      Flags = 0000b207
       User = SANDREWS
     Domain = NTDOMAIN
fetchmail: IMAP>
TlRMTVNTUAABAAAAB7IAAAgACAAgAAAABgAGACgAAABTQU5EUkVXU0lTU0FOWg==
fetchmail: IMAP< +
TlRMTVNTUAACAAAADAAMADAAAAAFgoEACzLLh0vavWwAAAAAAAAAAG4AbgA8AAABSQBTAFMAQQBO
AFoAAgAMAEkAUwBTAEEATgBaAAEAHABJAFMAUwAtAEEAVQAtAFgAQwBIAC0ATQBFAEwAAwA2AEkA
UwBTAC0AQQBVAC0AWABDAEgALQBNAEUATAAuAGkAbgB2AGUAbgBzAHkAcwAuAGMAbwBtAAAAAAA=
NTLM Challenge:
      Ident = NTLMSSP
      mType = 2
     Domain = NTDOMAIN
      Flags = 00818205
  Challenge = 0b 32 cb 87 4b da bd 6c 
NTLM Response:
      Ident = NTLMSSP
      mType = 3
     LmResp = 66 32 45 af 1f 41 a2 ec 57 d3 5d fe 3d d9 10 6a c8 b4 b7 16 c1
b1 ce bd 
     NTResp = ab 14 40 bf 60 09 78 65 da bc 66 f4 64 c6 70 e2 28 e6 d7 b4 a6
67 2f 54 
     Domain = NTDOMAIN
       User = SANDREWS
        Wks = SANDREWS
       sKey = 
      Flags = 00818205
fetchmail: IMAP>
TlRMTVNTUAADAAAAGBAYAEAAAAAYABgAWAAAAAwAAABwAAAAEAAQAHwAAAAQABAAjAAAAAAAAABc
AAAABYKBAGYyRa8eQaLsV9Nd/j3ZEGrItLcWwbHOvasUQL9gCXhl2bxm9GTGcOIo5te0pmcvVEkA
UwBTAEEATgBaAFMAQQBOAEQAUgBFAFcAUwBTAEEATgBEAFIARQBXAFMA
fetchmail: IMAP< A0002 NO There is no such mailbox on this server
fetchmail: IMAP> A0003 *
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< A0003 BAD Protocol Error: "Unknown command found"
fetchmail: IMAP< * BYE Microsoft Exchange IMAP4rev1 server version
5.5.2654.89 signing off
fetchmail: IMAP< A0004 OK LOGOUT completed.
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 3
fetchmail: Deleting fetchids file.
<SNIP>
 
I can see the bits in smbutil.c where the domain is split ( at the '@'
character ) and the NTDOMAIN is taken as the first part after the '@' but
the log file still tells me no mailbox for this user.  The NTDOMAIN is
different from the SMTP-DOMAIN Ie "NTDOMAIN" != "Invensys.com".
 
My NT name is SANDREWS and NT-DOMAIN is NTDOMAIN, but the mailbox / email
address on that Exchange server knows my name and domain to be
Stuart(_dot_)Andrews(_at_)invensys(_dot_)com 
<mailto:Stuart(_dot_)Andrews(_at_)invensys(_dot_)com> . 
 
Is this settable in .fetchmailrc  using aka or localdomains to reset the
USER and FOLDER or just setting the FOLDER ?
 
Stuart Andrews


 
<Prev in Thread] Current Thread [Next in Thread>