[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.accounts_ldap.inc.php, 1.101.2.13.
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.accounts_ldap.inc.php, 1.101.2.13.2.34 |
Date: |
Thu, 24 Feb 2005 15:54:52 -0000 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.accounts_ldap.inc.php lines: +5 -5
Log Message:
stop ldap breaking sitemgr ... as discussed with fips previously .... grrrr!!!!!
====================================================
Index: phpgwapi/inc/class.accounts_ldap.inc.php
diff -u phpgwapi/inc/class.accounts_ldap.inc.php:1.101.2.13.2.33
phpgwapi/inc/class.accounts_ldap.inc.php:1.101.2.13.2.34
--- phpgwapi/inc/class.accounts_ldap.inc.php:1.101.2.13.2.33 Thu Jul 29
07:35:24 2004
+++ phpgwapi/inc/class.accounts_ldap.inc.php Tue Jan 25 02:21:28 2005
@@ -240,11 +240,11 @@
{
if(empty($query) || $query == "*")
{
- $filter =
'(&(uidnumber=*)(objectclass=posixaccount))';
+ $filter =
'(&(uidnumber=*)(objectclass=phpgwaccount))';
}
else
{
- $filter =
"(&(uidnumber=*)(objectclass=posixaccount)(|(uid=*$query*)(sn=*$query*)(cn=*$query*)(givenname=*$query*)))";
+ $filter =
"(&(uidnumber=*)(objectclass=phpgwaccount)(|(uid=*$query*)(sn=*$query*)(cn=*$query*)(givenname=*$query*)))";
}
$sri = ldap_search($this->ds, $this->user_context,
$filter);
$allValues = ldap_get_entries($this->ds, $sri);
@@ -277,11 +277,11 @@
{
if(empty($query) || $query == "*")
{
- $filter =
'(&(gidnumber=*)(objectclass=posixgroup))';
+ $filter =
'(&(gidnumber=*)(objectclass=phpgwgroup))';
}
else
{
- $filter =
"(&(gidnumber=*)(objectclass=posixgroup)(|(uid=*$query*)(sn=*$query*)(cn=*$query*)(givenname=*$query*)))";
+ $filter =
"(&(gidnumber=*)(objectclass=phpgwgroup)(|(uid=*$query*)(sn=*$query*)(cn=*$query*)(givenname=*$query*)))";
}
$sri = ldap_search($this->ds, $this->group_context,
$filter);
$allValues = ldap_get_entries($this->ds, $sri);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.accounts_ldap.inc.php, 1.101.2.13.2.34,
skwashd <=