diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 8a7feaefe..9a8d9fab5 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -1350,7 +1350,8 @@ int sysdb_add_user(struct sss_domain_info *domain, } ret = sysdb_set_user_attr(domain, name, id_attrs, SYSDB_MOD_REP); - goto done; + /* continue on success, to commit additional attrs */ + if (ret) goto done; } if (!attrs) { |