PHP LDAP change password page

I have recently implemented an SSO (Single Sign On) mechanism in one of my places and then I started to look for a simple quick-and-dirty way to allow the users to change their passwords via PHP. I have found many complicated examples but I thought, come on, this is really one page I am looking [...]