[Samba] Cannot contact any KDC for requested realm
L.P.H. van Belle
belle at bazuin.nl
Wed Jul 18 12:08:02 UTC 2018
Hai,
I think .. your missing in resolv.conf
search duck
nameserver 192.168.1.221
And whats the OS and Samba version?
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Anton Blau via samba
> Verzonden: woensdag 18 juli 2018 13:50
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Cannot contact any KDC for requested realm
>
> Hello,
>
> please excuse my bad englisch. I am not a native speaker.
>
> I try to install Samba 4 as a active directory domain
> controller but I
> get always this message in the /var/log/syslog:
>
> Jul 18 11:42:41 file winbindd[1100]: [2018/07/18 11:42:41.609594, 0]
> ../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache)
> Jul 18 11:42:41 file winbindd[1100]: initialize_winbindd_cache:
> clearing cache and re-creating with version number 2
> Jul 18 11:42:41 file winbindd[1100]: [2018/07/18 11:42:41.933317, 0]
> ../lib/util/become_daemon.c:124(daemon_ready)
> Jul 18 11:42:41 file winbindd[1100]: STATUS=daemon
> 'winbindd' finished
> starting up and ready to serve connections
> Jul 18 11:42:42 file smbd[1099]: [2018/07/18 11:42:42.114985, 0]
> ../lib/util/become_daemon.c:124(daemon_ready)
> Jul 18 11:42:42 file smbd[1099]: STATUS=daemon 'smbd' finished
> starting up and ready to serve connections
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176270, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]:
> /usr/sbin/samba_dnsupdate: Traceback
> (most recent call last):
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176363, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate: File
> "/usr/sbin/samba_dnsupdate", line 614, in <module>
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176400, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate:
> get_credentials(lp)
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176426, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate: File
> "/usr/sbin/samba_dnsupdate", line 125, in get_credentials
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176449, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate: raise e
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176479, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate:
> RuntimeError: kinit for FILE$@SMBDOMAIN.FILE.DUCK failed
> (Cannot contact
> any KDC for requested realm)
> Jul 18 11:42:42 file samba[1094]: [2018/07/18 11:42:42.176609, 0]
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
> Jul 18 11:42:42 file samba[1094]: /usr/sbin/samba_dnsupdate:
> Jul 18 11:42:42 file postfix/master[1201]: daemon started -- version
> 2.11.3, configuration /etc/postfix
> Jul 18 11:43:37 file smbd[1172]: [2018/07/18 11:43:37.881686, 0]
> ../lib/util/pidfile.c:153(pidfile_unlink)
> Jul 18 11:43:37 file smbd[1172]: Failed to delete pidfile
> /var/run/samba/smbd.pid. Error was No such file or directory
> Jul 18 11:43:37 file samba[1082]: [2018/07/18 11:43:37.884606, 0]
> ../file_server/file_server.c:48(file_server_smbd_done)
> Jul 18 11:43:37 file samba[1082]: file_server smbd daemon
> exited normally
> Jul 18 11:43:37 file samba[970]: [2018/07/18 11:43:37.885830, 0]
> ../source4/smbd/server.c:211(samba_terminate)
> Jul 18 11:43:37 file samba[970]: samba_terminate: smbd
> child process
> exited
>
> /etc/samba/smb.conf
>
> # Global parameters
> [global]
> workgroup = SMBDOMAIN
> realm = SMBDOMAIN.FILE.DUCK
> netbios name = FILE
> server role = active directory domain controller
> dns forwarder = 192.168.1.254
> idmap_ldb:use rfc2307 = yes
>
> [netlogon]
> path = /var/lib/samba/sysvol/smbdomain.file.duck/scripts
> read only = No
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
> /etc/hosts
>
> 127.0.0.1 localhost
> ::1 localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> # --- BEGIN PVE ---
> 192.168.1.221 file.duck file
> # --- END PVE ---
>
> What is wrong in my configruation?
>
>
> Thank you!
>
>
> Tony
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list