Samba Server Problem - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Linux and Open Source
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-10-2006, 01:05 PM   #1 (permalink)
Junior Techie
 
Join Date: Nov 2005
Posts: 87
Default Samba Server Problem

First off I'm pretty new to Linux so bare with me. I set up an old PC at work as a file server with Samba to store music. I setup an account on my distro(ubuntu) then imported it to Samba Server. It worked fine except it wonuldn't let me write to it when I access it from my windows PC. So I decided to start over and recreate it but this time adding a username that is exactly identical with my NT user account and another problem arose. Now I can't even access it. The permissions on the share are Read/Write for everyone but yet I can't even get into it from any windows machine. It's an access denied error by the way. Oh and the drive I'm using is an external drive with an NTFS file system.
__________________

__________________
lbduballstrs is offline  
Old 07-10-2006, 01:33 PM   #2 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 398
Default

The fact is that you can't write to NTFS directly from Linux. You can with captiventfs but it's still being worked on so I wouldn't trust it. What you might want to do is use a different filesystem, preferably ext3.
__________________

__________________

kostas is offline  
Old 07-10-2006, 01:57 PM   #3 (permalink)
Banned
 
Join Date: Sep 2005
Posts: 5,191
Default

Unless you actually mount the drive to the file system using Samba (which may or may not even be possible), you are just sending files to the Windows box and Windows would be writing the files to NTFS. No, Linux can't write NTFS very well, but that wouldn't matter over a network.
__________________
The General is offline  
Old 07-10-2006, 04:58 PM   #4 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,538
Default

set it back the way it was the first time, then open the smb.conf file with a text editor and change the appropriate line in the section where it defines the drive or folder on the ubuntu box to your sharing to "writeable = yes" , no quotes and with the spaces around the equal sign

not sure where ubuntu puts that file but it will be somewhere in /etc , probably in /etc/samba
__________________
horndude is offline  
Old 07-10-2006, 05:27 PM   #5 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 398
Default

Quote:
Originally posted by The General
Unless you actually mount the drive to the file system using Samba (which may or may not even be possible), you are just sending files to the Windows box and Windows would be writing the files to NTFS. No, Linux can't write NTFS very well, but that wouldn't matter over a network.
Yea, that's why I said DIRECTLY from Linux. Read before you reply.
Besides, it seems like he meant that the external HDD is connected to the Linux machine...
__________________

kostas is offline  
Old 07-10-2006, 06:09 PM   #6 (permalink)
Banned
 
Join Date: Sep 2005
Posts: 5,191
Default

Quote:
Originally posted by kostas
Yea, that's why I said DIRECTLY from Linux. Read before you reply.
Besides, it seems like he meant that the external HDD is connected to the Linux machine...
Everything I said was a true statement. And I wasn't even talking to you...

Unplug your keyboard before you flame me next time. That way none of us have to see it.
__________________

__________________
The General is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 05:06 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.