Web lists-archives.com

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




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@feddc ~]# kinit administrator
Password for administrator@xxxxxxxxxxxxxxxxxxxxxxxx: 
[root@feddc ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@xxxxxxxxxxxxxxxxxxxxxxxx

Valid starting       Expires              Service principal
09/26/2017 12:58:37  09/26/2017 22:58:37
krbtgt/DC-STATIC.LUUFORPROS.COM@xxxxxxxxxxxxxxxxxxxxxxxx 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

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