patch to fix bug in domain view
Aaron Collins <[email protected]> Wed, 20 Jul 2005 02:53:31 -1000
| Newsgroups | gmane.mail.qmail.ldap.phpqladmin |
|---|---|
| Organization | Ehawaii.gov |
| Message-ID | <[email protected]> |
--Boundary-00=_Llk3CPjHV2TGx/7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline The code wasn't respecting my PQL_CONF_REFERENCE_DOMAINS_WITH in ldap that I set to dc. To correct it I made this change -- Aaron Collins Systems Administrator / Release Engineer Hawaii Information Consortium [email protected] 808-587-4213 --Boundary-00=_Llk3CPjHV2TGx/7 Content-Type: text/x-diff; charset="iso-8859-1"; name="patch.2" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.2" diff -u -r2.42 pql_search.inc --- phpQLAdmin/include/pql_search.inc 13 Jun 2005 12:55:56 -0000 2.42 +++ phpQLAdmin/include/pql_search.inc 20 Jul 2005 12:48:18 -0000 @@ -224,8 +224,8 @@ else if(pql_get_define("PQL_CONF_REFERENCE_DOMAINS_WITH", $TOP_DN) == 'dc') $ocs = '(objectClass=domain)'; // Could also be 'domainComponent' - if(pql_get_define("PQL_CONF_REFERENCE_USERS_WITH", $TOP_DN)) - $filter = pql_get_define("PQL_CONF_REFERENCE_USERS_WITH", $TOP_DN)."=*"; + if(pql_get_define("PQL_CONF_REFERENCE_DOMAINS_WITH", $TOP_DN)) + $filter = pql_get_define("PQL_CONF_REFERENCE_DOMAINS_WITH", $TOP_DN)."=*"; else // User reference for this branch/domain not specified. Use default... $filter = 'uid=*'; --Boundary-00=_Llk3CPjHV2TGx/7 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --Boundary-00=_Llk3CPjHV2TGx/7--