我正在使用 Ubuntu 14.04 LTS,所有必需的软件包都已安装,并且我已经配置了/etc/samba/smb.conf
文件和/etc/krb5.conf
文件。服务器已成功加入 AD 服务器。
我尝试登录时出现以下错误:
Apr 10 01:16:50 myserver sshd[9700]: input_userauth_request: invalid user dir+souvik.dhar [preauth]
Apr 10 01:17:01 myserver CRON[9703]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 10 01:17:01 myserver CRON[9703]: pam_unix(cron:session): session closed for user root
Apr 10 01:17:01 myserver sshd[9700]: pam_winbind(sshd:auth): getting password (0x00000008)
Apr 10 01:17:01 myserver sshd[9700]: pam_winbind(sshd:auth): request wbcLogonUser failed: WBC_ERR_AUTH_ERROR, PAM error: PAM_AUTH_ERR (7), NTSTATUS: NT_STATUS_WRONG_PASSWORD, Error message was: Wrong Password
Apr 10 01:17:01 myserver sshd[9700]: pam_winbind(sshd:auth): user 'dir+souvik.dhar' denied access (incorrect password or invalid membership)
请帮助解决该问题。
答案1
问题出在您的 Linux 系统中的日期,请尝试将时间与域控制器同步。
ntpdate dc.mydomain.local