[Samba] smbclient and Kerberos

Kevr kevr at protonmail.com
Fri Nov 4 22:35:06 UTC 2016

I uninstalled avahi-daemon and disabled dnsmasq in NetworkManager.conf, restarted and still the same. THe nameserver in /etc/resolv.conf is now my nameserver(not using a DC, running apacheds ldap/kerberos combo and bind) and not

And please guys don't spend too much time on this. I am fine with accepting the fact that smbclient does honour the dns kdc lookup. Its more likely a quirk with my lab set up and I can alter my documentation accordingly.

Thank you Rowland, Mike for your time. If ever you are in Salford UK, the beers are on me.

Kevin Ratcliffe

Sent from [ProtonMail](https://protonmail.ch)

-------- Original Message --------
Subject: Re: [Samba] smbclient and Kerberos
Local Time: 4 November 2016 10:03 PM
UTC Time: 4 November 2016 22:03
From: samba at lists.samba.org
To: samba at lists.samba.org <samba at lists.samba.org>

On Fri, 04 Nov 2016 17:56:09 -0400
Kevr <kevr at protonmail.com> wrote:

> My /etc/nsswitch.conf contains:
> hosts: files dns
> if thats what you mean? All my hosts in my test lab are clean
> installs of Ubuntu with very little else touched other than the stuff
> needed for testing kerberos and samba.

No, try running this on your linux clients and DCs:

ps ax | grep [a]vahi

If you get any output, then avahi is running and could be getting in
the way, if it is running, try stopping it.

If you are using Network Manager, then this uses dnsmasq, open its conf
file, find the dnsmasq line and comment it out.

Check that the nameserver in /etc/resolv.conf is the DCs ipaddress.


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