Yohang Lee wrote:

I want to incorporate my AD users into FarCry.  I have been looking for
readings and hints on how to implement this but there is nothing much
spoken about this.  Has anyone implemented this or can point me in the
right direction?


Basic steps needed are:

- register NTAdmin.dll for use as a com object (file can be found under farcry_core/admin/install/dmSec_files). I find it easiest to copy this file to your winnt/system32 directory and then from the command prompt run this:

regsvr32 c:\winnt\system32\ntadmin.dll

- create a new FarCry user directory (<yourApp>/config/_dmSecUserDirectories.cfm) with typename of "ADSI" and domain of your active directory eg

Application.dmSec.UserDirectory.AD= StructNew();
temp = Application.dmSec.UserDirectory.AD;
temp.type="ADSI";
temp.domain="mydomain.com";

- update your application scope (append updateapp=1 to your url)

- log in to FarCry, click on security tab, policy sub tab and finally map policy group. You will need to map the AD groups across to FarCry policy groups. Eg if your AD user belongs to a sysadmin group, you would map the AD sysadmin group to the FarCry sysadmin group. Then that user can log in with standard AD details and have full sysadmin access.

That's it. Your users should be able to log in as normal.

Note you can't view/modify AD users from FarCry.

-Brendan
http://farcry.daemon.com.au

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to