[Techtalk] php plain text password in /tmp
Maria McKinley
maria at shadlen.org
Wed Oct 10 23:38:50 UTC 2007
Actually, I think it's not going to be so easy. I don't think my problem
is syntax. I think this isn't working because it is encryption set up to
work with their password system, not ldap. I think it is trying to use
the encrypted password with ldap, instead of it being unencrypted
properly with ldap, and then compared. When I use the syntax below, it
doesn't complain about syntax, the passwords no longer show up in /tmp,
but the passwords just don't work.
~maria
Gayathri Swaminathan wrote:
> Sounds right..according to this:
> http://www.pmwiki.org/wiki/Cookbook/AuthUser
>
> Good luck with your project.
>
> Gayathri
>
> On 10/10/07, *Maria McKinley* <parody at u.washington.edu
> <mailto:parody at u.washington.edu>> wrote:
>
> Well, still working on it, but I need to put something approximating
> this in config.php:
>
> $DefaultPasswords['edit'] = crypt('id:*');
>
> Unfortunately, I don't have the syntax correct yet. The unencrypted
> syntax was:
>
> $DefaultPasswords['edit'] = 'id:*';
>
> cheers,
> maria
>
>
More information about the Techtalk
mailing list