Set inherit flag type to bool.
authorWilco Baan Hofman <wilco@baanhofman.nl>
Mon, 24 May 2010 17:56:07 +0000 (19:56 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 20 Jun 2010 15:19:12 +0000 (17:19 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/policy/gp_ldap.c

index d03ea0430ba6c9eccf87bad904816d033eb768be..3e0d37dbcce981617531246b130a1f972f4c99cb 100644 (file)
@@ -398,7 +398,7 @@ NTSTATUS gp_list_gpos(struct gp_context *gp_ctx, struct security_token *token, c
        const char *sid;
        struct ldb_dn *dn;
        struct ldb_message_element *element;
        const char *sid;
        struct ldb_dn *dn;
        struct ldb_message_element *element;
-       int inherit;
+       bool inherit;
        const char *attrs[] = { "objectClass", NULL };
        int rv;
        NTSTATUS status;
        const char *attrs[] = { "objectClass", NULL };
        int rv;
        NTSTATUS status;