WebSphere Portal Server - Re: Forcing Password Change

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2004 > Re: Forcing Password Change





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Forcing Password Change
sondcw

2004-06-21, 5:50 pm

Thanks for the reply, craigdawson. I appreciate your time.

I have now connected to LDAP. However, the only way in which I can obtain the user's attributes is by calling:

String user = "CN=Smith Bob A,OU=Information Systems,OU=Maryville";
javax.naming.directory.Attributes atts = ctx.getAttributes (user);

I need to determine how I can send in the user name instead of the distinguished name as the value of the String user defined above. When the user logs in, I do not have the distinguished name; all I have is the user name (i.e. samaccountname in Active Di
rectory). In the DirectContext API, I do not see a method that will allow me to send in a user name instead of the distinguished name.

Any assistance is greatly appreciated.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com