[Samba] IIS, ASP, and File Change Notification

Gerald (Jerry) Carter jerry at plainjoe.org
Mon Jan 20 18:11:41 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 17 Jan 2003, Hal Roberts wrote:

> I'm running IIS5 on windows 2000 with the root web directory mapped to a
> samba directory.  Everything works great except for IIS's asp caching.  
> Unless I explicitly disable asp script file caching, IIS refuses to
> invalidate cached asp files without a reboot.  Research, including the
> following MS kb entry, indicates that the problem is that IIS is not
> getting the file change notification from samba:
> 
> http://support.microsoft.com/default.aspx?scid=kb;en-us;281253
> 
> I traced the code in notify.c and verified that samba is noticing the
> file change and sending off a notification to IIS, but IIS is evidently
> not recognizing the message.
> 
> Any idea what's going on?
> 
> Following is my compile configuration and my smb.conf.  I'm running
> samba 2.2.7a on a RedHat 7.2 box with a custom 2.4.19 kernel with
> ext3/acl support.

We only send change notify on files on directory deep IIRC.  Check and se 
if the IIS server is opening a change notify handle on a dircectory and 
expecting notifications for files at n-depth.




cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+LDpcIR7qMdg1EfYRAhMyAJ9+VZ2AK/cc6iR6N0zrZ2g1R+dy9wCgsDZv
NKPfCXvel+WVyWUDv+8aVWg=
=RJpc
-----END PGP SIGNATURE-----




More information about the samba mailing list