LinforPros IT Solutions
2017-Sep-26 18:06 UTC
[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 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
Marc Muehlfeld
2017-Sep-26 18:19 UTC
[Samba] Fedora 27 rawhide, samba needs a restart to launch krb5kdc
Hi, Am 26.09.2017 um 20:06 schrieb LinforPros IT Solutions via samba:> I need to restart samba.service each time a machine is rebooted. > > Is there a method to fix it?As you said: It's Fedora 27 _rawhide_. You should report a bug: https://bugzilla.redhat.com/ Please don't forget to attach logs, etc. Regards, Marc
Kukreja H.Kukreja
2017-Sep-26 18:38 UTC
[Samba] Fedora 27 rawhide, samba needs a restart to launch krb5kdc
Hi You can the try the below command in the terminal chkconfig --level 35 smb on Sent from my iPhone> On 26 Sep 2017, at 8:26 PM, Marc Muehlfeld via samba <samba at lists.samba.org> wrote: > > Hi, > >> Am 26.09.2017 um 20:06 schrieb LinforPros IT Solutions via samba: >> I need to restart samba.service each time a machine is rebooted. >> >> Is there a method to fix it? > > As you said: It's Fedora 27 _rawhide_. You should report a bug: > https://bugzilla.redhat.com/ > Please don't forget to attach logs, etc. > > > Regards, > Marc > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
LinforPros IT Solutions
2017-Sep-27 19:02 UTC
[Samba] Fedora 27 rawhide, samba needs a restart to launch krb5kdc
On Tue, 26 Sep 2017 20:19:03 +0200 Marc Muehlfeld <mmuehlfeld at samba.org> wrote:> Hi, > > As you said: It's Fedora 27 _rawhide_. You should report a bug: > https://bugzilla.redhat.com/ > Please don't forget to attach logs, etc.Ok, I just opened a bug over there. But in the meantime found out that: Systemctl status samba.service shows the following as well: feddc samba[658]: task_server_terminate: [KDC: no network interfaces configured] It seems to correspond to samba/source4/kdc/kdc-service-mit.c /* Load interfaces for kpasswd */ load_interface_list(task, task->lp_ctx, &ifaces); if (iface_list_count(ifaces) == 0) { task_server_terminate(task, "KDC: no network interfaces configured", false); return; } But I have no skills to fix it. Any hints from anybody? Thank you Lin
Apparently Analagous Threads
- Fedora 27 rawhide, samba needs a restart to launch krb5kdc
- ldbsearch fails due to LDB_MODULES_PATH not set, is it critical for ADDC operation?
- Compiling Samba 4.7 with systemd support on Fedora 26
- ldbsearch fails due to LDB_MODULES_PATH not set, is it critical for ADDC operation?
- samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)