View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Fri Nov 12, 2004 9:39 pm Post subject: Samba 3.0.8 breaks all printing from Windows 98 |
|
|
I just upgraded to samba 3.0.8 and I can not print to Linux box from
Windows.
I did not change the smb.conf file (I zip the new one).
Apparently it is a bug in Samba!
Can anybody shed some light on it? |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Nov 13, 2004 4:59 am Post subject: SOLVED |
|
|
SOLVED: samba secrects.tdb corruption was causing the problem:
I found the answer on Gentoo forum:
------- quote --------
Ok, i solved my problem by deleting the
file /etc/samba/private/secrets.tdb.
Got the hint from a samba faq that says: "This error indicated a
corrupted tdb. Stop all instances of smbd, delete locking.tdb, and
restart smbd."
1. Stop samba
2. Delete /etc/samba/private/secrets.tdb
3. Start samba
-------end quote------
Maybe it will save somebody few ours. |
|
Back to top |
|
|
mhoskins n00b
Joined: 23 Jan 2004 Posts: 64 Location: Southern New Joisey
|
Posted: Tue Nov 16, 2004 1:04 am Post subject: samba-3.0.8 from samba-3.0.7 |
|
|
I had the same thing happen - except this, and several other fix attempts from the forums, did not save 3.0.8. I spent about four hours and one of my kids needed to print something for homework (Imagine that!). I reinstalled 3.0.7 and *poof* the problem went away.
The routine "rpctourture" does not correctly compile in either release. It blows up less dramtically in 3.0.8. In 3.0.7 it virtually explodes on the screen. At one point it was waiting for other compiles to complete. I have a dual proc PIII with the j-value set to 4. Perhaps - and this is purely theory - something is allowed to compile out of order with the j-value set too high. The odd thing here would be two "good" compiles of 3.0.7 in a row. When I have some time I can try it, I will set my j-value back to one and compile 3.0.8 again.
I added "use sendfiles = no" to the smb.conf file - no change.
Checking the access_log for CUPS shows several attempts. tcpdump showed a lot of activity with no obvious failures in the protocol. The SAMBA log for the system I see what might be lanman protocol traffic, which surprised me. Unless that is simply the SAMBA LAN manager routine talking, not sure. Perhaps a SAMBA wizzard know the answer to that?
The short of it is that retreating to 3.0.7 means my family can print from Windoz again. _________________ --
To know even one life has breathed easier because you have lived.
This is to have succeeded. -Bessie Stanely, 1905 |
|
Back to top |
|
|
trunet n00b
Joined: 03 Oct 2003 Posts: 11 Location: São Paulo/SP/Brazil
|
Posted: Tue Nov 16, 2004 5:57 pm Post subject: |
|
|
I run samba with LDAP support.
I did this with the tdb file. Works fine, but when I have one page spooled into the printer, cups stalls. The printer doesn't print nothing. If I do a cups restart, everything works again.
What I did? emerge =net-fs/samba-3.0.7-r1, and I'll waiting a more "secure" and "stable" samba ebuild release.
Tips?
tkz
Wagner Sartori Junior |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Tue Nov 16, 2004 10:57 pm Post subject: Re: samba-3.0.8 from samba-3.0.7 |
|
|
mhoskins wrote: | I had the same thing happen - except this, and several other fix attempts from the forums, did not save 3.0.8. I spent about four hours and one of my kids needed to print something for homework (Imagine that!). I reinstalled 3.0.7 and *poof* the problem went away.
....Perhaps a SAMBA wizzard know the answer to that?
|
I had the same problem. It is a bug in samba 3.0.8.
The fix is to emerge samba-3.0.8-r1 (it is in unsable branch, but this is the fix for this problem.)
15 Nov 2004; Christian Andreetta <satya@gentoo.org> +samba-3.0.8-r1.ebuild:
bug #71223: win9x/Me lanman printing. bug #70628: 3.0.8 docs upstream permission error |
|
Back to top |
|
|
mhoskins n00b
Joined: 23 Jan 2004 Posts: 64 Location: Southern New Joisey
|
Posted: Wed Nov 17, 2004 3:56 am Post subject: Re: samba-3.0.8 from samba-3.0.7 |
|
|
Quote: | I had the same problem. It is a bug in samba 3.0.8.
The fix is to emerge samba-3.0.8-r1 (it is in unsable branch, but this is the fix for this problem.)
15 Nov 2004; Christian Andreetta <satya@gentoo.org> +samba-3.0.8-r1.ebuild:
bug #71223: win9x/Me lanman printing. bug #70628: 3.0.8 docs upstream permission error |
Thank you Joseph. Nice to know I'm not crazy, about this at least. I'll hold on until it is stable. Nice to know a solution is on the way. Kudos! _________________ --
To know even one life has breathed easier because you have lived.
This is to have succeeded. -Bessie Stanely, 1905 |
|
Back to top |
|
|
|