0 votes

Hi *,

has anybody implemented a sharemanagement?
We want to manage file shares not only for users but for departments or projects.
Is that possible? How can I create an object representing that share (and add further details like owner, department, description, write group, read group,...)?

Thanks in advance!

by (200 points)

1 Answer

0 votes
by (299k points)
selected by
Best answer

Hello,
Yes, it is possible. To create a Shared folder in Adaxes Administration Console:

  1. Navigate to and right-click the OU/Container where you want to create the Shared folder.
  2. In the context menu, navigate to New and click Shared Folder.
  3. Follow the instructions in the wizard that opens.

To display existing Shared folders in Adaxes Web Interface:

  1. Open Adaxes Web Interface Configurator.
  2. In the top left corner, select the Web Interface you need.
  3. In the left pane, click Browsing.
  4. In the Filter Options section, click Add.
  5. Select the Volume Object type and click OK.
  6. Optionally, select an icon for the Object type and click OK.
  7. Save the changes.

To have the possibility to create and modify Shared folders using Adaxes Web Interface, you need to customize corresponding forms for the Volume Object type. For details, see https://www.adaxes.com/tutorials_WebInt ... diting.htm.

0

Thanks for your fast help!

How can I search for the volume object type? I can only choose "People, Groups, Computers, OUs" in the web config interface.
Is it possible to allow the search for volumes?

Thanks in advance!

0

Hello,

Yes, it is possible. You will need to add the volume object type to the Advanced Search configuration using the below script. Execute the script in Windows PowerShell on the computer where Adaxes service is installed. When prompted, specify the credentials of the Adaxes service account.

In the script:

  • $webUIConfigurationName - specifies the name of the Web Interface configuration of which will be updated;
  • $objectTypes - specifies an array of object types that will be added to the Advanced Search configuration;
  • $displayName - specifies the display name for the object types specified in $objectTypes;
  • $searchByDefault - specifies whether searching the object types will be enabled by default.
  • $visible - specifies whether the new entry will be visible when performing Advanced search in the Web Interface.
[Reflection.Assembly]::LoadWithPartialName("Softerra.Adaxes.Adsi")

$webUIConfigurationName = "HelpDesk" # TODO: modify me
$objectTypes = @("volume") # TODO: modify me
$displayName = "Shared folders" # TODO: modify me
$searchByDefault = $True # TODO: modify me
$visible = $True # TODO: modify me

# Bind to Adaxes service
$admNS = New-Object "Softerra.Adaxes.Adsi.AdmNamespace"
$admService = $admNS.GetServiceDirectly("localhost")

# Get Web Interface configuration
$webuiConfigPath = $admService.Backend.GetConfigurationContainerPath(
    "WebUIConfigurationContainer")

$credential = Get-Credential
$webuiConfigContainer = $admService.OpenObject($webuiConfigPath, $credential.UserName, $credential.GetNetworkCredential().Password, 0)
$webUIConfiguration = $webuiConfigContainer.GetConfiguration($webUIConfigurationName)

$searchSettings = $webUIConfiguration.SearchSettings
$advancedSearchObjectTypes = $searchSettings.AdvancedSearchObjectTypes
foreach ($objectType in $advancedSearchObjectTypes)
{
    if (@(Compare-Object $objectType.DirectoryObjectTypes $objectTypes).Length -eq 0)
    {
        $message = "Object types array specified for: " + $objectType.DisplayName
        Write-Warning $message
        return
    }
}

# Add object type to Advanced Search
$searchObjectType = New-Object Softerra.Adaxes.Management.WebUI.Search.AdmWebUISearchObjectType
$searchObjectType.DirectoryObjectTypes = $objectTypes
$searchObjectType.DisplayName = $displayName
$searchObjectType.SearchByDefault = $searchByDefault
$searchObjectType.Visible = $visible

$advancedSearchObjectTypes += $searchObjectType
$searchSettings.AdvancedSearchObjectTypes = $advancedSearchObjectTypes
$webUIConfiguration.SearchSettings = $searchSettings

# Save the changes
$webUIConfiguration.SetInfo()
0

Nice, thanks again! :)

Related questions

0 votes
1 answer

What are the minimum security role requirements required for vieiwing management history within the Web GUI. I have granted the following to any authenticated users They are ... permissions should be required for allowing viewing this report in the Web GUI.

asked Feb 10 by KoleArmstrong (120 points)
0 votes
1 answer

We're delegating admin rights to our various IT departments, only giving them access over their stuff under their OUs. They're missing the option to see the group membership ... on user's management history, is there another approach that I'm not aware of?

asked Sep 18, 2024 by felix (170 points)
0 votes
1 answer

Hello there, We have recently moved (almost) every computer from on-prem to cloud only and have setup some scheduled tasks to disable users based off of Last Logon and Last Logon ... in a different way? And if not, are there any plans to leverage that data?

asked May 21, 2024 by jacobchugg (20 points)
0 votes
1 answer

We need to know specifically for self service password management what level of access in AD do I specifically need.

asked May 9, 2024 by justinspring (20 points)
0 votes
1 answer

We are looking for a way to allow AD users to manage group memberships of groups they have been set as Manager for - and would like to know if we can achieve this with Adaxes? We are thinking a easy to use web portal.

asked Apr 17, 2024 by Nicolaj Rasmussen (20 points)
3,633 questions
3,321 answers
8,398 comments
548,760 users