s3:smbcacls: Add support for DFS path
commitcd5a2d015bfe62b2ff334c1ebf34e371e7cf1238
authorAnubhav Rakshit <anubhav.rakshit@gmail.com>
Sun, 7 Jun 2020 19:09:59 +0000 (8 00:39 +0530)
committerJeremy Allison <jra@samba.org>
Tue, 7 Jul 2020 23:03:00 +0000 (7 23:03 +0000)
treec4c661f981d4610319b2104da598be806fa19c38
parent449259f6e1fbfb41a03d502a277b5f1fccd2182b
s3:smbcacls: Add support for DFS path

smbcacls does not handle DFS paths correctly. This is beacuse once the
command encounters a path which returns STATUS_PATH_NOT_COVERED, it does
not attempt a GET REFERRAL.

We use cli_resolve_path API to perform a DFS path resolution to solve
the above problem.

Additionally this removes the known fail against smbcacls tests
Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul  7 23:03:00 UTC 2020 on sn-devel-184
selftest/knownfail.d/smbcacls
source3/utils/smbcacls.c