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

Dustin Puryear dustin at puryear-it.com
Fri Nov 10 08:45:49 CST 2006


That's it.

If you are using Windows at home use WinSCP. Otherwise, use scp or
sftp from the Linux or UNIX command-line.

---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Author:
  "Best Practices for Managing Linux and UNIX Servers"
  "Spam Fighting and Email Security in the 21st Century"

Download your free copies:
  http://www.puryear-it.com/publications.htm


Friday, November 10, 2006, 8:22:17 AM, you wrote:

> Sorry...

> I *did* create a samba user, and I can log in with those credentials,
> I just don't see any shares after doing so.

> As for ftp, sftp sounds like the way to go. I have ssh running on the
> server, and I can login with it from home... what more do I need for
> sftp?

> Thanks.



> On 11/9/06, John Hebert <johnahebert at yahoo.com> wrote:
>>
>> 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
>>
>> _______________________________________________
>> General mailing list
>> General at brlug.net
>> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>>

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




More information about the General mailing list