Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

SAMBA and Win2k revisited

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
spcmnspff
Asked:
spcmnspff
  • 3
  • 2
1 Solution
 
cgrosvenorCommented:
What version of Samba?
0
 
spcmnspffAuthor Commented:
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
 
cgrosvenorCommented:
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
 
cgrosvenorCommented:
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
 
spcmnspffAuthor Commented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now