How do I set up Samba without Yast?

I need to set up ‘Name server’ and ‘workgroup’ without Yast, how can I do this?

When I modify these settings and restart services ‘smb’ and ‘nmb’ nothing happen. The setting are the same before.

If I use Yast, the settings are applied.

Can someone explain me?

Thanks in advance

Fernando

Do you mean the terms that you set in Yast → network Services → samba server → identity → advanced? If “yes”, then you can set those with a text editor by editing the [global] stanza of the Samba config file direct. The GUI devices in Yast for samba edit that file for you. Well to do it direct, open it in a text editor with this console command:
for kde it’s: kdesu kwrite /etc/samba/smb.conf
or for Gnome it’s this: gnomesu gedit /etc/samba/smb.conf

Put/change/edit a line like this in the [global] stanza:
workgroup = mshome (or whatever).
and so on like:
netbios name = mullet

Is that what you’re talking about?

Yes, that´s the same thing.
I edited the smb.conf, restart service smb && nmb and the Samba doesn´t refresh the informations.
Doesn´t matter to restart the CPU.
Nothing happens.

Thanks

Fernando

Three things please:

  1. Can you post here the contents of the samba configuration file (smb.conf)

  2. and tell us what you see when you try to browse to the Suse computer from another computer on the network.

  3. and tell us what you see when you try to view the Suse computer from within its own network browser using smb://.

Thanks

On Wed January 28 2009 01:56 pm, fernando0973 wrote:

>
> Yes, that´s the same thing.
> I edited the smb.conf, restart service smb && nmb and the Samba doesn´t
> refresh the informations.
> Doesn´t matter to restart the CPU.
> Nothing happens.
>
> Thanks
>
> Fernando
>
>
Fernando;

Are you sure you saved the edited file to /etc/samba/smb.conf ? Keep in mind
that Windows caches a lot of information, so that changes made on the server
name may not appear in “My Network Places”. This is purely cosmetic.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Yes, for sure!
Restarting the services is not sufficient.
I don´t know what I have to do.
It seems tha something is wrong. I have experienced Samba about 4 years or more and this is the first time that I experienced some trouble.
Somebody knows about another service that needs to be restarted (smb & nmb)?

Thanks in advanced.

Fernando A. Gottlieb

On Mon February 2 2009 02:56 am, fernando0973 wrote:

>
> Yes, for sure!
> Restarting the services is not sufficient.
> I don´t know what I have to do.
> It seems tha something is wrong. I have experienced Samba about 4 years
> or more and this is the first time that I experienced some trouble.
> Somebody knows about another service that needs to be restarted (smb &
> nmb)?
>
> Thanks in advanced.
>
> Fernando A. Gottlieb
>
>
Fernando;
Can you explain just what exactly you’re seeing that leads you to believe that
the changes made to /etc/samba/smb.conf are not taking effect?

The only thing I can think of that would keep changes in /etc/samba/smb.conf
from taking effect would be a non-standard samba install. In /etc/init.d it
would be possible to start [s,n]mb with a different config file. Have you
searched your system for some other smb.conf?

P. V.
“We’re all in this together, I’m pulling for you.” Red Green