Hopefully I can get some help here as I have really been beating my head against the ol' keyboard over here.
So, here's the situation.
We recently migrated end users from an onsite Exchange server to Exchange Online, and the client chose to go with Barracuda Cloud Archiving for the archiving solution. Here is where all the trouble began. Barracuda told us that we would be able to authenticate against all three DC's when we started the project because we were under the assumption all three DC's were in the same forest.
Well, Barracuda was not able to authenticate against DC's because they are in a trust, not a forest. And Barracuda uses an outlook plugin that requires their server to authenticate against our ldap server to allow access to the end users Archive mailbox.
Now, Barracuda only can accept one LDAP connection to make the authentication, so we are stuck with 2/3's of our users unable to authenticate.
My idea as a workaround (other than rebuilding the Domain properly, which is in the plans, but isn't the highest priority or do we have the time and resources to migrate all user data to the main DC currently) was to build a Linux Server and use OpenLDAP and SASL Authentication for a pass through auth. to the correlating DC's.
Now I have spent at least 4 entire days at work trying to solve this , and I cannot get this to work. I can get the testsaslauthd to run successfully, using the following command and result.
testsaslauthd -u test@domain.com -p password
0: OK "Success."
But when I run an LDAP search command, here are the results:
ldapsearch -x -H ldap://maindc.domain.com -b dc=domain,dc=com -d uid=test,ou=people,dc=my-domain,dc=com -w password
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580
So, my hope is that maybe someone here can help me correct this error, or maybe provide a better way to do what I am attempting to do. I'm just a Jr. System Admin, so take it east please.
Thanks for the help!