feat: add ldap support to pgproto
The patch adds support of ldap auth method to pgproto. For ldap we request user password in clear text using corresponding protocol message. Afterwards password is passed to tarantool `authenticate` method which handles ldap based auth. Important: since password is transferred as clear text it is advised to setup ssl.
Showing
- CHANGELOG.md 4 additions, 0 deletionsCHANGELOG.md
- src/lib.rs 1 addition, 1 deletionsrc/lib.rs
- src/pgproto.rs 22 additions, 7 deletionssrc/pgproto.rs
- src/pgproto/client.rs 7 additions, 3 deletionssrc/pgproto/client.rs
- src/pgproto/client/auth.rs 49 additions, 10 deletionssrc/pgproto/client/auth.rs
- src/pgproto/messages.rs 6 additions, 0 deletionssrc/pgproto/messages.rs
- test/conftest.py 1 addition, 2 deletionstest/conftest.py
- test/pgproto/auth_test.py 58 additions, 0 deletionstest/pgproto/auth_test.py
Loading
Please register or sign in to comment