[Samba] samba4 internal dns Server ddns for the reverse lookup Zoneable

steve steve at steve-ss.com
Mon Aug 25 15:15:18 MDT 2014


On Mon, 2014-08-25 at 22:32 +0200, Markus Roth wrote:
> Hi Steve, hi Rowland,
> 
> i don't know if i stored the shadow passwd in ad :-\ i think in on of our last mails i sould set this in the nsswitch.conf?
> 
> @Rowland
> i changed ldap_id_mapping on true but with no result
> 
> @Steve
> for the commands i get the following:
> 
> [root at server1 run]# klist -k
> Keytab name: FILE:/etc/krb5.keytab
> KVNO Principal
> ---- --------------------------------------------------------------------------
>    1 server1$@WINNET.LOCAL
>    1 server1$@WINNET.LOCAL
>    1 server1$@WINNET.LOCAL
>    1 server1$@WINNET.LOCAL
>    1 server1$@WINNET.LOCAL
Perfect

> [root at server1 run]# sssd -i -d3
> (Mon Aug 25 22:15:04:201426 2014) [sssd] [server_setup] (0x0010): Error creating pidfile: /var/run/sssd! (17 [File exists])
> [root at server1 run]# rm -dfr sssd.pid 
> [root at server1 run]# sssd -i -d3

OK, pretty easy this one:
> (Mon Aug 25 22:15:21 2014) [sssd[be[winnet.local]]] [ad_get_client_site_connect_done] (0x0080): Unable to connect to domain controller [server1.winnet.local:389]

And then it finally gives up:
> (Mon Aug 25 22:15:21 2014) [sssd[be[winnet.local]]] [ad_subdomains_get_conn_done] (0x0080): No AD server is available, cannot get the subdomain list while offline
> (Mon Aug 25 22:15:21 2014) [sssd[nss]] [sss_mc_create_file] (0x0010): Failed to lock file /var/lib/sss/mc/passwd.
And then it confirms:
> (Mon Aug 25 22:15:21 2014) [sssd[nss]] [sss_mc_create_file] (0x0010): Failed to lock file /var/lib/sss/mc/group.
> (Mon Aug 25 22:18:40 2014) [sssd[nss]] [nss_cmd_getby_dp_callback] (0x0040): Unable to get information from Data Provider

This is usually DNS. So, let's us a big hammer:

add:
ad_hostname server1.winnet.local
ad_server server1.winnet.local
to the domain/ section of sssd.conf
and sssd -i -d3 again

If still nothing please post outputs for:
host server1.winnet.local
ping server1
hostname -d
hostname -f
hostname -s

The log of the DC when you start sssd:
easier to start samba as:
samba -i -d3
and watch live

The contents of:
/etc/hosts
/etc/hostname

HTH,
Steve





More information about the samba mailing list