Samba frustrations

Tom H tomh0665 at gmail.com
Thu Sep 9 19:14:39 UTC 2010


On Thu, Sep 9, 2010 at 3:00 PM, Tom H <tomh0665 at gmail.com> wrote:
> On Thu, Sep 9, 2010 at 6:14 AM,  <pkaplan1 at comcast.net> wrote:
>>>From: "Tom H" <tomh0665 at gmail.com>
>>>On Wed, Sep 8, 2010 at 7:56 PM,  <pkaplan1 at comcast.net> wrote:
>>>> I'm trying to set up a samba server on lucid (kubuntu) and connect to it
>>>> (mostly) from a win7 machine. The win7 machine and server are both in the
>>>> same workgroup.
>>>> The problem is that the server is not displayed in the win7 networking
>>>> page.
>>>> As a matter of fact, when I attach another kubuntu machine to the
>>>> network,
>>>> smbclient doesn't see the server either.  So I assume something is wrong
>>>> with the server config.
>>>> The smb.conf file is
>>>here:
>>>https://lists.ubuntu.com/archives/ubuntu-users/2010-September/227600.html
>>>
>>>What' the output of
>>>pdbedit -Lw
>>>and
>>>smbclient -L //127.0.0.1
>>>on the Ubuntu server?
>>
>> pkaplan at dumbledore:~$ pdbedit -Lw
>> tdbsam_open: Failed to open/create TDB passwd [/var/lib/samba/passdb.tdb]
>> tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb!
>> User Search failed!
>> pkaplan at dumbledore:~$ smbclient -L //127.0.0.1
>> Enter pkaplan's password:
>> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7]
>>         Sharename       Type      Comment
>>         ---------       ----      -------
>>         Dumbledore-share Disk
>>         print$          Disk      Printer Drivers
>>         OfficeJet       Printer   HP Officejet 6500 e709n
>>         IPC$            IPC       IPC Service (dumbledore server (Samba,
>> Ubuntu))
>> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7]
>>         Server               Comment
>>         ---------            -------
>>         Workgroup            Master
>>         ---------            -------
>>         KAPPA_NET            PS-B810
>>         WORKGROUP            DUMBLEDORE
>> pkaplan at dumbledore:~$
>
> A few things are weird.
>
> 1. I have no idea why "pdbedit -Lw" is failing. You have "passdb
> backend = tdbsam" and haven't defined a non-standard location for
> passdb.tdb in smb.conf.
>
> 2. What is PS-B810?
>
> 3. Dumbledore is in the "WORKGROUP" workgroup even though its
> workgroup is set to "KAPPA_NET" in smb.conf.
>
> Have you restarted samba since editing smb.conf?

Forgot. What does "net view \\ip_address_of_dumbledore" and/or "net
view \\dumbledore" output on the Win7 box?




More information about the ubuntu-users mailing list