-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Problem is that if I use direct link to search or get contact (for example http://contagged/index.php?search=myname) it does't work if I didn't open address book before since I open a browser and browser redirect me to logon.php. If I use this URL again - it works without any problems.
Additional info:
- anonymous binding
- userlogreq = 0
I've made some investigation and found workaround but, unfortunately, I'm a little bit confused with the code and I'm not sure this is a good way to fix the issue.
Index: inc/functions.php
===================================================================
--- inc/functions.php (リビジョン 13)
+++ inc/functions.php (作業コピー)
@@ -34,7 +34,7 @@
$_SESSION['ldapab']['password'] = $p;
}
- if(empty($_SESSION['ldapab']) ||
+ if(/*empty($_SESSION['ldapab']) ||*/
!do_ldap_bind($_SESSION['ldapab']['username'],
$_SESSION['ldapab']['password'],
$_SESSION['ldapab']['binddn'])){
cweiske
Metadata
Metadata
Assignees
Labels
No labels