1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-12 12:59:18 +00:00

Add follow_referrals option to LDAP.

When connecting to AD, if you use domain root (e.g. dc=example,dc=com),
you need to set follow_referrals to false.
This commit is contained in:
Jonathan Xu
2017-08-24 11:36:11 +08:00
parent f770efc9cd
commit 13ea4ddf8e
2 changed files with 27 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ struct _CcnetUserManager
char *user_dn; /* DN of the admin user */
char *password; /* password for admin user */
char *login_attr; /* attribute name used for login */
gboolean follow_referrals; /* Follow referrals returned by the server. */
#endif
int passwd_hash_iter;