Skip to content

dep: update github.com/go-ldap/ldap to v3#6763

Merged
unknwon merged 2 commits intogogs:mainfrom
simonecattaneo91:fix-6761
Feb 26, 2022
Merged

dep: update github.com/go-ldap/ldap to v3#6763
unknwon merged 2 commits intogogs:mainfrom
simonecattaneo91:fix-6761

Conversation

@simonecattaneo91
Copy link
Contributor

Describe the pull request

Updated LDAP library to v3 in order to fix issues with ARM devices as specified in issue #6761

Link to the issue: #6761

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

@unknwon
Copy link
Member

unknwon commented Feb 10, 2022

Thanks for the PR! Looks like the CI is not passing.

@simonecattaneo91
Copy link
Contributor Author

simonecattaneo91 commented Feb 15, 2022

I've checked and added the updated go.mod and go.sum.

@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #6763 (aeb1f5f) into main (8a1a40c) will increase coverage by 0.01%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##            main   #6763      +/-   ##
========================================
+ Coverage   8.79%   8.80%   +0.01%     
========================================
  Files         97      97              
  Lines      13208   13208              
========================================
+ Hits        1161    1163       +2     
+ Misses     11885   11884       -1     
+ Partials     162     161       -1     

@unknwon unknwon changed the title fix: updated LDAP library to v3 (gogs#6761) dep: update github.com/go-ldap/ldap to v3 Feb 26, 2022
Copy link
Member

@unknwon unknwon left a comment

Choose a reason for hiding this comment

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

Thank you!

@unknwon
Copy link
Member

unknwon commented Feb 26, 2022

Did a sanity check and it seems the major difference between this LDAP package v2 and v3 is the enablement of the Go module and should be backwards compatible.

@unknwon unknwon merged commit 6d77712 into gogs:main Feb 26, 2022
@simonecattaneo91 simonecattaneo91 deleted the fix-6761 branch February 26, 2022 13:25
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP connection issue with ARM devices like Raspberry Pi (Need to update LDAP lib to V3)

2 participants