Commit Graph

29 Commits

Author SHA1 Message Date
Michael Tremer
49471f05d5 misc-progs: Fix passing argument list
The run() function expects all arguments without the basename of the
program.

This regression was introduced in a609195a26.

Fixes: #12886
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2022-06-23 13:21:23 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Michael Tremer
37fe3658a0 samba: Add helper script to pipe password
It is complicated to set the password in the C helper binary.

Therefore it is being set by a helper script.

This is still not an optimal solution since the password might be
exposed to the shell environment, but has the advantage that shell
command injection is no longer possible.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
354c3e2b45 samba: Remove option to chose user group and shell
There is no need for this being implemented and it is dangerous to allow
the user to create any shell accounts or users that belong to groups
with higher privileges.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
64883513d5 misc-progs: sambactrl: Sanitise username
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
8e4b2125cc misc-progs: sambactrl: Remove unused smbsafeconfpdc command
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
36bcdbf7e4 samba: Refactor user management
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:19 +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
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
e0be282c09 sambactrl: Remove unused reset command
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-13 17:06:16 +01:00
Michael Tremer
0ffbb688d3 samba: Add GUI functionality to join a domain. 2014-06-10 20:15:32 +02:00
Michael Tremer
a8e327cd50 sambactrl: Re-indent file. 2014-06-10 20:13:23 +02:00
maniacikarus
bac7231b69 Control Skripe korrigiert
Pakfire 2sprachig gemacht
MPFire Gui erweitert
Language Missings bereinigt


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@688 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-15 07:33:07 +00:00
maniacikarus
dd4ecbcd9c Die beiden CTRL Dateien nochmal angepasst
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@684 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-14 12:25:46 +00:00
maniacikarus
c0b839c47f Die beiden Control Dateien angepasst
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@681 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-13 17:51:42 +00:00
ms
186e3d2cf8 DHCP und Squid-Initscripts optimiert fuer ein schnelleres starten und stoppen.
Which und lsof zur ISO hinzugefuegt.
Update-XLrator cacht unsere Pakfire-Pakete und rpm/deb-Pakete.
Pakfire weitergebaut.
UPnP aus dem Menue genommen.
Samba-Symlinks korrigiert.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@657 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-01 21:41:27 +00:00
ms
51f3b7f5af QoS-Graphen wieder eingebaut.
usbutils und which Paket gemacht.
unbenoetigte Apache-Module werden nicht geladen.
Net-SSLeay gefixt - DynDNS braucht das.
Alsa-Module werden geladen.
Java-paket verkleinert.
Sambactrl gefixt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@652 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-06-30 17:21:34 +00:00
maniacikarus
63d4db83de Bugfixes in Samba und Sambactrl
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@519 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-03 21:26:52 +00:00
ms
e989d2d914 Hwinfo-Hardwareerkennung entfernt.
Alte Paketdateien entfernt, da der Packager neu geschrieben wird.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@505 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-28 09:01:53 +00:00
maniacikarus
c41c2eb41d Samba vorbereitet fuer CUPS
Rewrite der internen Verarbeitung mit Hashes und Sub Funktionen
Erweiterung der ausgehenden Firewall um predefined services


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@502 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-22 08:43:35 +00:00
maniacikarus
889329363f Wie immer Samba und Tripwirek>
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@499 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-13 19:57:32 +00:00
maniacikarus
71dfc4b7a2 Viele kleine Änderungen an Samba und Tripwire
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@497 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-12 21:01:15 +00:00
maniacikarus
92004c6126 Tripwire Gui integrierto>
Tripwire Controll Datei geschrieben
Weitere Anpassungen am Sambapaket
Tripwire Sourcen ins LFS genommen


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@487 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-10 18:39:44 +00:00
maniacikarus
60124059ba In der Samba.cgi einige Icons ausgetauscht
smbpasswd eingebunden


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@483 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-05 19:04:25 +00:00
maniacikarus
c9e1c143a2 Samba CGI 2sprachig DE und ENG
Anpassung an der Samba Controll Datei
Tango Icons hinzugefügt


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@479 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-03 20:53:31 +00:00
maniacikarus
fa7be6597c Samba Status und Logauswertung fertiggestelllt
ausserdem eine Menge Codefixes
einige Icons eingefügt


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@474 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-31 13:26:25 +00:00
ms
5fd302326d upnp.cgi und status.cgi von Maniac eingebaut
IPSec aktualisiert


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@453 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-24 13:30:47 +00:00
ms
44254afd44 Samba-Update von Maniac...
Reiser4! Juhuu!


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@433 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-25 19:46:08 +00:00
ms
14cc7eac2e Sambactrl und samba.cgi von Maniacikarus
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@432 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-24 22:10:57 +00:00