jwbirdsa@picarefy.picarefy.com
2000-Apr-23 19:01 UTC
Win98 command line vs. long filenames
I just cranked up Samba 2.0.6 on NetBSD-sun3 1.4. The clients are Windows 98 (non-SE). I have had experience with earlier versions of Samba, so I was able to get 2.0.6 up and running without great difficulty. I exported a directory and was able to mount it on my Win98 machines fine. Using Explorer, everything looked like I expected it to: files were listed with their full names and I was able to create files with long names. However, when I popped up a command line, DIR did not show the long names (the rightmost column, where they're normally displayed, is completely empty) and I could not create files with long names -- the files were created with truncated versions of the name. This symptom appears on three different Win98 machines, including two which are set up to mount a drive from a Linux box running Samba 2.0.5a. Those clients do not exhibit the problem when DIRing the share from the Linux box! Obviously I have something set or compiled incorrectly, but I have been unable to find anything in the documentation which seems related. Surely somebody has seen this problem already and figured out what's going on? Thanks in advance. --James
> I just cranked up Samba 2.0.6 on NetBSD-sun3 1.4. The clients are > Windows 98 (non-SE). I have had experience with earlier versions of Samba, > so I was able to get 2.0.6 up and running without great difficulty. I > exported a directory and was able to mount it on my Win98 machines fine. > > Using Explorer, everything looked like I expected it to: files were > listed with their full names and I was able to create files with long names. > However, when I popped up a command line, DIR did not show the long namesSetting an 'fstype' parameter (other than 'NTFS') in smb.conf can cause this. :(
jwbirdsa@picarefy.picarefy.com
2000-Apr-26 04:24 UTC
Win98 command line vs. long filenames
I didn't have any fstype parameter, but I tried adding "fstype=NTFS". No effect. I have tried all 32 possible permutations of mange case/case sensitive/ default case/preserve case/short preserve case. Most of the permutations were much worse, and none of them caused long filenames to show up in a DIR. Maybe I'll try 2.0.7 and see if that's any better, or drop back to 2.0.5a, since that seems to work on Linux. --James
Oops, sorry Tulipant, this should have gone to the original poster... We have a similar setup with 2.0.6 and have no trouble viewing long file names by either mapping the share to a drive or directrly doing a dir on it; i.e.: E:\>net use f: \\svr-popup\shared The command was completed successfully. E:\>dir f: Volume in drive F is SHARED Directory of F:\ NEWLI~AX EXE 3,542,528 04-18-00 6:06a NewlixPopup.exe ReadMe txt 292 04-10-00 10:26a ReadMe.txt 2 file(s) 3,542,820 bytes 0 dir(s) 7,771.50 MB free E:\>dir \\svr-popup\shared Directory of \\svr-popup\shared NEWLI~AX EXE 3,542,528 04-18-00 6:06a NewlixPopup.exe ReadMe txt 292 04-10-00 10:26a ReadMe.txt 2 file(s) 3,542,820 bytes 0 dir(s) E:\> Here are the relevant parts of the smb.conf file: [global] printing = bsd guest account = netbios server string = Newlix Corporation's OfficeServer v1.5.0-50 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 unix password sync = yes update encrypted = yes passwd program = /usr/bin/passwd %u passwd chat = *new*pass* %n\n *new*pass* %n\n *change* encrypt passwords = yes name resolve order = lmhosts wins bcast host username map = /usr/local/samba/lib/users.map printer driver file = /usr/local/samba/lib/printers.def printer driver location = \\%h\PRINTER$ netbios name = SVR-POPUP preserve case = yes security = share wins proxy = yes dns proxy = yes wins support = no domain master = no preferred master = no local master = no os level = 5 workgroup = NEWLIX remote announce = 192.168.3.255 192.168.5.255 192.168.1.255 remote browse sync = 192.168.3.255 192.168.5.255 192.168.1.255 wins server = 192.168.3.1 [shared] comment = Shared file space for all users path = /USERSPACE/shared public = yes writable = yes force create mode = 0775 force directory mode = 0775 Jean-Serge Gagnon - Applications Director Newlix Corporation - jsg@newlix.com (613) 225-0516 fax: (613) 225-5625 -----Original Message----- From: Tulipant Gergely [mailto:tulipant-gergely@dbrt.hu] Sent: Wednesday, April 26, 2000 5:57 AM To: Jean-Serge Gagnon Subject: RE: Win98 command line vs. long filenames> Have you looked at the "case" options such as "preserve case", "short > preserve case" and "default case"?Yeah, I set them like this: preserve case = no short preserve case = no Why do you ask? :)