Toshaan Bharvani
963227f51c
newer gitea doesn't always return owner as the first team
...
We cannot presume that owner will be the first team listed
so we need to run through all of the teams
After a lot of debugging, the old presumption that the Owner team,
will be the first team and therefor we can skip the first
returned team is not valid.
As a consequence if you have a LDAP group with the name Owner,
you will need to be carefull.
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
2022-05-25 11:36:36 +02:00
Markus Stoll
44a7868ce0
Fix code indentation
2021-06-13 14:05:04 +02:00
Markus Stoll
e730579b14
Implementation for anonymous bind
2021-06-12 15:10:32 +02:00
localleon
cb5d805706
Config Check, cleanup
2020-09-30 19:38:33 +02:00
localleon
22cc747cf0
Yaml Config File, Config File Flag and documentation of the feature
2020-09-28 16:40:27 +02:00
localleon
f428ac2623
Creating a Config Structure for better readability.
2020-09-28 16:01:20 +02:00
Ingo Junefjord
44e48f276c
Added go.mod dependeny management
2020-06-12 20:24:42 +02:00
ingo.junefjord
54360cca8d
Fixed erroneous assignment of ldapUserIdentityAttribute instead of ldapUserFullName
2020-06-05 15:27:53 +02:00
Selukov Andrey
05a780be00
added variables LDAP_USER_IDENTITY_ATTRIBUTE and LDAP_USER_FULL_NAME
2020-04-19 19:39:50 +07:00
Alex R
8d6cca56ef
Merge branch 'master' of https://github.com/thoscut/gitea-group-sync
...
# Conflicts:
# gitea-group-sync.go
2020-04-17 18:47:22 -07:00
Yannik Korzikowski
7225deb7e1
added support for non tls ldap
2020-04-17 17:40:50 +02:00
Thomas Scheel
f7619d6a9f
Search by login instead of full name
2020-02-06 12:49:25 +01:00
thoscut
ba0245b47c
Add LDAP_USER_LOGIN_ATTRIBUTE parameter
2020-02-06 03:48:43 +01:00
Selukov Andrey
acc2f12acc
have a good time
2019-11-28 23:40:43 +07:00