Commit graph

2 commits

Author SHA1 Message Date
c84f52b012 Cache for LDAP username lookups
It is unnecessary to request the same user's username attribute more
than once.
2021-02-11 22:46:29 +01:00
4722223603 Refactored into multiple files
* The main program, command line argument parsing and logging
  initialization remains in main.go
* Configuration structure and loader are in config.go
* LDAP connection and querying is in ldap.go
* Anything that has to do with Graylog, including the privilege mapping,
  is in graylog.go
2021-02-11 20:44:07 +01:00