Forums

Resolved
0 votes
Hi everyone.
i have a clearos 7 with active directory connector which always worked fine.
However we had to restore the Active Directory server using a 6 month old "image". With this I can no longer connect the clear to AD

running this command net ads join -U Administrator

the output is
gse_get_client_auth_token: gss_init_sec_context failed with [Unspecified GSS failure. Minor code may provide more information: Message stream modified](2529638953)
kinit succeeded but ads_sasl_spnego_gensec_bind(KRB5) failed for ldap/MIOSERVER with user[Administrator] realm[MIODOMINIO.LOCAL]: The attempted logon is invalid. This is either due to a bad username or authentication information.
Failed to join domain: failed to connect to AD: Invalid credentials

but the credential is correct

Any suggest
Thursday, April 14 2022, 04:12 PM
Share this post:
Responses (7)
  • Accepted Answer

    Thursday, April 14 2022, 06:54 PM - #Permalink
    Resolved
    0 votes
    All I can do is google the error.

    Have you seen the big pink box in https://documentation.clearos.com/content:en_us:7_ug_configuration_backup#restore_from_archive? I wrote that years ago but cannot remember the cause.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 14 2022, 07:40 PM - #Permalink
    Resolved
    0 votes
    I tried but it doesn't work.
    But my situation is different. We reinstalled the AD server while the clearos remained unchanged.
    In this way we had to remove the PCs from the domain and put them back in order to make them work correctly, although the server was an old clone of the windows server.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 14 2022, 07:53 PM - #Permalink
    Resolved
    0 votes
    There is a short troubleshooting guide at https://documentation.clearos.com/content:en_us:kb_troubleshooting_the_ad_connector, but I don't think it is relevant and I don't know where ClearOS keeps the AD credentials.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 14 2022, 08:06 PM - #Permalink
    Resolved
    0 votes
    to use the "old" system to uninstall active directory connector and reinstall it? In this case, however, the ovpn configuration files of the users would all need to be redone right?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 14 2022, 08:19 PM - #Permalink
    Resolved
    0 votes
    No. The OpenVPN configs should be OK. the thing which breaks them is changing the server certificate.

    I don't think removing the AD connector will help as I think it is Samba which is doing the heavy lifting. I don't see any obvious config files in the AD Connector. Will a "net ads leave ...." (or whatever the syntax is) help clear things out?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 15 2022, 08:53 PM - #Permalink
    Resolved
    0 votes
    Solved

    in Active Directory Connector I have changed "Server Name" with a new name (random) different from the previous one and not present on the computers of the Active directory.

    After that I tried the connection and it immediately worked

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 15 2022, 09:17 PM - #Permalink
    Resolved
    0 votes
    Thanks for letting us know. I guess it completely reset the credentials with the change of Server Name, allowing you to then connect again with the correct Server Name.
    The reply is currently minimized Show
Your Reply