the filename mangle problem
enetwind
enetwind at 163.com
Tue Nov 18 02:43:14 GMT 2003
I use a samba server and a Win2000 server.
> Both servers hold the VERY SAME files and folder tree.
>
> However, when I issue a DIR command on the tree held on the
> samba server I have different shortnames than when the DIR
> command is issued on the similar tree held on the Win2000 server.
>
> I NEED the short names to be the same, whether the DIR command
> is issued on Samba server or on Window server.
> I need this because some paths are stored as short names in the
> registry, and the "good" short names are Windows' ones.
> (This is for our project of Windows 9X diskless workstations
> booting from Samba server).
>
> For instance, the short name associated to "Program Files" folder
> is "PROGRA~1" on Windows server and "PROGR~-I" on Samba server.
>
> I need that this name is "PROGRA~1" on both server.
>
>
> Here are the results for DIR commands issued from a Windows 98
> SE workstation, once connected to a Windows server, once connected
> to a samba server
>
> On Windows Server:
>
> Le volume dans le lecteur G est caviar6-2
> R¨¦pertoire de G:\
>
> . <REP> 10-05-01 6:27p .
> .. <REP> 10-05-01 6:27p ..
> DOWNLO~1 <REP> 10-05-01 12:22p Downloads
> MESDOC~1 <REP> 10-05-01 12:20p Mes documents
> PROGRA~1 <REP> 10-05-01 12:22p Program Files
> RECYCLED <REP> 09-11-01 9:56p RECYCLED
> WINDOWS <REP> 10-05-01 12:23p WINDOWS
> games <REP> 10-05-01 12:18p games
> temp <REP> 10-04-01 6:11p temp
> MSDOS --- 22 08-30-01 7:15p MSDOS.---
> SYSTEM 1ST 540,704 08-30-01 7:22p SYSTEM.1ST
> AUTOEXEC BAK 330 10-05-01 12:13p AUTOEXEC.BAK
> AUTOEXEC BAT 330 10-05-01 12:13p AUTOEXEC.BAT
> DRVSPACE BIN 69,127 05-05-99 8:22p DRVSPACE.BIN
> VIDEOROM BIN 40,960 08-30-01 7:45p VIDEOROM.BIN
> COMMAND COM 95,874 05-05-99 8:22p COMMAND.COM
> SUHDLOG DAT 5,166 08-30-01 7:22p SUHDLOG.DAT
> SCANDISK LOG 481 09-20-01 9:56p SCANDISK.LOG
> BOOTLOG PRV 47,519 08-30-01 7:45p BOOTLOG.PRV
> CONFIG SYS 185 09-21-01 7:44p CONFIG.SYS
> IO SYS 222,390 05-05-99 8:22p IO.SYS
> MSDOS SYS 1,676 08-30-01 7:33p MSDOS.SYS
> BOOTLOG TXT 50,944 08-30-01 7:51p BOOTLOG.TXT
> DETLOG TXT 71,149 08-30-01 7:31p DETLOG.TXT
> FRUNLOG TXT 1,017 08-30-01 7:30p FRUNLOG.TXT
> NETLOG TXT 2,911 08-30-01 7:43p NETLOG.TXT
> SETUPLOG TXT 115,919 08-30-01 7:43p SETUPLOG.TXT
> 18 fichier(s) 1,266,704 octets
> 9 r¨¦pertoire(s) 3,733.75 Mo libre
>
>
> On samba server:
>
> Le volume dans le lecteur M est WIN98SE
> R¨¦pertoire de M:\
>
> . <REP> 10-05-01 6:20p .
> .. <REP> 10-04-01 4:08p ..
> DOWNL~5C <REP> 10-05-01 1:18p Downloads
> MESDO~CK <REP> 10-05-01 1:14p Mes documents
> PROGR~-I <REP> 10-05-01 1:18p Program Files
> RECYCLED <REP> 09-10-01 8:45p RECYCLED
> WINDOWS <REP> 10-05-01 1:18p WINDOWS
> games <REP> 10-05-01 1:11p games
> temp <REP> 10-05-01 1:17p temp
> MSDOS --- 22 08-30-01 7:15p MSDOS.---
> SYSTEM 1ST 540,704 08-30-01 7:22p SYSTEM.1ST
> AUTOEXEC BAK 330 10-05-01 12:13p AUTOEXEC.BAK
> AUTOEXEC BAT 330 10-05-01 12:13p AUTOEXEC.BAT
> DRVSPACE BIN 69,127 05-05-99 8:22p DRVSPACE.BIN
> VIDEOROM BIN 40,960 08-30-01 7:45p VIDEOROM.BIN
> COMMAND COM 95,874 05-05-99 8:22p COMMAND.COM
> SUHDLOG DAT 5,166 08-30-01 7:22p SUHDLOG.DAT
> SCANDISK LOG 481 09-20-01 9:56p SCANDISK.LOG
> BOOTLOG PRV 47,519 08-30-01 7:45p BOOTLOG.PRV
> CONFIG SYS 185 09-21-01 7:44p CONFIG.SYS
> IO SYS 222,390 05-05-99 8:22p IO.SYS
> MSDOS SYS 1,676 08-30-01 7:33p MSDOS.SYS
> BOOTLOG TXT 50,944 08-30-01 7:51p BOOTLOG.TXT
> DETLOG TXT 71,149 08-30-01 7:31p DETLOG.TXT
> FRUNLOG TXT 1,017 08-30-01 7:30p FRUNLOG.TXT
> NETLOG TXT 2,911 08-30-01 7:43p NETLOG.TXT
> SETUPLOG TXT 115,919 08-30-01 7:43p SETUPLOG.TXT
> 18 fichier(s) 1,266,704 octets
> 9 r¨¦pertoire(s) 654,311,424 octets libres
>
what should I do?
More information about the samba-docs
mailing list