Seite 1 von 1

edit config defaults

Verfasst: 14 Jun 2017, 02:38
von SisterOfMercy

Code: Alles auswählen

opsi-setup --edit-config-defaults
Shouldn't I be able to change the samba workgroup with this?
I've changed clientconfig.windows.domain from SAMBA to my own thing. Trying the normal --init-current-setup and --auto-configure-samba does not help changing the workgroup of the opsi server.
Yes, I know it says clientconfig, but the only thing called SAMBA is the default samba workgroup, and windows clients tend to stay in their own workgroup or domain.

of course I can edit it by hand as I have always done in /etc/samba/smb.conf but isn't this supposed to work like this?

I would expect this to work (on centos 7):

Code: Alles auswählen

opsi-setup --edit-config-defaults
opsi-setup --auto-configure-samba
systemctl restart smb nmb

Re: edit config defaults

Verfasst: 03 Jul 2017, 17:02
von n.wenselowski
Hi SisterOfMercy,
SisterOfMercy hat geschrieben:of course I can edit it by hand as I have always done in /etc/samba/smb.conf but isn't this supposed to work like this?
The tools do patch the smb.conf only to add the opsi shares but we do not change anything else - or even touch existing shares.
You need to edit the file by hand here.


Kind regards

Niko

Re: edit config defaults

Verfasst: 04 Jul 2017, 00:30
von SisterOfMercy
Mental note: check manual.

Why all these questions? Before I just did some things to make it work. Now, it's been a few years, let's find out what the correct procedure is.