Samba 2.0.7 (--with-smbmount) crashes while logging in

Anders C. Thorsen anders at aae.wisc.edu
Thu Nov 23 09:46:17 GMT 2000


On Thu, Nov 23, 2000 at 11:14:57AM +0100, Jelmer Vernooij wrote:
> Date: Thu, 23 Nov 2000 11:12:13 +0100
> From: Jelmer Vernooij <jelmer at nl.linux.org>
> Subject: Re: Samba 2.0.7 (--with-smbmount) crashes while logging in
> To: Gerald Carter <gcarter at valinux.com>
> 
> > > I have been busy writing support for validating passwords
> > > using a MySQL database in Samba. Compiling and all the 
> > > rest worked fine, but when trying to log in from a 
> > > Windows '95 client, the samba server went down.
> > > (PANIC: internal error)
> > > 
> > > So I re-extracted the samba sources, reconfigured, 
> > > recompiled and re-installed the files (without the patches) 
> > > but the problem stays. The binary RPM works fine.
> > 
> > 
> > set 
> > 	panic action = /usr/bin/X11/xterm -display :0 -e \
> > 		gdb /usr/local/samba/bin/smbd %d
> > 
> > in your smb.conf to catch the fault in a gdb session.
> 
> Here's the output:
> 
> /home/jelmer/1119: No such file or directory.
> Attaching to program: /usr/local/samba/bin/smbd, Pid 1119
> Reading symbols from /lib/libdl.so.2...done.
> Reading symbols from /lib/libcrypt.so.1...done.
> Reading symbols from /lib/libc.so.6...done.
> Reading symbols from /lib/ld-linux.so.2...done.
> Reading symbols from /lib/libnss_files.so.2...done.
> 0x401101c9 in wait4 () from /lib/libc.so.6
> 
> It seems to be in glibc... But how should I solve this?
> 
> Jelmer

run the "bt" command in gdb, which backtraces the stack.
That will tell us where in samba the libc function was called.

-- 

--Anders

Anders C. Thorsen
PGP Key: http://www.aae.wisc.edu/~anders/anders-pgp.asc

----------------------------------------
Only two things are infinite.
The universe and human stupidity.
Although, I am unsure of the former.

Albert Einstein





More information about the samba-ntdom mailing list