Commit Graph

92 Commits

Author SHA1 Message Date
Michael Tremer
42ebeaa88e samba: Re-indent global settings table
No functional changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
e1e399fb10 samba: Replace icons on top of page with buttons
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
d83d30d630 samba: Add tbl class to all <table>s
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
83ae629a72 samba: Drop refresh page hack
This is very invalid HTML, very often inserted into spaces where
it should not be, and the page does not even need to be reloaded
after any action has been performed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
9e329f75d6 samba: Refactor service status
No functional changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
8dc8788bee samba: Remove un-exported password sync option
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
c13b64f736 samba: Remove move unused network variables
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
86832d8955 samba: Remove OS level
Samba will chose this automatically and the documentation advises
against changing the default.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
7dea42ae84 samba: Drop PDC default configuration
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
eef84767b0 samba: Remove preferred master option
This is no longer relevant since we cannot run in domain
mode any longer.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
4f00cf381f samba: Remove local master option
It is not a good default to withdraw samba from the race of becoming
the local master browser. There is no reason why it couldn't be.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
70000894e9 samba: Drop support for being PDC for Windows NT domains
This is outdated, and nobody uses it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
d7129fb107 samba: Drop interfaces configuration
It is virtually impossible to limit samba to these interfaces only.

Therefore we add a static list of all interfaces of the local network.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:17 +01:00
Michael Tremer
01c4d3ba06 samba: Add option to require clients to encrypt the connection
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
be1554336d samba: Export all printers from CUPS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
97722ab69d samba: Remove printer management
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
1c14930212 samba: Always show printer options
Samba is always linked against CUPS and therefore there is
no way to disable printing anyways.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
a88ea3463c samba: Remove help popup
This is outdated and should be put into the wiki.

It is also some very ugly JS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
5aa5f6777a samba: Remove reset options
This only requires that we have to change multiple files with
the same settings.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
13e455aec7 samba: Log to syslog
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
1661f0f37f samba: Drop support for WINS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
762522e0af samba: Remove limitation that server only uses SMB2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
240b8048ad samba: Drop netbios name option
It makes no sense that the same server has different host names

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
18b7d734a9 samba: Hard-code server string
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
6e3c67d608 samba: Drop outdated character set settings
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
7a60353472 samba: Remove any options left to default value in global section
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
2a4ac08fcc samba: Remove deprecated encrypt/null passwords options
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:15 +01:00
Michael Tremer
160fc7b1ab samba: Correctly escape status output
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:15 +01:00
Michael Tremer
fb8e2c14df samba: Show status output in monospace font
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:15 +01:00
Michael Tremer
69c0addc8b samba: Remove socket options
It is not useful to set this on a modern server. The Linux
kernel will be tuning any send and receive buffer sizes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:15 +01:00
Michael Tremer
92d2e06568 samba: Remove deprecated syslog options
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:15 +01:00
Arne Fitzenreiter
b3e5529459 samba: remove SO_xxxBUF size definitions from default config
this option is not recommended for samba4

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-06 12:19:01 +00:00
Arne Fitzenreiter
e4ee298623 samba.cgi: remove unsupported DISPLAY CHARSET
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-06 12:18:50 +00:00
Arne Fitzenreiter
c771fe7c4f samba.cgi: remove unsupported security = share
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-06 12:18:42 +00:00
Arne Fitzenreiter
3cf764f338 samba: default enable SMBv2.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-09-27 19:38:38 +02:00
Michael Tremer
889219356e samba: Make sure that permissions of the lock dir are fine. 2014-06-12 16:14:11 +02:00
Michael Tremer
0ffbb688d3 samba: Add GUI functionality to join a domain. 2014-06-10 20:15:32 +02:00
Alf Høgemark
f8aa06792f cgi-bin: Add title attribute to input type image where missing
Almost all of <input type="image"... has both an alt and a
title attribute, but some are missing title, and when the icon
is not very clear, it makes it harder to understand what the icon
does. By adding title, the browser displays text when mouse pointer
is over the icon.

Also add missing quotes for alt and title attributes where needed.
2014-02-19 18:31:02 +01:00
Alf Høgemark
153cf6406c cgi-bin: Use readonly="readonly" attribute on html input elements
The proper way to mark readonly is to use readonly="readonly", not
readonly="true", like it was done some places.
2014-02-18 18:48:57 +01:00
Alexander Marx
961f3dbcd8 fifteen-theme: made samba.cgi tables themeable 2014-01-08 09:29:20 +01:00
Arne Fitzenreiter
94ce2cc1b9 samba.cgi: increase network buffers. 2013-03-18 20:26:38 +01:00
Arne Fitzenreiter
725254ef1f samba: remove MAPTOGUEST="Never".
This option is not supported by samba 3.6.x anymore.
2013-03-01 19:35:18 +01:00
Arne Fitzenreiter
9f82cdb1f8 samba: security update to 3.5.15. (CVE-2012-2111).
This security release addresses CVE-2012-2111 (incorrect permission checks when
granting/removing privileges could compromise file server security).
2012-05-02 10:10:07 +02:00
Arne Fitzenreiter
b05a940f3e samba.cgi: set ipfire version to 2.9. 2010-12-06 10:34:12 +01:00
Christian Schmidt
703a822107 Updated samba to latest stable, this should fix some securitproblems.
Enabled support for smb2 protocol.
2010-09-17 10:00:17 +02:00
Christian Schmidt
75842d01ba Fixed some bad copy and paste errors. 2010-07-12 20:12:02 +02:00
Christian Schmidt
d3bea04349 Sometimes my winscp acts strange ... 2010-07-12 18:01:51 +02:00
Christian Schmidt
b6a542c4df Fixed anchors because opera does not autofix this. 2010-07-12 17:49:14 +02:00
Arne Fitzenreiter
4594712a17 Set version to "2.7". 2010-06-07 23:56:16 +02:00
Christian Schmidt
00a5af61dd Updated samba to current stable.
The passsb packend has been change by the samba team, so we need
to fix our config.
2010-03-10 23:03:29 +01:00