When the latest version of the Camelot PHP Tools is paired with the Camelot SharePoint Integration Toolkit version 2.0.2 or newer it has full support for NTLM authentication.
Either static or personal credentials can be used. Read more about this in the documentation, http://docs.bendsoft.com/camelot-php-tools/latest/examples-and-tutorials/ntlm-authentication/
Setting up a NTLM Connection to SharePoint
// The settings are created in the settings.php file // Creates a WcfSettings List Object $WcfSettingsList = new WcfSettingsList(); // Add the connection "SharePointConnection1" enforcing NTLM authentication $WcfSettingsList->append(new WcfSettingsObject("SharePointConnection1", "http://sharepointserver.com:8080/?wsdl", "MySharedKey", "sharepoint_connection", 0, "ntlm")); // server using ntlm $WcfSettingsList->append(new WcfSettingsObject("SharePointConnection2", "http://anotherserver.com:8080/?wsdl", "MySharedKey", "sharepoint_connection")); // server not using ntlm
Static NTLM Credentials
Static credentials are used when you only want to authenticate the connection using a single account.
// Enter in settings.php $GLOBALS['NTLM_CREDENTIALS'] = array( 'ntlm_username' => 'domain user', 'ntlm_password' => 'password' );
Personal NTLM Credentials
When using personal NTLM Credentials each user/client will have to handle their own authentication, this is automatically handled by the class CamelotSoapClient that outputs a login form when required.
Use our contact form if you have any questions!