silverspecv
Programmer
I'm trying to use cfldap to read from Active Directory on a windows 2000 server. To preface, the domain name is "specsol" and the DC's name is "main". These are on the LAN together behind the firewall, so there is no internet traffic involved. I have been using only the wins-style names, since they're on the LAN together. I'm using CFMX and <cfldap> to implement my shennanigans.
I can use the following statement to autenticate a user with the AD:
<cfldap action="QUERY"
name="auth"
server="main"
attributes="cn"
start="cn=users,dc=main"
username="specsol\jmtest"
password="jmtest">
I made a fake user named jmtest, password jmtest. It returns an empty query, but if I change the password and run it again, it says "inappropriate authentication" so I know the empty query is actually successful, it just doesn't return anything.
Despite my best trial-and-error efforts, I can't get it to read anything at all under any circumstances. I can either get an empty query, or one of a handful of various error messages. Can anyone give me the right command to actually get some data out of this thing, such as a list of users or login names or anything?
Oh yeah, regarding the subject of this post, is it possible that I have active directory set up with some funky permissions that won't allow reading of data? What should I check on the DC?
I can use the following statement to autenticate a user with the AD:
<cfldap action="QUERY"
name="auth"
server="main"
attributes="cn"
start="cn=users,dc=main"
username="specsol\jmtest"
password="jmtest">
I made a fake user named jmtest, password jmtest. It returns an empty query, but if I change the password and run it again, it says "inappropriate authentication" so I know the empty query is actually successful, it just doesn't return anything.
Despite my best trial-and-error efforts, I can't get it to read anything at all under any circumstances. I can either get an empty query, or one of a handful of various error messages. Can anyone give me the right command to actually get some data out of this thing, such as a list of users or login names or anything?
Oh yeah, regarding the subject of this post, is it possible that I have active directory set up with some funky permissions that won't allow reading of data? What should I check on the DC?