I have ndrdump set to false explicitly but it doesn’t help... When the print occurs, this is the call stack...
Thread [1] 65722 [core: 0] (Suspended : Breakpoint) ndr_print_EcDoRpcExt2() at ndr_mapi.c:2,046 0x7fffda33cc7a ndr_print_function_debug() at ndr.c:341 0x7ffff6ac5b20 dcerpc_bh_do_ndr_print() at dcerpc.c:418 0x7ffff59515a4 dcerpc_binding_handle_call_send() at binding_handle.c:382 0x7ffff46c4d8e dcerpc_binding_handle_call() at binding_handle.c:533 0x7ffff46c5358 mapiproxy_op_dispatch() at dcesrv_mapiproxy.c:635 0x7fffda3383a9 dcesrv_request() at dcerpc_server.c:999 0x7fffe37f23ab dcesrv_process_ncacn_packet() at dcerpc_server.c:1,144 0x7fffe37f291f dcesrv_read_fragment_done() at dcerpc_server.c:1,583 0x7fffe37f3d69 _tevent_req_notify_callback() at tevent_req.c:101 0x7ffff3e58a47 <...more frames...> It seems that dcerpc_bh_do_ndr_print checks for the DCERPC_DEBUG_PRINT_IN bit being set in some flags, I don’t know how that is controlled. From: Jesús García Sáez Sent: Tuesday, May 26, 2015 8:49 AM To: Development list Subject: Re: [openchange][devel] Understanding OC_DEBUG By default is disabled, you only get ndrdump if you have dcerpc_mapiproxy:ndrdump = true in your smb.conf. If you run samba as a daemon, all logging should go to file, if you run samba with -i option, then it will go to stdout On Tue, May 26, 2015 at 2:19 PM, Murray McCulligh <mmccull...@gmail.com> wrote: Thanks that did it. Two quick follow up questions... 1) Is there a way to configure this to go to a log file and not just stdout? 2) I always kind of assumed that ndrdump in the smb.conf file configured the dumping of the requests/respsonses but it seems to have no affect. Is there some way to turn off the dumping? Murray From: Jesús García Sáez Sent: Tuesday, May 26, 2015 3:48 AM To: Development list Subject: Re: [openchange][devel] Understanding OC_DEBUG Right now there is a "bug" with the logging system that increases the log level of each message by 1, so to get the same output you must increment the samba log level by 1 (which means log level = 6). More info here: https://github.com/openchange/openchange/pull/307 On Tue, May 26, 2015 at 7:59 AM, Murray McCulligh <mmccull...@gmail.com> wrote: I’m recently upgraded to OpenChange 2.3 and noticed that when I run mapiproxy I still see dumps of requests/respsonses but all the nice log entries from dcesrv_mapiproxy.c are gone. How do I enable the new logging system? I read /doc/developer/logging.txt but it says nothing about how to configure it. Murray _______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel ------------------------------------------------------------------------------ _______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel _______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel -------------------------------------------------------------------------------- _______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel
_______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel