Search squid archive

Re: ldap_auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On mån, 2008-06-02 at 15:19 -0400, Chris Riggins wrote:
> Sorry, it never matches when I do it.  eg.
> 
> (0)[slash]/opt/home/p36wk $ echo -n "p36wk:Realm:passw0rd" | md5sum
> 3acaf7548c911426be232de30c802233  -

$ echo -n "p36wk:Realm:passw0rd" | md5sum
336326719e5c087aa1016fe5a3c871d4  -

> $ /opt/apache/bin/htdigest -c passwd.htdigest p36wk Realm

wrong order.. shouldbe Realm p36wk

> (0)[slash]/opt/home/p36wk $ cat passwd.htdigest
> Realm:p36wk:828cadb12e66abf15ed07a7db267d3ea

$ htdigest -c test.pwd p36wk Realm
$ cat test.pwd 
p36wk:Realm:336326719e5c087aa1016fe5a3c871d4

>      My squid 3.0.5 proxy is running on Solaris 9, & the above test
> was done on Solaris 10.  The md5sum results don't match on either
> machine.

Maybe your echo doesn't support -n?

In my shell echo -n is echo without newline. "echo -n Hello; echo There"
produces the string HelloThere

>      I also tested the unchanged htdigest output file as the input to
> digest_pw_auth under 3.0.5, and it fails to work.

Hmm... should work. Let me check.

Seems to work just fine here in manual test. 

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux