The LdapConnection class creates a TCP/IP or UDP LDAP connection to Microsoft Active Directory Domain Services or an LDAP server.
Questions tagged [ldapconnection]
105 questions
3
votes
3 answers
Connecting to Active Directory via .NET
I have a virtual machine with Active Directory that I want to connect to using .NET, I've already connected to an ubuntu machine running OpenLDAP but when connecting to AD it's not working smoothly.
The code I'm attempting to connect with is as…

CattleDecap
- 33
- 1
- 3
3
votes
0 answers
PHP LDAP verifying the certificate - ldap_start_tls(): Unable to start TLS
I am trying to do LDAP authenticate with certificate in Ubuntu
My PHP Code as follows :
$ldap="ldap://myhostname";
$usr="myemail@domain.com";
$pwd="mypwd";
$ds=ldap_connect($ldap);
$ldapbind=false;
if(ldap_set_option($ds,…

AnNaMaLaI
- 4,064
- 11
- 53
- 93
3
votes
2 answers
LDAPException size limit exceeded
I am using unboundid ldap sdk for executing ldap query. I am facing a strange problem while running ldap search query. I am getting a Exception when i run query against a group which contains 50k entries. My Exception :
LDAPException(resultCode=4…

Ashish Panery
- 1,196
- 3
- 13
- 24
3
votes
1 answer
Using LDAP as a frontend for central login based on existing MySQL database
In my company, there is an "all purpose" application which is central and that we want to use as our central diary for users accounts and authentication.
Every users and ACLs are declared in this DB (which is a MySQL DB) but we are now using more…

Walid Moghrabi
- 31
- 2
3
votes
1 answer
LDAP authentication Support in Node js
I have installed ldapauth using npm install ldapauth and I installed ldapjs.
I tried with the following code:
var sys = require('sys'),
ldapauth = require('./ldapauth');
var scheme = 'ldap',
ldap_host = 'abc.com',
ldap_port =…

user1782446
- 31
- 1
- 2
3
votes
1 answer
How can a Java app accepts a server certificate seamlessly?
Most Web browsers that support SSL have a list of CAs whose certificates they will automatically accept. If a browser encounters a certificate whose authorizing CA is in the list, the browser will automatically accept the certificate, and establish…

Will L
- 41
- 2
- 8
2
votes
1 answer
SessionOptions.SecureSocketLayer
I have a problem about a connection to an LDPS server with C# code.
I'm working on Windows server 2003 SP2 and i try to connect to an LDAP server with a c# code.
The framework is .net 2.0
Ther error that the .net show me is:
Code:81 Cannot…

Dudu
- 33
- 1
- 9
2
votes
1 answer
openLDAP c client protocol error (ldap_simple_bind_s: Protocol error)
I am trying to connect to openLDAP server using c program, I found openLDAP client library and I implement the following program. and I try to connect to this ldap server as well as my local ldap server.
I compile the program with no error using…

Selaru Sinbath
- 641
- 1
- 5
- 14
2
votes
1 answer
SASL External authentication with UnboundID and certificates
I would like to perform a certificate based authentication with my OPENLDAP ldap.
I created a PKI, set up my client and server with the good keystores,trustores / certificates, key. I also configure the LDAP to demand a certificate during the SSL…

Guillaume Pansier
- 201
- 1
- 14
2
votes
1 answer
LDAP connection in C#
I am new to LDAP. I am trying to connect to LDAP using my certificate credentials and no user name and password. The code i am using is
LdapConnection ldapConnection = new LdapConnection(new LdapDirectoryIdentifier("ldap://192.168.10.5:636"));
…

user3202862
- 207
- 4
- 19
2
votes
2 answers
Active directory module configuration with sitecore
I am trying to configure active directory module for sitecore.
I installed the package for AD module and verified the various files that gets included in the sitecore.
I did the below configuration to strat with
1. Connection string

Newbie
- 361
- 2
- 15
- 33
2
votes
1 answer
AD password reset using UNBoundID SDK
I am trying to change the AD password using UNBoundID LDAP sdk as below.
try{
LDAPConnection connection=new LDAPConnectionObject().getConnection();
PasswordModifyExtendedRequest passwordModifyRequest =
new…

sasikals26
- 835
- 2
- 18
- 41
2
votes
2 answers
Implementation of timeout in LDAP
I have been handling an application in which we are using LDAP to fetch user details. Sometimes it will take more time to fetch user details. I want to implement time out on methods that fetch details so that we can avoid hanging transactions in…

GrandPa
- 484
- 9
- 28
2
votes
2 answers
phabricator LDAP connection failed
I'm trying to configure LDAP authentification in Phabricator.
the setup on /config/group/ldap/have been done. However, when trying to login using LDAP, phabricator is answering tby the following error:
>>> UNRECOVERABLE FATAL ERROR <<<
Call to…

Nicolas Durand
- 280
- 3
- 8
2
votes
1 answer
Count Number of Entries in LDAP Search
So I just got started with LDAP, and was reading this tutorial on LDAP with PHP.
http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part-1/4/
There, once the result set is obtained. There were two commands/functions I came across...

GothamCityRises
- 2,072
- 2
- 27
- 43