From 6ac34fdef0f5fa26b973a219e992f4f6472d8c9e Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 28 Jul 2011 17:51:37 +0200 Subject: Wrong paramater to sysdb_attrs_add_uint32 --- src/providers/ldap/sdap_async_accounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers') diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index 581abc60..40e12150 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -678,7 +678,7 @@ sdap_store_group_with_gid(TALLOC_CTX *mem_ctx, /* make sure that non-posix (empty or explicit gid=0) groups have the * gidNumber set to zero even if updating existing group */ if (!posix_group) { - ret = sysdb_attrs_add_uint32(mem_ctx, SYSDB_GIDNUM, 0); + ret = sysdb_attrs_add_uint32(group_attrs, SYSDB_GIDNUM, 0); if (ret) { DEBUG(2, ("Could not set explicit GID 0 for %s\n", name)); return ret; -- cgit