[Samba] Fedora 27 rawhide, samba needs a restart to launch krb5kdc

LinforPros IT Solutions linforpros at gmail.com
Tue Sep 26 18:06:25 UTC 2017


Hi,
The following problem:

[root]#kinit administrator
kinit: Cannot contact any KDC for realm 'DC-STATIC.LUUFORPROS.COM' while
getting initial credentials


A restart of samba.service finally starts krb5kdc:
[root]#systemctrl restart samba

[root]# ps axf |grep krb
 1249 pts/0    S+     0:00              \_ grep --color=auto krb
 1212 ?        S      0:00  |       \_ /usr/sbin/krb5kdc -n

and now:
[root at feddc ~]# kinit administrator
Password for administrator at DC-STATIC.LUUFORPROS.COM: 
[root at feddc ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator at DC-STATIC.LUUFORPROS.COM

Valid starting       Expires              Service principal
09/26/2017 12:58:37  09/26/2017 22:58:37
krbtgt/DC-STATIC.LUUFORPROS.COM at DC-STATIC.LUUFORPROS.COM renew until
09/27/2017 12:58:27

I need to restart samba.service each time a machine is rebooted.

Is there a method to fix it?

Thanks
Lin



More information about the samba mailing list