I have a working nextcloud and LDAP setup.
I can login and mount shares.
What i want to do is for all my users to get they’re home folder mapped in nextcloud.
I’ve tried adding /Home/$user but i doesn’t work.
Changing to /Home/tsl for example works just fine.
I’ve set “Internal Username Attribute:” to “sAMAccountName”.
@Dudde, related to your work with NC and LDAP, i wonder how you’d give the LDAP user home folder write access to the user the NC web server is running as?
Is it possible to use ACL to achieve this. E.g NFS mount all the LDAP home directories using the ACL option with mount on a server and then use a common group with rw permission to write to the data?
I.e mounted files and the user web server is running as will be member of that common group.
I havent touched my NextCloud project for some time now but im still having problem with this issue. I can access shares from my AD domain, but i haven’t been able to auto mount users home folders. So any help on this is still needed.
hello, as far as i can see on my NC using your conf the user sees all the homes.
isn’t it possible to filter using something like Remote subfolder = %User or $samaccountname ?
–edit
ok, bad permissions on fileserver and active directory.
ignore please
Okey im back too this project and im still having the same problem.
I just cant figure out how on earth I can tell NC to mount all our users home directories.
There must be someone who got this working and can tell us how your setup looks?
Edit:
Okey so this was what i did to make this work:
Under Expert and Internal Username Attribute i put "sAMAccountName"
and under Advanced, Special Attributes, User Home Folder Naming Rule i also put "sAMAccountName"
Then i changed the share folder into /Home/$user and it all works just fine