summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-07-28 17:51:37 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-08-01 07:27:08 -0400
commit6ac34fdef0f5fa26b973a219e992f4f6472d8c9e (patch)
tree3cd8ec4d530812c68660559b281853aefd6b565b
parentca3f3ecb81193d13b9cc0f0c229d532026cf7f0b (diff)
downloadsssd-6ac34fdef0f5fa26b973a219e992f4f6472d8c9e.tar.gz
sssd-6ac34fdef0f5fa26b973a219e992f4f6472d8c9e.tar.xz
sssd-6ac34fdef0f5fa26b973a219e992f4f6472d8c9e.zip
Wrong paramater to sysdb_attrs_add_uint32
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 581abc609..40e121504 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;