External LDAP/AD Au...
 
Notifications
Clear all

External LDAP/AD Authentication

3 Posts
3 Users
0 Reactions
1,799 Views
(@2g_storm)
Joined: 3 years ago
Posts: 3
Topic starter  

Hello everyone,

I have just installed Carbonio and i love it! I want to try to use it as my own mail server. How ever i have a problem. I am trying to use the external LDAP and AD authentication methods but every time i try to authenticate i get these 2 errors.

If i use LDAP i get this:

unable to search ldap: ldap host=myhost.mydomain.it:389
9: 000004DC: LdapErr: DSID-0C090A5A, comment: In order to perform this operation a successful bind must be completed on
the connection., data 0, v4f7c

or if i use the AD i get this:

LDAP error:  - unable to ldap authenticate: invalid credentials

I have to admit i come from Zimbra (i could setup the authentication there) and there were ways to check the authentication methods beforehand. Here i don't understand what i am doing wrong. The AD i am trying to authenticate against is a Windows 2022.

This is my configuration:

  • Bind distinguished name (DN) Template: CN=Domain Users,CN=Users,DC=mydomain,DC=it
  • URL: ldap://myhost.mydomain.it:389
  • filter: SamAccountName=%u
  • basic search: DC=mydomain,DC=it

I have an OU i have called Admins and my user is there but i am also member of Domain Users and according to a query the template seems to be okay.

Is there anyone who can point me to the right direction? thank you


   
Quote
(@bayramgrbz45)
Joined: 1 year ago
Posts: 2
 

Hello,

I'm also encountering an LDAP connection issue and receiving the same error in the web interface. I couldn't find any informative error in the log records. Do you have any resources or suggestions that could help me resolve the LDAP connection issue?


   
ReplyQuote
(@isravel-raja)
Joined: 1 year ago
Posts: 1
 

Ok, This is what i understood, The Web is having an issue. You need to feed the Bind distinguished name (DN) Template: from command line, do the following

Remove the filter & Base search from the web.  and save. Then do the following.

 

su - zextras

carbonio prov modifyDomain `your-domain-name` zimbraAuthLdapBindDn %u@myhost.mydomain.it

 

 


   
ReplyQuote