I am currently running a QNAP TS - 469L NAS at work. I have enabled LDAP, and have created some users. I have created a landing page as well for access from the internet. I want to create a login page that authenticates users against the existing LDAP database. I have created some basic codes in html for username and password fields, but I am lost as to how to link the submit button to the LDAP server. Any thoughts on how to go about doing this?

As you can see, I am a newbie to this, and would appreciate any help I can get.

Thanks, and much appreciated.