Extension talk:Auth remoteuser

Jump to navigation Jump to search

About this board

Previous discussion was archived at Extension talk:Auth remoteuser/Archive on 16 June 2020.

$wgAuthRemoteuserUserName = "Everybody"

2 (talkcontribs)

A question about Number 5 i the extension page:

// This is not advised, because it will evaluate every visitor

// to the same wiki user 'Everybody'

$wgAuthRemoteuserUserName = "Everybody";

I tried to use this form and insert a substring called $username read from a cookie containing the username instead of "Everybody",

$wgAuthRemoteuserUserName = $username;

but it seems to evaluate to nothing and the user is not logged in.

When I echo the string read from the cookie it looks ok.

If i write the the same cookie value as a string, and run the function on it, the function to read the username and log in works fine. I tried a lot of other string operations on the value as a string, and it still works, but when I try to use the substring from the cookie it will not login. What is wrong?

Ciencia Al Poder (talkcontribs)

How do you get that substring? Maybe there's some error in your code and the value doesn't get assigned at all

Reply to "$wgAuthRemoteuserUserName = "Everybody""

Using Auth remoteuser with PKI Certs

Tony Novice (talkcontribs)

Hi, I'm upgrading our organizational wiki from MW 1.31 to MW 1.35, which means I'm also upgrading from PHP 7.2 to 7.4. We're upgrading from Auth remoteuser v1 to v2. Under MW 1.31 and Auth remoteuser v.1 worked perfectly and users were able to automatically log in using their certs. Following the upgrade, I'm not able to log in. The application tells me to log in, even though I know my certs are being read. I could use some advice from anyone who's used this extension with PKI certs. I'm sure I'm overlooking something obvious, but I've been looking at this problem for too long. Thanks in advance for the help.

Reply to "Using Auth remoteuser with PKI Certs"

No insert into LDAP_DOMAINS table

Adrianzlobinski (talkcontribs)

Hi, im using this with LDAP Authentication Stack. And almost everything is ok. But one thing not. When new domain user visits my MediaWiki his account is created but not inserted into ldap_domains table. When i disable this Auth_Remoteuser extension and user enters domain login and password, then account is automatically added to table ldap_domains. What should i check or change in my configuration?

Ciencia Al Poder (talkcontribs)

Do you really need both enabled? If disabling Auth_Remoteuser extension works for you, why are you enabling it? (talkcontribs)

Because i need Auth_Remoteuser to automaticaly login domain users.

Ciencia Al Poder (talkcontribs)

That's probably wrong. LDAP Authentication states that it authenticates users with NTLM/Kerberos, which is the way to automaticaly login domain users. Maybe you're missing some configuration to enable that.

Reply to "No insert into LDAP_DOMAINS table"
There are no older topics