• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

LDAPConnection - Can only bind/authenticate administrators

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have spent a lot of time trying to use the Simple.java provided on Sun's site to bind a user to Active Directory/LDAP. Unless the user is an administrator, I get error code 49->"Invalid Credentials."

My thought was that everyone should be able to bind/authenticate. I basically just want to check if they are a Windows user and then let them proceed into my system.

Thanks in advance for any help you might be able to provide.
 
Author
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kimberley,

can you provide information on
* your Active Directory Version (2000 vs 2003/ADAM)
* whether this example uses JNDI (I do not know it)
* the form of the user name, you use for authentication (DN, UPN, ...)

Have you tried to bind with this user with other tools, for instance with an ldapsearch or a UI client (not Microsoft)?

Greetings,
Stefan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic