smbクライアントNT_STATUS_LOGON_FAILURE

smbクライアントNT_STATUS_LOGON_FAILURE

Linux(CentOS7)でWindowsシステム(Windows 10 Pro)を介してSMBドライブにアクセスしようとしましたが、smbclientログインに問題が発生しました。より...

[root@airflowetl etl]# smbclient -U my_user -L 172.18.7.102
Enter SAMBA\my_user's password: 
session setup failed: NT_STATUS_LOGON_FAILURE

...上記のコマンドで使用されているのと同じユーザー名とパスワードを使用してこのリモートシステムに正常にログインできますが。

私はsmbについてはよくわかりませんが、私のsmb.confファイルは次のようになります。

[root@airflowetl etl]# cat /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
    workgroup = SAMBA
    security = user

    passdb backend = tdbsam

    printing = cups
    printcap name = cups
    load printers = yes
    cups options = raw

[homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes

[printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No

[print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @printadmin root
    force group = @printadmin
    create mask = 0664
    directory mask = 0775

[users]
    path = /samba/users
    browseable = yes
    read only = yes
    force create mode = 0660
    force directory mode = 2770
    admin users = @"DOMAIN+domain admins"

(私が設定したものではないので、なぜこのように設定されたのかという質問に答えることができないかもしれません。)これと他のフォーラムで見た答えに基づいて(https://askubuntu.com/a/109510/760862)コマンドにドメインとワークグループを含めました。

[root@airflowetl etl]# smbclient -U USER/my_user -L 172.18.7.102 -W SAMBA
Enter SAMBA\my_user's password: 
session setup failed: NT_STATUS_LOGON_FAILURE

...まだ動作しません。

次のように、マイコンピュータでホストされている共有SMBドライブにログインできます。

[root@airflowetl etl]# smbclient -U my_user \\\\H021BSBD20\shared_folder
Enter SAMBA\my_user 's password: 

ここで、H021BSBD20はリモートコンピュータのシステム設定に表示されるデバイス名なので、問題が何であるかわかりません。

もっと経験のある人は、ここで何が起こっているのか知っていますか?試すことができるデバッグ手順はありますか?私はここで何かを完全に誤解していますか?

ベストアンサー1

おすすめ記事