Hi All, I used squidNT and ncsa_auth but I found some problem that ncsa_auth can not verify password , here some detail - I used squid on linux with ncsa_auth and every thing working fine - I test ncsa_auth with shell windows ( command prompt) every thing workig fine (I add user=test and password=test and try authenticate) C:\squid\libexec>ncsa_auth.exe c:\squid\etc\passwd_list test badpass ERR test test OK
- but with squidNT when I authen user test/test with browser It can not surf the net squid.conf ... auth_param basic program c:/squid/libexec/nt_auth.exe C:/squid/etc/passwd_list auth_param basic children 5 auth_param basic realm Test Proxy Server auth_param basic credentialsttl 2 hours ... so, I set debug option to ALL,9 and found some thing wrong ( I think loot at last three line) 2005/01/12 15:14:00| authenticateBasicDecodeAuth: cleartext = 'test:test' 2005/01/12 15:14:00| authBasicAuthUserFindUsername: Looking for user 'test' 2005/01/12 15:14:00| authBasicDecodeAuth: Creating new user 'test' 2005/01/12 15:14:00| authenticateAuthUserLock auth_user '01740758'. 2005/01/12 15:14:00| authenticateAuthUserLock auth_user '01740758' now at '1'. 2005/01/12 15:14:00| authenticateAuthUserLock auth_user '01740758'. 2005/01/12 15:14:00| authenticateAuthUserLock auth_user '01740758' now at '2'. 2005/01/12 15:14:00| authenticateValidateUser: Validating Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateValidateUser: Validated Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateValidateUser: Validating Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateValidateUser: Validated Auth_user request '0173A020'. 2005/01/12 15:14:00| User not authenticated or credentials need rechecking. 2005/01/12 15:14:00| authenticateValidateUser: Validating Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateValidateUser: Validated Auth_user request '0173A020'. 2005/01/12 15:14:00| User not authenticated or credentials need rechecking. 2005/01/12 15:14:00| aclMatchAcl: returning 0 sending credentials to helper. 2005/01/12 15:14:00| aclMatchAclList: no match, returning 0 2005/01/12 15:14:00| aclCheck: checking password via authenticator 2005/01/12 15:14:00| authenticateValidateUser: Validating Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateValidateUser: Validated Auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateStart: auth_user_request '0173A020' 2005/01/12 15:14:00| authenticateStart: 'test:test' 2005/01/12 15:14:00| cbdataLock: 0173BF28 2005/01/12 15:14:00| authenticateAuthUserRequestLock auth_user request '0173A020'. 2005/01/12 15:14:00| authenticateAuthUserRequestLock auth_user request '0173A020' now at '2'. 2005/01/12 15:14:00| cbdataLock: 01740848 2005/01/12 15:14:00| cbdataValid: 01740848 2005/01/12 15:14:00| comm_write: FD 6: sz 10: hndl 00000000: data 00000000. 2005/01/12 15:14:00| commSetSelect: FD 6 type 2 2005/01/12 15:14:00| commSetSelect: FD 6 type 1 2005/01/12 15:14:00| helperDispatch: Request sent to basicauthenticator #1, 10 bytes 2005/01/12 15:14:00| helperSubmit: test test 2005/01/12 15:14:00| comm_select: 1+0 FDs ready at 1105517640 2005/01/12 15:14:00| comm_select: FD 6 ready for writing 2005/01/12 15:14:00| commHandleWrite: FD 6: off 0, sz 10. 2005/01/12 15:14:00| ipc(nt_auth.exe,2148): received from parent: test%20test%0a 2005/01/12 15:14:00| commHandleWrite: write() returns 10 2005/01/12 15:14:00| ipc(nt_auth.exe,2148): received from child : ER +++ parent send data to authen with ncsa_auth is test%20test%0a It's not convert to clear text like test test and then I test with shell promt again C:\squid\libexec>ncsa_auth.exe c:\squid\etc\passwd_list test%20test%0a ERR I think It's a bugs of squidNT that not send clear text to ncsa_auth or what I'm wrong and how can I fix it ??? if posible thanks for all suggession Vinai __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
