From: Ralph Boehme Date: Thu, 16 Mar 2017 16:52:50 +0000 (+0100) Subject: winbindd: remove trailing spaces in get_cache() X-Git-Tag: tdb-1.3.13~443 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da5e256b9b209bde23f5025233c43f7022907f73;p=thirdparty%2Fsamba.git winbindd: remove trailing spaces in get_cache() Trailing spaces are annoyingly highlighted red in my emacs setup so I'd like to get rid of them. :) Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Mar 17 00:20:17 CET 2017 on sn-devel-144 --- diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index f730f7597c4..98c69f8b231 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -145,17 +145,17 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) init_dc_connection(domain, false); } - /* + /* OK. Listen up because I'm only going to say this once. We have the following scenarios to consider (a) trusted AD domains on a Samba DC, (b) trusted AD domains and we are joined to a non-kerberos domain (c) trusted AD domains and we are joined to a kerberos (AD) domain - For (a) we can always contact the trusted domain using krb5 + For (a) we can always contact the trusted domain using krb5 since we have the domain trust account password - For (b) we can only use RPC since we have no way of + For (b) we can only use RPC since we have no way of getting a krb5 ticket in our own domain For (c) we can always use krb5 since we have a kerberos trust @@ -167,7 +167,7 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) if (domain->backend == NULL) { struct winbindd_domain *our_domain = domain; - /* find our domain first so we can figure out if we + /* find our domain first so we can figure out if we are joined to a kerberized domain */ if (!domain->primary) {