Backport 18469 stable8.1 - #19427
Conversation
|
@DeepDiver1975 does that thing run tests against stable8.1 somehow? the failing master thing is totally unrelated. |
|
I just tested this and emails are not imported when I checkout this branch. Then I upgraded the instance to master and rechecked: the emails are properly imported. Also uid and displayName now show up in |
|
@MorrisJobke how exactly did you test? |
The same steps works if I'm on master. |
|
@MorrisJobke i tried the same… can you verify the email attribute is set in advanced settings? |
Yes, it is set. I will retry |
There was a problem hiding this comment.
This needs to be in brackets, otherwise it returns 0 instead $valueFromLDAP if that was set. I change to more readable, simpler two-line approach. (This will need to get to master as well.)
|
@MorrisJobke did you retry? |
|
@MorrisJobke thx for the elucidating screenshare – should work now for you, too :) |
|
requires a backport of #19635 after merging. |
…search, in one query) read all relevant user attributes on login and user search, in one query. saves us some. Conflicts: apps/user_ldap/user_ldap.php adjust to nested group fix do not throw exception when no attribute is specified
…bute names coming from ldap are lowercased for easy comparison
e44df7d to
7ccd52d
Compare
|
I rebased this on current stable8.1 |
|
I tested this and the email attribute is correctly loaded on demand 👍 @davitol Can you please test this too? Thanks |
|
@MorrisJobke I've tested today in stable8.1 branch WITHOUT applying the patch.
just letting you know that admin shared nuevoservicio.txt with you. Cheers! ownCloud Enterprise Edition 8.1.4 RC1 (daily) Build:2015-10-26T03:40:45+00:00 5062007 |
|
@davitol did you make sure to wipe the ldap user mapping? |
|
@butonic Just after clicking on Cleaning buttons in expert tab in the LDAP wizard I have retested it, and the mail is sent. After clicking in the cleaning buttons, the ldap_user_mapping table is empty, but using the sharing wizard and searching for the ldap user in order to share the file, the table is populated again. Am I missing some step or those are not the right ones? 👀 |
|
@davitol, if you test with the patch, are there any issues? |
|
@cmonteroluque testing with the patch, I haven't found any issue due to this PR Maybe another reviewer can try to reproduce the ldap neverlogin mail issue in stable8.1 and see if they can reproduce #17362 in stable8.1 @MorrisJobke @tkaufm @Xenopathic maybe? |
|
If I understand this comment correctly, this one should be closed. Please confirm @MorrisJobke |
We can do this in two ways:
I just left this open to maybe identify possible problems easier - up to you. |
|
@MorrisJobke then it is more straightforward if we just merge one and don't fiddle around anymore :) thanks for clarifying. Closing this in favor of #19972 |
|
let's keep the branch until #19972 is merged |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Backport of #18469 to stable8.1
Please test and review @MorrisJobke @davitol @tkaufm @Xenopathic