Knowledge Partner
Knowledge Partner
328 views

How to find who is sharing folders

A new manager (on a single PO system) asked for a list of users who
have:
- Granted others Proxy access
- Are using rules
- Are sharing folders

The first two are easy enough
1) run a GWCheck Analyze/Fix Contents with verbose logging (takes a
bit longer than normal Contents but has a MUCH larger output, about 30+
times the size)
2) on a system with egrep
egrep "user =|Access granted" content.log >proxy.txt
egrep "user =|RULE_RECORD" content.log >rulzusrs.txt

but the shared folders just don't show there in that most logical
place, nor can I find them anywhere else. Anyone have any ideas of
where else a list of users with Shared folders could be extracted?



Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
Labels (1)
0 Likes
2 Replies
mblackham Absent Member.
Absent Member.

Re: How to find who is sharing folders

Not sure exactly when this was added, but should be in later releases. There is an REST API endpoint for a user to tell you how many shared folders the user has. This was added so that if you delete a user that has shared a folder, you will get prompted what to do.

the REST endpoint is

https://10.10.10.10:9710/gwadmin-service/domains/mydom/postoffices/mypo/users/abbynormal/sharedfolders

the return is:

<sharedFolders xmlns:ns2="http://www.w3.org/2005/Atom">
<sharedFolderCount>3</sharedFolderCount>
</sharedFolders>

--Morris

----------
Anyone have any ideas of
where else a list of users with Shared folders could be extracted?



Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!
0 Likes
Knowledge Partner
Knowledge Partner

Re: How to find who is sharing folders

In article <mblackham.81fg5b@no-mx.forums.microfocus.com>, Mblackham
wrote:
> Not sure exactly when this was added, but should be in later releases.
> There is an REST API endpoint for a user to tell you how many shared
> folders the user has.


Beautiful, it is there in 14.2.2-126868
I tried to be fancy with a wildcard * for the user name to see if it
would do them all, but <sigh> that didn't do the trick <sigh>
Just means we have to hit each one at a time, or rustle up a programmer.
At least it is another reason to get that particular client to upgrade as
they are still on 2012.


Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.