LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-06-2004, 07:12 AM   #1
shoaib
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
AD lookup by OpenLdap faild.


Hi, iam getting this error ,I tried CheckBind.java example in Openldap.


CheckBind example failed
Error: LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Server Message: 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893.

I am using Active Directory Service.

loginDN attribute i set was administrator and pass was also correct.

I created another user named hitler and it worked fine.

What actully these Error code mean !
Server Message: 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893.

Thanks .
Shoaib.
 
Old 09-14-2004, 09:46 AM   #2
shoaib
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up finally

Hi , will i have found the solution at last.
I found that the problem was in Context.SECURITY_PRINCIPAL environment string.
Well the problem was very strange the code was working on some Active Directory workstations but not all.

Context.SECURITY_PRINCIPAL was like that first CN=shoaib, CN=Users, DC=mydomain, DC=com.
when i get bind with this DN i get some time logged at some time i get errors like i have described.
I changed this DN and set it like this shoaib@mydomain.com or administrator@mydomain.com it worked fine.

if any one knows the reason of that let me know !

Thanks.
Shoaib.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Kmod: faild to exec longnam Slackware 1 04-03-2005 03:50 PM
pureftpd authentication faild problem agentqx2 Linux - Software 0 08-04-2004 02:09 AM
Faild in compiling kernel! beyond_2000 *BSD 2 06-09-2003 10:22 AM
Maya runing faild! beyond_2000 Linux - Software 2 10-13-2002 11:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration