Yubico/yubico-pam — pull request #5 by remim (2012-01-24 16:50:49+00:00)
Title: LDAP prefxi support

Hi Fredrikt,

In LDAP at CERN, we don't have a yubikey-specific attribute for the public id, and a kind of "alternative identities" attribute, where you can put several identifiers, including yubikey public id.

Thus, for yubikey, we have something like that:
altIdentities = "Yubikey:publicid"

So, there is a prefix a prefix to the attribute's value in order to determine what kinid of id it is.

That's why I added the prefix parameter to yubico-pam, so that it only checks value beginning with the given prefix (if specified).
If you don't specify any prefix, the behaviour doesn't change.

I hope this looks reasonnable for you.

Best regards,
Remi.