Hello,

I have a small glitch with Smb authentication in apache. Basically, if I have 
a frames page in the protected directory, the server asks for the password twice.

Here is what happens. I have a directory "test" under htdocs which is protected by SMB 
authentication. The index file in this directory has two frames called "left" and 
"right". When I access the index file, I get the first password dialog. Then, 
obsevring the traffic, I see that the browser requests the left and right frames, and 
even though it sends the proper authentication string, it gets a 401 error for one of 
the two frames. So I get the authentication dialog the second time.

This is not the known apache feature related to the different server names. If I 
change the authentication to regular password, the problem disappears. Also, I have 
apache 1.3.12 with mod_perl 1.24. When I tried the same SMB authentication on apache 
1.3.9 with mod_perl 1.21, I did not run into this problem. The modules I use are 
Apache-AuthenSmb-0.60 and Authen-Smb-0.91. 

I have obsverved the authentication process (by inserting a printf() in AuthenSmb.pm) 
and found that the web server goes to validate the password on the NT server only 
once, during the first request. 

Any ideas?

TIA,
Simon
-- 
 _________    
|       x |   Simon (Vsevolod ILyushchenko)     [EMAIL PROTECTED]   
| y = e   |                                    
|_________|   http://www.simonf.com            [EMAIL PROTECTED]                       
|     
                                             
                                Disclaimer: This is not me.                    
                        This is just my mailer talking to your mailer...

Reply via email to