nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Account is Not Authorized to Log In to this Station error

This is a discussion on Account is Not Authorized to Log In to this Station error within the Windows Xp/2000/2003 server administration forums, part of the The Lounge category; Hello folks I’m having trouble with Windows XP and Debian Linux. I need to access lots of files from Windows ...


Go Back   nixCraft Linux Forum > The Lounge > Windows Xp/2000/2003 server administration

Linux answers from nixCraft.


Windows Xp/2000/2003 server administration Discuss all about the Microsoft Windows operating systems. You are free to talk about any issues related to Windows administration, networking, services, and other stuff, ask your questions, or share your tips with community.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-04-2006, 10:02 PM
Senior Member
User
 
Join Date: Jun 2005
Posts: 137
Thanks: 21
Thanked 4 Times in 3 Posts
Rep Power: 5
jerry is on a distinguished road
Default Account is Not Authorized to Log In to this Station error

Hello folks

I’m having trouble with Windows XP and Debian Linux. I need to access lots of files from Windows XP desktop. When I am using Debian on Laptop I am able to connect to Samba server. But when I try to connect it from Windows XP It says

Account is Not Authorized to Log In to this Station

How do I connect from windows xp to Samba box . I am trying this since last 2 days and i have posted this to some other popular linux forum noone is able to help me
Reply With Quote
  #2 (permalink)  
Old 05-04-2006, 10:11 PM
Senior Member
User
 
Join Date: Jun 2005
Posts: 137
Thanks: 21
Thanked 4 Times in 3 Posts
Rep Power: 5
jerry is on a distinguished road
Default

One more question:

I have firewall enabled on both Linux and Windows XP. Since everything else is working fine I am assuming that firewall is not source of trouble…

But please give all your recommendation to solve my problem
Reply With Quote
  #3 (permalink)  
Old 05-04-2006, 10:28 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

This is classic problem. This problem not only occurs with Linux/UNIX Samba (SMB client) but also with Microsoft Windows server 2000/2003 and XP client.

In order to solve this problem
a) You need to enable encrypted password support the Samba
OR
b) Force Windows XP to use unencrypted (clear text) password

I don’t recommend second option (as it needs registry hack on Windows XP as well as it is insecure)

To solve your problem log in to Linux Samba server:

Open smb.conf file:
Code:
# vi /etc/samba/smb.conf
Make sure following two entries are as follows:
Code:
encrypt passwords = yes
passdb backend = tdbsam
Save file and restart samba server
Code:
# /etc/init.d/samba restart
Now add new UNIX user:
Code:
# adduser demouser
Add demouser user with password to samba (so that you can access it from windows xp)
Code:
# smbpasswd –a demouser
And you are done. Login to windows XP > Click on Start > Run > type IP address of samba server (for example 192.168.1.5)
\\192.168.1.5
OR netbios name (for example Debiansamba):
\\debiansamba

When prompted for username/password type
USERNAME: demouser
PASSWORD: Your password (the one you set with smbpasswd command)
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #4 (permalink)  
Old 06-04-2006, 08:33 AM
Senior Member
User
 
Join Date: Jun 2005
Posts: 137
Thanks: 21
Thanked 4 Times in 3 Posts
Rep Power: 5
jerry is on a distinguished road
Default

Thanks nixcraft.,

It worked like a charm. Thank you very much

Wish i had skills like you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Progate account across several servers piggy Shell scripting 0 06-03-2008 08:03 AM
ftp account with @ zafar466 Getting started tutorials 1 14-05-2007 05:55 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 09-07-2006 04:38 AM
mysql account creation Linux software 1 28-01-2006 11:17 AM
Ssh account locking Linux software 1 10-01-2006 11:28 PM


All times are GMT +5.5. The time now is 08:47 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38