if you front end the system with IIS, you can enable ntchallenge and 
response authentication for the aplication directory.

based on the domain name that is used to access it, IE will pass the 
AD credentials automatically.

the security settings will determine that to some extent.
1. the security for the local intranet would need to be set to pass 
current login credentials automatically.
2. the domain name for the server would need to contain no "."'s 
i.e. (localhost, intranet, servernetbiostypename) which 
automatically is interpreted as being on the intranet.
3. if the name contains a ".", (127.0.0.1, intranet.mydoamin.com 
etc) then you need to explicitly add it to the list of servers that 
are in the local intranet (tools|internet options|security|local 
intranet|sites)

if you do those steps, the users will be authenticated using the 
account they are logged in with on the PC, and they will not need to 
retype their password etc. the username and domain are then 
avaialble as a CGI scope variable auth_user (cgi.auth_user = 
domain\username)

hope that helps
--Dennis

--- In [email protected], "sanjayd" <[EMAIL PROTECTED]> wrote:
> Thanks all for the responses. The 'problem domain' is coded in 
Java.
> (Tarik: I will look into the CFM code to grasp the concept. 
thanks) My
> question was more to the Client side...is there way to authenticate
> the user (via activeDirectory) on the client-side without involving
> any server-side code ?
> 
> Thanks again - Sanjay
> 
> 
> --- In [email protected], Tarik Ahmed <[EMAIL PROTECTED]> wrote:
> > Whoops, thought that was a question from a BACFUG list. To 
preface this 
> > response - that would be the Coldfusion way of doing things.
> > 
> > Tarik Ahmed wrote:
> > 
> > > Well there's an article here:
> > >
> > >
> 
http://www.macromedia.com/devnet/server_archive/articles/integrating_
cf_apps_w_ms_active_directory.html#auth
> 
> > >
> > >
> > > But if their windows login is the same as AD, so you can also 
try
> this:
> > >   <cftry>
> > >                    <cfscript>
> > >                    ntauth = createObject("java",
> "jrun.security.NTAuth");
> > >                    ntauth.init("SomeDomain");
> > >                    ntauth.authenticateUser(FORM.UserName,
> FORM.Password);
> > >                    auth = true;
> > >                    </cfscript>
> > >            <cfcatch>
> > >                    <cfset auth = false>
> > >            </cfcatch>
> > >     </cftry>
> > >
> > >
> > >
> > >
> > > sanjayd wrote:
> > >
> > >> Guys:
> > >>
> > >> I need to authenticate my users via 'Active Directory'. Any 
ideas
> what
> > >> is the best way to do this ? Thanks - Sanjay
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Yahoo! Groups Links
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>  
> > >>
> > >
> > >




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to