Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

I'm trying to setup Grafana for AD integration. Grafana works by querying for all groups a user is a member of to find a matching group that is mapped to a role in Grafana. Below is my heirarchy ...
Helstrom's user avatar
-1 votes
0 answers
48 views

I was able to connect to the LDAP API but unfortunately i was not able to use the like operator. I need to pull the list of DL's (Distribution lists) that are in the domain EXCHAD and when I specified ...
Raj's user avatar
  • 1
4 votes
1 answer
84 views

I am trying to send LDAP Search queries from PL/SQL (OracleDB using DBMS_LDAP.search_s) towards Active Directory for the field objectGUID. Because that is a binary field, and I need to query non-ASCII ...
Matya's user avatar
  • 43
0 votes
1 answer
311 views

I want to query the msDS-User-Account-Control-Computed attribute of an Active Directory user account by using PowerShell with built-in tools/modules. That means I cannot use cmdlets like Get-ADUser. I ...
stackprotector's user avatar
0 votes
0 answers
33 views

How can the query be found to get the value of attributes like MinPwdLen, MinPwdAge, etc., from a Windows AD server? I got the distinguished name for this attribute from JXplorer, but I'm unable to ...
DC007's user avatar
  • 1
0 votes
0 answers
39 views

Here is my code: import ldap from 'ldapjs'; import fs from "fs"; import dotenvFlow from 'dotenv-flow'; dotenvFlow.config(); let config = { baseDN: .........., groupDN: ........, ...
The KNVB's user avatar
  • 3,852
0 votes
1 answer
204 views

I'm using ldaptemplate to retrieve many records from Active Directory using sring-ldap-core 3.2. This is the code I'm using AndFilter filter = new AndFilter(); filter.and(new EqualsFilter(&...
sergiopf's user avatar
1 vote
1 answer
181 views

I’m currently working on a Laravel 10 application that integrates with Active Directory (AD) using the AdLdap2 package and PHP's LDAP functions (PHP 8). However, I’m facing challenges when trying to ...
Fawwash Khan's user avatar
0 votes
3 answers
218 views

I am looking to filter out an OU. For example, I would like to filter out OU=Designers OU=Designers,OU=Employees,DC=company,DC=com I am using this ldap filter, (&(objectCategory=person)(...
sajed alam's user avatar
1 vote
1 answer
114 views

I have a code like this: List<String> dns = ... List<Entry> entries = new ArrayList<>() for(dn: dns) entries.add(connection.getEntry()) I don't like this code because it makes n ...
gstackoverflow's user avatar
0 votes
0 answers
198 views

Is it possible to retrieve such a property by querying, say, the Root DSE or the schema? I read that the objectVersion property has this information (see https://blog.netwrix.com/2023/04/06/get-...
Gustavo's user avatar
1 vote
0 answers
143 views

I'm using Authentik's LDAP provider and am trying to create a filter which returns both users and groups. This lead me to the following filter: (|(objectClass=posixAccount)(objectClass=posixGroup)) ...
Tobias's user avatar
  • 11
0 votes
0 answers
168 views

I'm Brand new to LDAP Directory related works and seeking your help in fetching all Available LDAP Groups using PowerShell script. LDAP Server: xxxx.domain.com:636 and have one service account. Here ...
Siva Sankara Rao Bacha's user avatar
0 votes
1 answer
199 views

is possible to adjust the used filters in the ldap search query in the sssd.conf? Background: I/We want to implement ldap authentication with sssd. Our sssd looks like: [sssd] config_file_version = 2 ...
manuel's user avatar
  • 1,207
0 votes
1 answer
44 views

I have this ldap scheme. dc=company, dc=com - ou=users - uid=aaaa - ou=car - brand=audi - brand=chevrolet - uid=bbbb ...
user2602584's user avatar
0 votes
0 answers
277 views

I'm running into an odd issue and can't find any information. I am trying to figure out why queries to return disabled users aren't working and return a value of 0 entries. The following queries work ...
Jessie's user avatar
  • 426
0 votes
1 answer
423 views

I've got Secure LDAP / LDAPS enabled to Azure Active Directory using Microsoft Entra Domain Services. This is working great in an application I have so I know it's enabled and working fine. I'm now ...
Henry Aspden's user avatar
  • 1,955
2 votes
1 answer
127 views

Good afternoon folks. I am trying to run an LDAP query against a Domain Controller to include servers with the following requirements: OperatingSystem=*server* (To include all Servers) OR ...
Charles Waters's user avatar
2 votes
1 answer
130 views

I want to share the example of manual efforts here. I have already created a users and ad groups by having ldap connection binding using ldap3. I can see ldap3 supports automation for use cases like ...
Vimal Nayak's user avatar
0 votes
1 answer
850 views

As the titles is worded: I am looking for a way to run an ldapmodify / ldapadd command with bash and by said command it will run an .ldif file and it shall modify the schema of the server. I have ...
VladC's user avatar
  • 1
0 votes
1 answer
59 views

I am reading Virtual List View control specification and there is the phrase contextID values have no validity outside the connection and query with which they were received. A client MUST ...
gstackoverflow's user avatar
0 votes
2 answers
776 views

We have a group: "MyTest" in OU=Domain_users,DС=my,DС=test We try to find users in this group, trying: (&(|(sAMAccountName=*$str*)(givenName=*$str*)(sn=*$str*)(middlename=*$str*))(...
ivekov's user avatar
  • 11
1 vote
1 answer
77 views

Say I am querying Active Directory with Get-ADUser -Filter "ObjectClass -eq 'user' -and 'Name -like '*foo*'". Does reversing the order of ObjectClass and Name change the order of the query ...
Shoddy Weather's user avatar
0 votes
1 answer
2k views

Having an ldapConnection established, I want to check if a given user is a member of a group given by name (note: I mean the "user frielndly" name, not a DN). I've been experimenting with ...
LA.27's user avatar
  • 2,290
0 votes
0 answers
181 views

How to set proxy server ip in LdapContextSource while authenticated using LdapTemplate.authenticate() Actually for security purposes we don't have direct access to AD server. So how to set proxy IP ...
Shaon Kanti Dhar's user avatar
0 votes
1 answer
2k views

I'm trying to pull out a list of users from Active Directory with LDAP. I want to get all users from multiple OUs and I'm struggling to get results. In an attempt to simplify things, I tried setting a ...
Gaspode's user avatar
  • 148
1 vote
1 answer
240 views

I am using PowerShell to find all users that have direct reports. The query seems to work in that it returns some data, but then it errors with a message. How can I get the rest of the data? $...
IMTheNachoMan's user avatar
0 votes
1 answer
566 views

I am using Spring LDAP and have entries (person) with a multivalued attribute named Department. i.e each person can have zero or more Department attributes. I am trying to make a search (filter) and ...
jimny's user avatar
  • 103
0 votes
0 answers
1k views

I have a PowerShell script to get users from my Active Directory server hosted inside VirtualBox. I've imported the root certificate into my computer's trusted root store. I can connect and query my ...
KC Wong's user avatar
  • 2,509
3 votes
1 answer
1k views

I am trying to retrieve all groups assigned to a user in LDAP Apache Directory Studio. I am using Novell.Directory.Ldap library and used .NET Core. I am not sure if I'm doing the correct one but, I ...
Anthony Cuartero's user avatar
1 vote
1 answer
1k views

Currently, only my admin user is allowed to search what group a particular user is in. If I have the following user: dn: uid=tester,ou=people,dc=example,dc=com cn: tester displayName: tester ...
HasQuestionsAndAnswers's user avatar
0 votes
1 answer
1k views

I'm in the process of developing a Spring Boot application that can be connected to an LDAP server for authentication and some (limited) query purposes. By now, authentication and my needed query ...
ilovestackoverflow's user avatar
0 votes
1 answer
1k views

Freeipa 4.9.10 Rocky 8.7 LdapSearch 2.4.46 I am trying to get the list of user's uid that belongs to specific group. Then ultimately get the email address of those users. ldapsearch -x -H ldap://10.0....
FrostyQueen's user avatar
1 vote
1 answer
147 views

Given a LDAP query, is there a generic way to get a slice of the query results? For instance if I just want the items 5000 to 5999 of the query and I am just not interested in reading the first 4999 ...
azmeuk's user avatar
  • 4,674
0 votes
1 answer
241 views

I'm using Django 4.1 and ldap3 to connect directory service using ldap. Is there any way to roll back execution of delete method? the sample code likes below: # import class and constants from ldap3 ...
Alireza Shebro's user avatar
-1 votes
1 answer
603 views

I retrieve members of a group and their sAMAccountName (NT Accounts) I run the following code takes from: ldap3 python search members of a group and retrieve their sAMAcountName (Active Directory) I'm ...
shlco's user avatar
  • 1
0 votes
1 answer
1k views

Trying to amend a rule to exclude certain group from my existing functioning query... When i add the extra section to exclude, groupC, it picks up no users. (& (objectclass=user) (& ...
user21258641's user avatar
0 votes
1 answer
944 views

Trying to find who joined the computer to the domain. But in C# (.NET Core). This is the exact answer (the question title is not worded well): Powershell ADSI ntSecurityDescriptor $Computer = [ADSI]((...
Ambrose Leung's user avatar
0 votes
1 answer
3k views

While unlocking an account I am getting error message as : LDAP: error code 19 - pwdFailureTime: no user modification allowed Tried giving different values for the attribute 'pwdAccountlockedtime' on ...
Premchand Singh's user avatar
0 votes
2 answers
3k views

I checked a few posts asked the similar questions before, but none works for my case, not sure if something wrong on my side or it's the AD. So I have security group at path: CN=MigratedUsers,OU=Azure ...
Xiao Han's user avatar
  • 1,078
0 votes
1 answer
1k views

I have question about LDAP queries and DC in general (in Microsoft AD): Does a DC can contain only one domain? or sub domain can be also on it? Does sub-domain reside in a separate DC? if i want to ...
nokinok's user avatar
1 vote
1 answer
474 views

In my Active directory DC, I have a user named "Demo User" inside the OU "Special Users" of the domain "myCompany.co.hk". I'm using Spring Security's ...
ThunderMead's user avatar
1 vote
1 answer
3k views

I am trying to use Powershell to pull All members of a Active Directory group who are currently active (both account is enabled and not expired). I thought what I had worked but I noticed that some ...
Scott Dyreson's user avatar
0 votes
1 answer
518 views

i am looking for a ldap filter to find users who have an multi value attribute with duplicate values. For example in this case i will find the users with duplicate {PersNumber}: MVAttribute {...
matepolocz's user avatar
0 votes
1 answer
200 views

What would be the syntax for LDAP for the below scenario: Where sAMAccountName = GRA-* without $. I want the records which are highlighted in green. This is my current LADP Filter for your reference: ...
M.G. Puru's user avatar
0 votes
0 answers
269 views

i want to Authenticat against an LDAP server , i managed to connect with the ldap server and also i managed to bind with the ldap user provider but i face a problem when i want to login SERVICE.YAML ...
hamouche mohammed's user avatar
1 vote
1 answer
2k views

I am trying to write a query to extract the users from an LDAP group. I tried several queries to retrieve the users from a specific group but none of them seem to have worked until now. For example, ...
signalhouse's user avatar
0 votes
1 answer
1k views

Everything work great, I am able to query hosted() openldap but I am not able to fetch some attribute like pwdExpireWarning, pwdMinLength, pwdInHistory, pwdExpireWarning. first I fetch the policy ...
Maya's user avatar
  • 1
0 votes
1 answer
2k views

In my AD forest i have one primary domain and three child domains. Is there any way to query forest to search in all domains controllers to chek if user is memberof a group? I already try ldap bind + ...
André Bolinhas's user avatar
0 votes
1 answer
15k views

I did my research before asking this but it came to nothing :-( I'm trying to create an LDAP filter. The goal is to get users (objectClass=person in this case) which are members of a specific group. ...
Jim Andrakakis's user avatar

1
2 3 4 5
14