0
votes
1answer
11 views

Use ldapsearch to bind using short username?

I am trying for more than 2 hours to find a way to use ldapsearch to connect to Microsoft Active Directory and I am not able to perform a successful bind. I do not want to use the CN of my account ...
2
votes
0answers
17 views

Are External LDAP referrals similar to a DNS Recursive or non recursive entry?

I'm very familiar with DNS, but less so with LDAP. In DNS I have the ability to delegate the CPU and IO load of referral chasing a given DNS query... or I can set norecurse and have the client ...
0
votes
1answer
21 views

ldapsearch from root succeeds, but doesn't succeed when base is not root

I have a ou which looks like this ou=abcd,ou=ou1,ou=ou2,dc=mydomain,dc=com The ou has a property called 'l' which has a value pqrs. I do the following search ldapsearch -x -b "dc=mydomain,dc=com" ...
0
votes
1answer
67 views

LDAP query to search for the active user in a particular container

I am trying to configure ldap sync in Alfresco 4.2e. I am able to authenticate the users but I am unable to sync the users. I am using ldapadmin browser to check the tree of the active directory ...
0
votes
2answers
37 views

view all possible attributes of an objectClass for LDAP

I'm scripting some ldap automation and have reached a slight hangup. Basically, I want to check if an attribute being added to an entry actually exists within a given objectClass before I try to add ...
0
votes
2answers
48 views

Difference between LDAP Search and Virtual List View

An member server has some application using service account to query active directory for users and groups. I am using LDP to connect/bind and do queries using LDP.exe , "Bind" works succesfully with ...
1
vote
1answer
43 views

LDAP connections favoring 1 DC over the other in same site

Observing spikes in "AD Search Subops" counter and "PROC LSASS%" counter daily on DC A relative to DC B; its not in maintainence windows; its at start of business hrs daily. -> Eliminated the point ...
0
votes
1answer
182 views

Centos 6.5, Active directory and ldapsearch

I need to query the ldap part of an Active Directory DC from CentOS 6.5. ldapsearch allows me to do that, but I have found two bumps in the "ldapsearch" road: ldapsearch wraps long text to several ...
1
vote
1answer
79 views

Lotus Domino Server Integrated with corporate ldap is fetching garbage values

I am using Directory Assistance (da.nsf) to use our corporate ldap for authentication and authorization. Also for sending emails. While sending emails, i will just give the common name and the server ...
1
vote
1answer
59 views

ldapsearch returning “success” but no data for groups

I'm not an LDAP expert. I need to run an ldapsearch to determine membership in a group... I have read up on this, and was successful getting a simple ldapsearch to run, which displayed user info... so ...
0
votes
1answer
481 views

LDAP+SAMBA login issues

i'm on a clean Ubuntu 13.10 install and i've just installed and configured openldap+samba while i'm trying to configure a domain controller plus user shares. In order to ease ldap management i've also ...
2
votes
1answer
74 views

LDAP query doesn't return all accounts with specific login

I have a Windows 2008 domain that I am querying via ldapsearch and if I use a domain administrator account I get all the users I would expect, but if I use the service account I created for this ...
0
votes
2answers
327 views

Can't query AD using Kerberos from Linux host

ldapsearch -H <URL> -b <BASE> -s sub -D <USER> -x -w <PW> works fine kinit <USER>@<REALM> ldapsearch -H <URL> -b <BASE> -s sub fails with: text: ...
1
vote
0answers
90 views

How to create LDAP bind account in Centos/RedHat that allows me to search by ldapbind@server.com

I am creating an LDAP directory and searching by the full DN shows the proper results. $ ldapsearch -x -D "cn=ldapbind,dc=server,dc=com" -w bind I want / need to be able to search using the email ...
2
votes
1answer
308 views

LDP SSL Port 636 Works - ldaps:// does not

I am trying to use ldap with ssl on Server 2008 R2. Got it all set and am able to connect using ldp.exe to the domain.name.org port 636 with the ssl checkbox. This is on the local server itself. ...
3
votes
1answer
215 views

ldapquery an Active Directory server for users that belongs to a group named X

When I do this at the bash prompt on a CentOS 6.4 ldapsearch -LLL -H ldap://adserver.example.com -x -D someuser@example.com -w somepass -b 'OU=Users,DC=example,DC=com' ...
3
votes
1answer
2k views

How do I authenticate with LDAP via the command line?

The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues. [root@tst-01 ...
0
votes
1answer
140 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
1answer
759 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 ...
1
vote
3answers
539 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 ...
0
votes
1answer
94 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
129 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
2k 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
4k 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 ...
2
votes
2answers
2k 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
1k 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 ...
6
votes
3answers
2k 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 ...
1
vote
1answer
521 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
744 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
1k 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 ...
4
votes
1answer
2k 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
469 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 ...
3
votes
5answers
3k 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
2k 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 ...