5.How to connect LDAP(active directory) in Java and retrieve all user details

About this tutorial:

Video duration: 14:26
How to connect LDAP with Java and retrieve all user details.
This video contains the connection code of ldap with active directory in java.

coding link :

second same code :

Checkout new Tutorial for Lambda expression in details-

Blog :

Java Programming Basic to Advance Tutorial :

Java Programming Tutorial…

Incoming search terms:

Post Author: OfficeTutes.com

Apple lover, ICT and LEAN consultant, MS Office lecturer My other website with video tutorials - Tutorials, guides and news for iPhones and iPads

8 thoughts on “5.How to connect LDAP(active directory) in Java and retrieve all user details

    Saravanan K

    (October 9, 2019 - 10:11 pm)

    excellent video

    Ravi Singh

    (October 9, 2019 - 10:11 pm)

    getting this error on this line —> DirContext context = new InitialDirContext(initialProperties);

    javax.naming.AuthenticationException: [LDAP: error code 49 – 80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839


    (October 9, 2019 - 10:11 pm)

    Thank you very much. Very helpful

    Farha Jawed

    (October 9, 2019 - 10:11 pm)

    Your LDAP videos are very helpful.

    dileep keeppalli

    (October 9, 2019 - 10:11 pm)

    How to connect 'kotlin api and openLDAP'?


    (October 9, 2019 - 10:11 pm)

    good, may one user in AD, get info for another users in catalog? because security settings avoid connect user for all computers only in (Logon Workstation —- > The following computers menu)


    (October 9, 2019 - 10:11 pm)

    if employe have two cn how i can retrieve the second


    (October 9, 2019 - 10:11 pm)

    Video is really helpfull. Can you please suggest what is "inetorgpro", Is it ldap database name or something else?

Leave a Reply

Your email address will not be published. Required fields are marked *