Questions tagged [ldap-query]

A type of transaction performed against an LDAP database

This is a type of transaction that is performed against an Lightweight Directory Access Protocol (LDAP) database. Usually in the form of a Select, Insert, Update, or Delete.

644 questions
5
votes
0 answers

How to get ldap tree structure using php?

I have an active directory record of users with ou's and subou's. I want to get the whole tree structure of the AD. for example, - Group A - Sub Group a1 - Sub Group a2 - Group B - Sub Group b1 - Sub Group b2 - Group C - Sub…
user4185677
5
votes
1 answer

LDAP authendication using goLang

I am trying to authenticate with LDAP server using goLang also trying to search the user. I am new to goLang and LDAP so I pulled GitHub code. While trying with below code, I am getting error in authentication func ExampleLDAPClient_Authenticate()…
Prakash26790
  • 727
  • 9
  • 29
5
votes
2 answers

Spring's LdapTemplate search: PartialResultException: Unprocessed Continuation Reference(s); remaining name '/'

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 LdapUserServiceImpl implements ILdapUserService { …
Thomas Stubbe
  • 1,945
  • 5
  • 26
  • 40
5
votes
2 answers

RabbitMQ LDAP authentication failing

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 to query LDAP to get the user object with the…
Rob
  • 981
  • 12
  • 27
5
votes
2 answers

LDAP search filter for selecting the groups with a particular member

I am trying to devise a search filter to pull the groups with a particular member. This works, in that it pulls all groups: (&(objectClass=group)(member=*)) But this doesn't, despite when I look at the full group listing, the "member" list…
Craig
  • 4,268
  • 4
  • 36
  • 53
5
votes
1 answer

Classic ASP Authenticate Against Active Directory

I have a Classic ASP website (sorry!). Some parts of it need to be NT authentication enabled. I would ideally like to present the user with a nice login form (rather than a browser prompt) which I then authenticate against AD and then do the usual…
pee2pee
  • 3,619
  • 7
  • 52
  • 133
5
votes
1 answer

LDAP Filter - Find all users of specific OU

I am having trouble with an LDAP Search Filter. What I am needing to retrieve is all the users of a specific LDAP group that is OU=Staff,OU=Users,OU=Accounts,DC=test,DC=local My search…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
5
votes
1 answer

Query Active Directory/LDAP, find users in nested organizational unit

I'm configuring LDAP authentication in TeamCity 7.1.2 in a Windows domain (Active Directory). Basically it works (I can log in with my domain user!), but every user in the whole company can log in. --> Now I'm trying to restrict access to the…
Christian Specht
  • 35,843
  • 15
  • 128
  • 182
4
votes
2 answers

Is there a way to search by length in a LDAP query?

In the search window, for the sAMAccountName column, is there a way to filter by exactly 7 characters or is there a function in the search window that allows me to do that? My coworker and I did try to do a search online but couldn't find anything.
nhat
  • 1,159
  • 5
  • 21
  • 40
4
votes
1 answer

ldapsearch script with an input file

I have a file with a list of users. I would like to query our company's ldap to check if the users on my list are still existing accounts on the company's ldap server. The bash script would essentially, use the file to use the names to check with…
whipper25
  • 41
  • 2
4
votes
1 answer

What is a LDAP standard for sAMAccountName?

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 (&(objectCategory=Group)(CN=MemberName)) then it is also…
sagar yadwad
  • 133
  • 1
  • 3
  • 11
4
votes
1 answer

Active directory query with wildcards has poor performance

I am writing a method in C# which should query Active Directory and find all users and groups with a display name of the format {displayName} (wildcard search with both leading and trailing wildcard), the method will be used for an autocomplete…
Mor Paz
  • 2,088
  • 2
  • 20
  • 38
4
votes
2 answers

Excel VBA LDAP query Network Printers from AD does not display PortName

I want to use the code below to quickly add all network printers from my domain into an Excel spreadsheet to use for my records. The code works fine except for the fact that the PortName (IP Address) is not displayed (cells are blank). Could someone…
WYSIWYG
  • 137
  • 2
  • 2
  • 7
4
votes
2 answers

LDAP group has 'member's but the members dont have the 'memberof' attribute

I am new to LDAP (AD) and I wonder how can I retrieve all users of a group if the users itself doesn't have the "memberof" attribute (which should link to the group I think)? Following LDAP Structure - Users - UserA (memberof=Group1) - UserB…
Pali
  • 1,337
  • 1
  • 14
  • 40
4
votes
1 answer

LDAP search user based on certificate in Linux command line

I want to search a user using ldapsearch, but the hosting provider gave me a certificate from the CA. I added that certificate in my ldapconf. Before executing the ldapsearch command I am running openssl as follows openssl s_client -connect hostname…
AnNaMaLaI
  • 4,064
  • 11
  • 53
  • 93
1 2
3
42 43