Blog Archives

Solution: LDAPs – Unable to bind to server: Can’t contact LDAP server

Last week I encountered the following error message:Warning: ldap_bind(): Unable to bind to server: Can’t contact LDAP server in C:\xamppNew\htdocs\index.php on line 11

To create a AD user you must to connect to the LDAP via securely (SSL). Usually you can achieve this in PHP by connecting through LDAP like this: ldap_connect(“ldaps://“, 636); , watch the ‘s’ at the end of LDAP. This indicates you want to connect through SSL. After binding (ldap_bind($connection, $user, $password); ) I received the error message above.

Posted in IT, ldap, php

OpenWrt: Dumb AP (Access Point)

Currently I am using my TP-Link WDR4300 as my router and it’s a pretty fast router and it has the possibility to install OpenWrt or DD-WRT on it. I prefer OpenWrt. What I want is to make my router a ‘Dumb AP (Access Point)’. There is a nice guide on the OpenWrt Wiki, it’s available here.

The only problem was it was not working very well, I could not connect to it anymore after I applied the settings (or I did something wrong). So, I did some research on the internet and after that research I came up with this configuration which is currently working very well.

Posted in IT, Networking, OpenWRT