6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9197] Group Listing returns fatal error
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . .__..___ \ /[ __| | |[__ \/ [_./|___|__||
Comment
> Setup: H4 latest git code and Active Directory on Windows 2000 Server > > Clicking on Groups (logged in as administrator) returns the following > error: > A fatal error has occurred > Could not reach the LDAP server > [line 556 of .../horde/framework/Group/lib/Horde/Group/Ldap.php] > > Looking at the code (horde/framework/Group/lib/Horde/Group/Ldap.php) > you find the folowing snippet: > if (isset($this->_params['binddn'])) { > $bind = @ldap_bind($this->_ds, $this->_params['binddn'], > $this->_params['password']); > } else { > $bind = @ldap_bind($this->_ds); > } > > if (!$bind) { > throw new Horde_Group_Exception('Could not bind to LDAP server'); > } > > Well I don't know why one don't see the error "Could not bind to LDAP > Server", > maybe it's overwritten by the following Horde_Group_Exeption from the > ldap_search call. Nevertheless, binddn is empty, so an anonymous bind is > tried. Windows 2008 AD Server prevents anonymous binds by default. I couldn't > find any setting in the conf.php named "binddn" nor any in conf.php.dist. > So I replaced those with searchdn (password with searchpw) and it works. > > Note: The Group Listing is still empty (as in H3) but this seems to > be another problem I'm trying to track down in the code. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers