Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_ldap: Add support for gidNumber #4489

Merged
merged 4 commits into from
Apr 26, 2017
Merged

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Apr 25, 2017

#3218 by @Xuanwo with one adjustement due to changed method name.

Works for me.

Another reviewer? @nextcloud/ldap

Xuanwo and others added 3 commits April 25, 2017 10:06
This patch is based on the work of @dleeuw (https://github.com/dleeuw)
(See #2640 (comment) for more details).
The difference is user & group data will be written into cache to have
better performance, and functions splited from primaryGroupID series to
make them more readable.

Fixed #2640

Signed-off-by: Xuanwo <xuanwo@yunify.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member Author

blizzz commented Apr 25, 2017

👍 (since i cannot github-review self-opened PRs even if the code but one line isn't mine)

@Xuanwo
Copy link
Contributor

Xuanwo commented Apr 25, 2017

OK, It's the same for me, hoping for the merge. 😄

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets do this!

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@codecov
Copy link

codecov bot commented Apr 25, 2017

Codecov Report

Merging #4489 into master will decrease coverage by 25.29%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #4489      +/-   ##
============================================
- Coverage     53.96%   28.67%   -25.3%     
- Complexity    21679    21725      +46     
============================================
  Files          1272     1272              
  Lines         75789    75280     -509     
============================================
- Hits          40898    21583   -19315     
- Misses        34891    53697   +18806
Impacted Files Coverage Δ Complexity Δ
apps/user_ldap/lib/Connection.php 0% <ø> (-55.6%) 115 <0> (ø)
apps/user_ldap/templates/settings.php 0% <ø> (ø) 0 <0> (ø) ⬇️
apps/user_ldap/lib/Group_LDAP.php 0% <0%> (-57.88%) 161 <21> (+25)
apps/user_ldap/lib/Wizard.php 0% <0%> (-17.16%) 226 <0> (ø)
apps/user_ldap/lib/Configuration.php 20.75% <0%> (-21.08%) 86 <0> (+22)
lib/private/Route/CachingRouter.php 0% <0%> (-100%) 3% <0%> (ø)
...yBuilder/FunctionBuilder/SqliteFunctionBuilder.php 0% <0%> (-100%) 1% <0%> (ø)
apps/comments/lib/AppInfo/Application.php 0% <0%> (-100%) 1% <0%> (ø)
apps/files_sharing/lib/AppInfo/Application.php 0% <0%> (-100%) 3% <0%> (-1%)
ocs/routes.php 0% <0%> (-100%) 0% <0%> (ø)
... and 361 more

@blizzz
Copy link
Member Author

blizzz commented Apr 25, 2017

One test failed, I pushed a fix.

Signoff fails for the merge commit → ignore.

@MorrisJobke MorrisJobke merged commit 8a004ac into master Apr 26, 2017
@MorrisJobke MorrisJobke deleted the ldap-gidnumber-sprt-xuanwo branch April 26, 2017 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants