Commit graph

51 commits

Author SHA1 Message Date
mglae
b3d8150bea samba: samba-config: call smbpasswd with valid smb.conf
Use fresh created tempfile as parameter. Allow smbpasswd logging to
journal to catch errors.
2023-06-04 00:15:52 +02:00
mglae
207500ef03 samba: samba-config: support user name with spaces 2023-05-11 00:21:38 +02:00
mglae
401b898ff5 samba: samba-config: gain exclusive access with flock 2023-05-11 00:21:24 +02:00
mglae
8546c5a9aa samba: include smbd-config in samba-config
smbd-config is only used from samba-config and therefore deleted.

/run/samba/smb.conf is created in a single step via temp file
2023-05-11 00:21:10 +02:00
MilhouseVH
022be3bbab samba: stop mangling username and password 2020-01-26 22:47:32 +00:00
mglae
66bc4f5a38 smbd-config: make smb.conf modification atomic 2018-09-21 23:46:43 +02:00
CvH
f668a67654 spdx: packages/network 2018-07-18 20:45:17 +02:00
MilhouseVH
c8809e92b9 samba: call smbd-config from samba-config 2018-04-19 00:33:40 +01:00
MilhouseVH
3e063177eb samba: fix synonyms in a custom config 2018-01-11 20:51:41 +00:00
MilhouseVH
091dac292c samba: use documented browseable/writeable properties not synonyms 2018-01-11 20:40:10 +00:00
MilhouseVH
e0e77267e2 samba: auto-share .kodi.FAILED folder as Kodi-Failed 2017-12-14 17:58:59 +00:00
MilhouseVH
df7f87dc9e samba: fix authentication with Win10 Fall Creators Update 2017-10-24 23:24:41 +01:00
MilhouseVH
837cbfa74a Merge pull request #1919 from escalade/sambafix
samba: don't restart smbd in samba-autoshare
2017-09-19 11:19:00 +01:00
MilhouseVH
2919064d1d samba: validate user config and avoid using it if not suitable 2017-09-09 21:51:38 +01:00
MilhouseVH
050ddf98d9 samba: ensure new properties are populated on upgrade 2017-09-03 19:00:41 +01:00
MilhouseVH
f32795d01a LibreELEC-settings: add support for workgroup, server min/max proto settings 2017-08-29 03:35:08 +01:00
escalade
a1a60e9d48 samba: don't restart smbd in samba-autoshare 2017-08-26 20:57:10 +02:00
MilhouseVH
061bb5d39b samba: update to samba-4.6.5 2017-07-06 19:28:19 +01:00
escalade
fe5781bb33 samba: move samba-defaults into the samba-config script to avoid getting failed systemd service on the console 2016-05-10 10:16:00 +02:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stefan Saraev
a4f728dbd2 samba: cosmetics. disable ratelimit 2013-12-18 01:34:44 +02:00
Stefan Saraev
3e54bdda5b samba: external drives autoshare 2013-12-18 00:18:18 +02:00
Stefan Saraev
61c804e42d samba: clean up and rework samba-config 2013-08-29 12:06:25 +03:00
Stephan Raue
7beaacfeff samba: add systemd support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-08-06 23:44:43 +02:00
Stephan Raue
38dedf388e samba: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-08-01 04:05:41 +02:00
Stephan Raue
b1f39d04e0 samba: remove init script, will be started via our new settings addon
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-10 22:40:07 +01:00
Stephan Raue
8c6c9c788b samba: fix typo
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-09-24 00:45:57 +02:00
Stephan Raue
6f4a7be809 Revert "samba: start samba earlyer, we will see if it works (again)"
This reverts commit 146838a57f.
2012-08-19 09:04:37 +02:00
Stephan Raue
146838a57f samba: start samba earlyer, we will see if it works (again)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-08-06 18:32:01 +02:00
Stephan Raue
6629834345 samba: wait longer until network is started, this should fix a non working samba with beta-5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-07-08 20:36:22 +02:00
Stefan Saraev
9a0d1404d7 samba: password lock user shares if enabled in openelec config ui
Signed-off-by: Stefan Saraev <stefan@saraev.ca>
2012-03-12 23:57:25 +02:00
Domin6
543c89c24b Change copyright and FSF address, this fixes #252 2012-02-29 13:36:32 +01:00
Stephan Raue
90fc523fd7 samba: change startorder from nmbd and smbd
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-11-22 19:03:50 +01:00
Stephan Raue
6f87dcde18 samba: add sleep before start samba server, thanks to hensing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-10-06 22:40:28 +02:00
Stephan Raue
0fbb2660e9 remove package 'netstatus'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-16 13:55:10 +02:00
Stephan Raue
d2443b373f Revert "samba: start init scripts on RUNLEVEL=boot"
This reverts commit 441cc44cc1.
2011-09-12 19:26:46 +02:00
Stephan Raue
8715162529 Revert "samba: shutdown samba on reboot/poweroff"
This reverts commit 5ee94a6324.
2011-09-12 19:16:55 +02:00
Stephan Raue
5ee94a6324 samba: shutdown samba on reboot/poweroff
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-08 04:26:45 +02:00
Stephan Raue
441cc44cc1 samba: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-09-07 23:10:56 +02:00
Stephan Raue
ef9833b4dc samba: simplyfing init script, use system config file
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-03-11 22:21:09 +01:00
Stephan Raue
03ce23e4b9 samba: update to last option dialog changes
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-23 18:36:23 +01:00
Stephan Raue
b29e23c1fa samba: use our new options dialog
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-23 00:39:25 +01:00
Stephan Raue
271e48f6e1 samba: readd nmbd support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-22 03:17:56 +01:00
Stephan Raue
6919ec4ff0 samba: use netstatus for detecting network status
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-19 14:44:19 +01:00
Stephan Raue
6508661f10 samba: dont build and install nmbd, remove winbind support, add option to disable starting samba on boottime in network.conf
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-17 18:37:55 +01:00
Stephan Raue
4fea23e0cf samba: rework init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-01-09 03:49:43 +01:00
Stephan Raue
7600aa7718 samba: change install location for init script, move init script to scripts, so it can be indstalled optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-10-11 16:13:07 +02:00
Stephan Raue
75ccb19414 samba: move init script to network init scripts (thanks to Wintemrute), cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-10-11 15:58:08 +02:00
Stephan Raue
2e414520e1 samba: start on started network
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-09-27 03:07:55 +02:00
Stephan Raue
2efd10bf56 samba: add metafile support, update to samba-3.5.4, build and install nmbd support, add some usefull options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-07-25 19:17:58 +02:00