Thread:Project:Support desk/LDAP + Apache/reply (2)

Hi Malyacko,

Thank you for your response.

My company wants to use the windows credentials to auto login to their mediawiki site. What I've managed to do is that users are now able to use the windows credentials to login to mediawiki (prompting them the login page)

I can't seem to get the auto login function working. I've tried to put this code to enable auto login

list($dom,$userid) = split('[\]',$_SERVER['REMOTE_USER']); $wgLDAPAutoAuthUsername = $userid; AutoAuthSetup;

but php error is giving me the (Undefined index: REMOTE_USER) error. What should I do next? Thanks:)