28 reputation
4
bio website
location
age
visits member for 1 year, 10 months
seen Apr 8 '13 at 18:31

Oct
7
awarded  Teacher
Jul
30
awarded  Popular Question
Mar
26
awarded  Student
Mar
19
accepted Windows Server 2008R2 Backup Cannot Be Found (Unable to Restore)
Mar
19
answered Windows Server 2008R2 Backup Cannot Be Found (Unable to Restore)
Mar
16
asked Windows Server 2008R2 Backup Cannot Be Found (Unable to Restore)
Jan
11
awarded  Scholar
Jan
11
accepted ldap_bind: Invalid credentials (49) using openLDAP
Jan
11
comment ldap_bind: Invalid credentials (49) using openLDAP
Alright. I have it working. It turns out I had to use cn=Users instead of ou=Users for some reason. I now have a php script that is going to use post messages for iOS devices. The iOS devices will have an application that requires active directory authentication in order to use. Thanks for the help Andrew! I wish I could upvote your answer, alas I don't have 15 reputation. Thanks again.
Jan
10
comment ldap_bind: Invalid credentials (49) using openLDAP
Apparently I am unable to edit my previous comment, however, I managed to get my ldapsearch to work properly. I had to type the following to have it work ldapsearch -D "cn=Test, cn=Users, dc=example, dc=local" -w Test123. Now I need to use the same properties when using my adLDAP. Thanks for the help thus far. I'll keep you updated.
Jan
10
comment ldap_bind: Invalid credentials (49) using openLDAP
Yes, the ldapsearch does still fail. I dont quite understand how to give the LDAP object a sAMAccountname attribute. The cn I am using is an administrator on the AD server. Is there some configuration that needs to be done on the openLDAP side?
Jan
10
comment ldap_bind: Invalid credentials (49) using openLDAP
Thanks for the quick response, I really do appreciate it. So yes, you are right it isn't test, I'm actually using cn=test, I just substituted the names in in the original comment. The command that I am running is ldapsearch -D "cn=test, ou=Domain Controllers, dc=example, dc=local" -w Test123 At least I know that the adLDAP.php script is actually connecting to the server and working. Seems like I just need to pass in the correct token and it should work. I've tried EXAMPLE\\test, however, the adLDAP page just returns a Server Error. It seems I cant pass special characters.
Jan
10
asked ldap_bind: Invalid credentials (49) using openLDAP