Login to LDAP with Kerberos password from PHP
I'm trying to connect to my LDAP Server which uses Kerberos for password management. As far as I know, we can't send plaintext password, but I have to get a Kerberos token before.
Is it possible to do it all from PHP, without using mod_auth_kerb 开发者_JAVA技巧for example?
mod_auth_kerb won't help you either. It authenticates user requst for the Apache web server. Why do you think this could help you? There is no link between your problem and the module unless you want to use credential delegation.
Simply, there seems to be no real support in PHP for this. You could evaluate these:
- try PHP LDAP SASL with GSSAPI mech: 1, 2, 3 and 4,
- use Perl which supports GSSAPI bind.
Btw, this is a very similar problem. Should work the same way in PHP. Use google translate.
精彩评论