More on manglement wierdity...

Christopher R. Hertel crh at NTS.Umn.EDU
Wed Apr 8 23:40:07 GMT 1998


Oooh, oooh, oooh!

The lines below are my own DEBUG() statements, so they won't look 
familiar.  They do show, however, that name_map_mangle() is called twice 
for every name.  If the name has an illegal character, then the first 
call *does* mangle the name, else it does not.  My guess is that the 
first call has need83 set to False on the assumption that doing so will 
prevent mangling.  If the name contains an illegal character, however, 
the value of need83 is overridden.

Hmmm....

Chris -)-----

# tail -f log.smb 
CRH: cache initialized.
1998/04/08 18:34:04 ruby (128.101.4.109) connect to service velb as user nobody (uid=60001,gid=60001) (pid 11057)
CRH: In name_map_mangle()
CRH: In name_map_mangle()
CRH: caching [CUTBU~X9.___] <-> [.cutbuffer]
CRH: Added [CUTBU~X9.___, .cutbuffer] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~1O.TWO] <-> [velb".two]
CRH: Added [VELB~1O.TWO, velb".two] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~~OV.TWO] <-> [VELB~1O.TWO]
CRH: Added [VELB~~OV.TWO, VELB~1O.TWO] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~6K] <-> [velb".]
CRH: Added [VELB~6K, velb".] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~~6K] <-> [VELB~6K]
CRH: Added [VELB~~6K, VELB~6K] to the cache.
CRH: In name_map_mangle()
CRH: In name_map_mangle()
CRH: caching [MEDIA~L1.___] <-> [.mediad_socket]
CRH: Added [MEDIA~L1.___, .mediad_socket] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~1O] <-> [velb"]
CRH: Added [VELB~1O, velb"] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~~JW] <-> [VELB~1O]
CRH: Added [VELB~~JW, VELB~1O] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~RI.THR] <-> [velb".three]
CRH: Added [VELB~RI.THR, velb".three] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~~9B.THR] <-> [VELB~RI.THR]
CRH: Added [VELB~~9B.THR, VELB~RI.THR] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~1O.1] <-> [velb".1]
CRH: Added [VELB~1O, velb"] to the cache.
CRH: In name_map_mangle()
CRH: caching [VELB~~JW.1] <-> [VELB~1O.1]
CRH: Added [VELB~~JW, VELB~1O] to the cache.
CRH: In name_map_mangle()
CRH: In name_map_mangle()
CRH: caching [X11-U~WI.___] <-> [.X11-unix]
CRH: Added [X11-U~WI.___, .X11-unix] to the cache.
CRH: In name_map_mangle()
CRH: In name_map_mangle()
CRH: caching [CADMI~V0.___] <-> [.cadminOSSharedArena]
CRH: Added [CADMI~V0.___, .cadminOSSharedArena] to the cache.
CRH: In name_map_mangle()
CRH: In name_map_mangle()
CRH: caching [PS_DA~4Q.___] <-> [.ps_data]
CRH: Added [PS_DA~4Q.___, .ps_data] to the cache.

-- 
Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services


More information about the samba-technical mailing list