[49/54] samba: Set a useful default workgroup

Message ID 20201013160812.27754-49-michael.tremer@ipfire.org
State Accepted
Commit 1bd80edc1d5e8ed2048e9565eae0746338cf1b26
Headers show
Series [01/54] samba: Migrate configuration from Samba 3.6 to 4.x | expand

Commit Message

Michael Tremer Oct. 13, 2020, 4:08 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 html/cgi-bin/samba.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi
index 1504b8d3e..3f2903132 100644
--- a/html/cgi-bin/samba.cgi
+++ b/html/cgi-bin/samba.cgi
@@ -58,7 +58,7 @@  my %shares = ();
 ############################################################################################################################
 #################################### Initialisierung von Samba Variablen fr global Settings ###############################
 
-$sambasettings{'WORKGRP'} = 'homeip.net';
+$sambasettings{'WORKGRP'} = uc($mainsettings{'DOMAINNAME'});
 $sambasettings{'INTERFACES'} = '';
 $sambasettings{'ROLE'} = 'standalone';
 $sambasettings{'REMOTEANNOUNCE'} = '';