[Pkg-samba-maint] Bug#701933: smbclient: smbget uses incorrect auth info on recursive get

Nick Phillips nwp at debian.org
Thu Feb 28 21:16:18 UTC 2013


Package: smbclient
Version: 2:3.5.6~dfsg-3squeeze9
Severity: normal

Client machine is in a workgroup. Server is in a domain. When
attempting to recursively download from a share on the server, the
client uses correct auth information to get the directory listing,
then attempts to reauthenticate to actually get the files - using
incorrect auth info. Specifically, it tries to authenticate using the
client machine's workgroup instead of the domain specified with -w on
the command line.

Reading through libsmb, it appears that it shouldn't even be trying to
reconnect in the first place, but should be using a cached connection
(which it looks like it fails to identify as being appropriate because
it thinks the auth info doesn't match).


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

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbclient depends on:
ii  libc6             2.11.3-4               Embedded GNU C Library: Shared lib
ii  libcap2           1:2.19-3               support for getting/setting POSIX.
ii  libcomerr2        1.41.12-4stable1       common error description library
ii  libgssapi-krb5-2  1.8.3+dfsg-4squeeze6   MIT Kerberos runtime libraries - k
ii  libk5crypto3      1.8.3+dfsg-4squeeze6   MIT Kerberos runtime libraries - C
ii  libkrb5-3         1.8.3+dfsg-4squeeze6   MIT Kerberos runtime libraries
ii  libldap-2.4-2     2.4.23-7.3             OpenLDAP libraries
ii  libpopt0          1.16-1                 lib for parsing cmdline parameters
ii  libreadline6      6.1-3                  GNU readline and history libraries
ii  libtalloc2        2.0.1-1                hierarchical pool based memory all
ii  libwbclient0      2:3.5.6~dfsg-3squeeze9 Samba winbind client library
ii  samba-common      2:3.5.6~dfsg-3squeeze9 common files used by both the Samb
ii  zlib1g            1:1.2.3.4.dfsg-3       compression library - runtime

smbclient recommends no packages.

Versions of packages smbclient suggests:
pn  cifs-utils                    <none>     (no description available)

-- no debconf information



More information about the Pkg-samba-maint mailing list