Using LDAP/Active Directory with PIN based authentication

Posted by nishantjr on Server Fault See other posts from Server Fault or by nishantjr
Published on 2014-06-03T06:41:13Z Indexed on 2014/06/04 3:26 UTC
Read the original article Hit count: 157

Filed under:
|
|

We'd like to integrate our service with LDAP, but because of hardware constraints, we're only allow 4 digit user ids and passwords.

What would be the best practice for performing such an authetication?

We've considered adding User ID and PIN attributes to the LDAP user schema, but we're not sure how happy people would be with modifying their schema to interact with our service. The PIN attribute would have to have the same support that native user passwords have. (hashing and salting etc.)

UPDATE

Another consideration is how ldap_bind works with this scenario. How do we get it to use an alternate authentication method? Can this even be done without affecting other services that use the same LDAP server?

© Server Fault or respective owner

Related posts about active-directory

Related posts about ldap