Web lists-archives.com

Re: [Samba] SSH with User in Member Domain




Uhum, i tested with ssh:

 ssh XXX@FILESERVER

 journalctl -f

Jan 16 18:28:42 HOSTNAME  sshd[2250]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=IP-SOURCE  user=XXXXX Jan 16 18:28:43 HOSTNAME  sshd[2250]: Failed password for XXXX from IP-SOURCE  port 39896 ssh2

Regards;



On 16-01-2018 18:25, Rowland Penny via samba wrote:
On Tue, 16 Jan 2018 18:10:00 -0200
Carlos via samba <samba@xxxxxxxxxxxxxxx> wrote:

Yes and the permissions are ok too.

getent passwd XXXX
XXXX:*:11109:10513::/home/<DOMAIN>/XXXXX:/bin/bash

Good, just checking that the users are know and winbind & nsswitch is
working.

I exected comand(simulated ssh):

login XXXX
That is not how I would use ssh (in fact you don't seem to be using ssh)

rowland@devstation:~$ ssh rowland@dc3
rowland@dc3's password:
Linux dc3 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) x86_64

The programs included with the Devuan GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Devuan GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jan 16 20:16:04 2018 from devstation.samdom.example.com

The programs included with the Devuan GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Devuan GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
SAMDOM\rowland@dc3:~$

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba