[Samba] What great things can a non-windows user do with Samba
Hi all, I ask this question about once a decade. I have about 7 computers, all Linux or BSD. Are there any cool things I can do with Samba, even though I have no Windows computers? Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to troubleshoot SMBD high CPU?
On Fri, 24 Feb 2012 13:01:00 + "Jeremy T. Cherny" wrote: > We are seeing the SMBD process sitting at 99.9% > > Are there any step-by-step troubleshooting guides to track the source > of the problem? > > > -Jeremy Hi Jeremy, My familiarity with Samba is from 12 years ago, and I know of no specific troubleshooting guide for to-active smbd processes, but perhaps I can give you some ideas for general troubleshooting. Collect a symptom description. Does this always happen? Is there a set of steps that will make it happen? How long does it take to re-happen after restarting Samba? When was this symptom first noticed? What else was going on around that time? Do you have multiple smbd processes, or just one? Look at the logs. Anything look odd or out of place? Look for difference in log patterns between the times this symptom is occurring and times this symptom isn't occurring. Look for other occurrences in Google. The phrase "smbd cpu usage high" produces some hits -- I didn't look at them, but doing so much cut your troubleshooting time considerably. If practical, you can start by disconnecting connected machines, one by one, and see if it goes down. Perhaps one process on one computer is doing it. Best of luck. SteveT -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Is Samba useful in an all-Linux environment?
On Monday 17 August 2009 15:55:34 John Drescher wrote: > On Mon, Aug 17, 2009 at 3:52 PM, Eero Volotinen wrote: > > Steve Litt kirjoitti: > >> Hi all, > >> > >> This isn't meant to be a troll. It's a legitimate question asked because > >> I haven't done much with Samba for 9 years. > >> > >> Is there anything Samba can contribute to an all-Linux environment with > >> no Windows or Mac computers? > > > > Well, atleast it is more secure than nfsv3 ? > > That along with better performance and also better handling of > disconnections are a couple of reasons to use samba/cifs over nfs3. How about performance and security of Samba vs. NFS4 on an all Linux network? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Is Samba useful in an all-Linux environment?
Hi all, This isn't meant to be a troll. It's a legitimate question asked because I haven't done much with Samba for 9 years. Is there anything Samba can contribute to an all-Linux environment with no Windows or Mac computers? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Win98 asks for IPC$ password
On Friday 14 August 2009 02:04:00 Helmut Hullen wrote: > Hallo, Steve, > > Du meintest am 13.08.09: > > After John gave me the solution, I wrote an article outlining the > > symptom, solution and a little theory here: > > > > http://www.troubleshooters.com/linux/win9x_samba.htm > > My browser doesn't show the images, p.e. > > http://www.troubleshooters.com/linux/images/win2k_samba/ipc_dollar.png Thanks Helmut, I made some typos in the HTML, causing failed graphics. I just fixed it, so if you rebrowse to it and refresh, you should see the graphics. Thanks for pointing this out. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Win98 asks for IPC$ password
On Thursday 13 August 2009 21:08:33 Jeremy Allison wrote: > On Thu, Aug 13, 2009 at 07:20:11PM -0400, Steve Litt wrote: > > After John gave me the solution, I wrote an article outlining the > > symptom, solution and a little theory here: > > > > http://www.troubleshooters.com/linux/win9x_samba.htm > > > > Hopefully this will help some people solve it before tearing their hair > > out and asking about it on the list. > > This is a great write-up - thanks ! Can I use a link to it > in the next Samba Team blog entry ? > > Jeremy. Of course! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Win98 asks for IPC$ password
On Thursday 13 August 2009 00:20:24 Steve Litt wrote: > Hi all, > > After I converted my Linux desktop from Mandriva 2008.1 with Samba 3.0.28a > to Ubuntu 9.04 with Samba 3.3.2, my Windows 98 box could no longer connect > to my Linux desktop via Samba. The symptom was that Windows kept asking for > the IPC$ password. After John gave me the solution, I wrote an article outlining the symptom, solution and a little theory here: http://www.troubleshooters.com/linux/win9x_samba.htm Hopefully this will help some people solve it before tearing their hair out and asking about it on the list. Thanks for all the help. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Win98 asks for IPC$ password
On Thursday 13 August 2009 13:47:00 Helmut Hullen wrote: > Hallo, Steve, > > Du meintest am 13.08.09: > >> You need to enable lanman password support on your Ubuntu Samba > >> server: > >> > >> [global] > >>... > >>lanman auth = yes > >>client lanman auth = yes > >>... > > > > My experiments indicate that "client plaintext auth = Yes" is also > > necessary. I don't know why, but the dreaded IPC$ password symptom > > happens if that is left out. > > Maybe the Windows 9x clients are set to unencrypted passwords. > > Long time ago that was the default for Windows and for Samba. > > Now "encrypted passwords" is the default for Windows and for Samba. > > Viele Gruesse! > Helmut Many greetings to you too, Helmut! My high school German is pretty much forgotten, but now we have Babblefish -- who needs an education (I did remember what Viele meant). Anyway, my understanding is that unlike original Win95, Win98 defaulted to encryption, and a quick look in my registry revealed no plain text hack. Whatever that Samba option is, it's not about sending actual plain text passwords. That option sure does sound ominous though, doesn't it? Thanks, and Viele Gruesse! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Win98 asks for IPC$ password
On Thursday 13 August 2009 00:59:53 John H Terpstra - Samba Team wrote: > On 08/12/2009 11:20 PM, Steve Litt wrote: > > Hi all, > > > > After I converted my Linux desktop from Mandriva 2008.1 with Samba > > 3.0.28a to Ubuntu 9.04 with Samba 3.3.2, my Windows 98 box could no > > longer connect to my Linux desktop via Samba. The symptom was that > > Windows kept asking for the IPC$ password. > > Steve, > > Samba 3.0.28a has lanman passwords enabled by default. > > Samba 3.2.2 has lanman passwords disabled by default. > > Windows 98 can only handle lanman passwords. Thanks John, I was pulling out my hair. Your suggestions quickly solved it. > You need to enable lanman password support on your Ubuntu Samba server: > > [global] > ... > lanman auth = yes > client lanman auth = yes > ... My experiments indicate that "client plaintext auth = Yes" is also necessary. I don't know why, but the dreaded IPC$ password symptom happens if that is left out. > Then make sure that your smbpasswd filee or your tdbsam file has both > lanman and nt passwords for each user. THIS is the crucial information. I'd already done everything you suggested, but not in the right order that you suggest: 1) Add the lines to smb.conf 2) Restart Samba 3) smbpasswd -a w98username 4) w98username logs out and logs back in Am I correct in assuming the way to make sure both lanman and nt passwords are present is to redo smbpasswd -a w98username after adding the lines to smb.conf and restarting Samba, and then just for fun looking at the resulting file? Right now I'm writing a Troubleshooters.Com article explaining exactly how to avoid this problem, or how to rectify it if necessary, without the 6 hour troubleshooting sessions I went through (I should have asked you earlier). The hope is this article, which I'll publicize to the search engines, will lessen the number of frazzled midnight emails you guys get from Win98 users who just upgraded to Ubuntu 9.04. Thanks for the help and great information! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Win98 asks for IPC$ password
Hi all, After I converted my Linux desktop from Mandriva 2008.1 with Samba 3.0.28a to Ubuntu 9.04 with Samba 3.3.2, my Windows 98 box could no longer connect to my Linux desktop via Samba. The symptom was that Windows kept asking for the IPC$ password. Linux clients have no problem with the Ubuntu Samba server. My machine is called "mydesk", and on every Linux box in the house, the following did what they were supposed to: smbclient -NL mydesk smbclient //mydesk/tmp -Uslitt I opened ports 137, 138, 139 and 445 to both udp and tcp, no change on the Windows box. I set the firewall (temporarily) to passs all, no change on the Windows box. I installed Mandriva 2008.1 on an experimental machine, created a tiny Samba with a share for /tmp, and verified that the same Windows computer could browse the /tmp directory. I moved the smb.conf file from the mandriva 2008 box to the Ubuntu 9.04 box, changed only the netbios name, and the Ubuntu machine still could not be read by the Windows box, which requested the IPC$ password. I added a new user and password to both the win98 and the Ubuntu box, used the new user on both -- same symptom. I tried password level=8 and username level=8 -- no change. About 5 times I verified that my username and password were entered via smbpasswd -a, and I switched between passdb backend=smbpasswd and passdb backend = tdbsam, but the symptom remained. I used smbd -b to verify that smb.conf and smbpasswd were in the /etc/samba directory, as expected. On the theory that maybe the defaults had changed, I created a new smb.conf from the Mandriva machine like this: testparm -sv > smb.conf.mandriva_full After doing the same on the Ubuntu box and diffing the two, the main differences were lanman auth, client lanman auth, and client plaintext auth were "yes" on the Mandriva and no on the Ubuntu, but explicitly setting them to "no" on the Ubuntu machine did no good. I even copied smb.conf.mandriva_full to smb.conf on the Ubuntu machine, changed the netbios name to mydesk, commented out the four or five things that caused it to fail, and the Windows box symptom remained the same. After every change in smb.conf, I restarted Samba with /etc/init.d/samba restart. I ran smbpasswd -a -D10 slitt, and the only thing I saw that looked especially suspicious were a bunch of lines like this: Substituting charset 'UTF-8' for LOCALE A web search turned up nothing especially telling about that phrase, but I'd imagine if ascii codes are interpreted differently on the Windows box than the Ubuntu box while encrypting passwords, that would be a problem. I'm at my wits end. Does anyone have any ideas of how I can narrow this down to the root cause? Thanks Steve Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] make install didn't install /etc/pam.d/samba
Hi all, After installing Samba 3.0.1, I couldn't log into SWAT. Turned out the trouble was lack of /etc/pam.d/samba. A quick copy from /home/slitt/samba-3.0.1/packaging/Mandrake/samba.pamd to /etc/pam.d/samba cured the problem. Is this documented in a howto somewhere? Should it be? Thanks Steve Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com (Legal Disclaimer) Follow these suggestions at your own risk. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba