Foswiki on GitHub is open for business! Next release meeting: Monday September 1, 1300Z
This question about Authentication or Authorisation: Answered

Automatic Login with LDAP or NTLM

I have been successful in setting up Foswiki to authenticate using LDAP to our Active Directory server. I was able to use LdapContrib to query AD for existing user accounts and then bulk create the accounts. The wiki is configured to allow anonymous access to the main web. Updates and access to secure webs require a logon. I am running Foswiki 1.0.9 on Ubuntu 10.4 with Apache2.

So all would seem well but I would like to be able to provide automatic login for users so the site behaves like other intranet resources (e.g. Sharepoint) where the current login credentials for their AD session are automatically passed to the webserver and no pass through the logon screen is necessary. This would greatly enhance update of the wiki in the organization.

I have been able to follow a variety of internet resources and configure a simple web page on the same apache server to authenticate with AD via NTLM. Since both Apache/Foswiki/LDAP are working and Apache/HTML/NTLM are working, I know my configuration and communications with to AD are correct. There are no error messages and you can see the authentication occuring correctly for both.

But for the life of me, I cannot figure out how to configure Apache/Foswiki/NTLM authentication. Can anyone assist me in this? My current security configuration is:

{LoginManager}
Foswiki::LoginManager::TemplateLogin
{UserMappingManager}
Foswiki::Users::TopicUserMapping
{PasswordManager}
Foswiki::Users::LdapPasswdUser

I have seen a number of posts which suggest that the NTLM authentication needs to be added to the /bin folder in the Apache config file. I have done this with no success.

Any suggestions on how to get this working?

TIA


For SSO in Windows try the mod_auth_sspi module of Apache: http://foswiki.org/Support/ModAuthSSPICookbook

-- GuruprasadIyer - 21 Jun 2012

QuestionForm edit

Subject Authentication or Authorisation
Extension LdapContrib
Version Foswiki 1.0.9
Status Answered
Related Topics
Topic revision: r2 - 21 Jun 2012, GuruprasadIyer
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License