Solved

Samba File names are in Capitals

Posted on 1998-02-09
6
265 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
Comment Utility
Have you hecked
  case sensitive
in /etc/smb.conf ?
0
 
LVL 3

Author Comment

by:rickyr
Comment Utility
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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Author Comment

by:rickyr
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

11 Experts available now in Live!

Get 1:1 Help Now