[Samba] ssh not connecting to Active Directory in Fedora 25 workstation, wbinfo -u works; child_read_request: read_data failed: NT_STATUS_CONNECTION_RESET
Rowland Penny
rpenny at samba.org
Tue May 9 15:48:20 UTC 2017
On Tue, 9 May 2017 11:34:27 -0400
Robert Kudyba <rkudyba at fordham.edu> wrote:
> > You also only need this in /etc/krb5/conf for Samba:
> >
> > [libdefaults]
> > default_realm = DSDEV.LOCAL
> > dns_lookup_realm = false
> > dns_lookup_kdc = true
>
> OK I had dns_lookup_kdc = true just changed dns_lookup_realm = false.
> Restarted smb and winbind.
>
>
> > The first two lines in yours have been known to confuse Samba.
>
> Do you mean the include lines? Should I comment them out?
Er no, when I said you only need what I posted, I meant that
your /etc/krb.conf should only contain the 4 lines I posted.
>
> Still getting:
> debug2: we sent a password packet, wait for reply
> debug1: Authentications that can continue:
> publickey,gssapi-keyex,gssapi-with-mic,password Permission denied,
> please try again.
>
> May 9 11:32:30 our sshd[32423]: input_userauth_request: invalid user
> myuser [preauth] May 9 11:32:40 our sshd[32423]: Failed password for
> invalid user myuser from x.x.x.x port 63258 ssh2
>
If you run 'getent passwd myuser' on the machine you are trying to
connect to, do you get any output ?
Rowland
More information about the samba
mailing list