Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP password sync issue #326

Open
sudharssic opened this issue Jul 8, 2020 · 2 comments
Open

LDAP password sync issue #326

sudharssic opened this issue Jul 8, 2020 · 2 comments
Labels

Comments

@sudharssic
Copy link

Dear team,

We are using LDAP based authentication for TCExam. However when LDAP user changes the password, it is not reflected in TCExam as it stores the password in mysql DB when LDAP user login for first time and does not update when changes the password in active directory. Please let us know if there is a fix to solve this issue.

@nicolaasuni
Copy link
Member

TCExam should automatically resync the password.
Are you using the latest TCExam version?

@ureman2
Copy link

ureman2 commented Apr 12, 2024

good day.
I can't do LDAP authentication in any way.
The config has already been studied. I tried different options, but I still get an "incorrect username or password" at the output. correct the pliz if it's not difficult.
define('K_LDAP_ENABLED', true);
define('K_LDAP_HOST', 'ldaps://srv.jobname.com');
define('K_LDAP_PORT', 389);
define('K_LDAP_PROTOCOL_VERSION', 3);
define('K_LDAP_ROOT_DN', 'CN=examen,OU=SystemUsers,DC=jobname,DC=com');
define('K_LDAP_ROOT_PASS', 'password');
define('K_LDAP_BASE_DN', 'CN=examen,OU=SystemUsers,DC=jobname,DC=com');
define('K_LDAP_FILTER', 'uid=sAMAccountName=user');

$ldap_attr = array();
$ldap_attr['dn'] = 'dn';
$ldap_attr['user_email'] = 'mail';
$ldap_attr['user_firstname'] = 'givenName';
$ldap_attr['user_lastname'] = 'sn';
//$ldap_attr['user_regnumber'] = '';

define('K_LDAP_UTF8', false);
define('K_LDAP_USER_LEVEL', 1);
define('K_LDAP_USER_GROUP_ID', 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants