Closed EBS-DarkD closed 6 years ago
Fixed this it seems I introduced the bug when making the update. its kills the syncing of Staff/Agent only... I corrected it. Turn off syncing for the Staff/Agents let me know if it works or update from github. I have a multiple Domains also with 30,000 plus users and it works and sync up like a CHARM.
Edit line #359 $qry_ostagents = "SELECT susername, " . "email, " . "phone, " . "phone_ext as ext, " . "mobile FROM " . TABLE_PREFIX . "staff WHERE " . "username IS NOT NULL";
The updated files did the trick, I can now authenticate an agent with LDAP. Just need to work out why I get a 500 error when I login with the agent account now!
GREAT I consider this closed. If you get a 500 error on ONLY one account then that is a different issue. Just check the PHP and Osticket Logs usually that means a duplicate agent email exists somehow. If that does not work open another issue and I will have a look at any log you post.
I've done a clean install of v1.10 on to a debian lampstack with php 5.6.30 & MySQL 5.5.57 I'm initially trying to get the agents side to work as there are only 10 accounts but I have 2000+ users across a multidomain AD forest. When I try login with one of the agent accounts I get a screen saying 'First run configuration error' Looking in the logs it also states 'Unable to copy files' 'ldap login (username)' 'User authenticated on (domain)'
After reading the thread on the forum mentioning this error, I manually copied sync_mldap.php into the scp folder & restarted apache. Still got the same issue.
It then did a sync and I found the following error in the logs
Any pointers on getting this working as I a. don't trust my users to do things right if I let them register b. don't want to have to enter 2000 accounts manually
Cheers Andy