Thanks Kurt for your reply. I can log on to Spectra after commenting this code. I want 
to know if its possible to edit the user directories settings in CFMX. Because CFMX no 
longer uses Advanced Secruity, if I wanted to add a new Security Context or edit an 
existing SC or User Directory, how would I do it in MX?

>Allan, 
>
>If the security is working then it's ok to comment out
>that code. It's only used to verify if the LDAP connection
>to the userdirectory is working. 
>
>The -1 seems to be a CFMX error having to do with LDAP. 
>
>-Kurt. 
>
>-----Original Message-----
>From: Allan Clarke [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 21, 2003 11:33 AM
>To: Spectra-Talk
>Subject: Error in the Spectra 1.5.2 Configuration Wizard
>
>
>ColdFusion MX - Spectra 1.5.2 migration problems.
>
>
>My CF 5 application uses Site Minder (Advanced
>Secuirty) to connect to an LDAP Server. 
>I have four security contexts and 4 user directories.
>So access to the site is restricted and only users
>having proper permissions can login to the site. 
>When it came to migrating to MX and Spectra, I first
>updated to Spectra 1.5.2 on CF5 from Spectra 1.5.1. I
>get an error at Step 6 of the Configuration Wizard
>(Step 6: Testing Final Configuration). The error
>message I get is:
>
>"Failure
>
>The following information was returned
>
>Security Policy action failed unexpectedly; Add User
>Directory. String index out of range -1"
>
>I click on the "Retry" button and get the same
>message. Basically the security test is failing. It
>however creates the test user in 
>LDAP. As a solution I've commented the code in the
>file _securitytest.cfm (program
>files\allaire\spectra\install\substeps) from line 58
>to line 87.
>
>This is the code that causes the above exception. I've
>commented this now but I'm not sure if this is the
>right thing to do. Can somebody please tell me why I
>get this error message in the first place. Also can
>somebody tell me what additional steps or code changes
>should I make to run my spectra application on CFMX. I
>use the LDAP Directory Server to authenticate users.
>
><!--- test policy creation --->
>
><cfa_policyCreate
>securityContext = "sc1"
>userDirectory = "UserDirectory"
>resource = "#myResource#"
>resourceMethod = "test"
>lUsers = "#myUser.Username#"
>>
>                
><!--- test policy removal --->
>                
><cfa_policyDelete
>securityContext = "sc1"
>policyName = "#myPolicy#"
>>
>                
><!--- test user retrieval --->
>                
><cfa_userGetMultiple
>userDirectory = "UserDirectory"
>r_stGroups = "stUserGroups"
>r_stUsers = "stUsersinGroup"
>> 
>                
><!--- remove the test user --->
><cfa_userDelete
>userDirectory = "UserDirectory"
>username = "#UN#"
>password = "#PW#"
>>               
>
>Regards,
>
>Allan
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to