Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90825 - after upgrade to glibc-2.3.4.20041102-r1 samba crashes
Summary: after upgrade to glibc-2.3.4.20041102-r1 samba crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 00:16 UTC by samuele assirelli
Modified: 2005-07-15 14:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samuele assirelli 2005-04-29 00:16:38 UTC
After upgrade to glibc-2.3.4.20041102-r1 samba gives a lot of problems. When user manager for domains is opened the admins can do nothing and a "denied access" error is given. The users can login into domain but we have random errors of denied access to shared resources (not on samba server but to a member server).
If we downgrade to glibc-20040808-r1 these problems desappear.

Reproducible: Sometimes
Steps to Reproduce:
1. upgrade to glibc-2.3.4.20041102-r1
2. restart samba

Actual Results:  
User can login but "user manager for domains" and "server manager" are useless. 


Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130,
glibc-2.3.4.20040808-r1, 2.6.9-sammobigM i686)
=================================================================
System uname: 2.6.9-sammobigM i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 23 2005, 13:13:57)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.4_p6, 1.7.9-r1, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync3.it.gentoo.org/gentoo-portage"
USE="x86 acl alsa apm berkdb bitmap-fonts crypt doc emboss foomaticdb fortran
gdbm gif gpm imlib jpeg ldap libg++ libwww mad mikmod mp3 mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python readline samba sdl slang spell
ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

We use samba with openldap-2.2.19 backend with smbldap-tools-0.8.6.

Inspecting the samba log i found this:

[2005/04/29 09:47:57, 5] rpc_parse/parse_prs.c:prs_uint16(613)
      0014 context_id: 0000
[2005/04/29 09:47:57, 5] rpc_parse/parse_prs.c:prs_uint8(584)
      0016 cancel_ct : 00
[2005/04/29 09:47:57, 5] rpc_parse/parse_prs.c:prs_uint8(584)
      0017 reserved  : 00
[2005/04/29 09:47:57, 5] smbd/ipc.c:send_trans_reply(89)
  send_trans_reply: buffer 1024 too large
[2005/04/29 09:47:57, 3] smbd/error.c:error_packet(129)
  error packet at smbd/ipc.c(97) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW
[2005/04/29 09:47:57, 5] smbd/ipc.c:copy_trans_params_and_data(60)
  copy_trans_params_and_data: params[0..0] data[0..1024]
[2005/04/29 09:47:57, 5] lib/util.c:show_msg(464)
[2005/04/29 09:47:57, 5] lib/util.c:show_msg(474)

The log was taken on another server in the testing environment, where i
trasferred a tar.bz2 archive of the entire distribution. After glibc upgrade the
problems are the same.
Comment 1 Joshua Schmidlkofer 2005-04-29 15:45:35 UTC
I don't know for sure if what I am seeing is related, however, this appears to be just since I upgraded glibc.  I am going to recompile w/o stack protector.

[2005/04/29 15:42:56, 0] libads/ldap.c:ads_add_machine_acct(1368)
  ads_add_machine_acct: Host account for fs3 already exists - modifying old account
Using short domain name -- PROG
[2005/04/29 15:42:56, 0] libads/kerberos.c:get_service_ticket(335)
  get_service_ticket: kerberos_kinit_password FS3$@PROG.CAOWASH.ORG@PROG.CAOWASH.ORG failed: Preauthentication failed
*** glibc detected *** free(): invalid pointer: 0x42412840 ***
Aborted
Comment 2 SpanKY gentoo-dev 2005-04-29 21:50:35 UTC
robbat2: you recognize these ?  they look familiar ...
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-04-30 02:30:22 UTC
vapier: nope, not familar at all. I haven't seen any problems with Samba up to 3.0.10 (I'm not running anything newer), and glibc all the way up to 2.3.5. I'm also on a pure LDAP backend.
Comment 4 samuele assirelli 2005-05-03 03:54:06 UTC
I've tried with glibc version up to 2.3.5. This is the situation:

glibc-2.3.4.20041102-r1 samba is not working
glibc-2.3.4.20050125 samba is not working
glibc-2.3.4.20050125-r1 samba is not working
glibc-2.3.5 samba is working

It seems that with glibc-2.3.5 samba is running without problems.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-15 14:27:21 UTC
closing as 2.3.5 is stable on x86 now...