Comments (3)
Take a look at #1 (comment). This appears to be the same issue.
from vaultwarden_ldap.
Thanks ViVDboarder,
Thanks for such a quick responce. I have solved the issue with your pointer, but just to add the details for anyone else who comes across the issue.
My LDAP is provided only as LDAPS (Azure Directory) and contains a self signed certificate. I had assumed that the parameter 'ldap_no_tls_verify' would prevent the connector from checking the certificate and therefore simply use it in the same way the TLS_REQCERT=ALLOW does for ldapsearch. However this is not the case.
The problem was solved by taking my self-signed cert and uploading it to the bitwarden_rs hosting server as a CA by placing the certificate in /usr/local/share/ca-certificates/
(my OS Debian) and running update-ca-certificates
. This only solved half my issue, the certificate is still invaild as its SAN is my domain name and I do not maintain a DNS entry for the LDAPS server. In this case my docker-compose.yml was modfied to add a host entry to the container that matches my LDAPS server IP with the domain name contained in the certificate....
ldap:
image: vividboarder/bitwarden_rs_ldap:latest
restart: always
depends_on:
- bitwarden
volumes:
- ./bw-ldap:/data:ro
extra_hosts:
- "{DOMAINNAME}:{IPADDRESS}"
environment:
CONFIG_PATH: /data/config.toml
....and my config.toml was modified to use the domain name in ldap_host
rather than the IP address.
This solved my problem - Thanks
from vaultwarden_ldap.
Just a quick comment as I'm not sure where feature requests go.
It would be nice to round out the process with the following additions....
- mapping between organisation and ldap_search_filter as this would allow for directory groups to be used to control organisation invites
- Removal of user from directory group removes them from organisation
Just something that would (IMHO) complete the integration perfectly
from vaultwarden_ldap.
Related Issues (20)
- Crashing when encountering users without an email address HOT 3
- ldap login problem HOT 1
- Clarify documentation on intent of application HOT 2
- Unable to Sync Users with Vaultwarden instance HOT 1
- Support for reg-exp or prefix/suffix for LDAP "mail" field data HOT 2
- LDAP Sync Problem HOT 2
- Cannot open admin portal on http://localhost:8001 HOT 1
- vividboarder/vaultwarden_ldap:alpine image not updated HOT 4
- Do not use "restart = unless stopped" (docker-compose) and "ldap_sync_loop = false" (config.toml) ! HOT 1
- Request a feature HOT 1
- Disable users that vanished from LDAP HOT 7
- Proper communication with LDAP HOT 2
- Group / organization support? HOT 2
- LDAP login authentication failure HOT 6
- Anonymous bind enabled? HOT 1
- Can support ldap group members HOT 3
- Help translating ldapsearch query into working config HOT 1
- LDAP Synchronization with Microsoft Active Directory LDAP not working HOT 1
- The data will be cleared if to execute `docker-compose up` HOT 6
- Bind DN to authenticate is empty when using Authentik LDAP HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vaultwarden_ldap.