The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Samba/sharity-light - connection problem
This article highlights an issue with sharity light which I encountered but for which a solution exists.
18 October
Re: prob: no authority to log on from this station 
Author: Gene Rogers
Email: shrugger@gnt.net
Date: 1998/09/22
Forums: mailing.unix.samba
Message-ID: <36085576.50BE754C@gnt.net>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Organization: Only a little.
References: <6tooqk$6uq$1@freebsd.csie.nctu.edu.tw>
Reply-To: shrugger@gnt.net
To: Casper Larsen
X-Complaints-To: newsabuse@supernews.com
X-Trace: 906515836 9AHSS/TBG59D CC31 usenet45.supernews.com

Casper try this:

           Microsoft Windows NT Workstation version 4.0
           Microsoft Windows NT Server version 4.0

   SYMPTOMS

   After upgrading your Windows NT 4.0 computer to Service Pack 3 (SP3),
   you are unable to connect to Server Message Block (SMB) servers (such
   as Samba or Hewlett-Packard (HP) LM/X or LAN Manager for UNIX) with an 
   unencrypted (plain text)password.

   When attempting to connect after you upgrade to Windows NT 4.0 Service
   Pack 3, you receive the following error message:

      System error 1240 has occurred.

      The account is not authorized to login from this station.

   Connecting to SMB servers (such as Samba or Hewlett-Packard (HP) LM/X
   or LAN Manager for UNIX) with an unencrypted (plain text) password 
   fails after you upgrade to Windows NT 4.0 Service Pack 3.

   CAUSE

   This is because the SMB redirector in Service Pack 3 handles
   unencrypted passwords differently than previous versions of Windows NT. 
   Beginning with Service Pack 3, the SMB redirector does not send an 
   unencrypted password unless you add a registry entry to enable 
   unencrypted passwords.

   RESOLUTION

   To enable unencrypted (plain text) passwords, modify the registry in
   the following way:

      WARNING: Using the registry editor incorrectly can cause serious,
      system- wide problems that may require you to reinstall Windows NT. 
      Microsoft cannot guarantee that any problems resulting from the use 
      of the registry editor can be solved. Use this tool at
      your own risk.

         1.Run Registry Editor (Regedt32.exe).

         2.From the HKEY_LOCAL_MACHINE subtree, go to the following key:

           \system\currentcontrolset\services\rdr\parameters

         3.Click Add Value on the Edit menu.

         4.Add the following:

                 Value Name: EnablePlainTextPassword
                 Data Type: REG_DWORD
                 Data: 1

         5.Click OK and then quit Registry Editor.

         6.Shut down and restart Windows NT.

   To enable unencrypted (plain text) passwords in an automated setup,
   modify the registry in the following way:

      WARNING: Using the registry editor incorrectly can cause serious,
      system-wide problems that may require you to reinstall Windows NT. 
      Microsoft cannot guarantee that any problems resulting from the use
      of the registry editor can be solved. Use this tool at your own risk.

      Add the following line to the Product.Add.Reg section of the 
      Update.inf file:

         HKLM,System\CurrentControlSet\Services\Rdr\Parameters,
         "EnablePlainTextPassword", 0x10001, 1

Casper Larsen wrote:

> About 3 month ago, I installed samba on a university linux box. I edited
> the smb.conf so that filesharing worked for me from a Windows NT 4
> workstation. The problem is that it doesnt work anymore, maybe because of
> service pack 3? I dont know.
>
> I get this messages when I try to access my home-directory from the NT
> workstation:
>
> translated from danish, offcourse:
>
> "no authority to log on from this station"
>
> Samba version 1.9.18p4
>
> Here is my smb.conf:
>
> [global]
>    workgroup = basis
>    server string = fermi
>    sercurity = USER
>
> [rbecue]
>    comment = Home Directories
>    browseable = yes
>    read only = no
>    create mode = 0770
>    path = /home/rbecue
>    public = no
>
> [ftp]
>    comment = Ftp service
>    browseable = yes
>    path = /var/web/ftpspace
>    read only = yes
>    public = yes
>    writable=no
>    write list = @dkscene @staff
>
>    log file = /usr/local/samba/log.%m
>
>
>
> [qwwwizx]
>    comment = Home Directories
>    browseable = yes
>    read only = no
>    create mode = 0771
>    path = /home/qwwwizx
>    public = no
>    lock directory = /usr/local/samba/var/locks
>
> If there is someone who have had the same problem, or just know it, I
> would like to know what to do about it.
>
> Furthermore: I use Novell Zen NDS client for Windows NT. Thank you.
>
> ----------------------------------------------------
> Casper Larsen
> Universitetsparken 1, E23
> 4000 Roskilde
> Tlf. 21908642