Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
11
241 Views
Last Modified: 2013-12-16
I'm having issues with SAMBA on a RedHat 7.2 and my win 2k machine.  I have the shares setup so that browsing works from the 2k machine, and I can read and copy everything from the SAMBA share to the windows box.  But when I copy a file from the wndows machine to the share I get this error on the windows box:

Sharing violation. File may be in use.

Or something like that.  I made that sure I'm not using the file on the windows machine and I can copy the file elswhere.  Also I checked the conf file for SAMBA and I made sure that read only is no, etc . . .  
0
Comment
Question by:spcmnspff
11 Comments
 
LVL 5

Author Comment

by:spcmnspff
ID: 7078298
Oops! Double Post please ignore . . .
0
 

Expert Comment

by:81ncpappy
ID: 7159751
This may be overly simplified but have you checked the UNIX permissions on the directory from which you are sharing via SAMBA?  What I mean is to check the permissions from the UNIX perspective (not the Windows perspective).  I have had that error message come up on Windows when my UNIX permissions didn't allow access to anyone, much less SAMBA.

Hope this helps.

Nick
0
 

Expert Comment

by:81ncpappy
ID: 7159760
In addition, it seems that the directories which are shared via SAMBA have the read and execute bits set on the UNIX end...  In other words.

chmod -R 555 /dir/shared/via/samba

or whatever your directory is called...

:-)
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 5

Author Comment

by:spcmnspff
ID: 7159886
The only way I seem to get SAMBA working is to
chmod 777 /home/shared in samba.conf, I set up share mode access and I allow a guest user to read and write to the share.  Basically a wide open share.  This isn't a big deal on my home lan behind an ipchains firewall.  But still, I would like to be able to learn how to make things more secure. I've tried user mode with mappings from windows users to unix users and domain mode pointing to my NT4 PDC while adding the SAMBA pc to my domain.  Nothing has worked.  I even tried switching encryption on and off in SAMBA to no avail.  It seems that SAMBA authentication issues can be really frustrating.

0
 

Expert Comment

by:81ncpappy
ID: 7159946
I suppose I would have to see your smb.conf file to give more feedback.  

Nick
0
 
LVL 5

Author Comment

by:spcmnspff
ID: 7160165
Thanks, I'm not home at the moment. I'll send it to you tonight.
0
 

Expert Comment

by:Relifram
ID: 7267573
I don't know if this question was ever answered for spcmnsspff, however I was having similar problems. I was working with mp3's, and quite often when I tried to copy or rename (from my w2k box) a file/directory on the samba share I would get sharing violations.

Tthe fix: Turn off "enable web content in folders" in the Tools/Folder Options menu. My best guess is that windows was trying to load some portion of the file in the background to display a thumbnail of it and thus I was getting the sharing violations.

0
 

Expert Comment

by:CleanupPing
ID: 9077003
spcmnspff:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 1

Expert Comment

by:drewber
ID: 9220374
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.
 

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

 
If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp
 
drewber
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10380072
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ - no points refunded

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

paullamhkg
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10420903
PAQed - no points refunded (of 100)

Computer101
E-E Admin
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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