Problem defining the Samba workgroup
NoOp
glgxg at sbcglobal.net
Fri Sep 17 21:04:11 UTC 2010
On 09/17/2010 12:44 PM, Tom H wrote:
> On Fri, Sep 17, 2010 at 11:46 AM, NoOp <glgxg at sbcglobal.net> wrote:
...
>>>>> NoOp suggested that you add a dumbledore.kappa_net" entry to /etc/hosts.
>>>>>
>>>>> I tried doing so with ".workgroup" with your smb.conf but my workgroup
>>>>> was still ".kappa_net".
>>>>
>>>> This apparently is not longer needed on 10.04. I just tried on the
>>>> laptop & it didn't make any difference. What *did* make a difference
>>>> after editing 'workgroup = <name>' in /etc/samba/smb.conf was to reboot.
>>>> No matter what I tried (stopping/starting/restarting smbd & networking -
>>>> logging out/in) made a difference. I could only pick up the new samba
>>>> domain/workgroup name in nautilus *after* I rebooted.
>>>
>>> I changed the "workgroup = " a few times without restarting either
>>> smbd or nmbd and "smbclient -L //127.0.0.1" output the new workgroup
>>> as the domain every time! Unexpectedly!
>>>
>>> The new workgroup was also output after stopping and starting smbd and nmbd.
>>
>> Were you checking from a remote machine, or just local?
>>
>> Sorry, I should have mentioned that was using the laptop as the target
>> base (change domain/workgroup) and the desktop to see if the changes are
>> broadcast from the laptop to the desktop.
>
> I was being a locavore. Do you think that smbclient would behave
> differently if used remotely?
>
:-) I figured out what I missed; I failed to restart nmbd when I was
testing - I only restarted smbd. Without restarting nmbd the changed
didn't get broadcast to the net.
More information about the ubuntu-users
mailing list