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.
After much trial and error (mainly error!) I've got my Linux box logging on to Windows shares, and can copy from and write to the Windows machine using Samba.
After even more trial and error, I can see my Linux box from various flavours of Windows: 95, 98, NT and Win2k - I can see the share directories I have set up on my Linux box, but whenever I try and browse the share directories that I can see on the Linux machine I keep getting asked for a user name and password.
I have set up usernames that correspond to the Windows machines and entered passwords which I can see in the combintaion of etc/passwd and etc/shadow
In smb.conf I have set up
smb passwd file = etc/passwd
I have tried security = user and share - both give the same result.
Thanks for the reply Recoil, however I can't see how that can be right!
smbclient -a
isn't a valid option at all as far as I can tell.
smbclient -A is, but I can't get that to work anyway! I assume in your line:
smbclient -a recoiluk
you're setting up recoil as a valid account on the Linux box, for the Windows box to log onto? This just doesn't seem to work for my version of smbclient.
now setup windows networking to login as smbuser when you start windows or you will be prompted for passwd. In win2k you will be prompted for username and passwd but in win98 it will only ask for passwd, so if your microsoft networking username does not match smbuser you can't get in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.