AD - Roaming Profiles in NS8

NethServer Version: NS8
Module: Samba

Anyone knows how do I set Roaming Profiles in v8?

Hi and welcome to Nethserver Community,

I didn’t test it on NS8 but it should be possible.

You could edit /etc/samba/include.conf to add custom configuration, see also AD LDAP binding error (strong authentification required) - #2 by davidep

It’s also possible to use net conf setparm for configuration, check out Recycle Bin Samba NS8 - #4 by mrmarkuz

Instructions for configuring Roaming Profiles are in the Samba Wiki.

IIRC there’s also a thread about configuring Roaming Profiles in NS7 but I can’t find it.

Thank you so much. I appreciate your help!

Are there plans to add missing features from NS7 to NS8?

Check out the Roadmap on GitHub.

Which features are missing?

You could open a Feature request (if it doesn’t exist) and explain the feature you are missing.

I am following theses steps, but I am still not able to activate roaming profiles:

runagent -m samba1 podman exec -ti samba-dc mkdir /srv/profiles
runagent -m samba1 podman exec -ti samba-dc nano /etc/samba/include.conf

then I have added the following:

[profiles]
        comment = Users profiles
        path = /srv/profiles
        browseable = No
        read only = No
        csc policy = disable
        vfs objects = acl_xattr

But the /srv/profiles is disappearing when I restart samba1 with:

runagent -m samba1 systemctl --user restart samba-dc

What I am doing wrong?

Anyone knows the reason /srv/profiles is disappearing after restart samba? I have created the /srv/profiles directory several times with mkdir /srv/profiles, but it still being deleted.

Sorry for the late answer.

Only defined volumes are saved, other data gets lost after a container restart.

root@ns8node1:~# ls /home/samba1/.local/share/containers/storage/volumes
config  data  homes  shares

So you could setup the profiles share in /srv/shares/profiles to make it persistent.