You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can't, no. I think that not being able to see the uid field if you've added it to LDAP_ACCOUNT_ADDITIONAL_ATTRIBUTES is a bug - you're supposed to be able to see any attributes added to that. I'll address that with the next release.
Hi there,
I'm using ldap-user-manager with the following configuration on docker:
openldap-ui:
image: wheelybird/ldap-user-manager:v1.11
container_name: openldap-ui
environment:
- LDAP_URI=ldap://openldap
- LDAP_BASE_DN=dc=mydomain,dc=local
- LDAP_REQUIRE_STARTTLS=FALSE
- LDAP_ADMINS_GROUP=admins
- LDAP_ADMIN_BIND_DN=cn=admin,dc=mydomain,dc=local
- LDAP_ADMIN_BIND_PWD=myverysecretpassword
- LDAP_IGNORE_CERT_ERRORS=true
- NO_HTTPS=TRUE
- PASSWORD_HASH=SSHA
- SERVER_HOSTNAME=localhost:18081
- LDAP_ACCOUNT_ATTRIBUTE=mail
- LDAP_USER_OU=caipora
- LDAP_ACCOUNT_ADDITIONAL_ATTRIBUTES="uid:CPF(somente numeros):xxxxxxxxxxx"
- DEFAULT_USER_GROUP=everybody
- EMAIL_DOMAIN=mydomain.local
- ORGANISATION_NAME=My LDAP Lab
- SITE_NAME=LDAP
- SITE_LOGIN_LDAP_ATTRIBUTE=mail
- SITE_LOGIN_FIELD_LABEL=Email
- SMTP_HOSTNAME=my_email.server
- SMTP_HOST_PORT=465
- SMTP_USERNAME=noreply@mydomain.local
- SMTP_PASSWORD=anotherverysecurepassword
- SMTP_USE_TLS=true
- EMAIL_FROM_ADDRESS=noreply@mydomain.local
- EMAIL_FROM_NAME=My LDAP Lab
- MAIL_SUBJECT=User created!
- USERNAME_REGEX=\w+([-+.']\w+)@\w+([-.]\w+).\w+([-.]\w+)*
- ACCEPT_WEAK_PASSWORDS=true
depends_on:
- openldap
ports:
- 18081:80
My login system accepts email addresses OR uid for login. Using that configuration above only shows me the following fields on the create user form:
First name
Last name
Common name
Email*
Password
And won't show the uid field. But, after creating the user, if i look at the ldap database the user's uid is created using firstname-lastname format.
How can i have the uid field to be available on the create user form?
The text was updated successfully, but these errors were encountered: