Mount LDAP home directory


I ve got Nextcloud and LDAP working but I want to map home folder in nextcloud.
I also cant use notes, since with the current configuration, smb is mapped but it cant write a new folder for notes.

current config:

name: /
authentification: save in session
server: ip
share: teachers

  • ACL

It works when I put a specific username in subfolder but there must be a variable to recognize it based on current logged in user.

Best regards