-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
new Group-Member association attribute (zimbraMailForwardingAddress) #16737
Conversation
b6469a3
to
ab9d608
Compare
Bump :) |
the group backend is already quite complex and this is growing more with this addition. That is, I have nothing against it per se, but it would be cool if we could split it up a bit. So, for instance all the association-attriubte-specific code could go into specialized classes, adaptor like. And we just load whatever we need. We can have smaller units with less conditions and code paths. Easier to test and understand. |
this is unfortunately beyond the scope of my time and abilities. |
7a95e31
to
3df0374
Compare
sorry I didnt get notified about the potential merge into 18beta. I updated the branch to be up to date with the master.. any chance for v19? |
We're now in Beta, which essentially also is a feature freeze. 20 then. |
Tests are failing. Perhaps related to the submodule changes? Please take them out. |
I think I fixed it somehow. |
98888bc
to
b64a0c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by catch, looks good otherwise. Only, please sign your commits https://github.com/nextcloud/server/pull/16737/checks?check_run_id=778568009 :)
0c44f66
to
de7a918
Compare
sorry, I missed the sign-off on some older commits... I tried the suggested rebase command but it just blows everything up - not beeing able to resolve conflicts in files I never touched... Is it acceptable if they stay unsigned? or could you help me with the rebase? |
de7a918
to
bd37b4c
Compare
That was due to the merge commits. I rebased the whole branch here and squashed everything into one commit. I also resolved some issues that arose from the updated code in the master branch. I noticed that you deleted one block during one of your merges of master. I added it here again. If this is not needed anymore we could delete it again. Beside that all your commits already contained the sign-off messages. |
apps/user_ldap/lib/Group_LDAP.php
Outdated
// DNs are returned as keys; this is probably only the case if | ||
// nested groups are used and/or group member attributes are DNs | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole block went missing by one of the merges from master. I don't know if this was intentional or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm I have no idea why or when this was removed... it was still present in 18.0.4. unfortunately I cant really test since this is only called when non LDAP backend is used (and I dont have a test setup for that) also I'm not even sure when the inGroup function is called....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC it was a bugfix: 1d48c03#diff-994e1d45c127dc64e57744e2bf2eff3d
Please give this a good try and then it is ready for merge IMO. |
Conflicts because of recently merged #21171 ... let me rebase again :) |
bd37b4c
to
de799e6
Compare
my local test install seems fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍
de799e6
to
aee36c4
Compare
I also fixed the code style and this is now ready to go in. |
aee36c4
to
b583b61
Compare
LDAP integration tests don't like it. @blizzz to the rescue |
It seems it is just "Notice: Undefined index: label in /drone/src/build/integration/features/bootstrap/Sharing.php line 740"? Let me rebase once more. |
b583b61
to
ad31493
Compare
There are still some that fail. |
now they are running through :) It was the block as mentioned ^ let me squash, then merge |
…ribute to enable the use of Zimbra Distribution Lists as groups in nextcloud when connecting to a zimbra LDAP Signed-off-by: Tobias Perschon <tobias@perschon.at> fix cs:check Signed-off-by: Tobias Perschon <tobias@perschon.at> Update apps/user_ldap/lib/Group_LDAP.php Co-authored-by: blizzz <blizzz@arthur-schiwon.de> Signed-off-by: Tobias Perschon <tobias@perschon.at>
42cbe26
to
551d904
Compare
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Thanks for all your help! |
added "zimbraMailForwardingAddress" as a Group-Member association attribute to enable the use of Zimbra Distribution Lists as groups in nextcloud when connecting to a zimbra LDAP