Jörn Friedrich Dreyer ec1b45cc38 query numeric attribute values without quotes
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>
2020-07-24 21:09:19 +02:00
2020-02-21 11:59:19 +01:00
2020-02-21 11:59:19 +01:00
2020-02-21 11:59:19 +01:00
2020-06-17 17:25:32 +02:00
2020-02-21 11:59:19 +01:00
2020-02-21 11:59:19 +01:00
2020-02-21 11:59:19 +01:00
2020-07-13 12:09:49 +02:00
2020-07-13 12:09:49 +02:00
2020-07-13 12:09:49 +02:00
2020-02-21 11:59:19 +01:00
2020-02-27 17:12:38 +01:00
2020-02-21 11:59:19 +01:00
2020-02-24 15:15:27 +01:00

ownCloud Infinite Scale: GLAuth

Build Status Gitter chat Codacy Badge Go Doc Go Report

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 (c) 2019 ownCloud GmbH <https://owncloud.com>
Description
No description provided
Readme Apache-2.0 334 MiB
Languages
Go 48.1%
Gherkin 36.7%
PHP 12.5%
JavaScript 1.3%
Makefile 0.6%
Other 0.6%