Open icarusmiles opened 2 years ago
It appears this happens because the script assumes the Active Directory is shared.
Added some logic, maybe messy and could use a touchup. Will look for root directory ID first, then override if share exists.
OwnerDirectoryDescription
does not seem to exist on Centos 7.9OwnerDirectoryDescription does exist, it shows only when Directories are shared.
@smhmhmd It only exists if shared. So what about when the directory isn't shared? The docs don't indicate that this will only work on shared directories. This script is broken if the directory is not shared. If OwnerDirectoryDescription
doesn't exist then why not just take DirectoryId
if it exists?
Thanks, I will help @VishnuKarthikRavindran check this and take the contribution in.
OwnerDirectoryDescription
does not seem to exist in the query results.... running on Centos 7.9Results in: null (incorrect)
--
Results in: d-* (correct)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.