mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-26 06:50:36 -05:00
ec1b45cc38c58a408649ca846e3f4eccede7a336
Some LDAP properties like `uidnumber` and `gidnumber` are numeric. When an OS tries to look up a user it will not only try to lookup the user by username, but also by the `uidnumber`: `(&(objectclass=posixAccount)(uidnumber=20000))`. The accounts backend for glauth was sending that as a string query `uid_number eq '20000'` in the ListAccounts query. This PR changes that to `uid_number eq 20000`. The removed quotes allow the parser in ocis-accounts to identify the numeric literal. Related: - https://github.com/owncloud/ocis-accounts/pull/68 - https://github.com/owncloud/ocis-glauth/issues/28 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
ownCloud Infinite Scale: GLAuth
This project is under heavy development, it's not in a working state yet!
Install
You can download prebuilt binaries from the GitHub releases or from our download mirrors. For instructions how to install this on your platform you should take a look at our documentation
Development
Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions. This project requires Go >= v1.13.
git clone https://github.com/owncloud/ocis-glauth.git
cd ocis-glauth
make generate build
./bin/ocis-glauth -h
Security
If you find a security issue please contact security@owncloud.com first.
Contributing
Fork -> Patch -> Push -> Pull Request
License
Apache-2.0
Copyright
Copyright (c) 2019 ownCloud GmbH <https://owncloud.com>
Description
Languages
Go
48.1%
Gherkin
36.7%
PHP
12.5%
JavaScript
1.3%
Makefile
0.6%
Other
0.6%