diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-09 21:39:25 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-10 10:28:14 +0200 |
commit | 6b758f3a86da4e7a1924d46eebda0f3144c8c979 (patch) | |
tree | 64c49c22f97ff52384eab03a7df05758d74a26cc /src/providers | |
parent | 73505920a70e33977e84c69b4c3c598f683b7526 (diff) | |
download | sssd-6b758f3a86da4e7a1924d46eebda0f3144c8c979.tar.gz sssd-6b758f3a86da4e7a1924d46eebda0f3144c8c979.tar.bz2 sssd-6b758f3a86da4e7a1924d46eebda0f3144c8c979.zip |
KRB5: cancel the sysdb transaction on one place only
https://fedorahosted.org/sssd/ticket/1516
If sysdb_set_user_attr failed, we would cancel the transaction, then go
to the error handler and attempt to close it again.
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/krb5/krb5_auth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c index c3a9e62d..18209d71 100644 --- a/src/providers/krb5/krb5_auth.c +++ b/src/providers/krb5/krb5_auth.c @@ -165,7 +165,6 @@ static int krb5_mod_ccname(TALLOC_CTX *mem_ctx, ret = sysdb_set_user_attr(sysdb, name, attrs, mod_op); if (ret != EOK) { DEBUG(6, ("Error: %d (%s)\n", ret, strerror(ret))); - sysdb_transaction_cancel(sysdb); goto done; } |