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

Wie ik ben en wat ik doe

Met behulp van deze post wil ik iets meer vertellen over wie ik ben en wat ik doe. Ik wil iets vertellen over hoe ik mijn vrije tijd besteed en wat ik graag doe. Over het algemeen vind ik het leuk om software te schrijven, op vakantie te gaan. Daarnaast geniet ik er ook van om aan mijn modelbouw vliegtuigen te knutselen en er natuurlijk mee te vliegen. Op het moment dat het hier te hard voor waait pak ik graag m’n powerkite (vlieger) om daar vervolgens mee te gaan stoeien.

Posted in Uncategorized
Tags: , , ,

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

Crashed VPS

A few days ago I received a mail with information about my new VPS, which is weird because I didn’t asked for this. The reason for this message was my, at that moment current, VPS crashed. I lost a some data but I have been able to recover some of it. I still have to reconfigure my website, because I didn’t have a backup of my WordPress configuration. I hope this site will be 100% functional at the end of this week. If you have any questions; please leave a reply at this post. I will contact you asap.

Posted in Uncategorized