LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-26-2005, 08:48 AM   #1
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Rep: Reputation: 15
Does Linux require WINS in order to access Windows PCs?


I'm using Debian 'Sarge' with 2.6.8-2-k7 kernel.

I have three PCs in the network and a server (Windows 2003 Server). One of the PCs is a Debian workstation and the rest are XPs.

My understanding is that 'Samba' is only good for accessing Linux's files/folders from a Windows PC.

I can access Linux's stuff from a Windows PC no problem, but not the other way around. I can see Windows Network in 'Computer' folder on my Debian PC and I can see all PCs in Windows Network too.

I even use a user account that I use on Windows system (match the user/password) and it kept denying.

What do I need to do in order to access Windows Network PCs?

Do I have to setup WINS in order for this to work?

Last edited by ExCIA; 05-26-2005 at 08:51 AM.
 
Old 05-26-2005, 09:44 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
In 2k3 they use DNS for name resolution, instead of WINS, so point your Linux box to the same DNS server all the win boxes on the 2k3 domain use. (usually the first AD DC is the DNS server and it goes under nameserver in /etc/resolv.conf)
 
Old 05-26-2005, 12:17 PM   #3
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Original Poster
Rep: Reputation: 15
I see 192.168.0.2 in resolv.conf already and that is the domain/dns address. Does it need anything else or that is all I need?

Like I said before, I can see 'enterprise', which is the name of our Windows Network (domain/workgroup) in 'Network' and the problem is I've been denied access.

I used the username/password that I use on Windows and created an account on my Debian PC (administrator/xxxxx).
 
Old 05-27-2005, 02:52 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
If it's authentication problems that you are having then I'd dig through the docs over at http://www.samba.org/ and set it up so your Samba/Linux box joins the AD domain like 2K/XP computers do so your username/password comes from a computer that is a member of the domain.
 
Old 05-27-2005, 07:00 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,350

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
Have you created a samba username and password using smbpasswd?
 
Old 05-27-2005, 07:25 AM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Quote:
Originally posted by allend
Have you created a samba username and password using smbpasswd?
That's a good question? If not, you will still get a denied access because the user is not a samba user.
 
Old 05-27-2005, 01:01 PM   #7
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Original Poster
Rep: Reputation: 15
That is how I created my administrator account smbpasswd -a administrator and it is enabled.

Still can't access my server.

Want to see my smb.conf file?
 
Old 05-28-2005, 06:02 PM   #8
Wintceas
LQ Newbie
 
Registered: Sep 2004
Location: Brazil
Distribution: Slackware - Debian
Posts: 26

Rep: Reputation: 15
Smbclient

Try to figure out the trouble using smbclient to connect to your Windows server. As your Windows workstations are able to access your Linux box shares, the problem isn't in your smb.conf file, but in the Linux client side.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware Switch; Linux and Windows; Linux Wins!! AvePtah LinuxQuestions.org Member Success Stories 5 11-25-2006 05:10 PM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Newbie 1 03-11-2005 07:17 PM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Software 1 03-11-2005 12:23 AM
windows linux problem with 3 pcs grooverider Linux - Networking 3 01-31-2005 10:35 AM
Problem with a linux PC, It restart my other Windows Pcs in my network internetale General 1 08-09-2004 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration