What determines the pattern of the User Home Folder name?

Hi folks,
I am maintaining a Nextcloud Hub 9 (30.0.2) instance that has a patched version of the CAS app installed to interact with a LDAP authentication service.

Now I am wondering what determines the pattern for the User Home Folder name.

Example: The User Home Folder name for user Max Mustermann is max.mustermann.

ls -l ../nextcloud/data/|head
...
drwxr-xr-x  7 ecg04-nextcloud ecg04    91 Jan  4  2023 max.mustermann
...

For instance, when this Nextcloud instance is interacting with LDAP with the CAS integration app, the pattern for the User Home Folder folder is first name.last name.

For instance, when this Nextcloud instance is interacting directly with LDAP with the LDAP integration app "LDAP user and group backend", the pattern for the User Home Folder name is a hash.

Now my question: Is the pattern for the User Home Folder name depending on Nextcloud or on the LDAP integration app? What determines the pattern of the User Home Folder name?

Cheers!

Short answer: The LDAP integration app.

For instance, when this Nextcloud instance is interacting directly with LDAP with the LDAP integration app, the pattern for the users data folder is a hash.

By default (for all intents and purposes). There are other ways of configuring the default name of the home folder within the LDAP integration app.

1 Like