[brlug-general] Help my Ubuntu LAMP server with FTP and Samba

John Hebert johnahebert at yahoo.com
Thu Nov 9 22:11:05 CST 2006


Joe,

I think you are leaving out a few important details.

First, I assume you mean you have a Linux server at work, correct? And that you also have a Windows XP workstation at work that you use to connect to your Linux server at work. Do you have Windows XP Pro or Windows XP Home. They are different.

Finally, you want to get to your Linux server from a PC at your home.

Is this all correct?

If this is true, then you also need to tell us if you are using a router/firewall in between your work and home computers and your respective Internet connections at each location. If not, you should be.

I don't recommend that you use FTP over the Internet, as FTP sends passwords in clear text and can be intercepted. It is more secure to use SFTP (http://en.wikipedia.org/wiki/SSH_file_transfer_protocol).

Also, concerning your Samba configuration; you probably just need to create the Samba accounts. Samba has its own password database in addition to your local server password database.

Do this:
'smbpasswd -a username' where username is your Linux username and is also the same username on your Windows XP workstation. You may need to create a new user on your Linux server to match your Windows XP box. Make sure the passwords match exactly.

Then, restart samba, and try accessing your Linux server from your Windows XP box again.

Good luck!

John Hebert


----- Original Message ----
From: Joe Fruchey <ignavia at gmail.com>
To: general at brlug.net
Sent: Thursday, November 9, 2006 9:14:47 PM
Subject: [brlug-general] Help my Ubuntu LAMP server with FTP and Samba

okay, I've done the following...

aptitude install samba smbfs proftpd

I edited the smb.conf like some site told me to to allow access to my
home dir, but it didn't work. If I type \\wiki from my XP box at work,
I get a login prompt, I log in, but all I see is a 'Printers and
Faxes' share. What gives?

And while Samba is great for at work, I'd like ftp for when I'm at
home. What more do I have to do with proftpd beyond the install? If I
try to ftp from work, I get an 'unknown error,' and from home, I
get...

Connected to wiki.lafourche.k12.la.us.
Connection closed by remote host.

Any thoughts?

Joe

_______________________________________________
General mailing list
General at brlug.net
http://mail.brlug.net/mailman/listinfo/general_brlug.net





 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the General mailing list