Discussion Locked

Windows network and Linux

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How to hook a Linux box to a Windows network and Active Directory? I need to access my files on the Win 2k Server.

12 replies

by shiuhrong

I had setup Samba on my Linux, but cannot login to the Linux box, I cannot login to the Samba through Window XP too. What should I do?

by jeremy the it guy

To be able to login to the Linux Share from Windows, you will need to create a User with the exact same username and password in Linux as the user that you are trying to access the share from. If you are on a Windows Computer and you are logged in as "Jeremy" with a password of "linux" you need to create a user in Linux with a userid of "Jeremy" and a password of "linux". You then have to add that user to Samba as well. Then, you have to give the share in Linux that you want to connect to the ability to be read from the "Jeremy" user. If you need more help, email me at jwhitlock@starprecision.com Late, Jeremy

by whw

Ok, If I'm reading this right, your using your linux box and you want to access shares on your Windows network, correct so far?

This being the case, you need to use a smbclient, not setup a samba server. If your using KDE, I believe Konquerour has one built in, try typing something like

smb://windows-system-name/share-name

into the location bar and see if it connects. Also, it might prompt you for your windows username/password to make the connection.

From the command-line or an x-term window you might try

smbclient //windows-system-name/share-name -U windowsusername

It's a safe guess that since you've installed samba the smbclient tools are there also. If it connects, it should prompt you for a password.

Now, ifyou're on your windows box and you want to connect to your linux box using traditional windows networking, then you WILL need to install the samba server. However, if this not the case, I wouldn't bother seting it up. It would just open a possiblesecurity hole on the linux box.

HIH

This discussion is closed to new replies.