restore LDAP cache cleanup as a CLI script
authorDenis Ovsienko <denis@ovsienko.info>
Sat, 5 Nov 2016 15:17:36 +0000 (15:17 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Sat, 5 Nov 2016 15:17:36 +0000 (15:17 +0000)
commit07a10e0087a980d0dd57496a492c795f2ca936fd
tree1093d15bfabff29315259dd8e178fb5e868c52f3
parentdde06796a88c1bbe67a295b01b0446bcd43308c6
restore LDAP cache cleanup as a CLI script

* constructLDAPOptions(): factor out of authenticated_via_ldap() (see
  also commit 88a9274) and add a check
* authenticate(): update to call the above
* cleanup_ldap_cache.php: a new wrapper script for discardLDAPCache()
scripts/cleanup_ldap_cache.php [new file with mode: 0755]
wwwroot/inc/auth.php