Bug#388282: When trying to acces samba share from other computer PANIC appears
forwarded 388282 https://bugzilla.samba.org/show_bug.cgi?id=4137 thanks I attach the log.smbd with log level 10. OK, thanks a lot. The bug has now been reported upstream. signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
but when adding a only user = Yes to the [homes] section then the problem returns. Wonderful. As the very last request in that thread, could you manage to produce a level 10 debug output of the panic with this last minimal smb.conf After that, promise made, I will leave you alone..:-) You have been incredibly helpful tracking this down and I have no doubt that we will be able to do a perfect bug report to our upstream with the provided material and analysis. signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: Great. This will definitely be a great help reporting the Right Thing to our upstream. Finally I had time to investigate more closely the bug. This is a minimal smb.conf that WORKS: . # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2006/09/19 00:03:07 [global] workgroup = CASAMARCEL ldap ssl = no printing = cups [homes] comment = Home Directories hosts allow = 192.168.1. case sensitive = No msdfs proxy = no [amule] comment = amule path = /mnt/mcrypto/Incoming/ .. but when adding a only user = Yes to the [homes] section then the problem returns. I should add that I found the following message in log.smbd (see previous posts in this thread) WARNING: The only user option is deprecated Well. I hope this could help to solve the issue. Best Marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
I will try to isolate the specific command giving that error, and I'll be back... Great. This will definitely be a great help reporting the Right Thing to our upstream. signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: Do you have the new smb.conf file, when things are working? Definitly something in the old smb.conf was wrong. This is my NEW (ie, working) smb.conf: ... # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2006/09/24 00:09:13 [global] workgroup = CASAMARCEL server string = %h server (Samba %v) obey pam restrictions = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 socket options = dns proxy = No ldap ssl = no panic action = /usr/share/samba/panic-action %d invalid users = root include = /etc/samba/dhcp.conf [homes] comment = Home Directories create mask = 0700 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers [amule] path = /mnt/mcrypto/Incoming valid users = marcel .. I have copied back the old smb.conf (simply copied from the previous email I sent), restarted samba (etc/init.d/samba restart) and the PANIC returns. Then restored my new smb.conf , again restart samba and works. I will try to isolate the specific command giving that error, and I'll be back... Marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
It seems that the problem has been solved by: apt-get --purge remove samba Reinstalling samba Configure samba by disabling spnego and large readwrite Do you have the new smb.conf file, when things are working? signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
The log I sent yesterday is not enough? If not, I will try to recover the last configuration and send again the log output. Hmmm, sorry, I missed that one. signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: An error occurred when trying to mount the share Details: 5065: Tree connect failed: Call returned zero bytes (EOF) SMB connection failed The error message in /var/log/samba/log.smbd is exactly the same as before. Tried to remove the valid users line and nothing changes Can you reproduce this with log level set to 10 and send the smbd log to this bug report? It seems that the problem has been solved by: apt-get --purge remove samba Reinstalling samba Configure samba by disabling spnego and large readwrite Now I can access my shares with the pocketpc (though still the connections hangs after 10-15 minutes, but this seems something different) Thank you for your help Marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
Reinstalling samba Configure samba by disabling spnego and large readwrite Now I can access my shares with the pocketpc (though still the connections hangs after 10-15 minutes, but this seems something different) Well, we're glad for you but as it seems that some real bug lies around, it would be nice if you can indeed reproduce the bug (maybe reactivating what you desactivatedand produce a level 10 debug log That could give a good report for our upstream. signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: Reinstalling samba Configure samba by disabling spnego and large readwrite Now I can access my shares with the pocketpc (though still the connections hangs after 10-15 minutes, but this seems something different) Well, we're glad for you but as it seems that some real bug lies around, it would be nice if you can indeed reproduce the bug (maybe reactivating what you desactivatedand produce a level 10 debug log That could give a good report for our upstream. The log I sent yesterday is not enough? If not, I will try to recover the last configuration and send again the log output. Regards marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
Sorry, it PANICS I have installed samba-dbg but the same error appears in /var/log/samba/log.smbd each time I try to mount the share (two times in the portion shown): Thanks for the detailed information. I have actually no clue exactly but maybe upstream would...Andrew ? You should anyway remove the commas, they definitely are annoying. Two things, maybe, to look at more closely: -the valid users line in [homes] -trying from another machine (maybe this is an issue with the special type of client you're using) signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: Sorry, it PANICS I have installed samba-dbg but the same error appears in /var/log/samba/log.smbd each time I try to mount the share (two times in the portion shown): Thanks for the detailed information. I have actually no clue exactly but maybe upstream would...Andrew ? You should anyway remove the commas, they definitely are annoying. Two things, maybe, to look at more closely: -the valid users line in [homes] -trying from another machine (maybe this is an issue with the special type of client you're using) Following your suggestion I have removed ALL the commas, and the problems remains. I have tried another machine (also debian etch) using smb4k and it gives the message: An error occurred when trying to mount the share Details: 5065: Tree connect failed: Call returned zero bytes (EOF) SMB connection failed The error message in /var/log/samba/log.smbd is exactly the same as before. Tried to remove the valid users line and nothing changes Tried to access via a WindowsXP and the error is there, BUT I can see the shares. The problem appears when trying to access any share as before. Finally, could this be related to the router I'm using? I own a Linksys wrt54gl and casually I have recently upgraded to the last firmware from dd-wrt (Version DD-WRT 23 SP2) Thank you for your help Marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
An error occurred when trying to mount the share Details: 5065: Tree connect failed: Call returned zero bytes (EOF) SMB connection failed The error message in /var/log/samba/log.smbd is exactly the same as before. Tried to remove the valid users line and nothing changes Can you reproduce this with log level set to 10 and send the smbd log to this bug report? signature.asc Description: Digital signature
Bug#388282: When trying to acces samba share from other computer PANIC appears
Christian Perrier wrote: severity 388282 important thanks Quoting marcel aguilella ([EMAIL PROTECTED]): Package: samba Version: 3.0.23c-1 Severity: grave Justification: renders package unusable When mounting share samba hangs with the following message in log.smbd Hangs? Or panics? Please also provide the smb.conf file and more context. Please try installing the samba-dbg package and reproduce the problem. Sorry, it PANICS I have installed samba-dbg but the same error appears in /var/log/samba/log.smbd each time I try to mount the share (two times in the portion shown): #5 /usr/sbin/smbd(make_connection 0x48a) [0x80eee3a] #6 /usr/sbin/smbd(reply_tcon_and_X 0x1b2) [0x80b8b62] #7 /usr/sbin/smbd [0x80ea2f4] #8 /usr/sbin/smbd(smbd_process 0x6f8) [0x80eb4b8] #9 /usr/sbin/smbd(main 0x10df) [0x82c281f] #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main 0xc8) [0xa7c37ea8] #11 /usr/sbin/smbd [0x8082a31] [2006/09/20 15:24:16, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd [2006/09/20 15:24:28, 0] lib/util.c:smb_panic(1592) PANIC (pid 6598): substitutions failed [2006/09/20 15:24:28, 0] lib/util.c:log_stack_trace(1699) BACKTRACE: 12 stack frames: #0 /usr/sbin/smbd(log_stack_trace 0x23) [0x822b763] #1 /usr/sbin/smbd(smb_panic 0x46) [0x822b856] #2 /usr/sbin/smbd(token_contains_name_in_list 0x3bc) [0x809986c] #3 /usr/sbin/smbd(user_ok_token 0x1a5) [0x8099bb5] #4 /usr/sbin/smbd [0x80ed571] #5 /usr/sbin/smbd(make_connection 0x48a) [0x80eee3a] #6 /usr/sbin/smbd(reply_tcon_and_X 0x1b2) [0x80b8b62] #7 /usr/sbin/smbd [0x80ea2f4] #8 /usr/sbin/smbd(smbd_process 0x6f8) [0x80eb4b8] #9 /usr/sbin/smbd(main 0x10df) [0x82c281f] #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main 0xc8) [0xa7c37ea8] #11 /usr/sbin/smbd [0x8082a31] [2006/09/20 15:24:28, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd .. This is my smb.conf file: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2006/09/19 00:03:07 [global] workgroup = CASAMARCEL large readwrite = No printcap name = cups show add printer wizard = No preferred master = No domain master = No passdb backend = tdbsam ldap ssl = no printing = cups print command = lpq command = lprm command = [homes] comment = Home Directories valid users = marcel read only = No only user = Yes hosts allow = 192.168.1. case sensitive = No msdfs proxy = no [amule] comment = amule path = /mnt/mcrypto/Incoming/ username = marcel valid users = marcel read only = No guest ok = Yes only user = Yes hosts allow = 127.0.0., 192.168.1. case sensitive = No msdfs proxy = no [printers] comment = Totes les impressores path = /var/spool/samba printer admin = root, marcel read only = No create mask = 0700 guest ok = Yes printable = Yes printer name = HPDeskjet3650 force printername = Yes browseable = No oplocks = No share modes = No [HP3650] comment = HP DeskJet 3650 path = /var/spool/samba printer admin = root, marcel read only = No create mask = 0700 guest ok = Yes printable = Yes printer name = HP3650 force printername = Yes oplocks = No share modes = No I have tried by removing commas, following similar previous bugs, but the problem remains. The error occurs when trying to mount the share marcel from a pocketpc with Windows Mobile 2003 SE (Acer N50). It worked fine with previous versions of samba. Let me know of anything else that can help to track the error. Marcel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
Package: samba Version: 3.0.23c-1 Severity: grave Justification: renders package unusable When mounting share samba hangs with the following message in log.smbd [2006/09/19 15:06:47, 0] lib/util.c:smb_panic(1592) PANIC (pid 25177): substitutions failed [2006/09/19 15:06:47, 0] lib/util.c:log_stack_trace(1699) BACKTRACE: 12 stack frames: #0 /usr/sbin/smbd(log_stack_trace 0x23) [0x822b763] #1 /usr/sbin/smbd(smb_panic 0x46) [0x822b856] #2 /usr/sbin/smbd(token_contains_name_in_list 0x3bc) [0x809986c] #3 /usr/sbin/smbd(user_ok_token 0x1a5) [0x8099bb5] #4 /usr/sbin/smbd [0x80ed571] #5 /usr/sbin/smbd(make_connection 0x48a) [0x80eee3a] #6 /usr/sbin/smbd(reply_tcon_and_X 0x1b2) [0x80b8b62] #7 /usr/sbin/smbd [0x80ea2f4] #8 /usr/sbin/smbd(smbd_process 0x6f8) [0x80eb4b8] #9 /usr/sbin/smbd(main 0x10df) [0x82c281f] #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main 0xc8) [0xa7b5eea8] #11 /usr/sbin/smbd [0x8082a31] [2006/09/19 15:06:47, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd Any hint? -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages samba depends on: ii debconf [debconf-2.0] 1.5.3Debian configuration management sy ii libacl1 2.2.41-1 Access control list shared library ii libattr12.4.32-1 Extended attribute shared library ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries ii libcomerr2 1.39-1 common error description library ii libcupsys2 1.2.2-2 Common UNIX Printing System(tm) - ii libgnutls13 1.4.4-1 the GNU TLS library - runtime libr ii libkrb531.4.4-1 MIT Kerberos runtime libraries ii libldap22.1.30-13 b1 OpenLDAP libraries ii libpam-modules 0.79-3.2 Pluggable Authentication Modules f ii libpam-runtime 0.79-3.2 Runtime support for the PAM librar ii libpam0g0.79-3.2 Pluggable Authentication Modules l ii libpopt01.10-2 lib for parsing cmdline parameters ii logrotate 3.7.1-3 Log rotation utility ii lsb-base3.1-15 Linux Standard Base 3.1 init scrip ii netbase 4.25 Basic TCP/IP networking system ii procps 1:3.2.7-2/proc file system utilities ii samba-common3.0.23c-1Samba common files used by both th ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages samba recommends: pn smbldap-tools none (no description available) -- debconf information: samba/nmbd_from_inetd: samba/log_files_moved: samba/tdbsam: false samba/generate_smbpasswd: false * samba/run_mode: daemons -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#388282: When trying to acces samba share from other computer PANIC appears
severity 388282 important thanks Quoting marcel aguilella ([EMAIL PROTECTED]): Package: samba Version: 3.0.23c-1 Severity: grave Justification: renders package unusable When mounting share samba hangs with the following message in log.smbd Hangs? Or panics? Please also provide the smb.conf file and more context. Please try installing the samba-dbg package and reproduce the problem. signature.asc Description: Digital signature