Results 1 to 5 of 5

Thread: Decoding SHA Password in LDAP

  1. #1
    Join Date
    Dec 2009
    Location
    Bangalore, India
    Posts
    27

    Thumbs up Decoding SHA Password in LDAP

    Hi all,

    have any body ever decoded the SHA Password in LDAP. i just need the sample code to do it.

    need help buddies...

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    You cannot and never will be able to... SHA is one way only... Once on SHA you can never get back, else it would be a crappy encryption solution wouldn't it if it would be easy to convert back.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Dec 2009
    Location
    Bangalore, India
    Posts
    27

    Thumbs up

    hi, thx for ur reply.

    i have to get the password of the particular user in the ldap.
    attribute.get("userPassword").toString is giving me a random value. i am unable to find the solution to get the password of the LDAP user. plz suggest me some way with sample code.

    thx.

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    As I already stated you cannot do that, if you could it would be a crappy encryption strategy!!!

    The only way to do it is to use brute force hacking techniques which will probably take several weeks/months/years to hack the password.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  5. #5

    Default

    You should probably explore the reset-password options.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •