LDAP / AD integration issue

Hello,

LDAP / AD integration issue
I tried to connect the the nextcloud application to the AD available in the IP 10.0.4.184 but I receive the message “Please specify the port, it could not be auto-detected.” although I can ping the AD server normally as can shown here.

[root@localhost nextcloud]# ping -c4 10.0.4.184
PING 10.0.4.184 (10.0.4.184) 56(84) bytes of data.
64 bytes from 10.0.4.184: icmp_seq=1 ttl=126 time=0.341 ms
64 bytes from 10.0.4.184: icmp_seq=2 ttl=126 time=0.514 ms
64 bytes from 10.0.4.184: icmp_seq=3 ttl=126 time=0.449 ms
64 bytes from 10.0.4.184: icmp_seq=4 ttl=126 time=0.478 ms

— 10.0.4.184 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3000ms

I use CentOS 7.6

Thank you.

Ping uses ICMP.
Response to a ping means nothing in terms of services offered on the server
including LDAP (by default using TCP/UDP port 389)…

Check the Windows Server firewall if you know your AD is setup properly…

The AD is working normally with all the windows PCs in the network. I disabled the firewall in the CentOS but still not working.

Allow LDAP requests pass through the Windows Server firewall

Are both servers on the same subnet?
If not, check the “middleman”…

LDAP traffic can pass through windows firewall.