LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-06-2002, 10:39 AM   #1
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
Win2000 can't access Linux Box


Hi All,

I tried looking over the man pages for samba, but I am stuck. I can see my linux box from Win2000, but I get this error from the Win2000 box

"//machine_name is not accessible
The account is not authorized to log in from this station"

Do I need to create a username in Linux that is identical to a username in linux? Can this user be Administrator? What else should I try? I'm stuck. I have successfully set up sharing the Win2000 drive to linux, but can't seem to go the other way. Thanks for any help.

Jon
 
Old 05-06-2002, 10:53 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You need samba user. Use smbadduser.
 
Old 05-06-2002, 11:11 AM   #3
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
I used smbadduser. Not really sure how to use it properly though.
I want to allow Administrator from Win2000 to access the linux box. When I typed smbadduser it states that I must use "unixid:ntid". I typed: 'smbadduser jon:Administrator', where jon is a real user on the linuxbox and Administrator is the win2000 user. What is the proper way to add Administrator? Many thanks.

Jon
 
Old 05-06-2002, 11:14 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's Ok. Now you need to create password for Administrator : smbpasswd
 
Old 05-06-2002, 11:19 AM   #5
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
No luck yet. When I typed 'smbpasswd Administrator' as root I get a "failed to change password" error. If I try the same command as user jon it just asks for the old password and that's it. Any Ideas?

Jon
 
Old 05-06-2002, 12:41 PM   #6
jonnyjonjon
LQ Newbie
 
Registered: Jan 2002
Location: here
Distribution: SuSE
Posts: 21

Rep: Reputation: 15
in the global area in your smb.conf file you need to enable password encryption. windows 2000 does this by default and samba does not do this by default. so in your global section ad a line like this
encrypt passwords = yes
smb passwd file = /etc/smbpasswd

your other option is to disable encryption in your windows 2000 registry but i can't remember how to do that off the top of my head.

-jon
 
Old 05-06-2002, 12:59 PM   #7
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
that did it! Thanks for the help everyone.

Jon
 
  


Reply



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
Installed SAMBA and XP or Win2000 can access Linux Share! Please Help. NYAndy Linux - Newbie 3 02-29-2004 09:29 AM
Linux Box to access a printer in Win2000 ako Linux - Newbie 5 11-17-2003 12:09 PM
Analogx in a WIN2000 box and a labtop linux box cpravia Linux - Networking 18 08-03-2003 11:09 AM
Redhat 8.0 box and Wingate on Win2000 server BBRoadKing Linux - Newbie 0 12-11-2002 09:21 AM
How do I access files on Win box from Linux box zanew Linux - Networking 5 06-12-2002 11:58 AM

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

All times are GMT -5. The time now is 10:18 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