Just upgraded from 1.8.0 to 1.9.2
Our instance is using LDAP auth and it's working properly for all indications. However, when I go to create a booking, the edit_entry page is now broken. The "Created by" field is empty and the ajax just spins if you pull it down. Browser console reports:
Uncaught TypeError: Cannot read property 'toUpperCase' of null
at Object.<anonymous> (general.js.php?area=1:51)</anonymous>
so I'm guessing it's having trouble finding my username in some LDAP back-end or database? I am logged in as an 'admin' when this happens.
I've rolled my instance back to 1.8.0 for now, but re-doing the upgrade in a test install also shows the same problem.
Any hints on what might be the issue here? Let me know if you need any additional info.
Here's the non-sensitive parts of my ldap config. LDAP in question is actually MS AD.
$ldap_host = array('host1', 'host2');
$ldap_v3 = true;
$ldap_port = 389;
$ldap_tls = false;
$ldap_base_dn[] = "OU=container1,DC=...";
$ldap_base_dn[] = "OU=container2,DC=...";
$ldap_dn_search_attrib = "sAMAccountName";
$ldap_dn_search_dn = "user@ad.example.com";
$ldap_dn_search_password = "...";
$ldap_user_attrib = "sAMAccountName";
$ldap_disable_referrals = true;
$ldap_get_user_email = true;
$ldap_email_attrib = 'mail';
Thanks!
This is a known bug for which there is a fix. See https://sourceforge.net/p/mrbs/bugs/491/.
And indeed, this appears to fix my issue. Thanks. Is there a place I missed where known bugs are listed?
Well it wasn't a known bug at the time of release - it was discovered afterwards. The place to look is https://sourceforge.net/p/mrbs/bugs/.