Using AD for login

Forum Home Forums Uncategorized Issues Using AD for login

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #16102
    LPG57
    Participant

    Please advice which steps to be taken in 6.4 in order to use AD for login.

    #16104
    Mikhail
    Moderator

    Hello,
    1. In the Server – Modules page, activate the ModActiveDirectory module.
    2. Configure the module properties.

    LdapTest utility may help to find proper parameters.

    #16105
    LPG57
    Participant

    I activated the ModActiveDirectory module, filled in IP of the DC and “mydomain.local” in the search root. I the saved and downloaded. But when open modules again, the ModActiveDirectory module was back in the unused modules pane. I have tried several times with the same result.

    #16106
    LPG57
    Participant

    Found that it worked when doing an upload instead. Can you please describe when to use upload and when to use download?

    But now when trying to login, I get: “Please correct the following errors: Error updating user information in database”

    #16109
    Mikhail
    Moderator

    Download is not needed in 99% of cases.
    When you upload a project, it is saved. You can also save the project by the Save button.

    If you gen an error, check the error details in the log files.

    #16111
    LPG57
    Participant

    I get the following error when I try to login with a domain account:
    2025-02-01 16:06:07 [SERVER8][SERVER8$][ERR] Module ModActiveDirectory: Error updating user information in database:
    Failed to connect to 127.0.0.1:5432
    2025-02-01 16:06:07 [SERVER8][SERVER8$][ERR] Checking username and password for user myusername is not successful: Error updating user information in database
    2025-02-01 16:06:11 [SERVER8][SERVER8$][ERR] Module ModActiveDirectory: Error updating user information in database:
    Failed to connect to 127.0.0.1:5432
    2025-02-01 16:06:11 [SERVER8][SERVER8$][ERR] Checking username and password for user myusername is not successful: Error updating user information in database

    Is there a need for security groups in AD like in older versions of RapiScada?

    #16112
    Mikhail
    Moderator

    Have you created a PostgreSQL database and specified it in ScadaInstanceConfig.xml?

    #16167
    LPG57
    Participant

    Is there a manual how to “create a PostgreSQL database and specified it in ScadaInstanceConfig.xml”

    #16171
    Mikhail
    Moderator

    > Is there a manual how to “create a PostgreSQL database
    I suppose, PostgresSQL provides a manual to do that. PostgreSQL is not a part of Rapid SCADA.

    ScadaInstanceConfig.xml already contains settings to connect to the local PostgreSQL database, named rapid_scada, using postgres/postgres for username and password. Use the existing settings for testing.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.