cancel
Showing results for 
Search instead for 
Did you mean: 

Samba problem

 
SOLVED
Go to solution
Esteemed Contributor

Samba problem

Please help, I am in diastrates.

While transferring any file from NT to HP-UX via samba, it changes the case of some files ( from upper to lower ).
The laughing and killing point is that, if i select a file and paste it to another folder via samba in the same machine, it changes case.

The problem occurs only with certain files, which it picks up at random but remains constant on those files, ( there might be a speicific combination for it, but till now i am unable to figure it out ).

Is this a installation problem or something else?
Vibhor Kumar Agarwal
7 REPLIES 7
Honored Contributor

Re: Samba problem


It's a configuration issue. Check your smb.conf file:

grep -i case ./smb.conf

and post the results

live free or die
harry d brown jr
Live Free or Die
Honored Contributor

Re: Samba problem

In your bin directory of your samba installation is a programm that is called testparm. This prints all configuration parameters of your samba configuration. Can you execute this command and attach the output here, please?!

Roland
Sometimes you lose and sometimes the others win
Honored Contributor

Re: Samba problem

Hi,
have you had a look at:
set smb.conf parameter
short preserve case=yes
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=34267

ALSO: (0 points for 21 answers)
http://forums1.itrc.hp.com/service/forums/helptips.do?#34

Regards
Esteemed Contributor

Re: Samba problem

Sorry guys,

I will keep an eye on the point system nowonwards.

I think i got the problem.
Just tell me what sould i do:
I am posting the output of
testparm | grep -i case


default case = lower
case sensitive = No
preserve case = Yes
short preserve case = No
mangle case = No

What are these and which ones should i change.
Vibhor Kumar Agarwal
Honored Contributor
Solution

Re: Samba problem

HI,
for a description of the parameters please read:
http://www.unix.org.ua/orelly/samba/ch05_04.html

I suggest you chnage the parameters mentioned in the soultions and then report back with an update.
Regards
Honored Contributor

Re: Samba problem

Mine is:

default case = lower
case sensitive = No
preserve case = Yes
short preserve case = No
mangle case = No

What version of Samba are you using and is it HP's?

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Esteemed Contributor

Re: Samba problem

Thanks guys,

I had to change
short preserve case = No

to
short preserve case = Yes
Vibhor Kumar Agarwal