Solved

SAMBA and Win2k  revisited

Posted on 2002-06-14
5
264 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
Comment Utility
What version of Samba?
0
 
LVL 5

Author Comment

by:spcmnspff
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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.…
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…
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…

728 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

9 Experts available now in Live!

Get 1:1 Help Now