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

Changing the user / group raw filter in the LDAP wizard doesn't update the user / group count #14161

Closed
jvillafanez opened this issue Feb 12, 2015 · 11 comments
Assignees
Labels
Milestone

Comments

@jvillafanez
Copy link
Member

Steps to reproduce

  1. Start setting a new ldap configuration
  2. In the user filter tab, set a valid raw filter which can pick up some users (tested with (|(&(objectclass=inetOrgPerson)(sn=a*)))

Expected behaviour

The user count should be updated (in this case, it should show 18 users)

Actual behaviour

The user count doesn't get updated (it shows 0 users). The list of users shows correctly in the users page

Notes

This also happens with the group filter

Server configuration

Operating system: ubuntu 14.04

Web server: apache 2.4.7

Database: sqlite3

PHP version: 5.5.9

ownCloud version: ownCloud 7.0.5 RC1 (testing)

Updated from an older ownCloud or fresh install: fresh install

@karlitschek
Copy link
Contributor

@blizzz

@jvillafanez
Copy link
Member Author

It's not reproducible in OC 8.0 (stable)

@felipediasssss
Copy link

I have the same problem in 7.0.4. After update from 7.0.3 the users disappear. Also when making a search in ./occ ldap:search, there is no user. Using the same filter with ldapsearch is ok.

@blizzz blizzz added the v7.x label Feb 16, 2015
@blizzz
Copy link
Contributor

blizzz commented Feb 16, 2015

@jvillafanez do you confirm @felipediasssss observations?

@jvillafanez
Copy link
Member Author

@blizzz I can't confirm it.

I've started with 7.0.3 and a user filter similar to the above (just changing sn=a* to sn=b*) without setting groups and the users page shows the filtered users fine. Just the user count in the wizard is the one wrong.
After upgrading to 7.0.4 without touching the configuration, it shows the same set of users in the users page (and the same issue with the user count in the wizard). Anyway, the users are still there.

Notice that my issue is just with the user count in the LDAP wizard, but the users are shown fine in the users page

@blizzz
Copy link
Contributor

blizzz commented Feb 17, 2015

@felipediasssss can you please open a bug report of your own (after revising your config)?

@blizzz
Copy link
Contributor

blizzz commented Feb 17, 2015

@jvillafanez although the spinner appears, the counting method is not triggered for some reason. Works with experienced mode (with the checkbox check on first tab), but there counting is triggered manually.

@blizzz blizzz self-assigned this Feb 17, 2015
@blizzz blizzz added this to the 7.0.5-next-maintenance milestone Feb 17, 2015
@blizzz
Copy link
Contributor

blizzz commented Feb 17, 2015

Okay, it seems master is not affected, because it got #11837. Which got permission to to be backported… Alas it is a big changeset and tough to get back to stable7. At least my attempts so far did not went far, failed with the first commits.

I will try to get a dedicated fix for this issue. Might be even trivial, as far as i could make out the bad spot, let's see.

@DeepDiver1975
Copy link
Member

@blizzz what is the status with this? close? 7.0.6? or maybe already fixed for 7.0.5? THX

@blizzz blizzz modified the milestones: 7.0.6-next-maintenance, 7.0.5-current-maintenance Mar 6, 2015
@blizzz
Copy link
Contributor

blizzz commented Mar 6, 2015

sorry, 7.0.6.

@ghost ghost modified the milestones: 7.0.7-next-maintenance, 7.0.6-current-maintenance May 27, 2015
@ghost
Copy link

ghost commented Jun 17, 2015

LDAP Wizard issues to be addressed by upgrading to 8

@ghost ghost closed this as completed Jun 17, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 11, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants