-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
LDAP Users not mapped and authentication fails #272
Comments
I forgot to mention: an almost identical setup was working fine with ownCloud 9.0 |
PS: using iconv like that for transliteration may not be the best approach. See http://stackoverflow.com/a/26514376/192024 |
@blizzz can you have a look? Thanks! |
I have a similar problem running from the same docker image. Details:
Here's the log output:
|
Same issue here as you describe on version 9.0.53 |
php config issue? conversion from utf8 to ascii/translit is not allowed but should be |
Any ideas on what I should check in the php config that could be incorrect? |
On the users page, I see it doing a search for users, its finding both users. But its only displaying 1.
|
So there's a bug open against PHP: https://bugs.php.net/bug.php?id=44096 Basically, this also points at system configuration. If you compiled PHP yourself, this might help: https://bugs.php.net/bug.php?id=47507 If on docker, maybe this helps docker-library/php#240 |
@Scott-St @EgoAleSum Has this solved your issue? I will close this for now. If this still is not fixed, please comment and I will reopen |
The problem still exist. |
Yepp,experienced such thing today in 12.0.4 |
I'm setting up a new OC 9.0.51 server connected to LDAP. I was able to get LDAP to work and it sees two users in my Active Directory when pressing on the "test" buttons, as expected. There is nothing "fancy" about my LDAP setup: just adding basic settings.
All tests run fine:
However, in the "Users" admin section I can only see 1 user imported from AD (the jane user). john was not imported, not even after pressing on "Clear Username-LDAP User Mapping".
When trying to log in as john (the user not imported), the UI reports: "An internal error occurred. Please try again or contact your administrator"). I then see the following 3 error messages in the log:
When trying to log in as jane (the user that was imported), instead, the authentication succeeds, but then I see a completely white page. On the logs, I see:
I'm running OC using the Docker image by @Wonderfall : https://github.com/Wonderfall/dockerfiles/tree/master/nextcloud
Server configuration
Operating system:
Alpine Linux in Docker Container
Web server:
nginx
Database:
MariaDB 10.1
PHP version:
7.0.4
Nextcloud version: (see Nextcloud admin page)
9.0.51
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
Docker: https://github.com/Wonderfall/dockerfiles/tree/master/nextcloud
Signing status (Nextcloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: Local
Are you using encryption: No
Are you using an external user-backend, if yes which one: Active Directory (LDAP)
LDAP configuration (delete this part if not used)
Client configuration
Browser: Tested with multiple evergreen browsers
Operating system: Windows 10, OSX
Logs
Web server error log
Not available (and not applicable!)
Nextcloud log (data/owncloud.log)
See above
The text was updated successfully, but these errors were encountered: