Short Names : samba and WinNT/2K differs

Dragos dragos.delcea at farmexim.ro
Sat Oct 6 03:12:02 GMT 2001


hello Yves,
I'm no expert, but you may try doing a 'chcp' on a dos prompt on win98, same 
on win2000 (don't know if it is called the same on w2000), and a 
testparm|grep 'client code page' on the samba server...
maybe it's a codepage fault (they must be the same).
But don't take my word for it, maybe it's something else...
hope this helps

dragos

On Friday 05 October 2001 07:38 pm, Yves Gattegno wrote:
> Hi
>
> 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
>
>
> I use Samba version 2.0.7
>
> I tried the parameter
> mangled name = no
> but it does not work (the short names then are just truncated).
>
> Any help appreciated
>
> Yves Gattegno
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list