edit config defaults

Benutzeravatar
SisterOfMercy
Beiträge: 849
Registriert: 22 Jun 2012, 19:18

edit config defaults

Beitragvon SisterOfMercy » 14 Jun 2017, 02:38

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
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
n.wenselowski
Beiträge: 2446
Registriert: 04 Apr 2013, 12:15

Re: edit config defaults

Beitragvon n.wenselowski » 03 Jul 2017, 17:02

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
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.

Benutzeravatar
SisterOfMercy
Beiträge: 849
Registriert: 22 Jun 2012, 19:18

Re: edit config defaults

Beitragvon SisterOfMercy » 04 Jul 2017, 00:30

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.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!


Zurück zu „Bugs“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast