Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.