Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117406797
D737.1774828461.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
550 B
Referenced Files
None
Subscribers
None
D737.1774828461.diff
View Options
diff --git a/lib/Autodiscover.php b/lib/Autodiscover.php
--- a/lib/Autodiscover.php
+++ b/lib/Autodiscover.php
@@ -236,12 +236,16 @@
// connect to LDAP
if (!$this->ldap->connect()) {
$this->error("Storage connection failed");
+ return false;
}
// bind as the service user
if (!$this->ldap->bind($this->_ldap_bind_dn, $this->_ldap_bind_pw)) {
$this->error("Storage connection failed");
+ return false;
}
+
+ return true;
}
/**
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 29, 11:54 PM (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bb/e2/2aa092f5d4ea5a55373fb1fcbcef
Default Alt Text
D737.1774828461.diff (550 B)
Attached To
Mode
D737: fix return value of init_ldap()
Attached
Detach File
Event Timeline