Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
5
273 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 100 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

707 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