Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: toomanylogins on March 17, 2022, 07:13:44 pm
-
Hello, I am trying to copy data from my Windows server onto a samba share. I have everything set up okay but on copy I get various errors to do with symlink. I managed to establish that I need to edit the Samba configuration as follows.
And I tried to create a hook /etc/zentyal/hooks/samba.postsetconf as follows
[global]
allow insecure wide links = yes
[share]
follow symlinks = yes
wide links = yes
exit 0
However this doesnt seem to modify the share.conf or smb.conf after reboot ?
Do I need to create hoooks/smb.postsetconf and shares.postsetconf ??
Any ideas
Thanks
Paul
-
Hi,
If you want to modify a configuration file, you need to use stubs not hooks. Below you have the link from the documentation.
* https://doc.zentyal.org/en/appendix-c.html#stubs
--
“This world is ours, and by the Holy Light we will keep it safe, now and forever".
-
Got it Thanks.