Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Ad  login not working
Avatar
McQ101 #1
Member for 2 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Ad  login not working
Hi There,

I'm hopping you can help me fix my AD Auth access issue i'm having.

I've recently moved my  dokuwiki from one server to another from RHEL 5.11 to RHEL 7.11 the original wiki version is 2012-10-13 "Adora Belle" the new version is 2018-04-22b "Greebo". I did this by installing the new version and copying the files from the original server.

The original wiki has a login page that you have to type your windows AD username and password to authenticate to access the wiki but on the new server this is not working. The new server you type the url / IP and you access the wiki page straight away there is no authentication  page.  There is a login button on the new server and I get a login page but I just get "Sorry, username or password was wrong."

Can Anyone point me in the right direction what I'm doing wrong the conf files are the same as the original server.

Thanks for your help (Sorry for the first login post)
Avatar
cziehr #2
Member since Jan 2011 · 685 posts · Location: 10119 Berlin
Group memberships: Members
Show profile · Link to this post
I had the same problem just a few days ago when I moved to CentOS.

After I searched for hours and days what the problem was, I found the solution:
SELinux was preventing apache to connect to the Active Directory on another server. To allow this behaviour, type

sudo setsebool -P httpd_can_network_connect
This post was edited on 2020-01-28, 18:06 by cziehr.
Avatar
McQ101 #3
Member for 2 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Thanks cziehr.

But the SELinux is disabled by default
Avatar
McQ101 #4
Member for 2 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Fixed the issue it was the local.protected.php config file.
The parameters are slightly different on the two version "Adora Belle"  "Greebo"
I just copied the config file from the old version and put is on the new version and I didn't notice the differences

Old  local.protected.php file
// configure your Active Directory data here
$conf['auth']['ad']['account_suffix']
$conf['auth']['ad']['base_dn']
$conf['auth']['ad']['domain_controllers']


New local.protected.php File
$conf['plugin']['authad']['account_suffix']
$conf['plugin']['authad']['base_dn']
$conf['plugin']['authad']['domain_controllers']
Avatar
jimcortner #5
Member for a month · 1 post
Group memberships: Members
Show profile · Link to this post
Thanks McQ101. The issue was resolved.
run 3
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-04, 11:05:50 (UTC +02:00)