Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
5
Medium Priority
?
276 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
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
cgrosvenor earned 400 total points
ID: 7080585
What version of Samba?
0
 
LVL 5

Author Comment

by:spcmnspff
ID: 7098578
Thanks for your response, I ripped redhat off my machine and installed FreeBSD. And now it magically works.  There had to be something funky becuase I have the same configuration (RedHat7.2 + Samba 2.2.4) on a different machine and everything works.  One thing that is frustrating is that I can't get SAMBA to talk to my NT 4.0 Server PDC.  If I set the security to server or domain and point to my PDC, no logins can authenticate.  I guess this has do to NT encryption . . . Anyway on both my Linux and BSD boxes SAMBA only works if I set security = share, and keep the share wide open on my home network . . .  Any ideas?  Anyway you get the points fpr responding - thanks =)
0
 

Expert Comment

by:cgrosvenor
ID: 7098838
You would have to create a computer account in the domain for it to be able to talk to the NT PDC. You can use the command smbpasswd to do this:

smbpasswd -j DOM -r DOMPDC -U AdministratorUserName

where:
   DOM is the name of the domain
   DOMPDC is the name of the PDC
   AdministratorUserName is the name of the user account that can add user to the domain.
0
 

Expert Comment

by:cgrosvenor
ID: 7098839
You would have to create a computer account in the domain for it to be able to talk to the NT PDC. You can use the command smbpasswd to do this:

smbpasswd -j DOM -r DOMPDC -U AdministratorUserName

where:
   DOM is the name of the domain
   DOMPDC is the name of the PDC
   AdministratorUserName is the name of the user account that can add user to the domain.
0
 
LVL 5

Author Comment

by:spcmnspff
ID: 7098996
Thanks I'll give that a try.  I considered the fact that I may have to add the pc to the domian, so I logged into my NT PDC but the SAMBA machine was already listed in server manager, Huh . . . anyway I'll romove the pre-existing server from the domain and add it the smbpasswd . . .
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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

609 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