[SAC] [OSGeo] #2453: can not login using LDAP to osgeo webpage

#2453: can not login using LDAP to osgeo webpage
---------------------------+-----------------------
Reporter: codrina | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords:
---------------------------+-----------------------
Hi,

I can't login using LDAP (userID codrina) to the OSGeo website. After
resetting the password, it still doesn't work. The error I get is wrong
credentials, however I have no problem using those to login into
nextcloud, gitea or trac. I know that at some point, long ago, I could
login. I did some editing before the website was public, so maybe my
account was not made using LDAP.

Any help will be much appreciated.

Codrina

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2453&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2453: can not login using LDAP to osgeo webpage
---------------------------+---------------------------------------
Reporter: codrina | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2020-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Changes (by strk):

* milestone: Unplanned => Sysadmin Contract 2020-I

Comment:

If you can login into Gitea and Trac then YES, your account made it into
LDAP.
If Website doesn't let you, it must be a Website issue.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2453#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2453: can not login using LDAP to osgeo webpage
---------------------------+------------------------
Reporter: codrina | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed
* milestone: Sysadmin Contract 2020-I => Unplanned

Comment:

codrina -- your account was created locally I think and was missing the
LDAP bits.
I merged your ldap and local account so you should be able to log in now.

Did it from the database backend

{{{
INSERT INTO <wp prefix goes here>_usermeta(user_id, meta_key,meta_value)
VALUES (57, 'wpDirAuthFlag', 1)
  ,(57, 'wpdirauth_prnd', 1);
}}}

Please try logging in again to confirm it works, and feel free to reopen
if it doesn't.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2453#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2453: can not login using LDAP to osgeo webpage
---------------------------+------------------------
Reporter: codrina | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------

Comment (by strk):

How could she connect to Trac and Gitea if the
account was only local ?

Can we DISABLE creation of "local" accounts on
the website ?

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2453#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2453: can not login using LDAP to osgeo webpage
---------------------------+------------------------
Reporter: codrina | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------

Comment (by codrina):

Replying to [comment:2 robe]:

> Please try logging in again to confirm it works, and feel free to reopen
if it doesn't.

I tried it and it works! I can now successfully login into Trac, Gitea,
Nextcloud and OSGeo website. Thank you!

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2453#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.