[Pkg-samba-maint] Bug#404266: smbclient: nmbclient segfaults when asked to lookup a name through avahi

Norman Ramsey nr at eecs.harvard.edu
Sat Dec 23 00:05:17 UTC 2006


Package: smbclient
Version: 3.0.23d-2+b1
Severity: important

The following command causes a segfault:

  smbclient -L bloodhound.local -N

The machine 'bloodhound.local' is a Windows XP machine running Apple's
'Bonjour for Windows'.  As you can see below, other apps can find it:

  : nr at curlycoat 10308 ; avahi-resolve -4 -n bloodhound.local
  bloodhound.local        192.168.2.33

I've attached an strace output from the segfaulting run and also my smb.conf.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages smbclient depends on:
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii  libkrb53 1.4.4-4                         MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13+b1                    OpenLDAP libraries
ii  libncurs 5.5-5                           Shared libraries for terminal hand
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  libreadl 5.2-1                           GNU readline and history libraries
ii  samba-co 3.0.23d-2+b1                    Samba common files used by both th

smbclient recommends no packages.

-- no debconf information
-------------- next part --------------
execve("/usr/bin/smbclient", ["smbclient", "-L", "bloodhound.local", "-N"], [/* 103 vars */]) = 0
uname({sys="Linux", node="curlycoat", ...}) = 0
brk(0)                                  = 0x8149000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f9a000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2/cmov", 0xafeb5dc8) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xafeb5dc8) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/tls/i686/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/tls/sse2/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2/cmov", 0xafeb5dc8) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xafeb5dc8)     = -1 ENOENT (No such file or directory)
open("/lib/tls/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/cmov", 0xafeb5dc8)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/i686/sse2/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2/cmov", 0xafeb5dc8) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xafeb5dc8)    = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/cmov", 0xafeb5dc8)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xafeb5dc8)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2/cmov", 0xafeb5dc8)    = -1 ENOENT (No such file or directory)
open("/lib/sse2/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xafeb5dc8)         = -1 ENOENT (No such file or directory)
open("/lib/cmov/libreadline.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/cmov", 0xafeb5dc8)         = -1 ENOENT (No such file or directory)
open("/lib/libreadline.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\274\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=188760, ...}) = 0
mmap2(NULL, 196196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7f6a000
mmap2(0xa7f95000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a) = 0xa7f95000
mmap2(0xa7f99000, 3684, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f99000
close(3)                                = 0
open("/lib/tls/i686/cmov/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\345"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=263040, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f69000
mmap2(NULL, 264196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7f28000
mmap2(0xa7f60000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xa7f60000
mmap2(0xa7f68000, 2052, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f68000
close(3)                                = 0
open("/lib/tls/i686/cmov/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\10\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=21868, ...}) = 0
mmap2(NULL, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7efa000
mmap2(0xa7eff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xa7eff000
mmap2(0xa7f01000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f01000
close(3)                                = 0
open("/lib/tls/i686/cmov/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200$\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=67364, ...}) = 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ee7000
mmap2(0xa7ef6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xa7ef6000
mmap2(0xa7ef8000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7ef8000
close(3)                                = 0
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=76548, ...}) = 0
mmap2(NULL, 87808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ed1000
mmap2(0xa7ee3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xa7ee3000
mmap2(0xa7ee5000, 5888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7ee5000
close(3)                                = 0
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ecd000
mmap2(0xa7ecf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xa7ecf000
close(3)                                = 0
open("/lib/tls/i686/cmov/libpopt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libpopt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libpopt.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpopt.so.0", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26444, ...}) = 0
mmap2(NULL, 29484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ec5000
mmap2(0xa7ecc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xa7ecc000
close(3)                                = 0
open("/lib/tls/i686/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/i686/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/i686/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/i686/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/i686/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/i686/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/i686/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/i686/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/i686", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/tls", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
open("/usr/lib/tls/i686/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/sse2/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2/cmov", 0xafeb5d04) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xafeb5d04)     = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libgssapi_krb5.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xafeb5d04)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p@\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=111676, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7ec4000
mmap2(NULL, 114520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ea8000
mmap2(0xa7ec3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a) = 0xa7ec3000
close(3)                                = 0
open("/lib/tls/i686/cmov/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libkrb5.so.3", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\364\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=508328, ...}) = 0
mmap2(NULL, 507140, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7e2c000
mmap2(0xa7ea6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7a) = 0xa7ea6000
close(3)                                = 0
open("/lib/tls/i686/cmov/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=151252, ...}) = 0
mmap2(NULL, 150752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7e07000
mmap2(0xa7e2b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xa7e2b000
close(3)                                = 0
open("/lib/tls/i686/cmov/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcom_err.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \t\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=5820, ...}) = 0
mmap2(NULL, 8876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7e04000
mmap2(0xa7e06000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xa7e06000
close(3)                                = 0
open("/lib/tls/i686/cmov/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libkrb5support.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \n\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=14504, ...}) = 0
mmap2(NULL, 17416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7dff000
mmap2(0xa7e03000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xa7e03000
close(3)                                = 0
open("/lib/tls/i686/cmov/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libldap_r.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libldap_r.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libldap_r.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \241\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=217872, ...}) = 0
mmap2(NULL, 216892, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7dca000
mmap2(0xa7dfe000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34) = 0xa7dfe000
close(3)                                = 0
open("/lib/tls/i686/cmov/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/liblber.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/local/lib/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/liblber.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/liblber.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340#\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=47128, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7dc9000
mmap2(NULL, 46128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7dbd000
mmap2(0xa7dc8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xa7dc8000
close(3)                                = 0
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241580, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7c8c000
mmap2(0xa7db3000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xa7db3000
mmap2(0xa7dba000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7dba000
close(3)                                = 0
open("/lib/tls/i686/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libsasl2.so.2", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libsasl2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libsasl2.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0203\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=88828, ...}) = 0
mmap2(NULL, 87656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7c76000
mmap2(0xa7c8b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xa7c8b000
close(3)                                = 0
open("/lib/tls/i686/cmov/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgnutls.so.13", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libgnutls.so.13", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgnutls.so.13", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0&\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=445912, ...}) = 0
mmap2(NULL, 448812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7c08000
mmap2(0xa7c70000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67) = 0xa7c70000
close(3)                                = 0
open("/lib/tls/i686/cmov/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libtasn1.so.3", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libtasn1.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libtasn1.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\21\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=73456, ...}) = 0
mmap2(NULL, 76836, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7bf5000
mmap2(0xa7c07000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xa7c07000
close(3)                                = 0
open("/lib/tls/i686/cmov/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcrypt.so.11", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libgcrypt.so.11", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgcrypt.so.11", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 ?\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=327776, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7bf4000
mmap2(NULL, 331368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7ba3000
mmap2(0xa7bf2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4e) = 0xa7bf2000
close(3)                                = 0
open("/lib/tls/i686/cmov/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgpg-error.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\6\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=11556, ...}) = 0
mmap2(NULL, 14568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7b9f000
mmap2(0xa7ba2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xa7ba2000
close(3)                                = 0
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240H\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=89370, ...}) = 0
mmap2(NULL, 70104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7b8d000
mmap2(0xa7b9b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xa7b9b000
mmap2(0xa7b9d000, 4568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7b9d000
close(3)                                = 0
open("/lib/tls/i686/cmov/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libz.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libz.so.1", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7b79000
mmap2(0xa7b8c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xa7b8c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b78000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b77000
mprotect(0xa7db3000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xa7b776c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
set_tid_address(0xa7b77708)             = 27689
rt_sigaction(SIGRTMIN, {0xa7b914c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xa7b91420, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="curlycoat", ...}) = 0
brk(0)                                  = 0x8149000
brk(0x816a000)                          = 0x816a000
open("/usr/share/samba/upcase.dat", O_RDONLY|O_LARGEFILE) = 3
mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0xa7b57000
close(3)                                = 0
open("/usr/share/samba/lowcase.dat", O_RDONLY|O_LARGEFILE) = 3
mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0xa7b37000
close(3)                                = 0
dup(2)                                  = 3
stat64("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=8136, ...}) = 0
uname({sys="Linux", node="curlycoat", ...}) = 0
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=8136, ...}) = 0
read(5, "#\n# Sample configuration file fo"..., 8136) = 8136
close(5)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=21568, ...}) = 0
mmap2(NULL, 21568, PROT_READ, MAP_SHARED, 5, 0) = 0xa7b31000
close(5)                                = 0
futex(0xa7db9dec, FUTEX_WAKE, 2147483647) = 0
open("/usr/lib/gconv/UTF-16.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\5\0\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=9444, ...}) = 0
mmap2(NULL, 12328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xa7b2d000
mmap2(0xa7b2f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1) = 0xa7b2f000
close(5)                                = 0
open("/usr/lib/gconv/IBM850.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\4\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=9432, ...}) = 0
mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xa7b29000
mmap2(0xa7b2b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1) = 0xa7b2b000
close(5)                                = 0
brk(0x818b000)                          = 0x818b000
brk(0x81ac000)                          = 0x81ac000
brk(0x81d4000)                          = 0x81d4000
open("/usr/share/samba/valid.dat", O_RDONLY|O_LARGEFILE) = 5
mmap2(NULL, 65536, PROT_READ, MAP_SHARED, 5, 0) = 0xa7b19000
close(5)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
ioctl(5, SIOCGIFCONF, {96, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("169.254.22.163")}}, {"eth0", {AF_INET, inet_addr("192.168.2.2")}}}}) = 0
ioctl(5, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.2.2")}}) = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(5, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.0.0")}}) = 0
ioctl(5, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("169.254.22.163")}}) = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(5, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.0.0")}}) = 0
ioctl(5, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(5, SIOCGIFNETMASK, {ifr_name="lo", ifr_netmask={AF_INET, inet_addr("255.0.0.0")}}) = 0
close(5)                                = 0
geteuid32()                             = 32074
brk(0x81f6000)                          = 0x81f6000
stat64("/var/run/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/run/samba/gencache.tdb", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = -1 EACCES (Permission denied)
open("/var/run/samba/gencache.tdb", O_RDONLY|O_LARGEFILE) = 5
read(5, "TDB file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 168) = 168
fstat64(5, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
mmap2(NULL, 8192, PROT_READ, MAP_SHARED, 5, 0) = 0xa7b17000
gettimeofday({1166831798, 862497}, NULL) = 0
open("/etc/resolv.conf", O_RDONLY)      = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b16000
read(6, "search eecs.harvard.edu\nnameserv"..., 4096) = 47
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xa7b16000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(6, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=603, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b16000
read(6, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 603
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xa7b16000, 4096)                = 0
open("/lib/tls/i686/cmov/libnss_files.so.2", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\33"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0644, st_size=38372, ...}) = 0
mmap2(NULL, 41620, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xa7b0c000
mmap2(0xa7b15000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x8) = 0xa7b15000
close(6)                                = 0
open("/etc/host.conf", O_RDONLY)        = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=9, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b0b000
read(6, "multi on\n", 4096)             = 9
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xa7b0b000, 4096)                = 0
futex(0xa7dbbac0, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=257, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7b0b000
read(6, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 257
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xa7b0b000, 4096)                = 0
open("/lib/tls/i686/cmov/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libnss_mdns4_minimal.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_mdns4_minimal.so.2", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\24"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0644, st_size=19240, ...}) = 0
mmap2(NULL, 22196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xa7b06000
mmap2(0xa7b0b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x4) = 0xa7b0b000
close(6)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
connect(6, {sa_family=AF_FILE, path="/usr/var/run/avahi-daemon/socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
setsockopt(6, SOL_IP, IP_MULTICAST_TTL, [255], 4) = 0
bind(6, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
setsockopt(6, SOL_IP, IP_RECVTTL, [1], 4) = 0
setsockopt(6, SOL_IP, IP_PKTINFO, [1], 4) = 0
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fcntl64(6, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
open("/dev/urandom", O_RDONLY)          = 7
read(7, "l\371", 2)                     = 2
close(7)                                = 0
ioctl(6, SIOCGIFCONF, {96, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("169.254.22.163")}}, {"eth0", {AF_INET, inet_addr("192.168.2.2")}}}}) = 0
ioctl(6, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(6, SIOCGIFINDEX, {ifr_name="eth0", ifr_index=2}) = 0
sendmsg(6, {msg_name(16)={sa_family=AF_INET, sin_port=htons(5353), sin_addr=inet_addr("224.0.0.251")}, msg_iov(1)=[{"\371l\0\0\0\1\0\0\0\0\0\0\nbloodhound\5local\0\0\1"..., 34}], msg_controllen=24, {cmsg_len=24, cmsg_level=SOL_IP, cmsg_type=, ...}, msg_flags=0}, MSG_DONTROUTE) = 34
ioctl(6, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(6, SIOCGIFINDEX, {ifr_name="eth0", ifr_index=2}) = 0
gettimeofday({1166831798, 866126}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 27689 detached
-------------- next part --------------
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic 
# errors. 
#

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = MSHOME

# server string is the equivalent of the NT Description field
   server string = %h server (Samba %v)

hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24
hosts deny = 0.0.0.0/0

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = 192.168.2.1

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
name resolve order = host bcast wins 


#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
;   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc
# package for details.
;   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
   encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
   passdb backend = tdbsam 

   obey pam restrictions = yes

;   guest account = nobody
   invalid users = root

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
;   unix password sync = no

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <aluton at hybrigenics.fr> for
# sending the correct chat script for the passwd program in Debian Potato).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
;   pam password change = no


########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;   printing = cups
;   printcap name = cups

# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
;   printer admin = @ntadmin


######## File sharing ########

# Name mangling options
;   preserve case = yes
;   short preserve case = yes


############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
;   domain master = auto

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

[football]
   comment = Football Games
   writable = no
   path = /dtv/football
   public = yes

[tmp]
   comment = Temporary space
   writable = yes
   path = /tmp
   public = yes

[dtv]
   comment = Digital TV
   writable = no
   path = /dtv
   public = yes

[dtv2]
   comment = Digital TV Too
   writable = no
   path = /dtv2
   public = yes

[homes]
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
;   write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom



More information about the Pkg-samba-maint mailing list