General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Outlook question . . .


Chronological Thread 
  • From: Steve Ankeny < >
  • To:
  • Subject: Re: [SOGo] Outlook question . . .
  • Date: Fri, 25 Sep 2015 10:43:42 -0400

On 09/24/2015 04:12 PM, Steve Ankeny wrote:
Setting up "new" Outlook 2010 account following the "Outlook Configuration" guide (pg 18)

It's giving me the following error --





"The action cannot be completed.  The name cannot be matched to a name in the address list."

Is this a server error or an Outlook error?  It appears to me to be an Outlook error.

Should the account be setup within Outlook as well as under "Control Panel | Mail"?

I am using all the suggestions on pg 18  Thx


update ---

DCERPC calls "still" shutdown Samba AD DC (on my system)

Samba AD DC with OpenChange ran perfectly yesterday for almost 12 hours.  However, it should be noted that no one was attempting to use Outlook until myself after 4PM EDT  That's when things went screwy.

I worked my way through the suggestions in the Configuration Guide (i.e., enabling Apache2 mods & confs, disabling 'reqtimeout' then querying 'rpcproxy.dll' over https/http from Firefox -- everything worked)

However, I was also not able to setup an Outlook 2010 account as evidenced above.

It was the querying 'rpcproxy.dll' that gave me suspicion.  It said "more data needed"

After those attempts, I found that OpenChange had "shutdown" Samba AD DC logins.

Amazingly, 'ocsmanager' continued to run in daemon mode.  Relevant errors are reproduced below.

'apache2 error.log' --

[Thu Sep 24 18:11:38.117806 2015] [:error] [pid 2110] RPCProxy started
[Thu Sep 24 18:11:38.118432 2015] [:error] [pid 2110] INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth cookie
[Thu Sep 24 18:11:50.651197 2015] [:error] [pid 2110] RPCProxy started
[Thu Sep 24 18:11:50.651672 2015] [:error] [pid 2110] INFO:openchange.web.auth.NTLMAuthHandler:client did not pass auth cookie
[Thu Sep 24 18:11:50.680363 2015] [:error] [pid 2110] INFO:openchange.web.auth.NTLMAuthHandler:acquiring lock /var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock (2110)
[Thu Sep 24 18:11:50.763411 2015] [:error] [pid 2229] INFO:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler daemon spawned with pid 2229
[Thu Sep 24 18:11:51.265125 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 1
[Thu Sep 24 18:11:52.267209 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 2
[Thu Sep 24 18:11:53.269349 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 3
[Thu Sep 24 18:11:54.271378 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 4
[Thu Sep 24 18:11:55.273437 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 5
[Thu Sep 24 18:11:56.275497 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 6
[Thu Sep 24 18:11:57.277639 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 7
[Thu Sep 24 18:11:58.279731 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 8
[Thu Sep 24 18:11:59.281756 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 9
[Thu Sep 24 18:12:00.283799 2015] [:error] [pid 2229] ERROR:openchange.web.auth.NTLMAuthHandler:NTLMAuthHandler: caught exception when connecting to samba host: attempt 10
[Thu Sep 24 18:12:01.291685 2015] [:error] [pid 2229] CRITICAL:openchange.web.auth.NTLMAuthHandler:Uncaught exception: NTLMAuthHandler: unable to connect to samba host aborting after 10$
[Thu Sep 24 18:12:01.291770 2015] [:error] [pid 2229] Traceback (most recent call last):
[Thu Sep 24 18:12:01.291815 2015] [:error] [pid 2229]   File "/usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py", line 155, in _daemonize
[Thu Sep 24 18:12:01.291848 2015] [:error] [pid 2229]     self._run_as_daemon()
[Thu Sep 24 18:12:01.291858 2015] [:error] [pid 2229]   File "/usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py", line 228, in _run_as_daemon
[Thu Sep 24 18:12:01.291869 2015] [:error] [pid 2229]     now)):
[Thu Sep 24 18:12:01.291878 2015] [:error] [pid 2229]   File "/usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py", line 294, in _process_client_request
[Thu Sep 24 18:12:01.291888 2015] [:error] [pid 2229]     = self._handle_negotiate(client_id, ntlm_payload)
[Thu Sep 24 18:12:01.291898 2015] [:error] [pid 2229]   File "/usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py", line 396, in _handle_negotiate
[Thu Sep 24 18:12:01.291908 2015] [:error] [pid 2229]     " aborting after %d attempts" % attempt)
[Thu Sep 24 18:12:01.291918 2015] [:error] [pid 2229] Exception: NTLMAuthHandler: unable to connect to samba host aborting after 10 attempts
[Thu Sep 24 18:12:01.291927 2015] [:error] [pid 2229]
[Thu Sep 24 18:12:01.292162 2015] [:error] [pid 2229] CRITICAL:openchange.web.auth.NTLMAuthHandler:Exiting
[Thu Sep 24 18:12:01.296413 2015] [:error] [pid 2110] WARNING:openchange.web.auth.NTLMAuthHandler:received empty response (2110)


HTTPS is running alongside HTTP with an SSL certificate created by the server itself.

'ocsmanager.log' --

Traceback (most recent call last):
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in run
    result = self.command()
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 279, in command
    self.logging_file_config(log_fn)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 784, in logging_file_config
    parser.read([config_file])
  File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
    raise e
ConfigParser.ParsingError: File contains parsing errors: /etc/ocsmanager/ocsmanager.ini
        [line 57]: ' enabled = true\n'
Removing PID file /var/run/ocsmanager/ocsmanager.pid


'samba log.samba' --

[2015/09/24 19:40:04.637824,  0] ../lib/util/become_daemon.c:136(daemon_ready)
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/09/24 19:40:05.624208,  0] libmapi/oc_log.c:52(oc_logv)
  MAPIPROXY server mode enabled
[2015/09/24 19:40:05.627776,  0] libmapi/oc_log.c:54(oc_logv)
  Using MySQL backend for openchangedb: mysql://openchange-user:$passwd@localhost/openchange
[2015/09/24 19:40:05.639117,  0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1672(dcesrv_exchange_emsmdb_init)
  ===============================================================
[2015/09/24 19:40:05.639517,  0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1672(dcesrv_exchange_emsmdb_init)
  OPENCHANGE INTERNAL ERROR: pid 1487
[2015/09/24 19:40:05.639771,  0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1672(dcesrv_exchange_emsmdb_init)
  [exchange_emsmdb] Unable to initialize openchangedb
[2015/09/24 19:40:05.689186,  0] mapiproxy/libmapiproxy/fault_util.c:53(debug_print_backtrace)
  BACKTRACE: 14 stack frames:
   #00 /usr/lib/x86_64-linux-gnu/libmapiproxy.so.0(debug_print_backtrace+0x96) [0x7f7aa7dcee6d]
   #01 /usr/lib/x86_64-linux-gnu/libmapiproxy.so.0(openchange_abort+0x75) [0x7f7aa7dcefdb]
   #02 /usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0xfca7) [0x7f7aa52b0ca7]
   #03 /usr/lib/x86_64-linux-gnu/libmapiproxy.so.0(+0x9c2a) [0x7f7aa7db4c2a]
   #04 /usr/lib/x86_64-linux-gnu/libmapiproxy.so.0(mapiproxy_server_init+0x89) [0x7f7aa7db4cdc]
   #05 /usr/lib/x86_64-linux-gnu/samba/dcerpc_server/dcesrv_mapiproxy.so(+0x16577) [0x7f7aa8005577]
   #06 /usr/lib/x86_64-linux-gnu/libdcerpc-server.so.0(dcesrv_init_context+0x79) [0x7f7ab31ec069]
   #07 /usr/lib/x86_64-linux-gnu/samba/service/dcerpc.so(+0xc99) [0x7f7ab3461c99]
   #08 /usr/lib/x86_64-linux-gnu/samba/process_model/standard.so(+0x1656) [0x7f7ab81e0656]
   #09 /usr/lib/x86_64-linux-gnu/samba/libservice.so.0(task_server_startup+0x4a) [0x7f7ac5dc2eda]
   #10 /usr/lib/x86_64-linux-gnu/samba/libservice.so.0(server_service_startup+0x93) [0x7f7ac5dc1b83]
   #11 samba(+0x9a35) [0x7f7ac70cba35]
   #12 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f7ac2c1cec5]
   #13 samba(+0x5e4e) [0x7f7ac70c7e4e]
[2015/09/24 19:40:05.691229,  0] ../source4/rpc_server/dcerpc_server.c:1194(dcesrv_init_context)
  dcesrv_init_context: failed to init endpoint server = 'mapiproxy': NT_STATUS_INTERNAL_ERROR
[2015/09/24 19:40:05.691508,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
  task_server_terminate: [Failed to startup dcerpc server task]
  STATUS=daemon 'samba' finished starting up and ready to serve connectionssamba_terminate: Failed to startup dcerpc server task


I've reset my 'smb.conf' to exclude DCERPC calls, and Samba AD DC works perfectly.  For some reason, I cannot initialize OpenChange DCERPC calls, and particularly 'exchange_emsmdb'

I am using MariaDB 10.0.21, Ubuntu Trusty 14.04, Dovecot & Postfix, OpenChange/OCSManager 2.4

What can I do to troubleshoot or resolve this problem?  OpenChange/OCSManager installed after the recent upgrade but when they're initiated by DCERPC calls, they shutdown my Samba AD DC server.

thx for consideration --



PNG image




Archive powered by MHonArc 2.6.18.

Top of page