is this correct that it is not possible to use Nethserver 8 as file server who doesnt handle the domain by itself?
I have joined ns8 with my domain but i wasnt able to creat share folders. Only after i create an internal new domain i was able to do it. But the problem was i cant use the users or groups out of the external LDAP.
I do it wrong or is this feature are not implemented?
The same question about a standalone Samba File server module was already answered here, and as you can read in the last release announcement it is not planned for the next round.
Are there any news on implementing the Fileserver-Service on NS8 with external LDAP?
I would need this feature for a few customers… They have to use a Windows Domain Controller and I dont want do setup an additional (Windows)-Server as a Fileserver…
the external ldap is now available in NS 8.5.
I tried it already. I joined it to zentyal 8 and it works well.
my only issue where i am stucking right now is to change the fileserver path from default to my own needed path? any idea
thank you for response. i did not want to install the complete module on different device. i try to follow the first suggestion with success.
My only difference was that i had already create an share. so i was not able to step between like suggested. i had to delete the actual samba-dc container. and i need to see if the shares is defined in in podman with volume ls. if there is no share anymore i was able to create a new one. after that i created a new bind mount with podman to my referred and mounted device. This device should belongs to samba1:samba1 with permission 700. than i checked afterwards if the new location is written in podman under section shares. than i enabled enable-linger samba1 and restart the agent of samba1. after all this it behaves like i wish to. a new created share folder is written directly into my mounted storage. here are the steps:
check if samba share is with old settings remaining
runuser -l samba1 -c ‘podman volume ls --format “{{.Name}}”’
if shares is present then delete it
runuser -l samba1 -c ‘podman volume rm shares’
rm -rf /home/samba1/.local/share/containers/storage/volumes/shares
then connect the new volume with bind
runuser -l samba1 -c ‘podman volume create --opt device=/srv/files --opt type=bind shares’
check if it does so
runuser -l samba1 -c ‘podman volume inspect shares’
do it persistant
loginctl enable-linger samba1
then i had the sate that samba-dc is not active. i restarted it and it works fine at me
runagent -m samba1 systemctl --user restart samba-dc
This was my steps that i did with success. Please lets discuss if there is anything which is maybe not good solved or if it could bring new problems afterwards which i do not expected. thank you ver much
The steps look ok to me.
If /srv/files is on another disk, you may need to adapt /etc/fstab to mount the disk at boot.
If it’s not on another disk, what’s the advantage of mounting the shares to another location?
yes you are right. i forgot to write that i add it to fstab to do it persistant with boot.
this i did before.
short question about permissions.the nethserver 8 has limited possibility to handle with permission. i can only set owner permission with rwx settings. but not any additional groups or users like in ns 7. is this on roadmap or it is remaining like this?