Announcement

Collapse
No announcement yet.

Samba win 98 authentication problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Samba win 98 authentication problem

    Hi,

    Kubuntu 8.04.1, samba 3.0.28a, Home network of 3 Pcs

    Samba server is configured and from XP Pcs all shares are accessible.
    But from win98SE pc i am getting authentication error the log says

    [2009/03/01 17:47:16, 3] libsmb/ntlm_check.c:ntlm_password_check(455)
    ntlm_password_check: LM password, NT MD4 password in LM field and LMv2 failed for user rsp

    [2009/03/01 17:47:16, 2] auth/auth.c:check_ntlm_password(319)
    check_ntlm_password: Authentication for user [RSP] -> [RSP] FAILED with error NT_STATUS_WRONG_PASSWORD

    config file is

    [global]
    workgroup = RSP
    server string = %h Samba server on Ubuntu
    interfaces = vmnet1
    map to guest = Bad User
    # obey pam restrictions = Yes
    # passdb backend = tdbsam
    # pam password change = Yes
    # passwd program = /usr/bin/passwd %u
    # passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    # unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    acl compatibility = winnt
    server signing = auto
    preferred master = No
    domain master = No
    dns proxy = No
    # ldap ssl = no
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d
    invalid users = root
    admin users = root
    create mask = 0777
    directory mask = 0777
    guest ok = Yes
    config file = /etc/samba/smb.conf.%U

    log level = 3
    encrypt passwords = yes

    lanman auth = yes
    ntlm auth = Yes

    client lanman auth = Yes
    client ntlmv2 auth = Yes

    client plaintext auth = No


    Confirmed on 98 pc that plaintext password registry setting is disabled.

    Thanks and best regards


    #2
    Re: Samba win 98 authentication problem

    raja, i have a few quick questions for you about your issue.

    0. windows 98?
    1. can you share from one of your xp machines to the 98 machine?
    2. does it work if you disable athentication?

    if i remember correctly you can't share from xp to 98 they have "issues"

    and your machines have to be named correctly like no special chars, also in the same workgroup.(check m$ knowlage base for that one)

    i suspect that your "samba" server is acting as if its xp and/or does not properly conform to the 98 naming convention (or perhaps ur usr/pass is your issue)

    hope that helps
    sith

    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      Re: Samba win 98 authentication problem

      Well,

      I just found solution for the problem. The problem is
      win 98 is using lanman rather than NTLMv2 as XP is using
      and Samba is accepting lanman for authetication. So I searched
      to initialize 98 with NTLMv2 authentication and I found the solution

      1> In smb.conf add following lines in [Global] Section
      ntlm auth = Yes
      client ntlmv2 auth = Yes
      2> Restart Samba

      3> Download https://fp.arizona.edu/accounts/dsclient/98DSCLIENT.exe
      4> Run it (but donot restart since we going restart soon even if u restart doesn't matter,
      u loose few minutes that's all)
      5> in 98 Create following key - KEY_LOCAL_MACHINE\System\CurrentControlSet\Control \Lsa
      6> Add dword value in it "LMCompatibility"=dword:00000003
      7> restart win98

      Thats all u start accessing XP, Samba, win98 network seemlessly.
      (just tested it in vmware with three VMs so no doubts of any kind)

      I going to test it further rest of the day before taking it to production system.

      Thanks and best regards

      Comment

      Working...
      X