Tags:
create new tag
view all tags

SID-02028: Unable to access bin/configure after LDAP auth applied

Status: Answered Answered TWiki version: 6.0.1 Perl version: 5.8.8
Category: CategoryAuthentication Server OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga) Last update: 10 years ago

Hi Peter and the team (assuming there is a team),

Great product in Twiki by the way. We're running version 4.3.1 (non LDAP auth).

I'm working towards migrating to the latest version. So far I've successfully installed it on another server and restored our old twiki data to it. I've also added SSL and LDAP to manage auth (not using LDAPContrib) as per:

<Directory "/path/wiki/bin">

    AllowOverride All
    Allow From All
    Options Indexes FollowSymLinks Includes ExecCGI
    SetHandler cgi-script
    AuthBasicProvider ldap
    AuthzLDAPAuthoritative off
    AuthType Basic
    AuthName "Wiki: Enter Your Network Username/Password"
    AuthLDAPBindDN "XXXXXXXX"
    AuthLDAPBindPassword XXXXXXXX
    AuthLDAPURL "XXXXXXXXXX"
   AuthLDAPGroupAttribute department
   AuthLDAPGroupAttributeIsDN off
   require valid-user

</Directory>

LDAP auth works fine for accessing every other page except configure. So it seems I can't now access the bin/configure web section since applying LDAP. We do still have a .htpasswd file which has all the old users in, I've tried these, they don't work, I've tried the admin, no joy, I've created a new internal admin, still no luck. Any advice?

Regards Neil

-- Neil Price - 2015-02-24

Discussion and Answer

I have not used the AuthLDAP approach, but this seems more like an Apache configure question. Try to require authenticated user just for the TWiki scripts, except configure. Something like this inside the <Directory> directive:

<FilesMatch "(attach|edit|manage|rename|save|upload|mail|logon|rest|.*auth).*">
   require valid-user
</FilesMatch>

-- Peter Thoeny - 2015-02-24

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Unable to access bin/configure after LDAP auth applied
SupportCategory CategoryAuthentication
TWiki version 6.0.1
Server OS Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Web server Apache (httpd)
Perl version 5.8.8
Browser & version Any, IE, Chrome and Firefox
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.