Difference between revisions of "LDAP entries are not fetched"
en>Samidha12 |
|||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
{| style="width: 942px" cellspacing="1" cellpadding="1" border="1" | {| style="width: 942px" cellspacing="1" cellpadding="1" border="1" | ||
|- | |- | ||
| style="width: 932px" | | | style="width: 932px" | | ||
POST | POST <nowiki>http://safesquid.cfg/</nowiki> HTTP/1.1<br/> Host: safesquid.cfg<br/> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0<br/> Accept: application/xml, text/xml, */*; q=0.01<br/> Accept-Language: en-US,en;q=0.5<br/> Accept-Encoding: gzip, deflate<br/> Referer: <nowiki>http://safesquid.cfg/</nowiki><br/> Content-Type: application/x-www-form-urlencoded; charset=UTF-8<br/> X-Requested-With: XMLHttpRequest<br/> Content-Length: 25<br/> Connection: keep-alive | ||
<br/> 2019 04 08 12:23:55.725 [10281] debug: network: net_filebuf_read: speed: 192.168.0.10 uploaded to safesquid.cfg 25 bytes in 20.0000 us [ 1.2500 MBps ]<br/> 2019 04 08 12:23:55.725 [10281] debug: request: buffered 25 bytes of POSTDATA<br/> 2019 04 08 12:23:55.725 [10281] debug: interface: [IP:192.168.0.10] [http://safesquid.cfg:80/ [1]]<br/> 2019 04 08 12:23:55.725 [10281] debug: interface: invoke_handler:89 [ldap]<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: cache_update:1937 manual/configuration update<br/> 2019 04 08 12:23:55.732 [0] debug: network: writing 0 bytes to /usr/local/safesquid/security/dns/safesquid.dns.conf file<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: init_routine_unlocked:239 connection not exists in pool for domain safesquid.local<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: get_ld:1174 192.168.221.1:389 max query limit:[0], 0 means no limit<br/> '''2019 04 08 12:23:58.731 [0] error: ldap: s_bind:2253 authentication failed for user:administrator@safesquid.local [-1:Can't contact LDAP server]'''<br/> 2019 04 08 12:23:58.733 [10281] debug: header: to 192.168.0.10: | <br/> 2019 04 08 12:23:55.725 [10281] debug: network: net_filebuf_read: speed: 192.168.0.10 uploaded to safesquid.cfg 25 bytes in 20.0000 us [ 1.2500 MBps ]<br/> 2019 04 08 12:23:55.725 [10281] debug: request: buffered 25 bytes of POSTDATA<br/> 2019 04 08 12:23:55.725 [10281] debug: interface: [IP:192.168.0.10] [http://safesquid.cfg:80/ [1]]<br/> 2019 04 08 12:23:55.725 [10281] debug: interface: invoke_handler:89 [ldap]<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: cache_update:1937 manual/configuration update<br/> 2019 04 08 12:23:55.732 [0] debug: network: writing 0 bytes to /usr/local/safesquid/security/dns/safesquid.dns.conf file<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: init_routine_unlocked:239 connection not exists in pool for domain safesquid.local<br/> 2019 04 08 12:23:55.732 [0] debug: ldap: get_ld:1174 192.168.221.1:389 max query limit:[0], 0 means no limit<br/> '''2019 04 08 12:23:58.731 [0] error: ldap: s_bind:2253 authentication failed for user:administrator@safesquid.local [-1:Can't contact LDAP server]'''<br/> 2019 04 08 12:23:58.733 [10281] debug: header: to 192.168.0.10: |
Latest revision as of 12:44, 15 June 2022
ISSUES 1 : I configured LDAP with Active Directory, still LDAP entries are not fetched.
Root Cause : You should not properly configured LDAP with Active Directory
Verify it from SafeSquid Logs.
POST http://safesquid.cfg/ HTTP/1.1
HTTP/1.1 200 OK |
Troubleshooting
Case1: Check for configuration of LDAP with AD(Active Directory).
Run command on console:
ldapsearch -x -h 192.168.221.1 -b "dc=safesquid,dc=test" -D adusername@domain -w password |
root@sabproxy:~# ldapsearch -x -h 192.168.221.1 -b "dc=safesquid,dc=test" -D administrator@safesquid.test -w sarva@1234 |
The above command give you result of all the fetch entries of users from AD only if the configuration of Ldap integration is correct.
Follow the Link for How to integrate AD or Open LDAP with SafeSquid
Root Cause : You are not able to contact to AD(Active Directory).
Case2: Check the connection to Active Directory
root@sabproxy:~# ping 192.168.221.1 root@sabproxy:~# ping ad.safesquid.test Note: ad.safesquid.test (192.168.221.1) >> Active Directory FQDN and IP Address |
If you unable to contact to Active Directory you should face error as shown below " Destination Host Unreachable"
root@sabproxy:~# ping 192.168.221.1 |