]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libnetjoin: fix Bug #5570.
authorGünther Deschner <gd@samba.org>
Thu, 3 Jul 2008 10:01:36 +0000 (12:01 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 3 Jul 2008 10:02:01 +0000 (12:02 +0200)
Thanks to Atte Peltomäki.

Guenther

source/libnet/libnet_join.c

index 4a2a658497db8245731ee9228450c32c0e74555d..6b6491b5b8ea45298def1b0201dc1094a1e79a39 100644 (file)
@@ -503,7 +503,7 @@ static bool libnet_join_create_keytab(TALLOC_CTX *mem_ctx,
                return true;
        }
 
-       if (!ads_keytab_create_default(r->in.ads)) {
+       if (ads_keytab_create_default(r->in.ads) != 0) {
                return false;
        }