<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br>----- Original Message -----<br>From: "Tom H" <tomh0665@gmail.com><br>To: ubuntu-users@lists.ubuntu.com<br>Sent: Thursday, September 9, 2010 3:00:41 PM<br>Subject: Re: Samba frustrations<br><br>On Thu, Sep 9, 2010 at 6:14 AM, <pkaplan1@comcast.net> wrote:<br>>>From: "Tom H" <tomh0665@gmail.com><br>>>On Wed, Sep 8, 2010 at 7:56 PM, <pkaplan1@comcast.net> wrote:<br>>>> I'm trying to set up a samba server on lucid (kubuntu) and connect to it<br>>>> (mostly) from a win7 machine. The win7 machine and server are both in the<br>>>> same workgroup.<br>>>> The problem is that the server is not displayed in the win7 networking<br>>>> page.<br>>>> As a matter of fact, when I attach another kubuntu machine to the<br>>>> network,<br>>>> smbclient doesn't see the server either. So I assume something is wrong<br>>>> with the server config.<br>>>> The smb.conf file is<br>>>here:<br>>>https://lists.ubuntu.com/archives/ubuntu-users/2010-September/227600.html<br>>><br>>>What' the output of<br>>>pdbedit -Lw<br>>>and<br>>>smbclient -L //127.0.0.1<br>>>on the Ubuntu server?<br>><br>> pkaplan@dumbledore:~$ pdbedit -Lw<br>> tdbsam_open: Failed to open/create TDB passwd [/var/lib/samba/passdb.tdb]<br>> tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb!<br>> User Search failed!<br>> pkaplan@dumbledore:~$ smbclient -L //127.0.0.1<br>> Enter pkaplan's password:<br>> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7]<br>> Sharename Type Comment<br>> --------- ---- -------<br>> Dumbledore-share Disk<br>> print$ Disk Printer Drivers<br>> OfficeJet Printer HP Officejet 6500 e709n<br>> IPC$ IPC IPC Service (dumbledore server (Samba,<br>> Ubuntu))<br>> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7]<br>> Server Comment<br>> --------- -------<br>> Workgroup Master<br>> --------- -------<br>> KAPPA_NET PS-B810<br>> WORKGROUP DUMBLEDORE<br>> pkaplan@dumbledore:~$<br><br>A few things are weird.<br><br>1. I have no idea why "pdbedit -Lw" is failing. You have "passdb<br>backend = tdbsam" and haven't defined a non-standard location for<br>passdb.tdb in smb.conf.<br><br>2. What is PS-B810?<br><br>3. Dumbledore is in the "WORKGROUP" workgroup even though its<br>workgroup is set to "KAPPA_NET" in smb.conf.<br><br>Have you restarted samba since editing smb.conf?<br><br><div>An interesting catch...which leads me into further frustration. There are two smb.conf files on the system, one at /usr/share/samba/smb.conf and one at /etc/samba/smb.conf. Both show the work group as KAPPA_NET. I have tried sudo service smbd stop and sudo service nmbd stop followed by start for both commands, which I believe should restart the server. Yet smbclient -L //127.0.0.1 continues to show that the server is a member of WORKGROUP. ARGGH!!</div><div><br></div><div>I have been able to get to the server from both win7 and lucid by mapping the IP address of the server, but I still want to see it listed in the Network listing on win7 (which BTW is called PS-B810).</div><div>Paul</div><div><br></div><div><br>-- <br>ubuntu-users mailing list<br>ubuntu-users@lists.ubuntu.com<br>Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users<br></div></div></body></html>