?
Solved

Samba File names are in Capitals

Posted on 1998-02-09
6
Medium Priority
?
274 Views
Last Modified: 2013-12-23
Hi....
I copied a CD from a PC to a mounted Solaris 2.5 volume (SambaServer), At the PC end the file names look fine.
but when I look at them from the Solaris 2.5 end, they are ALL in capitals, therefore the scripts won't run.
regards
P.S. Sorry about the points, thats all I got.
0
Comment
Question by:rickyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1583133
Have you hecked
  case sensitive
in /etc/smb.conf ?
0
 
LVL 3

Author Comment

by:rickyr
ID: 1583134
Hi ahoffmann...
You were right the case sensetivety was incorrect. Although I can now transfer files OK, I can't transfer/create/read directories from the PC. "It doesn't exist" or "Access denied" is the error.
/etc/passwd shell is /bin/sh, Permissions on the Sparc are OK, entry in groups is workgroup with ID of 14 for sys admin and "user" is a member, heres a copy of my smb.conf.......

;======================= Global Settings========================
[global]
   workgroup = WORKGROUP
   comment = Samba Server
   log file = /opt/ATsamba/var/log.%m  
max log size = 50
case sensitive = yes
short preserve case = no
preserve case = no
   lock directory = /opt/ATsamba/var/locks
   locking = yes
   share modes = yes
   security = user
   socket options = TCP_NODELAY
;================ Share Definitions ===================
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
[user]
   comment = user@sparc
   path = /export/home/user
   valid users = user
   public = yes
   writable = yes
   printable = yes

heres some more points!

regards

0
 
LVL 1

Expert Comment

by:dirge
ID: 1583135
What OS do you have on your PC? If it's a Windows system, you'd have to login using the username and password of "user" in "valid users=user".

If you're already doing that, try chmod g+s /export/home/user

Hope this helps!
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 3

Author Comment

by:rickyr
ID: 1583136
Hi...
The question is now worth 70 x 4 = 280.
I'm logging into windows 95 with the same user and passwd
that the user would have to use if he logged into the sparc console.
Admintool (Solaris 2.6) will not let me make a group with a name longer than
8 chars, so I'm using work on both Os's as the group. I tried
chmod'ng and chgrp'ing, stopped samba. logged into win95 again started samba....etc...
But accessing folders says that it aint ther or don't exist.
Files are OK for reading/writing/creating. So why not the folders. It can't have anything to do with umask, as giving write acces to the group and giving the dir to the right group, I still
have the same prob.

BTW I made a change to smb.conf...
work = WORK

regards

ps solving this for me will get you  an "A". as I just want to
get this cd image over to the cdless sparc
0
 
LVL 1

Accepted Solution

by:
dirge earned 280 total points
ID: 1583137
Last try ; ) Found this in a newsgroup archive; apparently Windows automatically uppercases dir names. Try the ff. case config, i.e. comment out "case-sensitive = yes"; perhaps you might also need "short preserve case = yes"

mangled case = yes
; case sensitive = yes
default case = lower
preserve case = yes


0
 
LVL 3

Author Comment

by:rickyr
ID: 1583138
Thankyou very much dirge, It worked.
PS sorry about the delay. my PC has been out of action for a while.
regards
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Make the most of your online learning experience.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question