Solved

Samba File names are in Capitals

Posted on 1998-02-09
6
267 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
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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 70 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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now