RE: authentication with smb

2003-11-26 Thread Tauber, Mathias HDP
> 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

Re: authentication with smb

2003-11-06 Thread Shannon Eric Peevey
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

Re: authentication with smb

2003-11-06 Thread Stas Bekman
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/

Re: authentication with smb

2003-11-06 Thread Shannon Eric Peevey
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,

RE: authentication with smb

2003-11-06 Thread Tauber, Mathias HDP
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

Re: authentication with smb

2003-11-05 Thread cramirez
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

Re: authentication with smb

2003-11-04 Thread Shannon Eric Peevey
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