Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Steven #1
CFLDAP users authentication
Hi all,
I'm trying to authenticate a user with Active Directory.
I want to use the CFLDAP tag.
I got this example from the Macromedia website :
------------
<html>
<cftry>
<cfldap action="QUERY"
name="auth"
attributes="cn"
start = "cn=sauron,dc=pci,dc=server"
server="192.8.210.5"
username="mywindowsusername"
password="mywindowspassword">
<cfset isAuthenticated="yes">
<cfcatch type="ANY">
<cfset isAuthenticated="no">
</cfcatch>
</cftry>
<cfoutput>#isAuthenticated#</cfoutput>
</html>
------------
The ip-address of the LDAP server is : 192.8.210.5
When I ping to that address from the command promt like : ping -a
192.8.210.5
I get the servername back like : sauron.pci.server
In the example above I have for the attribute start : start =
"cn=sauron,dc=pci,dc=server" is this correct?
I don't really understand this attribute.
When I fill in my windows logon username/password and run the page, I get
isAuthenticated=no.
What Aam I doing wrong??
I'm running Coldfusion MX 7 on my localmachine.
Could a firewall be the problem? I dont think so because I can logon to the
network with my username/password.
Any help or suggestions are welcome!
Thanks!!
--
Posted by [url]news://news.nb.nu[/url]
Steven Guest
-
CFLDAP User authentication
Hi all, I'm trying to authenticate a user with Active Directory. I want to use the CFLDAP tag. I got this example from the Macromedia website... -
window authentication against ADAM users
Hi, Has anyone know how to do window authentication against ADAM users? Thanks for any reply Ann -
Authentication for anonymous users?
What should I do for realising the following task: Anonymous users can browse my ASP.net site( limited number of pages), but when the try to access... -
session authentication for users
Hi, I need to know the best way to program a login page that will only authenticate users when they click the login button at the top of our... -
Authentication with NT Users
Hi, Can someone tell me how I create a login page which authenticates users against the servers user manager. I want the login to be a form in...



Reply With Quote

