From 965f523f9b8bd5e0a6de3bf241d63dbcad30f6a3 Mon Sep 17 00:00:00 2001 From: Shaw Drastin <168159404+showier-drastic@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:21:22 +0800 Subject: [PATCH] Fix attr name in LDAP description --- manual/deploy/ldap_in_11.0.md | 4 ++-- manual/deploy_pro/ldap_in_11.0.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manual/deploy/ldap_in_11.0.md b/manual/deploy/ldap_in_11.0.md index fbd3344d..ea14fc38 100644 --- a/manual/deploy/ldap_in_11.0.md +++ b/manual/deploy/ldap_in_11.0.md @@ -53,8 +53,8 @@ Meaning of some options: * **LDAP_CONTACT_EMAIL_ATTR:** LDAP user's contact_email attribute * **LDAP_USER_ROLE_ATTR:** LDAP user's role attribute -* **LDAP_FIRST_NAME_ATTR**: Attribute for user's first name. It's "givenName" by default. -* **LDAP_LAST_NAME_ATTR**: Attribute for user's last name. It's "sn" by default. +* **LDAP_USER_FIRST_NAME_ATTR**: Attribute for user's first name. It's "givenName" by default. +* **LDAP_USER_LAST_NAME_ATTR**: Attribute for user's last name. It's "sn" by default. * **LDAP_USER_NAME_REVERSE**: In some languages, such as Chinese, the display order of the first and last name is reversed. Set this option if you need it. * **LDAP_FILTER:** Additioinal filter conditions. Users who meet the filter conditions can log in , otherwise they cannot log in. diff --git a/manual/deploy_pro/ldap_in_11.0.md b/manual/deploy_pro/ldap_in_11.0.md index 67a6633a..74bbb5b3 100644 --- a/manual/deploy_pro/ldap_in_11.0.md +++ b/manual/deploy_pro/ldap_in_11.0.md @@ -50,8 +50,8 @@ Meaning of some options: * **LDAP_CONTACT_EMAIL_ATTR:** LDAP user's contact_email attribute. It will be stored as a user's contact email in Seafile. * **LDAP_USER_ROLE_ATTR:** LDAP user's role attribute -* **LDAP_FIRST_NAME_ATTR**: Attribute for user's first name. It's "givenName" by default. -* **LDAP_LAST_NAME_ATTR**: Attribute for user's last name. It's "sn" by default. +* **LDAP_USER_FIRST_NAME_ATTR**: Attribute for user's first name. It's "givenName" by default. +* **LDAP_USER_LAST_NAME_ATTR**: Attribute for user's last name. It's "sn" by default. * **LDAP_USER_NAME_REVERSE**: In some languages, such as Chinese, the display order of the first and last name is reversed. Set this option if you need it. * **LDAP_FILTER:** Additioinal filter conditions. Users who meet the filter conditions can log in , otherwise they cannot log in.