Discussion:
Could not create MAPI Profile - Incorrect user credentials or insufficient privileges
Bell D.
2008-07-07 13:12:42 UTC
Permalink
Hello,

We're currently setting up Brutus to work with our Exchange 2007 deployment. We've managed to set up an Ubuntu 8.04 system with Brutus. Upon logging into the Brutus server Evolution responds with "Authentication failure" and asks the user to try again.

The logs suggest that authentication succeeded. The next errors following are:

- HRESULT = 0x80040115 (MAPI_E_NETWORK_ERROR)
- Could not create MAPI Profile - Incorrect user credentials or insufficient privileges
- Spawn failure: spawn_error_mapi_no_profile

I'd appreciate it if you could help us debug what is going on!

Full logs follow:

#166
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 340
Message : Log entry header

#167
Severity : INFORMATION
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 354
Following : #166
Message : Validating LifeLine object reference

#168
Severity : INFORMATION
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 355
Following : #166
Message : IOR:010000002600000049444c3a6f6d632e6272757475732f4252555455532f427275747573436865636b3a312e30000000040000000054424f580000000101020005000000554e4958000000000e0000003135322e37382e3133352e34350000002b0000002f746d702f6f726269742d6c6f63616c2f6c696e632d313435362d302d3162336462623131393261333200000000000000000000540000000101023023000000646863702d3133352d3034352e73746166662e6973732e736f746f6e2e61632e756b0030f58e30301c00000000000000be1d4cc3e300cd8ec8c20c203b8f165d04000000be89ef2300000000caaedfba58000000010102002b0000002f746d702f6f726269742d6c6f63616c2f6c696e632d313435362d302d316233646262313139326133320000000000001c00000000000000be1d4cc3e300cd8ec8c20c203b8f165d04000000be89ef2301000000480000000100000002000000050000001c00000000000000be1d4cc3e300cd8ec8c20c203b8f165d04000000be89ef23
01000000140000000100000001000105000000000901010000000000

#169
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 402
Message : Log entry header

#170
Severity : INFORMATION
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 403
Following : #169
Message : Entering BRUTUS_BrutusLogOn_i::Logon()

#171
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 165
Message : Log entry header

#172
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 420
Following : #169
Message : SOTON\db2z07 authenticated sucessfully - proceeding with logon

#173
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 432
Following : #169
Message : 9cbf13d6-49d7-11dd-9f2b-000c29b8d73a

#174
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 760
Message : Log entry header

#175
Severity : CRITICAL
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 1171
Following : #0
Message : Windows is still buggy...

#176
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 526
Message : Log entry header

#177
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 577
Following : #176
Message : MAPILogonEx(9cbf13d6-49d7-11dd-9f2b-000c29b8d73a) failed - MAPI_E_NOT_FOUND

#178
Severity : *** LEADING LOG ENTRY ***
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain dontroller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 304
Message : Log entry header

#179
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 315
Following : #178
Message : 9cbf13d6-49d7-11dd-9f2b-000c29b8d73a

#180
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 316
Following : #178
Message : SMTP:d.bell-Fv7Bckdh1xP10XsdtD+***@public.gmane.org

#181
Severity : PRIVATE
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 317
Following : #178
Message : iss-brutus.soton.ac.uk

#182
Severity : INFORMATION
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 442
Message : HRESULT = 0x80040115 (MAPI_E_NETWORK_ERROR)

#183
Severity : BUG
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 443
Following : #178
Message : Could not configure message service

#184
Severity : CRITICAL
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads4.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 2960
File : .\main.cpp
Line : 1194
Following : #0
Message : Could not create MAPI Profile - Incorrect user credentials or insufficient privileges

#185
Severity : CRITICAL
UTC time : Fri Jul 04 14:44:00 2008
Mark : From a Log:: class instance
Brutus server : ISS-BRUTUS
Windows domain : soton.ac.uk
Domain controller : \\ads1.soton.ac.uk
Brutus version : Brutus Server 1.0.0.0
MAPI version : Microsoft Exchange 6.5
Process ID : 1692
File : ..\servant_impl\BrutusLogOnS_impl.cpp
Line : 538
Following : #169
Message : Spawn failure: spawn_error_mapi_no_profile

Cheers,

--

David Bell
UNIX Systems Administrator
Information System Services
d.bell-Fv7Bckdh1xP10XsdtD+***@public.gmane.org
02380 592403



David Bell
UNIX Systems Administrator
Information System Services
d.bell-Fv7Bckdh1xP10XsdtD+***@public.gmane.org
02380 592403
Jules Colding
2008-07-07 13:42:13 UTC
Permalink
Hi Bell,
Post by Bell D.
We're currently setting up Brutus to work with our Exchange 2007
deployment.
OK, that should work.
Post by Bell D.
We've managed to set up an Ubuntu 8.04 system with Brutus. Upon
logging into the Brutus server Evolution responds with
"Authentication failure" and asks the user to try again.
Yes, the MAPI server side profile was not created.
Post by Bell D.
The logs suggest that authentication succeeded.
It did, no need to worry about user credentials.
Post by Bell D.
- HRESULT = 0x80040115 (MAPI_E_NETWORK_ERROR)
That one is the important one. Forget about the other two.

You are getting MAPI_E_NETWORK_ERROR from
IMsgServiceAdmin::ConfigureMsgService(). That error code is somewhat
of a umbrella code as it may mean:


1) The Exchange server does not exists

2) No connection to the Exchange server (down or unroutable)

3) The user under which Brutus Server is running does not have network
access rights

4) The user which attempts to log on to Exchange does not have network
access rights


Have you followed the README to the letter?

Best regards,
jules

Loading...