[Samba] possible bug

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jan 23 03:20:45 MST 2010


On Wed, Jan 20, 2010 at 04:26:16PM +0100, Christiane Baier wrote:
> 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?

Good question. Can you send a network trace of both cases?
http://wiki.samba.org/index.php/Capture_Packets

Thanks,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100123/35cd6a3e/attachment.pgp>


More information about the samba mailing list