Questions tagged [ldapconnection]

The LdapConnection class creates a TCP/IP or UDP LDAP connection to Microsoft Active Directory Domain Services or an LDAP server.

105 questions
0
votes
1 answer

ActiveDirectory : Reset password honoring password history

Well I am using DirectoryEntry and LdapConnection to reset password in a scenario where we have password minimum age and history policy enforced. When someone forgets their password, you want them to be able to reset their password to something…
MSI
  • 1,124
  • 8
  • 23
0
votes
2 answers

python and ldap via SSL

I try to query an Active Directory Server with python which works fine. But now I don't want to send my credentials unencrypted on the wire, so I'd like to use LDAPs. Is there an easy way to do this? All I found till now was that I had to add this…
Andreas Hubert
  • 381
  • 6
  • 18
0
votes
1 answer

LdapConnection timeout vs SearchRequest timeout

Which one takes precedence? Say you create a new LdapConnection and set its Timeout property to 30 seconds. LdapConnection ldapConn = new LdapConnection(hostName + ":" + port) { Timeout = TimeSpan.FromSeconds(30) …
Klaus Nji
  • 18,107
  • 29
  • 105
  • 185
0
votes
1 answer

Unable to connect server using LDAP SSL?

Below is the code i am using for connecting LDAPS server /* Open LDAP Connection */ if( ldap_initialize( &ld, ldapServer ) )//Success Response { perror( "ldap_initialize" ); //return( OTHER ); } NSString* filePath = [[NSBundle mainBundle]…
sreenivas
  • 399
  • 2
  • 5
  • 20
0
votes
0 answers

How can I connect my Login jsp application with LDAP?

For authenticating I have used mysql database. But now my task is to authenticate using LDAP server. I install LDAP-Apache Directory Studio, but I don`t exactly know how I could connect with my application in Eclipse. I want to authenticate and…
David
  • 59
  • 1
  • 6
0
votes
1 answer

DirectorySearcher defaulting to Production Active Directory even though I'm passing in the Dev LDAP (edir) Server IP

I've noticed an interesting behavior when trying to connect to edirectory using DirectoryServices. This is the code that I used to pull information from our dev edirectory, but I've noticed that it's retrieving information from our production Active…
0
votes
1 answer

Where should the jssecacerts file be placed on Mac?

I am trying to connect a webapp, running in Tomcat 7.0.34 on a Mac, OS/X 10.10 (Yosemite), to a secure AD server. I get this error: org.springframework.ldap.CommunicationException: qlty-test-ad:636; nested exception is…
0
votes
1 answer

Authenticating with Active Directory using user log-on name instead of display name

I am writing a program in C++ that connects to an Active Directory server, searches for content, and then dumps that content to terminal. My problem has been that the only way I have been able to succesfully authenticate and connect is with a user's…
Josh
  • 681
  • 2
  • 6
  • 16
0
votes
1 answer

Using UnboundID SDK In-Memory Directory Server in Android App Code

I have tried implementing the unbound id in memory directory server for simulating an LDAP directory for testing purpose. The code works fine as a java application with an LDIF file as sample directory data. But when i use it in my android…
Saurabh Chaturvedi
  • 2,028
  • 2
  • 18
  • 39
0
votes
1 answer

How to discover all attributes supported by an object class in the Directory Context in LDAP

I have been trying to find out a way to discover all the attributes supported by an object class in the Directory Context. I have tried to use getattributes() method of the Directory Context, but this displays only those attributes which are…
Sai Kumar
  • 112
  • 2
  • 11
0
votes
2 answers

Reg. Extending Active Directory Expires using UnboundID LDAP SDK

I am trying to change the active directory account expires setting using UnboundID LDAP SDK. But i can not able to find the way to do it. Can any one please help me on this? I need to know how to extend the Account expires by days and also how we…
sasikals26
  • 835
  • 2
  • 18
  • 41
0
votes
1 answer

How can I choose a specific certificate when using SSL for ldap/Actyve directory connection?

I have a webservice(written in java) which is connecting to our active directory and I'm trying to make it use the SSL protocole for this connection so I've downloaded the certificate from the URL import it in my truststore and specify in my code…
zeO_340
  • 137
  • 2
  • 11
0
votes
1 answer

How to add users in groups in LDAP and ALFRESCO simultaneously

My LDAP and alfresco server both are in sync.Is there any way through which when I am adding a user in a group (groupOfNames) LDAP I will be able to add it in alfresco at the same time(simulataneously). I have defined groups as an (groupOfNames) and…
Ankit
  • 1
  • 5
0
votes
1 answer

To search Group in LDAP using search.context

How can I search a group(groupOfNames) in LDAP where as an input I can only pass the group name.Names of the groups created are unique. I am using LDAP eclipse plugin only, to search the group Hierarchy. I want the JAVA Code to search the group…
Ankit
  • 1
  • 5
0
votes
0 answers

Open Ldap directory connect with basic authentication

I installed open ldap server on Ubuntu and I can get contact as anonymous. However, I want to only get contact with basic authentication. I can disable anonymous account and I can login from phpldapadmin script. But, Andorid and Macosx can't get…
Orcun
  • 53
  • 3
  • 13