RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-14 Thread Dawson, Michael
w00t! m!ke -Original Message- From: david reiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 10:20 PM To: CF-Talk Subject: Re: CFLDAP finds cn but can't find password or certain attributes FIXED It required userPrincipalName (retrieved from the first CFLDAP query

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-13 Thread david reiter
FIXED It required userPrincipalName (retrieved from the first CFLDAP query using the cn as the username) for the username on the second query. Wow - what a nightmare. But my app works and the client is happy, so all's well that ends well. Thank you all very very much - I wouldn't have

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-12 Thread david reiter
Thanks a lot - that's all helpful. But I have no control over the client's LDAP attributes so I'm stuck with their naming convention (which is inconsistent). And the username / pasword set they gave me, which works to log onto their intranet, doesn't work in a CFLDAP query. I think I'll try

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread david reiter
They use their common name as the username - my test account is (digits changed but format the same) abc-x-myname. Is the working admin username just a name like admin or a DN like cn=admin,dc=something...? On Tue, Mar 11, 2008 at 11:35 AM, david reiter [EMAIL PROTECTED] wrote:

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread david reiter
). http://forum.java.sun.com/thread.jspa?messageID=9941793 http://forum. java.sun.com/thread.jspa?messageID=9941793tstart=0 tstart=0 m!ke _ From: david reiter [mailto:[EMAIL PROTECTED] Sent: Mon 3/10/2008 9:35 PM To: CF-Talk Subject: Re: CFLDAP finds cn but can't find

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
I have had the exact same problem. My Active Directory is inside the firewall and accesable with .net code from my dev machine. Here is the salient C#. public static bool UserExists(string UserName) { //create an instance of the DirectoryEntry DirectoryEntry de =

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
OK, I got it to work. It was the user name. It is wierd. My login account is nstein, but cn is Nick Stein, so I have to use the latter in my CFLDAP. Here is the code that works: cfldap action=QUERY name=GetUserInfo attributes=givenName,sn,cn,name,dn start=DC=codagenomics,DC=net

RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Dawson, Michael
manually renaming accounts so that they matched our current style of usernames. It was time well spent. m!ke -Original Message- From: Nicholas Stein [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 12:21 PM To: CF-Talk Subject: Re: CFLDAP finds cn but can't find password or certain

RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-10 Thread Dawson, Michael
. It may give you a clue. You should get something such as NOT_WILLING_TO_RESPOND. m!ke -Original Message- From: david reiter [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2008 8:44 PM To: CF-Talk Subject: Re: CFLDAP finds cn but can't find password or certain attributes Thanks, Michael

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-10 Thread david reiter
Hi - The error message (which occurred in the line reading filter=cn=#FORM.UserLogin#) is below: Authentication failed:[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ] Does this help identify the problem? Thanks very much! David

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-10 Thread James Holmes
Is the working admin username just a name like admin or a DN like cn=admin,dc=something...? On Tue, Mar 11, 2008 at 11:35 AM, david reiter [EMAIL PROTECTED] wrote: Hi - The error message (which occurred in the line reading filter=cn=#FORM.UserLogin#) is below: Authentication

RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-10 Thread Dawson, Michael
but can't find password or certain attributes Hi - The error message (which occurred in the line reading filter=cn=#FORM.UserLogin#) is below: Authentication failed:[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ] Does this help

RE: CFLDAP finds cn but can't find password or certain attributes

2008-03-09 Thread Dawson, Michael
What directory server are you using? Active Directory, Novell, etc? Why do you need the user's password? If you need the password, caputure it when the user logs in. Once they have successfully logged-in, then you will know that the password is correct. Knowing any incorrect passwords is

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-09 Thread david reiter
Thanks, Michael. I don't think the syntax is the problem because it works when I replace #FORM.UserLogin# with the admin account username and #FORM.UserPassword# with the admin password. I assume it's an AD because the password name is unicodePwd - their admin isn't sure (believe it or

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-09 Thread david reiter
Thanks, Michael. I don't think the syntax is the problem because it works when I replace #FORM.UserLogin# with the admin account username and #FORM.UserPassword# with the admin password. I assume it's an AD because the password name is unicodePwd - their admin isn't sure (believe it or

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-09 Thread david reiter
Thanks, Michael. I don't think the syntax is the problem because it works when I replace #FORM.UserLogin# with the admin account username and #FORM.UserPassword# with the admin password. I assume it's an AD because the password name is unicodePwd - their admin isn't sure (believe it or