[Samba] Unable to ssh to dc
Rowland Penny
rpenny at samba.org
Tue Jun 13 19:44:44 UTC 2023
On 13/06/2023 20:19, Rob Campbell via samba wrote:
> kinit newtestuser
> kinit: Cannot find KDC for realm "HOME.ROB-CAMPBELL.LAN" while getting
> initial credentials
>
> What OS are you running ?
>>
> Debian 11
>
>> Does the directory /home/newtestuser exist ?
>
> It does not
>
>> Or do you need to get your
>> distro to create it at the users first logon ?
>>
> It is created on first logon.
>
>>
>> Also have you checked if winbind is actually running:
>> ps ax | grep 'winbind'
>>
> root 3390186 0.0 0.0 132728 27688
> <http://voice.google.com/calls?a=nc,%2B13272827688>? S 14:09
> 0:00 samba: task[winbindd] pre-fork master
> root 3390193 0.0 0.1 136804 55000 ? Ss 14:09 0:00
> /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
> root 3390225 0.0 0.1 137204 43392 ? S 14:09 0:00
> winbindd: domain child [HOME]
> root 3390234 0.0 0.1 136804 37376 ? S 14:09 0:00
> winbindd: idmap child
> root 3390326 0.0 0.1 136896 39712 ? S 14:10 0:00
> winbindd: domain child [BUILTIN]
> root 3403087 0.0 0.0 6372 712 pts/0 S+ 15:16 0:00 grep
> --color=auto -E winbind
OK, this a bit weird, I run my DC's on a couple of Raspberry pi4's,
which are running a Debian 11 variant and it works for me, which I know
is no comfort to you.
rowland at devstation:~$ ssh rowland at rpidc1
rowland at rpidc1's password:
Linux rpidc1 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023
aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jun 13 19:35:40 2023 from 192.168.1.5
The only thing I can think of is that you have something setup
incorrectly, so can you please post the contents of the following files:
/etc/hostname
/etc/hosts
/etc/resolv.conf
/etc/krb5.conf
/etc/samba/smb.conf
Can you please check that time on both machines is the same.
Lets go from there.
Rowland
More information about the samba
mailing list