> 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 problem with multiple authentication requests. I have implemented flocking and now it's running without problems. Because it needs to be very secure, I just wanted to ask how this is working! Isn't this solution unsecure, if somebody is doing a kind of DOS attack? I asked a few weeks ago, how secure this solutions is, but nobody has given me an answer. Maybe this time.... -Mathias- -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html