Hello all ...
At 18:01 5/28/98 +0300, I wrote:

>When attempting to connect to my RedHat Linux 5.0 samba server, NT clients
>are able to see the Linux machine in the browse list, but receive the
>message "\\luna is not accessible.  The account is not authorized to login
>from this station."

I have had many helpful replies to this post - thank you all!  The key to
the problem was that Microsoft has NT4.0 SP3 set up by default to use
encrypted passws NT4.0 SP3 set up by default to use
encrypted passwords.  From the samba documentation file ENCRYPTION.txt:
    "WinNT doesn't like talking to a server that isn't using SMB
     encrypted passwords. It will refuse to browse the server if
     the server is also in user level security mode. It will insist
     on promting the user for the password on each connection, which
     is very annoying. The only things you can do to stop this is to
     use SMB encryption."

To solve this problem I did the following:

-> Downloaded samba-1.9.18p7-50.1.i386.rpm from ftp://samba.anu.edu.au.  This
   build has the necessary password encryption compiled in, which my release
   (RedHat 5.0 - Hurricane) did not.  Installed new samba.

-> Settings of /etc/smb.conf which are related to this issue:
      security = user
      encrypt passwords = yes
      smb passwd file = /etc/smbpasswd

-> Created /etc/smbpasswd file using:
      cat /etc/passwd | mksmbpasswd.sh > etc/smbpasswd     cat /etc/passwd | 
mksmbpasswd.sh > etc/smbpasswd
      chmod 600 /etc/smbpasswd
      chmod 4555 /usr/bin/smbpasswd

-> Created passwords for all users by repetitive
      smbpasswd <username>
   for each user.  Ugh!  Unfortunately, the docs say there is no way to
   get from Unix password hash to SMB password hash.

After all that, my shares work nicely ... until the next time Micro$oft 
decides to throw a wrench in the works!

Once again, thanks for all the help!



Scott Wagner    ([EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to