Comments (5)
We will include it in the next release in about two weeks.
from seahub.
I can reproduce it:
Works:
curl -X POST -F '[email protected]' -F 'password=secret' https://seafile.domain.com/api2/auth-token/
{"token":"8e29471fdd10bad0f998b8138a74a80f70e44e8b"}
Doesn't:
curl -X POST -F '[email protected]' -F 'password=secrettoo' https://seafile2.domain.com/api2/auth-token/
{"non_field_errors":["Unable to login with provided credentials."]}
from seahub.
The error message Unable to login with provided credentials.
seems to be created in https://github.com/haiwen/seahub/blob/master/seahub/api2/serializers.py#L88.
Some lines ago in https://github.com/haiwen/seahub/blob/master/seahub/api2/serializers.py#L82 the ccnet_api.get_primary_id(username)
is called, apparently to get the primary ID.
Isn't a big change in Seafile 11 the use of Python instead of C code for LDAP access? Might the problem derive from here? At least it matches with the observation, that only LDAP accounts have this issue - even if login via web interface works.
from seahub.
Thanks for reporting the issue. We can reproduce the problem. It should be fixed soon.
from seahub.
Looks like d4f93eb is a fix? This was was fast! What do you think when it will be included in a released version?
Edit: I tested the fix and it works: 👍
from seahub.
Related Issues (20)
- "Error happened during creating seafile admin" after migration from sqlite to mysql HOT 1
- German translation missing for a couple of strings HOT 4
- Failed to get total storage occupation HOT 3
- Wiki: Headlines are assigned invalid `id` attributes HOT 1
- 更新11.0版本Markdown编辑器不支持粘贴网络图片链接直接为图片
- Users from an OAuth IDP with OAUTH_PROVIDER_DOMAIN longer than 32 characters are created as new users in Seafile at each login HOT 1
- Documentation of the OAUTH_ATTRIBUTE_MAP configuration in the SeafileAdmin manual not helpful and misleading HOT 1
- [UX improvement] User are unsure about upload success HOT 2
- More versatile user search functionality HOT 1
- 部署前端开发环境执行npm install无法获取指定包 HOT 1
- 部署前端开发环境后可以访问登陆页面,但登陆失败无法访问其他页面
- Markdown图片路径为什么需要带?raw=1,标准的Markdown文件无法显示图片。
- Permissions in share link empty HOT 1
- Contained image in MD not loaded while sharing library
- SEAFILE_VERSION no longer updated HOT 1
- Vulnerable JS Library axios 1.2.1 HOT 1
- Missing Anti-clickjacking Header
- Content Security Policy (CSP) Header Not Set HOT 1
- Enforced 2FA - get otp-Token on Registration fails - Entered token is not valid
- Add Spell Checking (Option) in Plain Text Mode (Markdown)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seahub.