[Samba] segmentation fault (smbclient)

Thomas Kirk thomas at arkena.com
Thu Aug 15 02:36:01 GMT 2002


Hey there listmembers and fellow sysadmins

I turn to you as my last chance since ive been working with this
problem for the last 3-4 days now and im pretty stuck.

The problem is as follow :

I have sambaserver set up on a box called joakim. Samba is running
fine and i can connect to it locally via smbclient. I can do commands 
such as "ls" etc. The problem is now i want to do the same from
another box on network aka george. I connect fine from george ->
joakim but execution any commands will get me segmentation fault error
like this :


Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.3a-6 for Debian]
smb: \> ls
SUCCESS - 0 listing \*
Error in dskattr: SUCCESS - 0
Total bytes listed: 0
smb: \> Segmentation fault

My sambasystem is samba 2.2.3a-6 from woody stable and before some of
you say "why dont you upgrade to the newest version?" Ive tried that allready
with same result which lead me to think that its something either
network related or maybe a configurationissue? I use the exact same
comamndline for connecting locally from joakim and connection from
george -> joakim.

Here is a part of logfile showing the above described
session/situation. I myself is not a guru in interperting this logfile
allthough it seems joakim disconnects for some reason just after
reciving/issuing the command "ls" the part where it says :

  "receive_smb error (Success) exiting"


[2002/08/15 13:31:29, 3] smbd/trans2.c:call_trans2findfirst(855)
  call_trans2findfirst: dirtype = 22, maxentries = 512, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 260, max_data_bytes = 65535
[2002/08/15 13:31:29, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/*]
[2002/08/15 13:31:29, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [*]
[2002/08/15 13:31:29, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [./]
[2002/08/15 13:31:29, 3] smbd/dir.c:dptr_create(488)
  creating new dirptr 256 for path ./, expect_close = 1
[2002/08/15 13:31:49, 3] smbd/process.c:timeout_processing(1092)

--------------------------------------->
  receive_smb error (Success) exiting
[2002/08/15 13:31:49, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/08/15 13:31:49, 2] smbd/server.c:exit_server(458)
  Closing connections
[2002/08/15 13:31:49, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/08/15 13:31:49, 1] smbd/service.c:close_cnum(655)
  george (80.63.52.215) closed connection to service mmdev
[2002/08/15 13:31:49, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to mmdev
[2002/08/15 13:31:49, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to 
[2002/08/15 13:31:49, 3] smbd/server.c:exit_server(492)
  Server exit (normal exit)

Ive attached my smb.conf file and i can do dumps from network traffic
as well.

Plesase help and thanks in advance.

-- 
Venlig hilsen/Kind regards
Thomas Kirk
ARKENA
thomas(at)arkena(dot)com
Http://www.arkena.com


BOFH excuse #261:

The Usenet news is out of date
-------------- next part --------------
[global]
   netbios name = joakim
   log level = 3
   interfaces = someip/255.255.255.240
#   interfaces = eth0
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = 
   security = user
#   workgroup = 771MF
   workgroup = WORKGROUP
   server string = Windows 2000 AD
   syslog only = no
   syslog = 0;
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = yes
   name resolve order = host lmhosts wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
   max log size = 1000
   bind interfaces only = yes
   wins support = yes
   local master = yes
   os level = 65
   log file = /var/log/samba/log.%m

[mmdev]
   path = /home/mmdev/
   valid users = root 
   browseable = yes
   create mask = 0755
   directory mask = 0700
[test]
   writable = no
   locking = no
   path = /nas/
   public = no
   valid users = root
 



More information about the samba mailing list