Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Constant LDAP/OCID errors in Outlook – Timeout or Server Issue?

Constant LDAP/OCID errors in Outlook – Timeout or Server Issue?

Scheduled Pinned Locked Moved Unsolved Support
emailldaptimeout
6 Posts 2 Posters 82 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CBCUN
    wrote last edited by joseph
    #1

    Hi everyone,

    I’m running a split Cloudron environment and experiencing constant password prompts in Outlook (IMAP), even though the credentials are correct.

    Setup:

    Server A: Cloudron Mail Server

    Server B: Cloudron User Management (LDAP)

    The Issue:
    Outlook frequently pops up a login window. It seems like the Mail Server is failing to verify credentials with the LDAP Server in time.

    Questions:

    Could this be a timeout issue during the LDAP lookup between the two servers?

    Has anyone else faced "credential looping" with Outlook in a multi-server Cloudron setup?

    Which specific logs should I check on Server A to confirm an LDAP handshake delay?

    Thanks for any help!

    1 Reply Last reply
    2
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote last edited by
      #2

      To narrow down the issue a bit, can you create a mailbox on Server A which uses a local account to authenticate and then setup Outlook for that mailbox? If this suffers the same issue, then it is not related to the LDAP binding between those two Cloudrons.

      1 Reply Last reply
      2
      • C Offline
        C Offline
        CBCUN
        wrote last edited by
        #3

        Hello,

        Apologies for the late reply. Things have been rather busy.
        The initial setup of the mailboxes is working. It seems, however, that timeouts or errors occur during regular mailbox checks (IMAP). Every now and then, you can see the mail service restarting.

        Perhaps there are too many requests at once, or does the password check take too long (does Server B ‘Mailserver’ check with Server A on every retrieval to see if it’s authorised, or is that only processed on Server B?).

        Best regards,
        Christian

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote last edited by
          #4

          If the client (outlook) reconnects it would do the authentication again and then we have to validate those credentials at the source, so Server A in your case.

          But if the mail server is restarting that is some other clue which might actually be the root cause. When that happens do you see anything in the mail service logs why it restarted? Maybe it ran out of memory or did it crash?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            CBCUN
            wrote last edited by
            #5

            So, update on this topic.

            We change the Mailbox owner from LDAP Group (Server A) to local group (Server B - Mailserver).
            Outlook and Auth problems stops immediately.

            Greetings,
            Chris

            1 Reply Last reply
            0
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote last edited by
              #6

              That is a good hint, so something is not working reliably with the ldap connection then. Can you check on Server A if you hit any rate-limits? You should see them with journalctl -k | grep CLOUDRON_RATELIMIT_LOG on Server A

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search