Questions tagged [ldapauth]

20 questions
2
votes
1 answer

ldapauth-fork InvalidCredentialsError

I am trying to authenticate user against LDAP by using ldapauth-fork. I am having a problem with LDAP Admin account, while I know that it is right and works fine with LDAP browser but I am not able to make it work with ldapauth-fork. var basicAuth =…
MuhanadY
  • 752
  • 1
  • 12
  • 40
2
votes
1 answer

Authenticate LDAP user if he's a part of a specific group

In my node application, I have an use case in which I need to authenticate the LDAP users belonging to a specific group only. If the user does not belong to the mentioned group, authentication should fail. I am using the library ldapauth-fork for…
Prerak Sola
  • 9,517
  • 7
  • 36
  • 67
1
vote
1 answer

How to authenticate a ldap user from any ldap server (except embedded server) using bind authentication mechanism in spring security

I want to implement ldap authentication in an existing spring boot project for my company. So for that I am trying to implement one sample spring boot app first, in which I will authenticate a ldap user from my company ldap server. If it works, fine…
1
vote
0 answers

How to make a ldap authentication service with passport-ldapauth

I'm trying to create a rest service which would authenticate a user with their username and password. The data provided to me for doing it is (data is example, not what I actually got): -host: 10.10.10.10 -port: 443 -attribute: uid -base:…
misterpresid
  • 35
  • 1
  • 8
1
vote
2 answers

LDAP authentication using django

Could anyone of you please help me to implement LDAP authentication using Django. I want to develop a web application which should allow users to access the application post LDAP authentication. I have coded the basic things but I get some…
vivek.p.n manu
  • 286
  • 1
  • 4
  • 19
1
vote
2 answers

Why does Passport retry the authentication when it fails to connect?

I have a Node.js & Express app, using Passport and passport-ldapauth for LDAP authentication. Everything works OK... unless it fails connecting to the LDAP server (it may be offline, or the IP address be wrong, etc.). In that case,…
AJPerez
  • 3,435
  • 10
  • 61
  • 91
1
vote
1 answer

How to authenticate LDAP properly?

I am working on a project that must use LDAP authentication. I am using the server at ldap.forumsys.com after finding the link on Stack Overflow to practice before adding to my Flask application. If I run the ldapsearch bash command inside of my…
user9915877
1
vote
0 answers

How to show ldapatuh node jpegPhoto?

I use ldapauth-fork in node.js to take a user information in ldap but when I try to take a user.jpegPhoto why can't it show this image? I've tried this: const jpeg = Buffer.from(user.jpegPhoto, 'binary') fs.writeFileSync("foto.jpeg", jpeg); And…
1
vote
0 answers

passport-ldapauth is not working properly

I have setup LDAP server in my local system by this link How To Install and Configure a Basic LDAP Server . I mange to get LDAP server run and able to add group, user, etc through phpldapadmin. I have added a user as shown in this image To confirm…
niren
  • 2,693
  • 8
  • 34
  • 58
0
votes
1 answer

Can't create new user in Redmine

I need to hide registration button in Redmine. If I disabling Self-Registrtation in Redmine, I'm trying to log in as a new user, I need write my number and middle name, after submit I had same page with: Email can't be empty Phone Number can't be…
0
votes
1 answer

Sonarqube group and LDAP group sync

I am using sonarqube 8.9.7 version. I am trying to do authentication using LDAP. we have 2 groups in LDAP one group is admin and another one is normal user. sonar.security.realm = LDAP sonar.authenticator.downcase=true ldap.url=ldap://
0
votes
1 answer

LDAP bind failed: LDAPOperationsErrorResult - 1 - operationsError - None - 000004DC: LdapErr: DSID-0C090A5C,

I am using "django-python3-ldap". I have set up all and while syncing user by command "./manage.py ldap_sync_users" This shows the following binding error LDAP connect succeeded LDAP bind failed: LDAPOperationsErrorResult - 1 - operationsError -…
Ankit Kumar
  • 333
  • 5
  • 10
0
votes
1 answer

LDAP Authentication Exception error code 49

My customer is using AD , and I need to authenticate my user in java via LDAP, I wrote this simple code Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); …
Malik
  • 585
  • 2
  • 6
  • 13
0
votes
2 answers

NodeJS getaddrinfo ENOTFOUND uncaught

In my NodeJS server, run by PM2, I authenticate my users with a LAPD service using npm module "ldap-authentication". const { authenticate } = require('ldap-authentication'); ... try { const auth = await authenticate(options); return auth; }…
jaume
  • 493
  • 1
  • 7
  • 17
0
votes
0 answers

Can I use LDAP for just authorization with Active Directory?

I have to add Active Directory authorization in existing system. I have already been using Database Remote OS Authentication. I am in development phase right now. I have got various links for LDAP authorization and Authentication. As I want to…
coderzzz18
  • 2,535
  • 5
  • 16
  • 23
1
2