Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
11
243 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
[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
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
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

623 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