mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
s3: libsmbclient: Fix smbc_getxattr() to return 0 on success.
Remove knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14808 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Nov 1 18:31:22 UTC 2022 on sn-devel-184 (cherry picked from commit bdbb38d16c8eaff33484bb747efa639c4d8e7f35)
This commit is contained in:
parent
628a1c3382
commit
113536e0d7
@ -1 +0,0 @@
|
||||
^samba4.libsmbclient.getxattr.*
|
@ -2176,7 +2176,11 @@ SMBC_getxattr_ctx(SMBCCTX *context,
|
||||
errno = SMBC_errno(context, srv->cli);
|
||||
}
|
||||
TALLOC_FREE(frame);
|
||||
return ret;
|
||||
/*
|
||||
* static function cacl_get returns a value greater than zero
|
||||
* on success. Map this to zero meaning success.
|
||||
*/
|
||||
return ret < 0 ? -1 : 0;
|
||||
}
|
||||
|
||||
/* Unsupported attribute name */
|
||||
|
Loading…
x
Reference in New Issue
Block a user