Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhotmann/sftpgo-lldap-bridge
https://github.com/jhotmann/sftpgo-lldap-bridge
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jhotmann/sftpgo-lldap-bridge
- Owner: jhotmann
- License: gpl-3.0
- Created: 2023-04-10T15:10:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-14T16:04:14.000Z (over 1 year ago)
- Last Synced: 2024-10-16T18:17:28.054Z (2 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SFTPGo to LLDAP Bridge (ALPHA)
This is an external auth hook for SFTPGo that connects to LLDAP.Features:
- Map LLDAP groups to SFTPGo groups
- Set a group that is required for auth into SFTPGo
- Optional default SFTPGo groupIn my personal setup, I have a group with the default settings configured (S3, some virtual folders, etc) and all users have that default group set as the primary group in SFTPGo so no user-specific configuration is necessary other than username and password. I then have other groups that are mapped to users via LLDAP as secondary groups for access to network shares and other data pools as virtual folders in SFTPGo. This has been tested under those conditions but since there are a miriad of ways to configure SFTPGo it would be good to test in other configurations before moving out of alpha.
## Instructions
Since this is still an alpha product, it should be tested in an environment similar to your production setup first.1. Copy `config-example.yml` to `config.yml`
1. Configure any group mappings, default group, required group, etc (see comments in config file for more information)
1. Launch all 3 containers: `docker-compose up -d`
1. Configure users and groups in LLDAP `http://localhost:17170` (credentials in `docker-compose.yml`)
1. Configure SFTPGo groups `http://localhost:8080/web/admin` (credentials in `docker-compose.yml`)
1. Test logging into SFTPGo with your various users and groups
1. If you're happy with the results, add it to your production setup