mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
SSO_LDAP_USE_SAME_UID
This commit is contained in:
parent
198fa6b95b
commit
b2e3771de1
|
|
@ -113,3 +113,11 @@ If your LDAP service supports TLS connections, you can configure `LDAP_SERVER_UR
|
|||
```python
|
||||
LDAP_SERVER_URL = 'ldaps://192.168.0.1:636/'
|
||||
```
|
||||
|
||||
### SSO and LDAP users use the same uid
|
||||
|
||||
If you use both ldap and SSO (enable LDAP user sync with ADFS/OAuth), and the uids of ldap and sso users are the same, you can configure `SSO_LDAP_USE_SAME_UID = True` to make different authentication methods point to the same Seafile user.
|
||||
|
||||
```python
|
||||
SSO_LDAP_USE_SAME_UID = True
|
||||
```
|
||||
|
|
|
|||
|
|
@ -179,6 +179,12 @@ DEL_GROUP_IF_NOT_FOUND = False # Set to "true", sync process will dele
|
|||
DEL_DEPARTMENT_IF_NOT_FOUND = False # Set to "true", sync process will deleted the department if not found it in LDAP server.
|
||||
```
|
||||
|
||||
If you use both ldap and SSO (enable LDAP user sync with ADFS/OAuth), and the uids of ldap and sso users are the same, you can configure `SSO_LDAP_USE_SAME_UID = True` to make different authentication methods point to the same Seafile user.
|
||||
|
||||
```python
|
||||
SSO_LDAP_USE_SAME_UID = True
|
||||
```
|
||||
|
||||
#### Migrate LDAP records
|
||||
|
||||
Run the following script to migrate users in `LDAPImported` to `EmailUsers`
|
||||
|
|
|
|||
Loading…
Reference in New Issue