s3: lib/xattr_tdb: fix listing xattrs
authorRalph Boehme <slow@samba.org>
Thu, 28 Jun 2018 19:47:54 +0000 (21:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 24 Jul 2018 22:23:12 +0000 (00:23 +0200)
commit7d1de8bd48c0ea1e0ddd9f103d6fb1c7c3855c93
tree321945d7760e16cdda4ce34e14a3b125667d5c6b
parent1bc92d1090cb26b66c84e46b76411e6481869866
s3: lib/xattr_tdb: fix listing xattrs

If there's no record in the xattr.tdb, dbwrap_fetch() will return
NT_STATUS_NOT_FOUND. That should not result in an error in callers of
xattr_tdb_load_attrs().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/xattr_tdb.c