Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
All I want to do is share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.
I've been following advice, looking up links and reading tutorials now for months, off and on, and have had absolutely no success. Can anyone help me out, on or offline? If you want me to post the contents of files or logs, just let me know and I'll do it.
See if you have the Samba-doc package installed. It supplies the "Samba-3 by Example". If you don't have it, you can download it here: www.samba.org/samba/docs/Samba3-ByExample.pdf
One of the examples is for a document server. It also takes you step by step though the process. Including what ownership and permissions to use for the directory you want to share.
I would recommend mounting the external drive from an /etc/fstab entry and not relying on automounting. The /media directory is intended for dynamic automatic mount (But that may be after FC3).
Mr-Bisquit: If you had continued to help the OP, that would be one thing. Trolling like you did was bad mannered and also removed the thread from the zero reply list.
If you want me to be more explicit, ask explicit questions. If I knew what I was doing I probably wouldn't have a problem. I explained in my original post exactly what I'm trying to do.
Solved! I followed the first example in Samba3-ByExample.pdf and I'm up. As far as I can tell, the only meaningful difference from what I was doing before was editing the /etc/hosts file. No information I had come across before told me to do that.
Be sure you run "testparm" after editing /etc/samba/smb.conf. It will perform error checking. A common thing to miss (for shares that require authentication) is to not create a local Linux user for the person at the client, and running smbpasswd smbpasswd to create a Samba user/password entry. Glad you got it working.
Mr-Bisquit: If you had continued to help the OP, that would be one thing. Trolling like you did was bad mannered and also removed the thread from the zero reply list.
I'm part Brasilian, so when someone mentions Samba I think: Surdo, repinique, Timbalada, Zeca, etc. Get it?
Seems to me that the word came from my culture not the Linux community.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.