6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6883] group permission with LDAP does not work
*
Your Email Address
*
Spam protection
Enter the letters below:
. __ . .___. | / `| [__ | |___\__.|___[___|___
Comment
> With Horde 3.3 and sql.php v. 1.1.2.49 and sql_hierarchical.php v. > 1.17.2.25 it is still problem. PostgreSQL say: column "cn" does not > exist > > > > This fix works for me: > > > > --- sql.php.1.1.2.49 Fri Oct 24 17:50:36 2008 > > +++ sql.php Fri Oct 24 19:23:31 2008 > > @@ -673,7 +673,7 @@ > > $group_ids = array_keys($groups); > > array_walk($group_ids, array($this->_db, 'quote')); > > $query .= ' LEFT JOIN ' . $this->_table . '_groups > AS g ON g.share_id = s.share_id'; > > - $where .= ' OR (g.group_uid IN (' . implode(',', > $group_ids) . ')' > > + $where .= ' OR (g.group_uid IN (\'' . implode(',', > $group_ids) . '\')' > > . ' AND (g.perm & ' . $perm .') != 0)'; > > } elseif (is_a($groups, 'PEAR_Error')) { > > Horde::logMessage($groups, __FILE__, __LINE__, > PEAR_LOG_ERR); > >
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