Asterisk and LDAP

I’m working with Asterisk-1.4.4. I want to store SIP user in LDAP. I know that we can use LDAP Realtime Driver. But I don’t know how to make this driver run.
Please help me, give me some tutorial about installation and configuration for Asterisk and LDAP working together.