LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2007, 03:30 PM   #1
geotev
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu 7.04
Posts: 24

Rep: Reputation: 15
Question How do I access the Samba server to make changes?


Hello,

I want the Samba server's username and password to be the same as my Linux username and password. How do you do this? I know I need to enter something like:
smbpasswd -a [username]. I went in through the terminal with no success. Obviously, I am doing something wrong.

Samba is installed. I can access the three WinXP machines from my Linux computer, but I cannot access the Linux computer from my XP machines. When I go to Map Network Drive from My Computer, I see an icon for the Samba server and try to select it, then, I keep getting dialog boxes that ask me for my username and password into the Samba server. My Linux username and password, is not getting me in.

Thank You!
 
Old 08-03-2007, 03:34 PM   #2
kuitang
Member
 
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
You need to be root to use smbpasswd -a. Are you using sudo to invoke it? What is the exact error message you're getting.
 
Old 08-03-2007, 03:46 PM   #3
geotev
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Question

Hello,

The following shows what is happening when I try to access my Linux computer from the XP machine:

I can view and access the two XP Home and the one XP Prof machines from my Linux computer. I can view my Linux computer from the XP machine. The problem is that I cannot access it.

When I right-click on My Computer and "Map Network Drive", it lets me select a drive letter, I type in the following information of the Linux computer as:
\\(the IP address)\MyFiles
Then a dialog box pops up with the title displaying as "Connect to Home.hsd1.va.comcast.net". Also, in the the box it displays "Connecting to (IP address) of the Linux computer and I enter my Linux computer log-on name, which is the same user name on every computer in my network, and password. Then enter.
The same kind of box appears with the same info except a different User name "(Computer Name)\(my network name)". I enter the same password, since I use the same password when logging in to every computer on my network. Then enter.
This dialog box reappears with the same info over and over.

Specifically, how do I enter the necessary changes on my Linux computer. Samba was automatically installed and configured by the Ubuntu version. I did not perform a manual install of Samba. Being new to the Linux OS, I need to know how to access and make changes to the Samba server.

All the assistance is greatly appreciated,
Thank You!
 
Old 08-03-2007, 04:06 PM   #4
geotev
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Question What GUI Apps are availble to access the Samba Server?

Hello,

What GUI Apps are availble to access the Samba Server?

This may be a tool for me to access the Samba server and make suggested changes.

Thank You!
 
Old 08-03-2007, 05:19 PM   #5
kuitang
Member
 
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
Okay, first of all, I assume you're running a network behind a NAT (router, firewall, etc.). You set up your hostname and domain wrong; if you're machines are in private IP range (192.168.), you need to set up a private domain. I use .lan for my machines. You should never connect to a machine on your network with the external address (the one that says comcast). AFAIK, Ubuntu automatically imports Linux accounts, so your problem is probably networking. The best way to configure samba is to learn to edit /etc/samba/smb.conf; it's not that difficult unlike sendmail. However, there is swat (Samba web administration tool) to help you if you need it.
 
Old 08-03-2007, 09:32 PM   #6
geotev
LQ Newbie
 
Registered: Jul 2007
Distribution: Ubuntu 7.04
Posts: 24

Original Poster
Rep: Reputation: 15
Thank You

Hello to Kuitang,

Thank You for the assistance. It's the best advice I have received. I will try my best.

Again, Thanks!!
 
  


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
cannot access my file server on SAMBA chhatrashal Linux - Networking 2 12-26-2006 10:41 AM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM
Can't access Samba server honghebox Linux - Newbie 2 09-01-2005 08:17 PM
how to access samba server? enjoyzj Linux - Newbie 12 02-23-2004 09:39 AM
Cannot access Samba Server ZhiYi Linux - Networking 3 03-06-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 AM.

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
Open Source Consulting | Domain Registration