-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow plus in LDAP usernames #490
Conversation
@pako81 this would also be needed if we start allowing |
Codecov Report
@@ Coverage Diff @@
## master #490 +/- ##
============================================
+ Coverage 36.75% 36.91% +0.16%
Complexity 1305 1305
============================================
Files 31 31
Lines 3700 3700
============================================
+ Hits 1360 1366 +6
+ Misses 2340 2334 -6
Continue to review full report at Codecov.
|
@phil-davis makes sense 👍 |
CI here is "stuck" - with core min version 10.4 we cannot have test pipelines against latest. |
@phil-davis has there anything changed that allows a progress 😅 |
d32daff
to
ac9ab45
Compare
I rebased to catch up with current user_ldap. There is no point releasing this anyway, until core 10.4 is out. So we can easily merge this the day that 10.4 community release happens and release user_ldap soon after. |
ac9ab45
to
efe21b3
Compare
efe21b3
to
2c96ba9
Compare
@micbar @HanaGemela I adjusted CI so that it does not test against core CI should pass. We could merge this PR and start the process for a user_ldap release to go with core 10.4.0 |
2c96ba9
to
659a0d0
Compare
@phil-davis Does it really have a strickt dependency? what would happen, if I use the current version with 10.4.0? |
If your LDAP does not actually have any usernames containing Do you want to try and keep the new version of user_ldap installable on 10.2 and 10.3? |
659a0d0
to
b276b07
Compare
Note: if we wait until core 10.4.0 becomes the "latest" community tarball, then I can remove the last commit from this PR. |
b276b07
to
b1677a7
Compare
10.4.0 is now "latest". I reverted the 3rd commit. Let's see what happens to CI. |
Green, green 😄 |
@micbar please get a review of this. |
core PR owncloud/core#36613 proposes allowing
+
in usernames.If that PR is accepted, then we should/could also allow
+
in usernames coming from LDAP.This PR implements that, and adds unit tests to check the LDAP
sanitizeUsername()
method. (There were not any tests for that yet)+
if core also supports usernames containing+
)IMO this should only be merged and released after core 10.4 has been released.