Samba settings via swat won't stick

I went into swat, logging in as root, and tried to change the workgroup. When I tried to commit the change, the workgroup went back to blank. I had similar lack of success with other settings. I also wasn’t able to create a share.

What am I missing here?

I’ve never used it – but if it won’t stick – you might need to be root user to get it to stick

I assume that when I log into swat as root, that suffices. However, just to be sure, I called Firefox from a root shell and then went to swat from there. It made no difference.

Check your other thread to set the workgroup. Hopefully some experienced soul will show up here and tell you how to use swat – I cant. But in the meantime the other thread will tell you how to set the workgroup and netbios name.

The place to set the workgroup shows up conspicuously on the first page of settings. What happens is that I set it to a value and then select Commit. At that point, the change should be accepted. Instead, the workgroup goes back to a blank value.

A similar thing happens if I attempt to delete a share. The delete is accepted but the share is still there. I can delete shares via Yast, however.

pwabrahams wrote:

>
> The place to set the workgroup shows up conspicuously on the first page
> of settings. What happens is that I set it to a value and then select
> Commit. At that point, the change should be accepted. Instead, the
> workgroup goes back to a blank value.
>
> A similar thing happens if I attempt to delete a share. The delete is
> accepted but the share is still there. I can delete shares via Yast,
> however.
>
>
pwabrahams;

We don’t use SWAT very often, but never had a problem with it. Are you
sure the problem is just not cosmetic? If you have local access,
check /etc/samba/smb.conf to see if it took your settings. You can
always, as root, just edit /etc/samba/smb.conf and run “rcsmb restart” so
that the new config is read. If you need to administer remotely and and
SWAT is not working try webmin. We’ve been using webmin for at least two
years for remote configuration of services.

You might look at your logs in /var/log to see if anything jumps out why
SWAT is not working. I have no idea where in the logs it would show up,
but I would start in /var/log/samba and also /var/log/messages.

Best of luck;

P. V.

I can confirm that using swat is broken in openSUSE 11.0.

I always use swat to configure samba because “for me” it is the easiest and fastest way. It is non-functional under openSUSE 11.0.

I have tried it on 4 computers and it doesn’t work on any of them.

brucecadieux wrote:

>
> I can confirm that using swat is broken in openSUSE 11.0.
>
> I always use swat to configure samba because “for me” it is the easiest
> and fastest way. It is non-functional under openSUSE 11.0.
>
> I have tried it on 4 computers and it doesn’t work on any of them.

Same results here - useless on 4 boxes and I sure miss it.


Will Honea

I can also confirm that swat doesn’t work any more under opensuse 11, on a new install. I’ve always found it one of the best - and easiest - configuration tools for samba. Now it does exactly as described. If you’ve done a basic configuration elsewhere then open swat, it shows everything as blanks, and anything you enter then try to commit goes back to blanks. Also, I used to find the kde configuration tool had been getting quite good. Now it (apparently) won’t allow me to go into Administrator mode to change samba options. I now appear to have only 2 options that actually work. The first is manually editing smb.conf (ouch). The second is using YAST, which if you look hard enough does actually appear to have all the options there.

Latest on samba.org works correctly.

add repository us5.samba.org/samba/ftp/Binary_Packages/SuSE/STABLE/11.0/

Not sure how to add this repository
can you explain it step by step?

Then how do i upgrade swat after i do?
>:(

thank you for posting the repo for openSuse 11 Samba & swat files. YAST has a long way to go before it will be a usable tool for swat client/server configs. I do love openSuse and we’ve seen major progress, but ya still need swat for Samba!!
peace,
damian

Adding a software repo is explained step-by-step here:
Add Package Repositories to YaST - openSUSE
Good luck