ldapsearch is a commannd line tool that is typically bundled with the various LDAP implementation client tools packages.

learn more… | top users | synonyms

1
vote
1answer
21 views

LDAPsearch with SSL Centos- ldap_start_tls, ldap_bind: Cannot contact LDAP

I am working on a integrating LDAP authentication with my PHP Project deployed on a Linux platform. I successfully completed the ldapsearch from command line and from php code for NON SSL connection. ...
0
votes
1answer
40 views

ldapadd works, but ldapsearch doesn't (openldap)

I use just installed Debian 6 with openldap 2.4. I have CentOS box too with openldap 2.3. I make .ldif file from centOS (working configuration) box and successfully add all entries from ldif to ...
0
votes
1answer
59 views

Difference between openldap 2.3 and 2.4

There is a difference between openldap 2.3 and 2.4 - specifically with ldapmodify... If no "changetype:" line is present, the default is "add" if the -a flag is set (or if the program was invoked as ...
0
votes
1answer
64 views

LDAP search only returns 25 users

If I use ldapsearch on my Active Directory to bring back members of the Engineers team I only see 25 users. However in AD there are almost 50 users in Engineers. What am I doing wrong? ldapsearch -p ...
0
votes
3answers
122 views

DNS searching with wildcards?

Anything like nslookup or dig offer the ability to search based on something contained in the name ... like a wildcard search or something? I'm trying to make a little script with a GUI wrapper for ...
0
votes
1answer
166 views

OpenLDAP Administrative limit exeeded

I know there are limits in LDAP queries, therefore I setup a user without limits. But even so I'm facing "Administrative Limit exceeded" error. I include below an extract of the database ...
0
votes
3answers
200 views

LDAP Bind request failing

I have a Windows Server 2008 R2 Active Directory domain controller with domain madhurmoss.com I have a Linux box which is trying to connect to LDAP (389) on above box, which is failing. Upon ...
2
votes
3answers
111 views

ldap does not respond to ldapsearch with -ZZ parameter

I have followed the instructions found here up to the point where ldapsearch is executed with -ZZ. The problem is after executing ldapsearch with -ZZ, there is no more response. Is there any step ...
0
votes
1answer
68 views

Is it possible to store Hashed data in a different field than userPassword in LDAP

I've been asked to store hashed data in a LDAP server. Putting hashed passwords is easy but I'm not sure if LDAP allows to store data like email hashed or even encrypted. Creating a LDIF file with a ...
1
vote
1answer
92 views

ldapsearch failing to show results from custom field

Why does this ldapsearch command shows nothing: /usr/bin/ldapsearch -x -LLL -h ldapmaster.corpintra.net -b ou=people,ou=Mars,ou=Eng,dc=corpintra,dc=net '(ifxAccStatus=unlocked)' uid ifxAccStatus The ...
1
vote
2answers
1k views

Domino LDAP : Get email of all users in a group

I'm trying to get all the list of all users that belong to a specific group from a Domino 8 LDAP server using ldapsearch. I've tried pretty much every possible variant of the following filters with ...
0
votes
2answers
2k views

How do I get a server-side count on an LDAP query from Sun Java System Directory Server?

I wish to count the number of objects returned from a query (but I do not need the actual objects themselves) from Sun Java System Directory Server 5.2. E.g., if I want to find all people with ...
0
votes
1answer
124 views

Using a file to store an ldapsearch query

I have to query attributes for about 10 000 users. I have an ldapsearch query that works for a single user. Here is the releveant part, where I search for the objectGUID attribute of user abc123 : ...
2
votes
2answers
1k views

389 Directory Server Administrative Limit Exceeded error?

I am trying to use 389 ds with large amounts of data as children of entries. I have tried doing a search on these entries using ldapsearch but I keep getting the following error: result: 11 ...
4
votes
2answers
866 views

Authenticating Nested Groups in LDAP

I don't know much about LDAP so I apologise in advance. I am looking at a bug in an application that does some authentication using LDAP. The LDAP directory structure set up by the client contains ...
2
votes
3answers
675 views

Monitor Active Directory modified users/groups

I am trying to set up a monitoring vbscript for active directory. I need to export to a file all users that were modified. This script will run every 10 minutes and export all modified users (account ...
5
votes
3answers
793 views

Paging using ldapsearch

I am searching an LDAP directory that has a much larger number of results than the sizelimit currently set,500, by slapd.conf that for all intents and purposes cannot be changed) My idea was to keep ...
0
votes
1answer
363 views

ldapsearch display objectClass content

With ldapsearch I get something like this: #ldapsearch -x -b dc=my,dc=org uid=test -LLL ... displayName: Some Name uid: test .... objectClass: inetOrgPerson objectClass: posixAccount objectClass: ...
1
vote
2answers
487 views

Convert linux ldapsearch to Windows dsquery

I am converting a website fro being hosted on Linux and Apache to Windows and IIS. The pages are currently written in php but new functionality will be in something along the lines of C#.net In the ...
2
votes
1answer
807 views

TLS_REQCERT and PHP with LDAPS

Problem: Secure LDAP queries via command-line and PHP to an AD domain controller with a self-signed certificate. Background: I am working on a project where I need to enable LDAP look-ups from a PHP ...
3
votes
1answer
832 views

How can I find all groups a user belongs to via DSQUERY

How can I find all groups for a specific user (groups for which the user is assigned) using dsquery?
2
votes
5answers
402 views

Active Directory Login Problem

I have 2 users in my AD installation with the same CN CN=jack,CN=Users,DC=xyz,DC=com and CN=jack,OU=abc,DC=xyz,DC=com When I try to authenticate to the AD Server using the Apache Directory ...
0
votes
4answers
444 views

Active Directory with nodes in multiple IP Addresses

I have written some code to fetch user information from an Active Directory Server. Suppose the Active Directory Server has nodes, each of which is another Active Directory Installation in a different ...
1
vote
4answers
2k views

ldapsearch password file format

How am I supposed to pass a password to ldapsearch using the -y <password file> option? If I write the password in the password file in plain text, I get this error: ldap_bind: Invalid ...
0
votes
2answers
1k views

Get an object by its objectGUID using ldapsearch

If I have the objectGUID attribute as returned by the ldapsearch command, how can I search the whole directory for an object with that objectGUID? For example, if I search a user getting its ...