Skocz do zawartości
igorioo

Samba - NT_STATUS_WRONG_PASSWORD

Polecane posty

Witam

Mam taki problem i nie wiem co jest przyczyną. W sieci LAN mam zrobiony prosty dysk sieciowy na sambie. Komputery z określonych sieci maja bezproblemowy dostęp do niego po uwierzytelnieniu za pomocą użytkowka i hasła. W sieć LAN mam wpięty również skaner. Jest to jedynie urządzenie które nie potrafi się zalogować do udostępnianego zasobu samby. Mimo że w konfiguracji dostępu podaję uzytkownika i hasło którymi logują sie użytkownicy komputerów to mam notorycznie komunikat w logach NT_STATUS_WRONG_PASSWORD. I tylko dla tego jednago urządzenia. Jeżeli mógły ktoś  mi pomóc to będę wdzięczny. Wrzucał tutaj plik konfiguracyjny oraz logi (trochę przydługie ale ...)

# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        bind interfaces only = Yes
        disable spoolss = Yes
        domain master = Yes
        interfaces = lo vlan40 vlan60
        load printers = No
        log file = /var/log/samba/%m.log
        max log size = 50
        netbios name = SERWERBP
        os level = 65
        preferred master = Yes
        printcap name = /dev/null
        security = USER
        server min protocol = SMB2
        server string = Server BP Zamość
        show add printer wizard = No
        wins support = Yes
        workgroup = MAK
        idmap config * : backend = tdb
        hosts allow = 192.168.4. 192.168.6. 127.0.0.


[upload]
        comment = Upload
        create mask = 0775
        directory mask = 0775
        path = /home/upload
        read only = No
        valid users = mak
       


 

[2024/10/09 08:35:00.973532,  3] ../../source3/smbd/oplock.c:1422(init_oplocks)
  init_oplocks: initializing messages.
[2024/10/09 08:35:00.973742,  3] ../../source3/smbd/process.c:1948(process_smb)
  Transaction 0 of length 186 (0 toread)
[2024/10/09 08:35:00.974018,  3] ../../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
  Selected protocol SMB3_11
[2024/10/09 08:35:00.976160,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2024/10/09 08:35:00.976204,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2024/10/09 08:35:00.976226,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2024/10/09 08:35:00.976251,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'spnego' registered
[2024/10/09 08:35:00.976273,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'schannel' registered
[2024/10/09 08:35:00.976297,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2024/10/09 08:35:00.976317,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2024/10/09 08:35:00.976353,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2024/10/09 08:35:00.976374,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2024/10/09 08:35:00.976393,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_basic' registered
[2024/10/09 08:35:00.976415,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2024/10/09 08:35:00.976433,  3] ../../auth/gensec/gensec_start.c:977(gensec_register)
  GENSEC backend 'http_negotiate' registered
[2024/10/09 08:35:00.979003,  3] ../../auth/ntlmssp/ntlmssp_util.c:72(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0x62088215
[2024/10/09 08:35:00.980068,  3] ../../auth/ntlmssp/ntlmssp_server.c:552(ntlmssp_server_preauth)
  Got user=[mak] domain=[MAK] workstation=[BE5-A85383] len1=24 len2=24
[2024/10/09 08:35:00.980128,  3] ../../source3/param/loadparm.c:3881(lp_load_ex)
  lp_load_ex: refreshing parameters
[2024/10/09 08:35:00.980216,  3] ../../source3/param/loadparm.c:550(init_globals)
  Initialising global parameters
[2024/10/09 08:35:00.980350,  3] ../../source3/param/loadparm.c:2795(lp_do_section)
  Processing section "[global]"
[2024/10/09 08:35:00.980598,  2] ../../source3/param/loadparm.c:2812(lp_do_section)
  Processing section "[upload]"
[2024/10/09 08:35:00.980769,  3] ../../source3/param/loadparm.c:1630(lp_add_ipc)
  adding IPC service
[2024/10/09 08:35:00.980859,  3] ../../source3/auth/auth.c:189(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [MAK]\[mak]@[BE5-A85383] with the new password interface
[2024/10/09 08:35:00.980883,  3] ../../source3/auth/auth.c:192(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [MAK]\[mak]@[BE5-A85383]
[2024/10/09 08:35:00.981278,  3] ../../source3/passdb/lookup_sid.c:1672(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for mak
[2024/10/09 08:35:00.981412,  2] ../../libcli/auth/ntlm_check.c:430(ntlm_password_check)
  ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user mak
[2024/10/09 08:35:00.981442,  3] ../../libcli/auth/ntlm_check.c:437(ntlm_password_check)
  ntlm_password_check: NEITHER LanMan nor NT password supplied for user mak
[2024/10/09 08:35:00.981772,  2] ../../source3/auth/auth.c:334(auth_check_ntlm_password)
  check_ntlm_password:  Authentication for user [mak] -> [mak] FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1
[2024/10/09 08:35:00.981831,  2] ../../auth/auth_log.c:647(log_authentication_event_human_readable)
  Auth: [SMB2,(null)] user [MAK]\[mak] at [śro, 09 paź 2024 08:35:00.981806 CEST] with [NTLMv1] status [NT_STATUS_WRONG_PASSWORD] workstation [BE5-A85383] remote host [ipv4:192.168.4.20:48272] mapped to [MAK]\[mak]. local host [ipv4:192.168.4.10:445]
  {"timestamp": "2024-10-09T08:35:00.982011+0200", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 1}, "eventId": 4625, "logonType": 3, "status": "NT_STATUS_WRONG_PASSWORD", "localAddress": "ipv4:192.168.4.10:445", "remoteAddress": "ipv4:192.168.4.20:48272", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "MAK", "clientAccount": "mak", "workstation": "BE5-A85383", "becameAccount": null, "becameDomain": null, "becameSid": null, "mappedAccount": "mak", "mappedDomain": "MAK", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv1", "duration": 3237}}
[2024/10/09 08:35:00.982173,  3] ../../auth/gensec/spnego.c:1444(gensec_spnego_server_negTokenTarg_step)
  gensec_spnego_server_negTokenTarg_step: SPNEGO(ntlmssp) login failed: NT_STATUS_WRONG_PASSWORD
[2024/10/09 08:35:00.982247,  3] ../../source3/smbd/smb2_server.c:3213(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_LOGON_FAILURE] || at ../../source3/smbd/smb2_sesssetup.c:146
[2024/10/09 08:35:00.982883,  3] ../../source3/smbd/server_exit.c:236(exit_server_common)
  Server exit (NT_STATUS_END_OF_FILE)

 

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się


×