smbd/statcache.c

Osama Dengler osama at denglernet.de
Fri Sep 12 08:55:44 GMT 2003


Hi samba developers,

I'm using yesterdays samba 3.0 CVS sources and get tons of these messages in 
the logfile:

[2003/09/12 10:10:07, 0] smbd/statcache.c:stat_cache_add(134)
  OOPS - tried to store stat cache entry for werid length paths 
[INTERNET/MUHDJE~E.3B/COMPONENTS] 31 and [Internet/Mozilla 1.3b/components] 
32)!

Searching for the cause of this I'm stuck with the following code snipped from
smbd/statcache.c (line 121)

if (original_path_length < translated_path_length) {
			DEBUG(0, ("OOPS - tried to store stat cache entry for werid length paths 
[%s] %u and [%s] %u)!\n",
						original_path, original_path_length, translated_path, 
translated_path_length));
			SAFE_FREE(original_path);
			SAFE_FREE(translated_path);
			return;
		}

Now the question is, why is (original_path_length < translated_path_length) an 
error condition? I don't know the details of the stat cache but it seems that 
some 8.3 style file names break stat_cache_add().

Greetings from Germany,
Osama---
Osama Dengler
http://www.jazz-on-the-rocks.de/




More information about the samba-technical mailing list