Jakob Olsson
fa8094da2c
samba: update hex_filter performance
2019-04-05 09:24:18 +02:00
Jakob Olsson
e132128e13
samba: use hex_filter when creating user and password #17065
2019-03-20 13:56:34 +01:00
Jakob Olsson
e2c49a8945
samba: add hex filter to discard newline section or config #16885
2019-02-22 09:06:37 +01:00
Jakob Olsson
38a1faae48
Revert "samba: prevent mulitple lines from being written to an option in smb.conf"
...
This reverts commit 88291c196a .
2019-02-22 09:06:26 +01:00
Jakob Olsson
d4b4304ea7
Revert "samba: prevent multiple lines from being written from uci to smb.conf #16885 "
...
This reverts commit 8784439985 .
2019-02-22 09:06:08 +01:00
Jakob Olsson
5c6221667c
samba: prevent multiple lines from being written from uci to smb.conf #16885
2019-02-20 16:26:02 +01:00
Jakob Olsson
88291c196a
samba: prevent mulitple lines from being written to an option in smb.conf
2018-11-02 14:42:53 +01:00
Sukru Senli
c662cb800c
samba3: update default config
2018-09-13 15:06:06 +02:00
Kenneth Johansson
2f600a6b58
Revert "samba3: create directories in start script."
...
This reverts commit 7b1a960d5b .
2018-03-13 11:33:43 +01:00
Kenneth Johansson
7b1a960d5b
samba3: create directories in start script.
...
was done in preinit before.
2018-03-12 22:06:42 +01:00
Omar
54df72b3cc
Ticket refs #11405 : EX400: some packages are not available because they do not compile
2017-11-01 17:03:44 +01:00
Alex Oprea
5c91fa5e79
samba3: security patches for CVE-2010-2063 CVE-2010-3069 CVE-2012-1182
2017-05-31 16:50:55 +02:00
Sukru Senli
5b20ce3119
samba3: do not listen on any interface by default
2017-03-03 12:32:15 +01:00
Sukru Senli
5dbd1e1474
samba3: triggered by interface events
2016-09-14 13:27:15 +02:00
Sukru Senli
8b0489e4d6
samba3: trigger reload by network.interface events
2016-08-31 17:57:58 +02:00
Sukru Senli
7e026deb64
samba: support multiple interface triggers
2016-08-29 10:20:51 +02:00
Sukru Senli
2543d6a601
samba3: add procd interface event trigger
2016-08-29 10:15:04 +02:00
Alex Oprea
6a713b2933
samba: increase path security, no share outside /mnt
...
If the path is still outside /mnt/ after all the previous checks and
enforces have been applied, overwrite the path to "/mnt/".
This is usefull in the following scenario:
- "/mnt/tmp" is a soft link to "/tmp"
- $path is pushed from the web gui as "/"
- $dirpath is pushed from the web gui as "tmp"
The init script prepends "/mnt/", the $path becomes "/mnt/tmp".
Further, the smb.conf would receive "path = /mnt/tmp" and
samba would export for share "/tmp".
A while-loop (that always prepends "/mnt/" to $(readlink -f $path)
if it does not start with "/mnt")
would not prevent this case exactly because
the soft link and the target directory have the same name,
thus the loop would never end.
2016-08-08 10:27:07 +02:00
Alex Oprea
4e8f08aa8b
samba: use readlink -f before forcing the /mnt/ prefix
...
When checknig that path starts with /mnt/, path should not include
softlinks, "." or "..". This prevents the obvoius case of sharing the
"/mnt/../" path, which will jump out of the restricted /mnt/.
2016-08-04 16:13:10 +02:00
Alex Oprea
203e252bae
samba: fix code logic: $path was definetly not empty when checked
...
Assuming that path and dirpath are both empty, path becomes
"/", which is not empty. The -z $path check after was useless.
Changed the order of this two operations.
2016-08-04 16:13:10 +02:00
Alex Oprea
977657eefd
samba: restrict share paths to /mnt refs #9862
...
force the share paths to always start with /mnt/
set wide links to no, in order to not allow soft links
to be followed outside /mnt/
2016-08-04 14:30:24 +02:00
Sukru Senli
fc74862f11
samba3: add mising files
2016-06-08 14:27:35 +02:00
Jonas Höglund
085d43c3a4
Add samba3 to feed_inteno_packages
2016-06-08 13:14:51 +02:00
Fredrik Åsberg
e92bc0ea7d
Moved the following packages to inteno-packages-openwrt:v3.5
...
and moved luci out of webgui.
alljoyn
block-mount-old
dbus
ddns-scripts
glib2
haproxy
hotplug2
libffi
libipfix
libmbim
libmicroxml
libpcre
libqmi
luci
minidlna
multiwan
net-snmp
samba2
samba3
shflags
syslog-ng3
usb-modeswitch
2016-01-26 15:06:55 +01:00
Sukru Senli
35427c3ad2
fix samba not reloaded via webgui issue
2015-12-10 14:02:29 +01:00
Sukru Senli
4c377f65b5
samba3 fixed
2015-12-08 16:31:10 +01:00
Sukru Senli
07f1a622f7
replace samba3 with samba36
2015-06-15 22:06:33 +02:00
Sukru Senli
92dc21ebc7
update samba and dect init scripts
2015-06-15 22:06:32 +02:00
Sukru Senli
777647df2b
samba procdified
2015-06-15 22:06:32 +02:00
Sukru Senli
59972d8b74
BarrierBreaker
2015-06-15 21:57:39 +02:00