Hallo,
"smbclient" doesn't work with the slackware packages samba-4.3.1
and
4.3.2, it has worked with 4.2.1 and older versions.
smbclient
answers with "segmentation fault", on two testing machines (where
4.2.1
has worked well).
The slackware packets are compiled with
./configure \
--enable-fhs \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--includedir=/usr/include \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--mandir=/usr/man \
--sysconfdir=/etc \
--with-configdir=/etc/samba \
--with-piddir=/var/run \
--with-privatedir=/etc/samba/private \
--with-privatelibdir=/usr/lib${LIBDIRSUFFIX} \
--with-modulesdir=/usr/lib${LIBDIRSUFFIX} \
--with-lockdir=/var/cache/samba \
--with-logfilebase=/var/log/samba \
--localstatedir=/var \
--enable-cups \
--with-acl-support \
--with-automount \
--with-quotas \
--with-syslog \
--with-utmp \
--with-winbind \
--with-ldap \
--with-ads \
--without-pam \
--build=$TARGET
When I add the option
--without-ad-dc
then "smbclient" works well also for/with version 4.3.2.
That's no solution for most of the samba users; I need "smbclient"
in a
LAN where samba runs since 2 decades in samba2/samba3 style ...
That smbclient problem seems to be no special slackware problem but a
source code problem.
Viele Gruesse!
Helmut
On Sun, Jan 10, 2016 at 07:55:00PM +0100, Helmut Hullen wrote:> Hallo, > > "smbclient" doesn't work with the slackware packages samba-4.3.1 and > 4.3.2, it has worked with 4.2.1 and older versions. > > smbclient > > answers with "segmentation fault", on two testing machines (where 4.2.1 > has worked well). > > The slackware packets are compiled with > > ./configure \ > --enable-fhs \ > --prefix=/usr \ > --libdir=/usr/lib${LIBDIRSUFFIX} \ > --includedir=/usr/include \ > --bindir=/usr/bin \ > --sbindir=/usr/sbin \ > --mandir=/usr/man \ > --sysconfdir=/etc \ > --with-configdir=/etc/samba \ > --with-piddir=/var/run \ > --with-privatedir=/etc/samba/private \ > --with-privatelibdir=/usr/lib${LIBDIRSUFFIX} \ > --with-modulesdir=/usr/lib${LIBDIRSUFFIX} \ > --with-lockdir=/var/cache/samba \ > --with-logfilebase=/var/log/samba \ > --localstatedir=/var \ > --enable-cups \ > --with-acl-support \ > --with-automount \ > --with-quotas \ > --with-syslog \ > --with-utmp \ > --with-winbind \ > --with-ldap \ > --with-ads \ > --without-pam \ > --build=$TARGET > > When I add the option > > --without-ad-dc > > then "smbclient" works well also for/with version 4.3.2. > > That's no solution for most of the samba users; I need "smbclient" in a > LAN where samba runs since 2 decades in samba2/samba3 style ... > > That smbclient problem seems to be no special slackware problem but a > source code problem.Run under gdb please and type "bt" to get a backtrace when it crashes.
Hallo, Jeremy, Du meintest am 11.01.16:>> "smbclient" doesn't work with the slackware packages samba-4.3.1 and >> 4.3.2, it has worked with 4.2.1 and older versions. >> >> smbclient >> >> answers with "segmentation fault", on two testing machines (where >> 4.2.1 has worked well).[...]>> When I add the compiling option >> >> --without-ad-dc >> >> then "smbclient" works well also for/with version 4.3.2.> Run under gdb please and type "bt" to get a backtrace when > it crashes.Ok - "gdb" now works. Testing "smbclient" follows tomorrow in the afternoon (Göttingen/Braunschweig time) ... Viele Gruesse! Helmut
Hallo, Jeremy, Du meintest am 11.01.16:>> "smbclient" doesn't work with the slackware packages samba-4.3.1 and >> 4.3.2, it has worked with 4.2.1 and older versions. >> >> smbclient >> >> answers with "segmentation fault", on two testing machines (where >> 4.2.1 has worked well).[...]> Run under gdb please and type "bt" to get a backtrace when > it crashes.[...] [?1034h(gdb) run Starting program: /usr/bin/smbclient [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x40df556e in nettle_yarrow256_update () from /usr/lib/libnettle.so.4 (gdb) (gdb) q ----------------------------- "nettle-3.1.1" Output redirection under gdb via run > /tmp/err.txt or something like this examble doesn't work ... Viele Gruesse! Helmut