[Pkg-samba-maint] Bug#613793: openchangeclient: Segfault in ndr_charset_length () from /usr/lib/libndr.so.0

Mathieu Parent math.parent at gmail.com
Thu Feb 17 09:53:05 UTC 2011


Package: openchangeclient
Version: 1:0.11~bzr1932-1
Severity: important

I have done the following:

$ rm -r ~/.openchange/
$ mapiprofile --newdb
$ mapiprofile --encrypt --profile=<login> \
 --username=<login> --password=<pwd> \
 --domain=<DOMAIN> --realm=<REALM> \
 --address=<IPofExch2010> --create
$ mapiprofile --profile=<login> --default
$ openchangeclient --mailbox


The last command crashed:

$ gdb --args openchangeclient --mailbox
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/openchangeclient...(no debugging symbols
found)...done.
(gdb) r
Starting program: /usr/bin/openchangeclient --mailbox
[Thread debugging using libthread_db enabled]
Unknown enumerated value 'ADS' for 'security'

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31	../sysdeps/x86_64/multiarch/../strlen.S: Aucun fichier ou dossier de ce type.
	in ../sysdeps/x86_64/multiarch/../strlen.S
Current language:  auto
The current source language is "auto; currently asm".
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1  0x00007ffff67a027f in ndr_charset_length () from /usr/lib/libndr.so.0
#2  0x00007ffff7adc72d in ?? () from /usr/lib/libmapi.so.0
#3  0x00007ffff69fa090 in dcerpc_binding_handle_call_send () from
/usr/lib/libdcerpc.so.0
#4  0x00007ffff69fa63c in dcerpc_binding_handle_call () from
/usr/lib/libdcerpc.so.0
#5  0x00007ffff7b5750a in dcerpc_EcDoConnect_r () from /usr/lib/libmapi.so.0
#6  0x00007ffff7aa736e in emsmdb_connect () from /usr/lib/libmapi.so.0
#7  0x00007ffff7abd781 in Logon () from /usr/lib/libmapi.so.0
#8  0x00007ffff7ac2cff in MapiLogonProvider () from /usr/lib/libmapi.so.0
#9  0x00007ffff7ac2f77 in MapiLogonEx () from /usr/lib/libmapi.so.0
#10 0x0000000000409e38 in ?? ()
#11 0x00007ffff6ca2c4d in __libc_start_main (main=<value optimized
out>, argc=<value optimized out>, ubp_av=<value optimized out>,
    init=<value optimized out>, fini=<value optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffe378) at
libc-start.c:228
#12 0x0000000000403889 in ?? ()
#13 0x00007fffffffe378 in ?? ()
#14 0x000000000000001c in ?? ()
#15 0x0000000000000002 in ?? ()
#16 0x00007fffffffe62d in ?? ()
#17 0x00007fffffffe647 in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb) n

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) q


Some (maybe) relevant info:
- Evolution-MAPI doesn't work either ("Authentication failed" but
nothing to network-capture)
- Environment:
  - AD (Active Directory) Windows 2003 with schema extended to 2008r2
  - MS Exchange 2010 with a CAS array
- Winbind is installed (samba3) on my workstationi (Kerberos SSO works)
$ cat /etc/samba/smb.conf
[global]
workgroup = <DOMAIN>
realm = <REALM>
security = ADS

winbind use default domain = yes
template homedir = /home/%U
template shell = /bin/bash

allow trusted domains = no
winbind offline logon = yes

idmap backend = tdb
idmap uid = 1100-9999
idmap gid = 1100-9999

idmap config <DOMAIN> : backend     = rid
idmap config <DOMAIN> : range       = 10000 - 59999


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openchangeclient depends on:
ii  libc6  2.11.2-10                         Embedded GNU C Library: Shared lib
ii  libdce 4.0.0~alpha15~git20110124.dfsg1-2 DCE/RPC client library
ii  libica 0.44-3                            iCalendar library implementation i
ii  libldb 1:0.9.24-1                        LDAP-like embedded database - shar
ii  libmag 5.04-5                            File type determination library us
ii  libmap 1:0.11~bzr1932-1                  Client library for the MAPI protoc
ii  libmap 1:0.11~bzr1932-1                  Administration client library for
ii  libndr 4.0.0~alpha15~git20110124.dfsg1-2 NDR marshalling library
ii  libocp 1:0.11~bzr1932-1                  Scripting library for the MAPI pro
ii  libpop 1.16-1                            lib for parsing cmdline parameters
ii  libsam 4.0.0~alpha15~git20110124.dfsg1-2 Samba host configuration library
ii  libsam 4.0.0~alpha15~git20110124.dfsg1-2 Samba utility function library
ii  libsub 0.0.6-1                           Unit testing protocol - C/C++ shar
ii  libtal 2.0.5-1                           hierarchical pool based memory all
ii  libtev 0.9.10-1                          talloc-based event loop library -

openchangeclient recommends no packages.

Versions of packages openchangeclient suggests:
pn  nagios3                       <none>     (no description available)
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction

-- no debconf information





More information about the Pkg-samba-maint mailing list