Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
5
268 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now