Authenticating using Active Directory 2003

Posted on 2004-11-18
Last Modified: 2010-04-01

I'm trying to get my intranet site to authenticate itself against an windows 2003 active directory server. I'm using tomcat 5.0.18. Has anyone managed to do this and with what.

I have downloaded the easyldap tags, but get error

 [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece]

when i try to connect to the active direcotry server.

Question by:applejuice
    LVL 35

    Expert Comment


    AcceptSecurityContext error, data 52e means "bad password",
    AcceptSecurityContext error, data 525 means "bad user name" and
    AcceptSecurityContext error, data 773 means "password expiring" or similar.

    So it looks like you have a "bad user name"
    LVL 1

    Author Comment

    I solved this one by specifiying the correct paths in the active directory structure. Yoiu have to be carefull how you specify your organisational units and domain controllers, i.e OU=SupportStaff, DC=Domainname,DC=ac, DC=uk etc etc
    LVL 35

    Expert Comment

    fair enough :-)

    Accepted Solution

    PAQ-ing the question and refunding 300  points

    Thanks TimYates !


    Community Support Moderator
    Experts Exchange

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Suggested Solutions

    Title # Comments Views Activity
    Javamail API 3 128
    constructor overloading 2 70
    java cigar challenge 58 199
    instanceof  operator in java 26 54
    In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
    This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
    This video discusses moving either the default database or any database to a new volume.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now