HELP! Really strange problem w/AD and LDAP/LDIFDE
- From: ohaya <ohaya@xxxxxxx>
- Date: Mon, 22 Jan 2007 19:55:26 -0500
Hi,
I've written a web application for resetting passwords in Win2K3/AD using LDAP. This web app uses an LDAP 'modify' to change the user's 'unicodePwd' attribute, and it seems to work.
I was doing some testing today, testing with ldifde and doing simple binds, and I've run across a really strange problem: At least in one case, I have a test user named 'test1' (cn=test1,cn=users,dc=test,dc=com) where I can successfully do a simple bind using ldifde:
XXXXXXXXX1
XXXXXXXXX2
The ldifde command line is:
ldifde -f foo -t localhost -t 389 -d "dc=test,dc=com"
-a "cn=test1,cn=users,dc=test,dc=com" "XXXXXXXXXy"
where: y = 1 or 2
This behavior is repeatable, i.e., I can do it over and over, including even after rebooting the AD machine :(!!
However, when I try to login to the AD machine as "test1", I can only login using the "correct" password, as set by my password web app.
Has anyone run across something like this, or does anyone know what might be going on?
BTW, a little off-topic from this post (but more important to me :)), the reason that I was doing this testing with ldifde was because we have deployed this web app successfully in 3 different environments, but then we ran into a problem with it in a 4th environment today, so maybe this might be related:
In order to do the password modification, this web app connects to AD (using an SSL connection), then it uses an admin username/password to do an 'authenticate()'. After a successful authenticate(), it then does the password modification.
The original problem that I ran into today was that in this one environment (and only this one, so far), the authenticate() using the admin username/password is failing with an "invalid_credential" error, even though we KNOW that the admin username and password are valid.
I was doing the ldifde testing described at the beginning of this post because I was trying to determine why the admin usernamd/password authenticate() might be failing.
So, if ANYONE has any ideas about what this latter problem might be, I'd really appreciate if you could post. At this point, I'm really running out of ideas :(!!
Thanks in advance,
Jim
.
- Follow-Ups:
- Prev by Date: Re: Windows Firewall
- Next by Date: Re: Association Between Local Profile and Domain Login?
- Previous by thread: Re: migrating win 2000 AD to win 2003 R2
- Next by thread: Re: HELP! Really strange problem w/AD and LDAP/LDIFDE
- Index(es):
Loading