nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 04-05-2006, 11:02 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
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
Sponsored Links
  #2 (permalink)  
Old 04-05-2006, 11:11 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
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 04-05-2006, 11:28 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #4 (permalink)  
Old 04-06-2006, 09:33 AM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default

Thanks nixcraft.,

It worked like a charm. Thank you very much

Wish i had skills like you
Reply With Quote
Reply

Bookmarks


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 On

Similar Threads

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


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


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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