ldap-query Questions

4

Solved

While fetching users from group, giving exception message as "While trying to resolve a cross-store reference, the SID of the target principal could not be resolved. The error code is 1332." Prin...
Westonwestover asked 10/3, 2016 at 10:36

4

Is there any way to perform a LDAP search and save the results into a table format (e.g. csv)? Cheers Jorge
Frightened asked 6/2, 2018 at 14:4

5

Solved

I want to make a query against a LDAP directory of how employees are distributed in departments and groups... Something like: "Give me the department name of all the members of a group" and then u...
Braswell asked 1/4, 2014 at 18:23

5

Solved

i am using openldap with phpldapadmin, and i'm trying to check what are the groups of a certain user. this is my scheme ... this is what i tried, but it didn't work docker-compose exec openld...
Sixfooter asked 14/7, 2018 at 17:47

3

I'm using spring-ldap-core-2.3.1.RELEASE.jar over JDK 1.8 & Tomcat 8.0 to access AD information through LdapTemplate. The attributes such as title,department & company are not being returne...
Interpretative asked 25/7, 2017 at 6:31

3

In my LDAP Client program sometimes I have to include the DN value within the search filter. But this DN is changing frequently and every I have to change this filter in my code. When I googled it...
Renee asked 19/9, 2011 at 15:2

5

Solved

I want to execute the following query in the ldap ldapsearch -h hostname -b dc=ernet,dc=in -x "(&(uid=w2lame)(objectClass=posixAccount))" gidnumber ldapsearch -h hostname -b dc=ernet,dc=in -x ...
Davison asked 24/1, 2011 at 17:4

2

Solved

I'm going through the process of setting up RabbitMQ with LDAP authorization but am not having much luck... Could someone in the know, please take a look and tell me what I'm doing wrong? I'm able ...
Spanos asked 18/2, 2015 at 13:6

4

Solved

How can I use a a search filter to display users of a specific group? I've tried the following: (& (objectCategory=user) (memberOf=MyCustomGroup) ) and this: (& (objectCategory=user...
Smithson asked 27/3, 2012 at 13:1

4

Solved

I have a search query in LDAP like this. What exactly does this query mean? ("CN=Dev-India,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com");
Soffit asked 12/9, 2013 at 6:16

2

Solved

Is it possible to remove all entries from LDAP by one-line commend? I tried: ldapdelete -r 'cn=*,dc=domain,dc=com' -w but it's not working. I have no better ideas;/
Sporogony asked 18/7, 2017 at 8:33

3

Solved

I am successfully querying our Active Directory for a user with the following code: $filter = (&(objectCategory=person)(samaccountname=someusername)); $fields = array("samaccountname","mail","...
Bridgework asked 25/6, 2013 at 17:39

2

Solved

We have an LDAP with a number of groups that follow this pattern: Acme-MyApp-ABC-Admin Acme-MyApp-ABC-Bottlewasher Acme-MyApp-ABC-Cook Acme-MyApp-DEF-Admin Acme-MyApp-DEF-Bottlewasher Acme-MyApp-D...
Infantile asked 10/3, 2015 at 23:23

3

I'm trying to get all entries on an LDAP server using Spring LDAP (version 2.3.2). Within my code, I make use of PagedResultsDirContextProcessor to paginate through all the result. This works fine ...
Gora asked 1/6, 2018 at 20:17

2

Solved

I had never done any DAP/AD admin or querying. Right now I have a task where I need to get all the USERS in our company's AD; but keep getting computers in the query's result. I use objectClass=use...
Owens asked 26/2, 2013 at 14:12

5

My application does an LDAP query once a day and fetches all the users and groups in a given container. Once it is fetched, my app goes iterates through the list of users of groups, adding only the...
Stanton asked 17/8, 2009 at 7:6

3

Basically trying to reset the user's password using LDAP python. I've gone through various posts here but no luck :(. Tried using : a) modify_s() - returns "No such object" every time. Tried wi...
Avian asked 27/7, 2016 at 3:30

7

Solved

How do you do a query of an LDAP store by sAMAccountName and Domain? What is the "domain" property named in Active Directory or LDAP terms? This is what I have for the filter so far. I'd like to b...
Bedrail asked 3/2, 2009 at 17:13

1

I have an attribute samaccountname which I am able to retrieve for a user. However, samaccount name is AD specific and need LDAP standard attribute. For example, in a query, if I am using (&amp...
Commandeer asked 5/1, 2018 at 7:23

2

Solved

I'm using python-ldap to query Active Directory I have this DN CN=Whalen\, Sean,OU=Users,OU=Users and Groups,DC=example,DC=net That works fine as a base in a query, but if I try to use it in a...
Deer asked 30/9, 2016 at 15:2

1

Solved

I would like to use curl on the command line to check if a $USER is a member of the LDAP group $GROUP. This works: curl --user $CREDS \ "ldaps://ldap.foo.com/DC=ads,DC=foo,DC=com??sub?(sAMAccou...
Chemoprophylaxis asked 14/6, 2017 at 13:23

1

I am running a Web Application on a WildFly 9.0.2 Server with a Custom Login Realm (which needs to recursively query multiple Organizational Units A for Organizational Units B that are queried from...
Kuvasz asked 3/4, 2017 at 9:11

2

Solved

I add users through LDAP for a certain application, made with spring. While this works for most of the cases, in some cases, it does not work... The retrieve the users I use: public class LdapU...
Freesia asked 27/5, 2016 at 14:34

3

Solved

How can I get a list of users within an LDAP group, even if that group happens to be the primary group for some users? For example, suppose "Domain Users" is "Domain Leute" in German. I want all m...
Tithable asked 14/12, 2010 at 20:23

6

Solved

I have an LDAP query, which I am using to perform a search in C#. It uses two string variables (username and domain) which need to be escaped for security reasons. How should I escape the strings?...
Easley asked 16/3, 2009 at 3:21

© 2022 - 2025 — McMap. All rights reserved.