Daniel-Constantin Mierla wrote: ...
there is an auth_ldap on the tracker, but I think doesn't make sense to add it as the auth module can perform authentication taking the username and password from pseudo-variables (including AVP). So, the same functionality is achieved by loading username and password in AVPs using the ldap module, and perform authentication via auth module.
The ldap module has a lot of good stuff related to connection to server, failover, etc., and should be preferred to be used. I tried to start a tutorial about LDAP auth with OpenSER, should give you some hints to begin, contributions there are welcome.
I added some content to the existing LDAP auth tutorial, have a look at http://openser.org/dokuwiki/doku.php/tutorials:openser-auth-ldap.
I also tested the script example included in the tutorial and it worked fine for me. The new pv_xxx_authorize functions are really handy.
cheers, Christian