[TYPO3-dev] ldap_auth and DBAL, coding for DBAL
franz ripfel
typo3 at abezet.de
Fri Aug 18 18:56:59 CEST 2006
Hi list,
we testet TYPO3 4.0.1 with ldap, DBAL and MS SQL.
Please make sure you do correct coding for DBAL combatibility!
It took us quite a long time to see following problems, visualized here
with diff:
* is the old
!> the changed version
Now it works like a charm.
EXT:\ldap_server\class.tx_ldapserver.php
55 * 'tx_ldapserver',"NOT hidden AND NOT
deleted".$this->getAddWhereClause($folderIDs, $serverIDs, $logintype),
* 'tx_ldapserver',
!> "hidden=0 AND deleted=0".$this->getAddWhereClause($folderIDs,
$serverIDs, $logintype),
57 * 'sorting'
* 'sorting',
!> ''
471 * $value = $GLOBALS['TYPO3_DB']->quoteStr($value,'');
* $value = $GLOBALS['TYPO3_DB']->quoteStr($value,$table);
477 * $table.".".$field." = '".$value."' AND ".$table.".pid = '".$pid."'
AND NOT deleted".$where
* $table.".".$field." = '".$value."' AND ".$table.".pid = '".$pid."'
AND deleted=0".$where
greets,
Franz
--
Franz Ripfel, A.BE.ZET
http://www.abezet.de
More information about the TYPO3-dev
mailing list