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
2
votes
2 answers
Binding and Authenticating to an LDAP Server over SSL and TLS
I am writing a simple LDAP client to connect to LDAP sever over SSL. I am using "openldap-2.4.35"
So far I've tried to do a simple bind without any encryption mechanisms.
Here is the code I have tried:
#define LDAP_DEPRECATED…

Ashwin
- 1,942
- 4
- 30
- 59
2
votes
1 answer
connecting to LDAP server
I am a beginner with Ldap Server. I am trying to establish connection with my server using LDAP Wizard but dont know the values of the various parameters. could any body suggest the values? I am writing the code which is used to connect to the same…

14578446
- 1,044
- 7
- 30
- 50
2
votes
0 answers
error in connecting java android to openLDAP
I have installed openLDAP on my system with back end engine as LDAP. The details provided while installing it are :Port-389,IPaddress-"192.168.....",
password-"secret"
,username-bindDN-"cn=name,cn=users,dc=mydomain,dc=com"
I am trying to create a…

Sagar patro
- 445
- 1
- 5
- 15
2
votes
1 answer
Getting error in DirectoryEntry using vb.net
I am using vb.net and the following code, but I am getting an error. I am new to vb.net and Active Directory, pls help me to solve this problem.
My code:
Dim dirEntry As DirectoryEntry = New DirectoryEntry()
dirEntry.Path =…

vps
- 1,337
- 7
- 23
- 41
1
vote
2 answers
LDAP modifying user info and preventing duplicates
Below is my code for a user modifying their own password. This form works flawlessly. Now the problem here is that I want to user to be able to change their email, phone, or even their name. I use an admin account so it has privleges to search up…

Bulvak
- 1,794
- 8
- 31
- 63
1
vote
2 answers
Creating foreign JNDI settings in weblogic and lookup from Java client
Please post if there is any example/steps to configuring external LDAP and execute LDAP queries on it.
I tried the following
creating Foreign JNDI Providers
Created remote and local JNDI names
from servlet client, I tried lookup using foreign jndi…

Nageswara Rao
- 954
- 1
- 10
- 32
1
vote
2 answers
Sharing an LDAP connection between classes - best practices?
What I need to do is connect to an LDAP, and then pass this connection to several classes, which do various steps of processing.
The problem I face is if I should pass the connection to these classes via the constructor, or if every class should…

helpermethod
- 59,493
- 71
- 188
- 276
1
vote
1 answer
Active directory LDAP String?
I am following the link
http://geekswithblogs.net/frankw/archive/2008/05/18/forms-authentication-with-active-directory-in-asp.net-2.0.aspx
Trying to implement the same in my application.I am confused about the LDAP connection string beacause i…

Macnique
- 1,028
- 2
- 19
- 44
1
vote
2 answers
C# Cannot connect to AD using LDAPS
My requirement was to change the user password of AD. So, I created the LDAP SSL secure connection on the AD domain server by following https://bl.ocks.org/magnetikonline/0ccdabfec58eb1929c997d22e7341e45 successfully.
Using the ldp.exe tool (on the…

Varsh
- 413
- 9
- 26
1
vote
2 answers
LdapConnection Bind() - does it timeout?
I have some code that allows administrators to manage their organization's users/groups etc and execute extended commands (such as disabling accounts etc). This code is completely separate from the main user application and is only accessible by…

snappymcsnap
- 2,050
- 2
- 29
- 53
1
vote
0 answers
How do you implement in PHP of using LDAP Pool Connection after we set the connection properties in apache ldap.conf?
I'm new to PHP, was interested in apache LDAP connection pool topic : LDAP Pool
I've found several example but mostly written in Java.
Is there a sample PHP code that I can refer to, such as documentation for PHP of implementing LDAP connection…

Azim
- 11
- 1
1
vote
1 answer
Creating Active Directory of usernames for LDAP access
I am a newbie to LDAP and Active Directories.
I need to build a active directory of users who are eligible to access a particular conputer. When the user enters the username and password in a web interface(created in C#) it is sent to the active…

logeeks
- 4,849
- 15
- 62
- 93
1
vote
1 answer
Search across all subdomains in a ldapContext in Java
I have established an LdapContext in Java, and am looking to perform searches against it. I'm connecting to an IP (ldap://1.1.1.20:389) with a root domain of dc=fake,dc=domain,dc=com. I'm looking to validate users on this server, but the users are…

Slenderbowman
- 102
- 1
- 10
1
vote
1 answer
Establishing LDAP Connection with User not listed in Active Directory
I have an IP, username, and password that I use to connect to Active Directory via Active Directory Explorer. I'm attempting to establish a connection via Java using these credentials. However, the account that I log in to the server with is not…

Slenderbowman
- 102
- 1
- 10
1
vote
0 answers
LdapConnection Active Directory schema information for user object
I am looking for method or search filters which can help me to get schema attribute information of user object from active directory over SSL.
I am using LdapConnection class to connect to the server. It is easy to get authenticate server.
Here is…

Gautam Parmar
- 686
- 8
- 18