You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brett Hales <br...@baesystems.com> on 2003/08/26 09:00:00 UTC
AuthenNTLM
I am having problems with Apache-AuthenNTLM-0.23. In apache's error.log
I am getting the following errors reported.
AuthenNTLM: timed out while waiting for lock (key = 23754)
This also seems to cause the web server to go _very_ slow. I have looked
through the AuthenNTLM.pm and found the section where this is evaluated.
There is a comment above it.
# smb aborts any connection that where no user is looged on as soon as somebody
# tries to open another one. So we have to make sure two request, do not start
# two auth cycles at the same time. To avoid a hang of the whole server
we wrap it with
# a small timeout
Maybe this is actually happening and I am getting two auth cycles.
Does anybody have an idea why this is happening?
Thanks,
--
Brett Hales <br...@baesystems.com>
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Re: AuthenNTLM
Posted by Shannon Eric Peevey <sp...@unt.edu>.
Brett Hales wrote:
>I am having problems with Apache-AuthenNTLM-0.23. In apache's error.log
>I am getting the following errors reported.
>
>
>AuthenNTLM: timed out while waiting for lock (key = 23754)
>
>This also seems to cause the web server to go _very_ slow. I have looked
>through the AuthenNTLM.pm and found the section where this is evaluated.
>There is a comment above it.
>
># smb aborts any connection that where no user is looged on as soon as somebody
># tries to open another one. So we have to make sure two request, do not start
># two auth cycles at the same time. To avoid a hang of the whole server
>we wrap it with
># a small timeout
>
>Maybe this is actually happening and I am getting two auth cycles.
>
>Does anybody have an idea why this is happening?
>
>
>Thanks,
>
>
>
It's possible, but seems unlikely. Is this happening constantly?
Also, try messing with the "PerlSetVar ntlmsemkey" and "PerlSetVar
ntlmsemtimout" values. "ntlmsemkey" turns serialization on/off, and
"ntlmsemtimout" sets the timeout for the Apache server to wait for the
semaphore, (which serializes the requests to the SMB server).
speeves
cws
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html