LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2006, 06:49 PM   #1
tinaj
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Problem with FTP to a Windows device using Samba


I've searched this forum (and several others) for ways to solve the problem we're having with our servers. I hope that someone can help me with this.

We have a windows 2003 web server running XP with three web sites. We would like for the separate users to be able to FTP their web page changes to this server without emailing them to the admin to upload (our current process).

We have a Linux v9.12 box set up as our email and FTP server.

Using Samba we would like to mount a device that points the user’s home folder to the Windows web server to the root folder of their own web site.
Here is our fstab file:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
//wotan/tinaj /home/tinaj/tjweb smbfs crentials=/etc/cred 0 0
//wotan/nickie /home/tinaj/nickieweb smbfs credentials=/etc/cred 0 0
//freya/pancake /home/pancaker smbfs credentials=/etc/cred 0 0

here is our cred file:
username = tinaj
password = ILove$MB
username = pancaker
password = Pancake$Good

Note: I haven’t entered a username/password for Nickie because I can’t get the other two accounts to work.

Using an FTP program, I am able to connect to the server and see my home folder with the tjweb folder as a subfolder. I can navigate to that folder and download files, but when I try to upload files I get this message:

“Could not create file.”

I am able to upload files to the home folder (/home/tinaj), but then to move them to the web server I have to telnet into the FTP server and log on as su to move them from the home folder to the tjweb folder.

When I telnet into the server and become su, I can see that all the files and subfolders are owned by ‘root’. As root, I can’t change the permissions on the files or folders to my own username.

We suspect that the issue is either a permissions issue on the web server, or that we’ve forgotten to change something in the Linux/Samba configuration that will allow us to upload files to subfolders in our home folders.

Thanks in advance for your help.
Tina
 
Old 03-31-2006, 04:59 AM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
ftp server access is through an ftp client program, samba is not a requirement.
remove the samba link from ftp access and just ftp to the server through whichever ftp client you want.

samba is used for internal network connectivity between ms proprietary protocols and linux open protocols, ftp is a well established protocol in itself that every os has support for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 05:07 PM
Linux/Windows FTP problem JesseMor Linux - Networking 1 03-14-2006 09:17 AM
Windows Samba Problem Orgasma Linux - Networking 4 03-07-2006 08:39 PM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 09:31 AM
Suse 9.3 FTP to Windows 2000 problem jcorominas Linux - Networking 2 06-08-2005 04:04 AM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration