Where default LDAP password should be added
See original GitHub issueI have LDAP setup to use credentials before do any query. So i saw in alerta v7.2.4 code there is no way to specify LDAP auth credentials, only for users if they are found.
Should I specify auth credentials on ldap.conf file?
Right now I have issue:
=> LDAPError - INVALID_CREDENTIALS: {'desc': 'Invalid credentials'}
I suppose this is because before do any query in LDAP this can not authenticate to LDAP server.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Configuring the Default LDAP Password Policy - Apigee Docs
Default LDAP Password Policy Attributes ; pwdInHistory. Maximum number of used, or past, passwords for a user that will be stored in the...
Read more >What is the default LDAP password or how do i reset it?What ...
What is the default LDAP password or how do i reset it? I don't believe i've ever set one.
Read more >How To Change Account Passwords on an OpenLDAP Server
First, you will have to find the RootDN account and the current RootDN password hash. This is available in the special cn=config configuration...
Read more >How do I define a password policy in LDAP?
This allows the directory server to handle hashing instead of the client. The password hash to use for new passwords must be one...
Read more >2.4. LDAP Authentication
LDAP authentication enables users to log in to SGD if they have an entry in an LDAP directory. This authentication mechanism is disabled...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I came with an update for anyone who want to use alerta with LDAP (openldap). Of course there is no issue with 7.2.4 version, it’s just using the simple bind with does not need any extra authorization like “ServiceAccount”, a layer before doing a query for existing users on the LDAP server. And to be honest i like this approach, it’s simple and easily. All i had to do is:
Ok, I will close the issue for now. I will take a look to python-ldap lib how it works and then i will open PR with the changes needed. Thanks.