Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hey guys, I'm guessing this is quite a simple problem..
I've got a network set up wirelessly, and I can access all the windows computers from my Ubuntu desktop, see all their files etc. However, when I try to access my computer from a windows computer (\\PETESROOM), I get asked for a username and password. I've tried both logging in as my ubuntu user and as root, but I can't get in..
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Have you used the command 'smbpasswd' to create a smb user and set the password for the smb user? If not, that is probably your problem. See man smbpasswd for use of this command. It has different functions depending if you are the root user or a regular user.
From my experience access windows file shares on Linux, when you're prompted for username/password and the file share is on Windows, it's the Windows or Active Directory username and password you want to enter in.
So, check the file sharing and/or folder permissions on the Windows box, and see who you have authenticated to access the shares. If all else fails type in Administrator for the username and your windows admin password. Or if it AD, DomainName\username, and AD password.
The problem you're having is, it's not the Samba username and password your being prompted for, it's the windows credentials, being your file share would be on windows. The smbpasswd command only affects Samba users that you have on Samba shares on UNIX or Linux. So to make sense of it, remember Client authenticate > Server permissions/credentials.
From what I interpreted, you are connecting to a Windows box from Ubuntu, which involves either NTLM or Active Directory authentication.
However, on the other end of the spectrum, a Windows connecting to Linux involves Samba authentication, controlled by the smbusers file and smbpasswd command.
If it is Linux to Windows, as I previously mentioned, simply use your Windows username and password for that machine. If you don't want it to prompt for a password, you have to configure the File Share, to accept all users. This would work the same way whether it was Ubuntu or any other distro.
However you can set in the smbusers file for a samba username to associate to a windows username, which may be easier.