[27/54] samba: Drop PDC default configuration

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

Commit Message

Michael Tremer Oct. 13, 2020, 4:07 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/packages/aarch64/samba  |  1 -
 config/rootfiles/packages/armv5tel/samba |  1 -
 config/rootfiles/packages/i586/samba     |  1 -
 config/rootfiles/packages/x86_64/samba   |  1 -
 config/samba/pdc                         | 19 -------------------
 html/cgi-bin/samba.cgi                   |  5 -----
 6 files changed, 28 deletions(-)
 delete mode 100644 config/samba/pdc

Patch

diff --git a/config/rootfiles/packages/aarch64/samba b/config/rootfiles/packages/aarch64/samba
index 4ee93218e..0742d11f0 100644
--- a/config/rootfiles/packages/aarch64/samba
+++ b/config/rootfiles/packages/aarch64/samba
@@ -794,7 +794,6 @@  usr/sbin/winbindd
 var/ipfire/backup/addons/includes/samba
 #var/ipfire/samba
 var/ipfire/samba/global
-var/ipfire/samba/pdc
 #var/ipfire/samba/private
 var/ipfire/samba/private/secrets.tdb
 var/ipfire/samba/private/smbpasswd
diff --git a/config/rootfiles/packages/armv5tel/samba b/config/rootfiles/packages/armv5tel/samba
index 471d81982..80ee5d6f7 100644
--- a/config/rootfiles/packages/armv5tel/samba
+++ b/config/rootfiles/packages/armv5tel/samba
@@ -794,7 +794,6 @@  usr/sbin/winbindd
 var/ipfire/backup/addons/includes/samba
 #var/ipfire/samba
 var/ipfire/samba/global
-var/ipfire/samba/pdc
 #var/ipfire/samba/private
 var/ipfire/samba/private/secrets.tdb
 var/ipfire/samba/private/smbpasswd
diff --git a/config/rootfiles/packages/i586/samba b/config/rootfiles/packages/i586/samba
index 73057db97..4beb655ea 100644
--- a/config/rootfiles/packages/i586/samba
+++ b/config/rootfiles/packages/i586/samba
@@ -794,7 +794,6 @@  usr/sbin/winbindd
 var/ipfire/backup/addons/includes/samba
 #var/ipfire/samba
 var/ipfire/samba/global
-var/ipfire/samba/pdc
 #var/ipfire/samba/private
 var/ipfire/samba/private/secrets.tdb
 var/ipfire/samba/private/smbpasswd
diff --git a/config/rootfiles/packages/x86_64/samba b/config/rootfiles/packages/x86_64/samba
index 1940211d6..d97dea9bc 100644
--- a/config/rootfiles/packages/x86_64/samba
+++ b/config/rootfiles/packages/x86_64/samba
@@ -794,7 +794,6 @@  usr/sbin/winbindd
 var/ipfire/backup/addons/includes/samba
 #var/ipfire/samba
 var/ipfire/samba/global
-var/ipfire/samba/pdc
 #var/ipfire/samba/private
 var/ipfire/samba/private/secrets.tdb
 var/ipfire/samba/private/smbpasswd
diff --git a/config/samba/pdc b/config/samba/pdc
deleted file mode 100644
index 73d2c4f9b..000000000
--- a/config/samba/pdc
+++ /dev/null
@@ -1,19 +0,0 @@ 
-[homes]
-path = /home/%U
-comment = Benutzer-Verzeichnisse
-browseable = yes
-writeable = yes
-valid users = %U
-
-[netlogon]
-path = /var/ipfire/samba/netlogon
-browseable = no
-writeable = no
-comment = NetLogON
-
-[profiles]
-path = /var/ipfire/samba/profiles
-browseable = no
-writeable = yes
-comment = Benutzerprofile
-valid users = %U
diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi
index 062b4c85a..5f177963c 100644
--- a/html/cgi-bin/samba.cgi
+++ b/html/cgi-bin/samba.cgi
@@ -90,11 +90,6 @@  $sambasettings{'ENCRYPTION'} = 'optional';
 $sambasettings{'ACTION'} = '';
 my $LOGLINES = '50';
 
-################################################## Samba PDC Variablen #####################################################
-
-my $PDCOPTIONS = `cat ${General::swroot}/samba/pdc`;
-
-
 ############################################################################################################################
 
 &General::readhash("${General::swroot}/samba/settings", \%sambasettings);