LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do I access the Samba server to make changes? (https://www.linuxquestions.org/questions/linux-networking-3/how-do-i-access-the-samba-server-to-make-changes-574565/)

geotev 08-03-2007 03:30 PM

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!

kuitang 08-03-2007 03:34 PM

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.

geotev 08-03-2007 03:46 PM

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!

geotev 08-03-2007 04:06 PM

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!

kuitang 08-03-2007 05:19 PM

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.

geotev 08-03-2007 09:32 PM

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!!


All times are GMT -5. The time now is 12:03 PM.