Comments (6)
Hi, I can't reproduce your problem. Can you post any logs from the container? I've just tried the login with ldap-tools:
$ ldapwhoami -v -x -h localhost
ldap_initialize( ldap://localhost )
anonymous
Result: Success (0)
$ ldapwhoami -v -x -h localhost -D "cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com" -w hermes
ldap_initialize( ldap://localhost )
dn:cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com
Result: Success (0)
from docker-test-openldap.
Hello, I will try to provide you with an example of what I'm trying to do and logs too.
Thanks for you quick answer !
from docker-test-openldap.
docker run --env LDAP_ORGANISATION="people" --env LDAP_DOMAIN="planetexpress.com" --env LDAP_ADMIN_PASSWORD="admin" --privileged -p 389:389 -p 636:636 --name my-openldap-container --detach rroemhild/test-openldap
how do i make
ldapwhoami -v -x -h localhost -D "ou=people,dc=planetexpress,dc=com" -w hermes work? or any other user for that matter?
from docker-test-openldap.
-w
is the password for the user entry DN set with -D
.
You have to use the DN from a user entry to login, i.e. for the user hermes:
ldapwhoami -v -x -h localhost -D "cn=Hermes Conrad,ou=people,dc=planetexpress,dc=com" -w hermes
for amy:
ldapwhoami -v -x -h localhost -D "cn=Amy Wong+sn=Kroker,ou=people,dc=planetexpress,dc=com" -w amy
from docker-test-openldap.
my issue is jxplorer gets the data via anonymous,
but if i give hermes/hermes or fry/fry via (user+password) it doesnt work,
any way to get it working for user+password?
attached screenshot as well,
anonymous gets me everything but im trying to login via the members and it fails
from docker-test-openldap.
hermes ist not the User DN. hermes is the value of the attribute uid. If you want to authenticate with user+password you need to perform an ldap search (uid=hermes) to get the DN for the entry that matches the search and then authenticate with DN+password.
from docker-test-openldap.
Related Issues (20)
- Accumulation of console logs HOT 1
- Running a image fails as below output HOT 2
- What is the fqdn ?
- Building Container locally results in failure HOT 1
- gidNumber
- Disable TLS version below 1.2 not working
- Change bind HOT 3
- What is the Group Search Base? HOT 2
- Certificate in the rroemhild/test-openldap:latest HOT 5
- Trying to build image locally - bash error HOT 2
- Slapd fails to start with new build image HOT 4
- memberOf overlay didn't put memberOf attributes on user records HOT 1
- What password encoding algorithm is used for hashing password?
- Mapping /var/lib/ldap to a local directory starts container with empty data HOT 1
- ldapsearch not connecting HOT 1
- arm architecture
- Bootstrap script breaks due to non-set environment variables
- Start of slapd in Docker image fails with core dump HOT 2
- Question : lastLogonTimestamp not available
- Infinite loop after restart HOT 2
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 docker-test-openldap.