Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

Library used: ldapjs:2.3.3 I am using ldapjs, PagedResultsControl to paginate in AD users. It works fine with most of the instances. For one of the instances, I am able to fetch 500 users on the first ...
Ashish Kabade's user avatar
0 votes
1 answer
206 views

Here is my code: import ldap from 'ldapjs'; try { let config = { ....................... tlsOptions: { cert : [fs.readFileSync("host.cer")], ca:...
The KNVB's user avatar
  • 3,852
1 vote
1 answer
150 views

On my server side (Node.js), I have a file that calls a function (ldapjs) in another file but the returned value is undefined. The true value of client.bind is then displayed but it is not returned to ...
user avatar
1 vote
2 answers
433 views

I'm trying to create a function that fetches all details for a user from the Active Directory using ldapjs in Node.js. Here is the function I'm using: const ldapConfig = { url: 'ldap://your-ldap-...
Abdul. A.'s user avatar
4 votes
1 answer
520 views

Need some help and advice with my problem. In my Next.js application (14.1) I did authorization with next-auth (5.0.0) and ldap.js (3.0.7). Process goes as follow: User Enters credentials. Server ...
Pavel_Bu's user avatar
0 votes
1 answer
69 views

I'm working in the Ubuntu 20.04 and openLDAP 2.4.49 environment. How can I retrieve detailed error information from ldapjs? (ldapjs version is 3.0.5) For example, if I change the password immediately ...
James Kim's user avatar
0 votes
1 answer
131 views

I am attempting to create a user through ldapjs, here is my code: async onboardUser(targetUser, ou) { targetUser.distinguishedName = `cn=${user.username}, ${ou}`; return new Promise(...
afontalv's user avatar
  • 343
0 votes
1 answer
543 views

I have a code that should add an user to a groupOfNames in ldapjs function addUserToGroup(userDN, groupName, callback) { const groupDN = `cn=${groupName},ou=groups,dc=XXX`; console.log(...
Herlambang Rafli Wicaksono's user avatar
0 votes
1 answer
234 views

I'm using LDAP.TS to automatize the users creation from glpi(don't matters on this history); So, after create the user, he becomes disabled, from my researchs, the property i need to pass on the ...
Gil Ribeiro's user avatar
0 votes
1 answer
1k views

I'm using ldapjs (3.0.0) to change the password of a user in a Weblogic LDAP directory. I also have some legacy webservice (which I don't have access to source code). The webservice API does the ...
NL3294's user avatar
  • 1,564
1 vote
2 answers
691 views

I recently upgraded the package ldapjs from v2 to v3. When I search for a user attribute with searchEntry, I get an empty object, but all others functions worked without a problem, this is my code: ...
GisCat's user avatar
  • 157
1 vote
0 answers
231 views

I am trying to set up LDAP authentication in my application, but I have an error. When I click on the button, the form becomes empty, and nothing happens. I try again, and I have the following error : ...
pmx's user avatar
  • 11
0 votes
1 answer
117 views

I have an app built with NodeJS v18 (running on a Debian 11 docker container) that tries to authenticate in an Active Directory running on Windows Server 2008. I'm using ldapjs. The authentication ...
Victor Leal's user avatar
  • 1,075
1 vote
1 answer
168 views

I'm very new to ldapjs, and am trying to write an authenticate(username, password) script. The steps I'm eventually trying to write are: bind to the admin, and I want to check for errors to see if ...
NL3294's user avatar
  • 1,564
-1 votes
1 answer
99 views

I am using ldapjs and explore complete library and could not be able to find how to create OU. Kindly share with example and code explanation.
Muhammad Umar Khan's user avatar
0 votes
1 answer
43 views

I have an application with which I would like to connect my ldap users. I want two types of users to be able to log in: internal and external. In the application that I deploy, three parameters are ...
Wloqo's user avatar
  • 1
0 votes
1 answer
194 views

I have an Ldap Server running on Docker + ldapjs. This server is adding a set of records that I am trying to search for with the client. A sample user object looks like below: { user: 'cn=...
madkimchi's user avatar
0 votes
1 answer
1k views

I was able to run it with C# but not with NodeJs. C# code is running successfully. DirectoryEntry directoryEntry = new DirectoryEntry("LDAP://abc.local", userName, password); ...
BroscR's user avatar
  • 167
0 votes
1 answer
933 views

I gonna write a API which get a Username and password from the Front-End. This username and password get passed into my LDAP bind and should get checked if these informations are correct. Now I got ...
El Schlitzo's user avatar
0 votes
1 answer
183 views

We are planning to integrate with Azure AD and have explored Graph API. We were thinking if we can connect to Azure AD using a protocol based implementation something like this. http://ldapjs.org/...
user3828370's user avatar
3 votes
1 answer
2k views

There are two Active Directory (LDAP Servers). Following are the users which belongs to their servers respectively. Server user password 1- abc.pk ...
jazeb Sheraz's user avatar
0 votes
1 answer
160 views

I am getting the below error while connecting to LDAP using nodejs in GCP cloud function Error: TypeError: options (object) required at Object.createClient Index.js exports.helloWorld = (event, ...
Sang's user avatar
  • 31
2 votes
1 answer
3k views

I am working with LDAP JS. I am receiving ECONNRESET Error again and again, I also tried to browse it but no success. tried to add reconnect: true qualifier but no success. my code and error is as ...
Asad Mehmood's user avatar
0 votes
1 answer
65 views

Hope everyone of you are doing well. I am stuck in a bit of problem. Any help will be highly appreciated. I am using ldapJS and I want to call another promise from searchEntry method of LDAPJS. When i ...
Asad Mehmood's user avatar
2 votes
1 answer
563 views

Iam using ldapjs library for my project with standard LDAP server and iam trying to using search(). Its working right until i want to return results. So i believe its more my misunderstanding of how ...
Jakub Koudela's user avatar
1 vote
0 answers
277 views

I am trying to implement functionality where I can login with openldap. for that I am using ldapjs client API - http://ldapjs.org/ Below are my steps for login Get username and password from web form ...
Prasad Gavande's user avatar
1 vote
1 answer
3k views

I'm using ldapjs package. I'm using this code, which allows me bind using readonly credentials to ldap server and extract one of users profile from ou=people. 'use strict'; // Figure 1 const ldap = ...
vodolaz095's user avatar
  • 6,994
1 vote
0 answers
72 views

Suppose an Active Directory domain controller smallapp.local which trusts another domain bigenterprise.local. There is a user Alice in the bigenterprise.local and she is able to login into smallapp....
sellonen's user avatar
  • 171
0 votes
1 answer
3k views

I am trying to use the search method of Ldap.js in my node.js code. Here is my code for the client side. It adds successfully a user, but searching for the newly added user does not yield any results. ...
malte238749874's user avatar
1 vote
1 answer
1k views

I have the below code which is binding to an LDAP server and I want to return the user that I have added "ab" within the "interviewees" group (code taken from ldapjs client api ...
Johnny's user avatar
  • 51
0 votes
2 answers
1k views

I must connect to a LDAP server and find user based on a specific ID. I've decided to use ldapjs module. I managed to create my client and bind him so I can search for an user with success. My problem ...
spMaax's user avatar
  • 405
40 votes
6 answers
68k views

I have an issue regarding one dependency in my yarn.lock file. The issue is with ldapjs, the latest version has a bug regarding special characters in user or password so I want to freeze it in the ...
Leonardo Ferreira's user avatar
0 votes
1 answer
713 views

Has anyone has success using the server side sorting control with ldapjs? The docs don't provide any specific examples of creating/using such a control object. I have enabled the overlay on the ...
John K Boyd's user avatar
2 votes
0 answers
635 views

I'm new to working with Active Directory in general. I'm trying to update the thumbnailPhoto attribute using ldapjs npm package I have my code setup to be able to update attributes in general and it ...
rcpilotp51's user avatar
0 votes
1 answer
2k views

I am trying to use ldapjs node library to search a user inside the group but this doesn't seems working. This is the ldap property: { "dn": "CN=TOM H,OU=GLO_Users,OU=GLOBAL,OU=SITES,...
undefined's user avatar
  • 3,642
0 votes
1 answer
103 views

I want to write a function that adds the params of an ldap server after checking if the binding with server is right otherwise the data won't get added in the db ; i have to use feathers js. I tried ...
Maryem Anane's user avatar
2 votes
2 answers
2k views

So I just want to create a connection to my LDAP server: var ldap = require('ldapjs'); var client = ldap.createClient({ url: 'ldap://192.168.200.35:389' }); But no matter what I'll input for the ...
Konstantin Schütte's user avatar
0 votes
0 answers
445 views

The ldapjs client API is not throwing proper error when passing incorrect filter data. Below is code snippet: var ldap = require('ldapjs') var client = ldap.createClient({ url: 'ldap://<<...
prashanthmadduri's user avatar
0 votes
1 answer
2k views

Am a newbie to node.js, have somewhat figured out the LDAP authentication. Here am trying to retrieve employee ID from the search but none of the search entries are fetched though the passed ...
Jeeva's user avatar
  • 1
0 votes
1 answer
954 views

I'm using ldapjs and I'm trying to configure my own API to modify/update an LDAP directory and it works OK except when I want to modify an account e.g. var change = new ldap.Change({ operation: '...
Chris's user avatar
  • 15
1 vote
1 answer
2k views

I am currently trying to build a proof of concept build of an LDAP connector in electron/Reactjs. My two main goals of building this connector are to be able to check if the user enters the correct ...
Austin S's user avatar
  • 165
1 vote
1 answer
3k views

I have uses ldapjs module of nodejs to interact with my active directory. i can bind and add user into the active directory with these functions... ldapOptions = { url: //my ldap server ip,...
khodekazemi's user avatar
0 votes
1 answer
322 views

We are using ldapjs node module to communicate with LDAP servers like Microsoft Active Directory, Apache DS and Open LDAP. As per our understanding from here: DNs can be comprised of zero or more ...
prashanthmadduri's user avatar
0 votes
0 answers
148 views

We have Microsoft Active Directory which has 1 million entries. We are using ldapjs node module paging search to retrieve entries from the Active Directory. As per our observation in some retrieve ...
prashanthmadduri's user avatar
1 vote
1 answer
3k views

So, i tried to deploy my Express.Js app to my vps, but I get some error that refined to Error: getaddrinfo EAI_AGAIN undefined. The weird part is, it is doing just fine if I run this app on my ...
Samuel Manalu's user avatar
0 votes
1 answer
670 views

im trying to program a RestfulAPI with NodeJS, ExpressJS and LdapJS. I want to do a user profile page where the user is able to see his attributes on the LDAP Server and can change them. If i enter a ...
Piket95's user avatar
0 votes
1 answer
213 views

Whenever we are trying to create computer object in Microsoft Active Directory as below: var ldap = require('ldapjs'); var client = ldap.createClient({ url: 'ldap://<<host>>:389' }); ...
prashanthmadduri's user avatar
0 votes
1 answer
488 views

Whenever I am trying to create the computer object in Microsoft Active Directory as below: var ldap = require('ldapjs'); var client = ldap.createClient({ url: 'ldap://<<host>>:389' }); ...
prashanthmadduri's user avatar
1 vote
1 answer
1k views

When i try to pass memberOf field in JS dict during creation of a member or even to edit it after via const change = new Change({ operation: 'replace', modification: { [field]: value ...
amshegarh's user avatar
1 vote
1 answer
467 views

I have a primary ldap server url, say urlA and multiple backup server urls in a list. If the connection couldn't be made to the primary ldap server, the backup servers will be tried in the order they ...
MinatoNamikaze's user avatar