From: Christiane Baier on
Hello,

don't know if this behavior is a bug, but I want to share this
information.

samba server version 3.4.3 is installed on solaris10 x86
compiled with gcc
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

and options
CFLAG=-02 ./configure --with-configdir=/etc/samba --disable-swat
--with-privatedir=/etc/samba/private --with-lockdir=/var/lock
--with-piddir=/var/run --with-logfilebase=/var/log --disable-cups
--without-krb5 --with-utmp --prefix=/export/samba343

There have to be some symlinks in /usr/lib
ln -s /export/samba343/lib/libtalloc.so libtalloc.so
ln -s /export/samba343/lib/libtalloc.so.1 libtalloc.so.1
ln -s /export/samba343/lib/libtdb.so.1 libtdb.so.1
ln -s /export/samba343/lib/libtdb.so libtdb.so
ln -s /export/samba343/lib/libwbclient.so libwbclient.so
ln -s /export/samba343/lib/libwbclient.so.0 libwbclient.so.0
otherwise samba won't find the libraries. It's started via inetd and
works fine with linux and windows clients

But with Mac OS X 10.4.11 mount_smbfs fails with the error message
mount_smbfs: negotiate phase failed: syserr = Connection reset by peer

smbclient on the same Mac works fine.

If debugging is enabled for smbd and level set to 10 (nothing else
changed)
# inetadm -m svc:/network/netbios-ssn/tcp:default
exec="/export/samba343/sbin/smbd -d 10"
# svcadm refresh svc:/network/inetd:default
# svcadm restart svc:/network/inetd:default
mount_smbfs works from Mac client

So why does it not work if debugging level is set to anything below 10?

Kind Regards
Christiane Baier
--
ZPID - Leibniz-Zentrum für Psychologische Information und Dokumentation
Dr. Christiane Baier Fon: +49(0)651-201-2978
Dipl.Inform.(FH) Fax: +49(0)651-201-2604
Informationstechnologie E-Mail: baier(a)zpid.de
Universität Trier, 54286 Trier http://www.zpid.de/
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba