aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_ldap.php
Commit message (Collapse)AuthorAgeFilesLines
* Move Group_LDAP and Group_Proxy to PSR-4Joas Schilling2016-05-251-901/+0
|
* Fixed dynamic group ldap access (#23450)blizzz2016-05-171-9/+11
| | | | | | | | | | | | | | | | | | | * Fixed dynamic group ldap access getUserGroups: Using $userDN instead of $uid to query LDAP Converting groupDN to group name using API instead of substring Removing cache processing at the end of the method * Fixing group handling added back the cache processing and fixed * fixed possible indention problem spaces -> tab conversion * formatting, white-space changes only
* Group fixup (#24621)Roeland Douma2016-05-171-1/+1
| | | | | | | | * Move used OC_Group_xx to \OC\Group * Add (deprecated) legacy wrapper in legacy, OC_Group_xx * Replace deprecated use of OC_Group_xx with \OC\Group\xx
* Fix LDAP race conditionsMorris Jobke2016-04-201-15/+17
| | | | | | | | * getFromCache is wrapped in isCached * inbetween the two calls the cache entry hits it's TTL * getFromCache returns null * this fix only checkes if the returned value is null and return only non-null values
* Update author informationLukas Reschke2016-03-011-1/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* change error loggingalexweirig2016-02-031-1/+1
| | | replaced variable with print_r call
* Fixed undefined variable $dnGroup and variable namealexweirig2016-02-031-7/+7
| | | | | I renamed $memberURL into $dynamicGroup and print that variable in the writeLog. I think this makes more sense.
* Refactored code to avoid performance problemalexweirig2016-02-031-41/+37
| | | | | Moved the dynamic group processing to the top and removed condition in memberOf processing. Also, changed variable name $value to $memberUrl
* code changes for user_ldap Dynamic Group MembershipAlex Weirig2016-02-031-4/+89
| | | | | | | | | | | Added new setting of “Dynamic Group Member URL” (ldapDynamicGroupMemberURL) - see LDAP settings advanced tab. Added public function getDynamicGroupMembers. Updated function _groupMembers. Updated function getUserGroups.
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* remove uselessly used parameter, read all user attributes also when looking ↵Arthur Schiwon2015-11-061-2/+3
| | | | up users in groups
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Fix styleLukas Reschke2015-10-161-1/+1
|
* Revert "adjust to nested group fixFrédéric Fortier2015-10-161-6/+1
| | | | This reverts commit 845485cfe, which fixes #19816 regression.
* fix primary group retrievalArthur Schiwon2015-10-091-1/+1
|
* treat dn as any other attribute when building the search() return arrayArthur Schiwon2015-10-081-1/+1
|
* adjust handling changed return array structure from search() and fetchList()Arthur Schiwon2015-10-081-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+2
|
* adjust to nested group fixArthur Schiwon2015-09-231-1/+6
|
* Merge pull request #18042 from GreenArchon/masterMorris Jobke2015-08-261-3/+32
|\ | | | | Properly nest groups when using memberOf to detect group membership, …
| * fix more review comments for #18042 / #17759Frédéric Fortier2015-08-071-4/+3
| |
| * Take review comments into consideration for pr #18042 / issue #17759Frédéric Fortier2015-08-041-16/+13
| |
| * Properly nest groups when using memberOf to detect group membership, fixes ↵Frédéric Fortier2015-08-031-3/+36
| | | | | | | | #17759
* | Merge pull request #17526 from owncloud/fix-17516Morris Jobke2015-07-271-1/+6
|\ \ | |/ |/| LDAP: when checking group for matching filter, also take base DN into…
| * LDAP: when checking group for matching filter, also take base DN into ↵Arthur Schiwon2015-07-091-1/+6
| | | | | | | | consideration. Fixes #17516
* | Merge pull request #17046 from nicolas-grekas/fix-16654blizzz2015-07-161-4/+2
|\ \ | |/ |/| Do not use OC*::mb_*_replace(), they are useless
| * Do not use OC*::mb_*_replace(), they are uselessNicolas Grekas2015-07-161-4/+2
| |
* | ensure groups match filter when using memberOf to read users group, refs #17119Arthur Schiwon2015-06-261-1/+3
|/
* if possible, getUserGroups should get memberships using memberOf virtual ↵Arthur Schiwon2015-06-031-2/+29
| | | | attribute
* add primary group users to resultset before cachingArthur Schiwon2015-05-191-1/+2
|
* Fixes returns of group memberships and counting if all members have the ↵Arthur Schiwon2015-05-191-9/+7
| | | | specific groups as primary set.
* move away from deprecated constsArthur Schiwon2015-04-201-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-13/+19
|
* offset needs to be considered in computed limitArthur Schiwon2015-03-231-1/+1
|
* Revert "Updating license headers"Morris Jobke2015-02-261-19/+14
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Merge pull request #13740 from owncloud/fix-12190-2Lukas Reschke2015-02-241-22/+65
|\ | | | | Include primary groups in user and login filter when restricting group access and also fix user counting in primary groups
| * and escape the search termArthur Schiwon2015-01-291-0/+3
| |
| * :lipstick:Arthur Schiwon2015-01-281-4/+4
| |
| * fix counting of users in primary groupArthur Schiwon2015-01-281-23/+63
| |
* | Updating license headersJenkins for ownCloud2015-02-231-14/+19
|/
* make performance less bad. Still far from good, but at least it worksArthur Schiwon2014-10-171-7/+29
|
* fix retrievel of group members and cache group membersArthur Schiwon2014-10-171-2/+25
| | | | fix changed variable name
* Log warning when no uid was found for userVincent Petry2014-10-091-0/+4
| | | | | | | | In some incomplete setups (like mine) it can happen that the uid attribute of users is missing. To be able to find out that something is wrong, a debug message is now logged when it has not been found.
* Revert "[WIP] fix retrieval of group members and cache group members"Vincent Petry2014-10-091-25/+2
|
* fix changed variable nameArthur Schiwon2014-10-011-1/+1
|
* fix retrievel of group members and cache group membersArthur Schiwon2014-09-181-2/+25
|
* support for AD primary groupsArthur Schiwon2014-07-081-37/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for primary groups actually the problem is only known on AD, it is only needed to take care of their attributes adjust to ADs special behaviour this change was not intended cache the SID value so it is not requested over and over again theres only one, use singular we are access add tests for new Access methods add tests for new Group methods address scrutinizer findings, mostly doc call ldap_explode_dn from ldap wrapper, enables tests without php5-ldap PHP Doc yo dawg, i heard you like backslashes … php doc fix PHPDoc updated and typos fixed while reviewing
* also adapt result check from readAttributeArthur Schiwon2014-06-271-2/+1
|
* specify no attribute for group exists check, as done with usersArthur Schiwon2014-06-271-1/+1
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-7/+7
| | | | * test case added to avoid adding them later