v9 LDAP Authentication Script

Anyone know how to authenticate against AD or LDAP using v9 or increase the v9 Administration tools capacity to handle larger scripts.

 

Have an existing LDAP authentication script that we have modified to work with v9 that is a little larger than the out-of-the-box authentication scripts and when trying to upload the LDAP authentication script get the following error:

"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:attachment. The InnerException message was 'There was an error deserializing the object of type AdminToolsWCFService.MBPMAttachment. The maximum array length quota (16384) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 23119.'. Please see InnerException for more details."

 

Have tried adding “wsHttpLargeMessageBinding” to the bindingConfiguration in the bindings and services of the Administration Web.config to increase the upload capacity without any success.

 

How do I either 1) authenticate users at login using AD or LDAP without using SSO or 2) how do I upload a larger authentication script into the administrator authentication script tool?

 

Thanks!

Tagged:

Comments

  • I've never heard of there being a limitation on the size of the script, so how big is the script,k the modified version I have it about 8kb which is pretty small.  You have a number of options, on my end because of a need to only pass Authentication through the proxy one time we have an external Login Site that does the look up, etc, establishes the session and then logs that user into the session.  I had  a similar setup in v7.6.

     

    I would think that there may just be a problem in your log script.  Maybe shorten the script and add some debugging lines to it,

     

    I added the following function to mine which helped alot

     

    function SSO_Logging(functionname, msg) {    //Create Log Entry in Temp Log Table    var sqlStateMent = "insert into SSO_Log (FunctionName, LogMessage, LogTime) values ('" + functionname + "', '" + msg + "', GetDate())";    var response = ework.ExecSQL(sqlStateMent);}