Colfusion cfntauthenticate not working

I have below line used for authentication in of the ColdFusion apps.
<cfntauthenticate domain="#domain#" username="#usr#" password="#pass#" result="authresult" listgroups="no">

Open in new window


This is working on live server. But cant make it work on local development environment. Could anyone help?
LVL 1
SmitWeb DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LajuanTaylorCommented:
Is your local development workstation joined to the same domain as the live server?
0
SmitWeb DeveloperAuthor Commented:
Nope! I guess that is the problem? but what is <cfntauthenticate>
0
LajuanTaylorCommented:
Both <cfntauthenticate> and <cfldap> are used in Network environments where you leverage some sort of domain controller. However <cfntauthenticate> is for use with a Windows NT Domain.

<cfldap> provides more control and has more attributes. I lean more towards <cfldap> now because it's more flexible and a generic code based can be used with Windows Active Directory or Novell Directory Services.

For local development you might have to provide some sort of logic to use local variables or a db when not connected to the domain.
<!--- Use Local Security --->
<cfif #cgi.HTTP_HOST# EQ "localhost" OR #cgi.HTTP_HOST# EQ "127.0.0.1">
  <cfinclude template="AuthenticateUsingSQL.cfm">
<cfelse>
<!--- Use Domain Security --->
  <cfinclude template="AuthenticateUsingLDAP.cfm">
</cfif>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SmitWeb DeveloperAuthor Commented:
Awesome! This what explanation i was looking for.. Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.