You are here: Re: [PHP] Re: php ldap « PHP « IT news, forums, messages
Re: [PHP] Re: php ldap

Posted by "Mark Rees" on 08/26/05 12:00

"Santosh Jambhlikar" <santosh.jambhlikar@cash-tech.com> wrote in message
news:430EBCEC.7090005@cash-tech.com...
> then can i output the SMD5 of my password in php.
>
>
> Jeff Loiselle wrote:
>
> > Santosh Jambhlikar wrote:
> >
> >> Hi ,
> >>
> >> I have a ldap server the user password are stored in that. my php
> >> ldasearch result says that the result is
> >> ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc=
> >> i want to compare this password with the user given password in other
> >> application (obviously php) but when i md5("passwordgiven") then it
> >> is showing different output.
> >> Any suggestions.

You could try to bind to the server using ldap_bind with the supplied
password. That will check if it is valid or not.

> >
> >
> > MD5 and SMD5 are not the same type of encryption. md5() will not
> > return the correct results.
> >
>
> --
> Santosh Jambhlikar
> Linux Administrator
> Cash-Tech Solutions
> Pride Parmar Galaxy, Pune
> Maharashtra.
> Ph.
> O.:- 56052000
> ext. 2150

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация