Projects
Kolab:16
php-kolab-net-ldap3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
php-kolab-net-ldap3.spec
Changed
@@ -24,7 +24,7 @@ %else Name: php-kolab-net-ldap3 %endif -Version: 1.1.2 +Version: 1.1.3 Release: 1%{?dist} Summary: Object oriented interface for searching and manipulating LDAP-entries Group: Development/Libraries @@ -71,6 +71,9 @@ %{_datadir}/%{php}/Net/LDAP3/Result.php %changelog +* Mon Oct 21 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 1.1.3-1 +- Release of version 1.1.3 + * Sat Oct 19 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 1.1.2-1 - Release of version 1.1.2
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +php-net-ldap3 (1.1.3-1~kolab1) unstable; urgency=low + + * Release version 1.1.3 + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Mon, 21 Oct 2019 15:27:46 +0100 + php-net-ldap3 (1.1.2-1~kolab1) unstable; urgency=low * Release version 1.1.2
View file
pear-Net-LDAP3-1.1.2.tar.gz/lib/Net/LDAP3.php -> pear-Net-LDAP3-1.1.3.tar.gz/lib/Net/LDAP3.php
Changed
@@ -734,20 +734,20 @@ if (!empty($result)) { $attributes = array( 'dn' => $entry_dn, - 'attributeLevelRights' => array(), - 'entryLevelRights' => array(), + 'attributelevelrights' => array(), + 'entrylevelrights' => array(), ); - foreach (array('aclRights', 'attributeLevelRights', 'entryLevelRights') as $attr_name) { + foreach (array('aclrights', 'attributelevelrights', 'entrylevelrights') as $attr_name) { if ($attr_value = $result[$attr_name]) { switch ($attr_name) { - case 'aclRights': + case 'aclrights': $this->parse_aclrights($attributes, $attr_value); break; - case 'attributeLevelRights': + case 'attributelevelrights': $attributes[$attr_name] = $this->parse_attribute_level_rights($attr_value); break; - case 'entryLevelRights': + case 'entrylevelrights': $attributes[$attr_name] = $this->parse_entry_level_rights($attr_value); break; } @@ -851,8 +851,8 @@ $attributes = array( 'dn' => $subject_dn, - 'attributeLevelRights' => array(), - 'entryLevelRights' => array(), + 'attributelevelrights' => array(), + 'entrylevelrights' => array(), ); if ($this->vendor_name() == "Oracle Corporation") { @@ -876,10 +876,10 @@ switch ($attribute_name) { case "attributeLevelRights": - $attributes[$attribute_name] = $this->parse_attribute_level_rights($attribute_value); + $attributes['attributelevelrights'] = $this->parse_attribute_level_rights($attribute_value); break; case "entryLevelRights": - $attributes[$attribute_name] = $this->parse_entry_level_rights($attribute_value); + $attributes['entrylevelrights'] = $this->parse_entry_level_rights($attribute_value); break; } } @@ -1608,6 +1608,12 @@ */ public function search($base_dn, $filter = '(objectclass=*)', $scope = 'sub', $attrs = array('dn'), $props = array(), $count_only = false) { + $controls = null; + + if (!array_key_exists('sort', $props)) { + $props['sort'] = false; + } + if (!$this->conn) { $this->_debug("No active connection for " . __CLASS__ . "::" . __FUNCTION__); return false; @@ -2465,26 +2471,26 @@ switch ($_acl_components[1]) { case "entryLevel": - $attributes['entryLevelRights'] = Array(); + $attributes['entrylevelrights'] = Array(); $_acl_value = explode(',', $_acl_value); foreach ($_acl_value as $right) { list($method, $bool) = explode(':', $right); - if ($bool == "1" && !in_array($method, $attributes['entryLevelRights'])) { - $attributes['entryLevelRights'][] = $method; + if ($bool == "1" && !in_array($method, $attributes['entrylevelrights'])) { + $attributes['entrylevelrights'][] = $method; } } break; case "attributeLevel": - $attributes['attributeLevelRights'][$_acl_components[2]] = Array(); + $attributes['attributelevelrights'][$_acl_components[2]] = Array(); $_acl_value = explode(',', $_acl_value); foreach ($_acl_value as $right) { list($method, $bool) = explode(':', $right); - if ($bool == "1" && !in_array($method, $attributes['attributeLevelRights'][$_acl_components[2]])) { - $attributes['attributeLevelRights'][$_acl_components[2]][] = $method; + if ($bool == "1" && !in_array($method, $attributes['attributelevelrights'][$_acl_components[2]])) { + $attributes['attributelevelrights'][$_acl_components[2]][] = $method; } } @@ -3060,8 +3066,8 @@ } $ckey = 'domain.root::' . $domain; - if ($result = $this->icache[$ckey]) { - return $result; + if (array_key_exists($ckey, $this->icache)) { + return $this->icache[$ckey]; } $this->_debug("Net_LDAP3::domain_root_dn($domain)"); @@ -3114,7 +3120,7 @@ $ckey = 'domain::' . $domain; $ickey = $ckey . '::' . md5(implode(',', $attributes)); - if (isset($this->icache[$ickey])) { + if (array_key_exists($ickey, $this->icache)) { return $this->icache[$ickey]; }
View file
php-net-ldap3.dsc
Changed
@@ -2,7 +2,7 @@ Source: php-net-ldap3 Binary: php-net-ldap3 Architecture: all -Version: 1.1.2-1~kolab1 +Version: 1.1.3-1~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Christoph Wickert <wickert@kolabsys.com> Homepage: http://kolab.org @@ -12,5 +12,5 @@ Package-List: php-net-ldap3 deb php optional Files: - 00000000000000000000000000000000 0 pear-Net-LDAP3-1.1.2.tar.gz + 00000000000000000000000000000000 0 pear-Net-LDAP3-1.1.3.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.