summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/update_keytab.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2013-06-12 14:49:53 -0700
committerJeremy Allison <jra@samba.org>2013-06-13 01:43:17 +0200
commit5c488cfb79873287e769622fd5da43b7a735e29c (patch)
treef1b58574a21c130776da6e9da120917f181bb25e /source4/dsdb/samdb/ldb_modules/update_keytab.c
parentd6ce1402a964858bf40b23f34df01f1f01839d3a (diff)
downloadsamba-5c488cfb79873287e769622fd5da43b7a735e29c.tar.gz
samba-5c488cfb79873287e769622fd5da43b7a735e29c.tar.bz2
samba-5c488cfb79873287e769622fd5da43b7a735e29c.zip
Initialize the file descriptor in the files_struct before trying to close it. Otherwise, if one of the SETXATTR calls had failed, the close() call will return EBADF.
Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <rsharpe@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 13 01:43:18 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/update_keytab.c')
0 files changed, 0 insertions, 0 deletions