Hosted By

Contact Me

Misc Links

OpenNTF BlogSphere LotusGeek CoComment Custom Button

Ads by Google

Welcome to keithstric.com!

I hope you find this site useful in some way or another. I strive to bring you all sorts of geeky information and solutions to your most frustrating of issues with the occasional rant on whatever topic, technical reviews and weblog. You'll also find many products that I've developed and make available for you to use however you like. So, grab a cup of coffee, sit down and visit for a while.

« More on Ubuntu | Home Page| lsxldap bug and Java Agent »

lsxldap bug....

07/26/2007 9:24 PM By Keith Strickland

I've started messing around with lsxldap at work again. I'm using it to lookup Usernames in Active Directory. I've done a how to on using lsxldap to do LDAP directory lookups before. But the problem is that at my current place of employment, they don't allow anonymous lookups to Active Directory. I can understand this, but it sure is a pain. So, I now have to login to do directory lookups. At first I think no problem, lsxldap supports logging in or binding to the LDAP server. While this is certainly part of lsxldap the problem I'm having is that I set the LDAPSession.DN and then the LDAPSession.Password. When I set the password it changes the value of LDAPSession.DN. So I try setting the password first and then the DN, well that changes the password. It's very frustrating and I was planning on trying to duplicate it here at home but forgot all about it and now it's late. I'll keep you posted on this issue.

In place of lsxldap I'm attempting to use Java to do my lookup, here I have 2 problems....1. I'm not a Java developer, I can do basic stuff but with a deadline looming it's difficult and 2. I didn't have a Java environment setup and I don't have time to install and configure Eclipse. I'll spend some more time with this tomorrow, but it's very frustrating as I figured using lsxldap I could have a solution in a matter of minutes, it's now on day 2 trying to get this simple lookup done.

If anyone can help me out with a Java agent that would be great.

Keith

Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)

Subscribe to keithstric.com

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.