question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LDAP Configuration in wherehows 1.0

See original GitHub issue

Hello,

I am trying to configure ldap authentication. My current configuration

authentication.ldap.url = "ldap://my.dalp.server:389"
authentication.principal.domain = "@mydomain.com"
authentication.ldap.search.base = "OU=Corp,DC=mydomain,DC=com"

But i am getting an error:

|      1 | testuser | LDAP                | FAILURE | javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 52e, v2580 ] | 2017-07-25 13:07:03 |

Update: I’ve found the way how to use ldap. You need to create a user in the database with ‘LDAP’ as authentication_type and without a password. But i wherehows should automatically create this record in the database after the user is trying to log in?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
wenhuaOpenxcommented, Aug 17, 2017

If you want to avoid LDAP, here is a tricky method I’ve used before. Run the query as below, and change the name, password as yours.

INSERT INTO wherehows.users (name, email, username, password_digest, password_digest_type, authentication_type) VALUES (‘test’, ‘test@openx.com’, ‘test’, SHA1(‘test’), ‘SHA1’, ‘default’)

3reactions
huangjuncommented, Aug 15, 2017

@Infectsoldier How did you create the ldap user? Could you share the details? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

LDAP Configuration in wherehows 1.0 · Issue #616 · datahub ...
Hello, I am trying to configure ldap authentication. My current configuration authentication.ldap.url = "ldap://my.dalp.server:389" ...
Read more >
Unable to configure hive to use ldap auth - Cloudera Community
I am trying to configure hive to use LDAP (AD). ... ~[hive-service-3.1.0.3.1.0.0-78.jar:3.1.0.3.1.0.0-78] at org.apache.thrift.transport.
Read more >
LDAP authentication | Nexpose Documentation
In the “Global and Console Settings” window, click Administer. On the “Security Console Configuration” screen, click the Authentication tab. Under “LDAP/AD ...
Read more >
Configuring LDAP for Reporting - NetApp
From the navigation pane on the left, click User Management. Click LDAP Configuration. Select Enable LDAP to start the LDAP user authentication and ......
Read more >
Configure the LDAP Server - TechDocs - Broadcom Inc.
These topics provide information about using LDAP Server , such as configuring backends, customizing started tasks, and customizing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found