> 1. Updated Authen::Smb with this:
>
> use Fcntl qw(:flock);
> ...
> open S, "> /full/path/to/AuthenSmb.lck" or
> die "Can't open AuthenSmb.lck: $!\n";
> flock S, LOCK_EX;
> my $res = Valid_User($username, $password, $server, $backup, $domain);
> close S;
I was given this solution, to fix the pr
Stas Bekman wrote:
yo! please trim the quoted text in your replies to the mimimal
relevant size.
those who need to read the whole thing have the archives. thanks.
Will do.
speeves
cws
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
yo! please trim the quoted text in your replies to the mimimal relevant size.
those who need to read the whole thing have the archives. thanks.
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/
cramirez wrote:
Awhile back, I encountered this same problem and found a solution
from Matt Arnold's mod_perl post, which I cannot locate at the time.
Anyhow, here's the fix that I've been using in our production
environment.
1. Update Authen::Smb like so:
use Fcntl qw(:flock);
...
open S,
Thanks for the 'patches' to the modules!
> 1. Update Authen::Smb like so:
>
> use Fcntl qw(:flock);
> ...
> open S, "> /full/path/to/AuthenSmb.lck" or
> die "Can't open AuthenSmb.lck: $!\n";
> flock S, LOCK_EX;
> my $res = Valid_User($username, $password, $server, $backup, $domain);
> close S;
W
Awhile back, I encountered this same problem and found a solution from
Matt Arnold's mod_perl post, which I cannot locate at the time. Anyhow,
here's the fix that I've been using in our production environment.
1. Update Authen::Smb like so:
use Fcntl qw(:flock);
...
open S, "> /full/path/to/A
Tauber, Mathias HDP wrote:
hi,
I have just subscribed to this mailing list,
so I hope I'm doing everything right...
my problem:
I'm running a reverse proxy with apache 1.3.x
and mod_proxy on debian. For the authentication
libapache-authensmb is used, so there's a
connection to the domain control