Skip to content
GenerateDocs
What's new
Edition settingsNetwork file shares
On this page

Connect network file shares with their permissions

Register filers, NFS shares and an LDAP directory in Generate's storage edition, so each person searches only the files the file server lets them read.

EditionsEnterprise: not availableConsumer: not availableStorage: availableHealthcare: not availableAirgapped: not available
Who can do thisA person whose team grants the NFS shares privilege.
WhereAdmin settings, then File storage.

This page shows an administrator how to let Generate search NFS exports in place while keeping each person to the files their own account may read.

The file server decides every request for the person asking, and no administrator screen reads file text. Administering a share never grants reading it: no screen lets an administrator read a file they could not already read, and there is no override.

Setting up a share takes four links, and Admin settings, then Access, then Overview shows whether they reach each other.

Link What it is
Sign-in The identity provider people sign in with. Shares need single sign-on accounts. See Set up single sign-on and SCIM.
Directory The LDAP directory your file server takes user and group numbers from.
The join Which sign-in claim matches a directory entry.
Filers and Shares The storage machine and the exports on it.

Until a provider is joined to a directory, nobody resolves to a file identity, and every permission-checked search returns nothing.

Each link on Overview reads Ready, Not set up or Needs attention, with Open to go to its tab, and a Next step names the action that unblocks the chain, such as Link a directory. Below the chain, Enforcement floor shows the weakest access rule your workspace may use. The platform operator sets it, not this screen; a share may always use a stronger rule.

Point Generate at the LDAP directory and join it to a sign-in provider. File storage numbers Directories, Filers and Shares as setup steps 1 to 3, and ticks each once it holds one. If you signed in with a password, a notice says file storage needs a single sign-on account, with Set up SSO and Sign in with SSO: only a single sign-on account carries the directory identity these screens check permissions as.

  1. Select Add

    Open File storage, then Directories, and select Add directory. The dialog has four steps: Connect, Storage accounts, Sign-in mapping and Verify.

  2. Enter the directory’s details

    Enter a Name, the LDAP URL (LDAPS on port 636 is preferred), the Base DN, a Bind DN and its Bind password. Use a dedicated read-only account for the bind.

  3. Set the identity cache

    Set the Identity cache TTL (seconds). It is a security setting: a person removed from a group keeps reading that group’s files for up to this long.

  4. Test and save

    Select Test connection, which binds and then reads the base DN, then Save and continue.

  5. Link the sign-in provider

    On Sign-in mapping, pick the sign-in provider whose users live in this directory and the claim that identifies them, then select Link and continue.

When someone’s group membership changes and they need it at once, open the directory and select Refresh identity with their email. Only their groups are re-read; no share is walked again.

Register the storage machine your exports live on, once for all its shares.

  1. Select Add filer

    Open File storage, then Filers, and select Add filer.

  2. Pick the platform

    The dialog has four steps: Platform, Connect, Identity and Check and save. Under Platform, pick NetApp ONTAP (FSx for ONTAP, on-premises ONTAP or Cloud Volumes ONTAP), Azure NetApp Files, Google Cloud NetApp Volumes or Other NFS. Select Download setup guide for that platform’s preparation steps.

  3. Work through Connect and Identity

    On Connect, set how Generate reaches the filer and its credentials; for ONTAP, the read-only role commands fill in from the account, sign-in method and storage VM. On Identity, pick the Directory that resolves the names in its permissions.

  4. Select Add filer

    The checks run when you reach Check and save, mounting one export and reporting what it saw. Select Add filer.

On a site that keeps its own data on ONTAP, Filers offers that system first, with Register this filer, its platform and storage VM filled in. Every share on a filer reuses its credentials and identity settings. Network details lists the addresses Generate mounts from over NFSv4.1; give them to your storage team for the export policy and firewall. Where the exports admit only hosts in the storage network, select Get agent command and run the command once on a Linux host there. The agent dials out to Generate over HTTPS, so no inbound rule is needed.

Add one export from a filer to search.

  1. Select Register share

    Open File storage, then Shares, and select Register share.

  2. Identify the export

    On Export, pick the Filer, then the export from those it lists. The Display name, which people see on citations, fills in from the export; mount settings are optional.

  3. Set the scope

    On Scope, keep The whole export, or choose Only part of it and list Only these folders, Never these folders, Only these file types and Modified on or after. Scope controls cost, not access; people still see only what the file server permits.

  4. Check and register

    On Check and register, Generate checks the export is reachable and eligible and shows what it found. Choose an Indexing mode, where the one that fits is marked Recommended, and the rule under Who may read a file here, then select Register share.

Semantic indexing is a separate switch, off by default, that lets Generate keep a copy of document text for semantic search. Remove from search deletes a share’s indexed text later without touching the files.

Under Who may read a file here, pick the rule that decides access on the share (NFSv4 permission entries, POSIX mode bits, Directory group membership or Platform-managed containment) and how often, in days, the share is read again. That interval bounds how long a removed person keeps reaching content.

Decide what Generate reads, and which projects get a share.

  1. Review the estimate

    Binding a share to a project, or adding a subtree, asks for an estimate in files and minutes. Nothing is read until a person approves the cost, and the share waits in Awaiting approval.

  2. Select Approve walk

    Generate starts reading the share.

  3. Decide project requests

    Project members can ask for a share in their project. Their requests wait in File storage, then Access requests, with Status set to Pending; select Approve or Reject on a row, and decided ones move to Resolved.

Let people write to a share as themselves, with an account in the directory.

  1. Set up the write account

    The directory needs a tested write account first, set under its Storage accounts.

  2. Open Users

    In Access, then Users, the Storage column shows each person’s state.

  3. Select Set up storage account…

    Select it on one person, or select up to 50 people and use the bulk action.

Mode What Generate keeps
Catalogue Names, paths and permissions
Peek Plus the first part of each file, so keyword search matches openings
Full Plus the complete extracted text

Where backup is set up for your site, Data Protection shows Overview, Snapshots, Backup schedules, Replication & DR and Activity, read from the NetApp ONTAP system that holds Generate’s own data.

Tab What it shows
Overview Next steps that remain, each with its button: Schedule backups, Take a first recovery point, Mirror to a second ONTAP system and Turn on ransomware protection, which turns it on for every protected volume that has it off. Once replication is set up, Disaster recovery shows how far the copy is behind its target, the one problem with its fix, and failover readiness as the checks that pass, with the failing ones shown. It also lists Stores not mirrored yet, and on a site whose database, cache or Kafka the cloud runs, Managed stores if a zone fails: each one reads Keeps running or Single zone. Below are the five newest events and what ONTAP protects, with a DR replica column and Stores in the mirrored group once replication is set up.
Snapshots and Backup schedules The recovery points and the schedules that take them. A daily or weekly schedule asks for its time of day, which ONTAP reads on the storage cluster’s clock, in the time zone set on the cluster.
Replication & DR Before replication is set up, what SnapMirror needs and Set up replication. After, the connection with Edit and Remove, and what failover does. Editing keeps the management address, storage VM and NFS data address fixed; to change one, remove the relationship and set it up again.
Activity Every backup, restore and schedule run, with search, type and status filters, and newest or oldest first. A restore started from Generate reads Started, because Generate records the start and not how the restore ended; restores started outside Generate are not listed. Replication transfers are not listed; the Disaster recovery section shows the last and next copy.

Replication protects the sandbox volume and the volumes of the stores that keep Generate’s data on ONTAP: the catalog, the graph store and the vector store’s metadata. Generate adds each of those volumes to the consistency group when replication is set up and checks every hour for new ones; working space that Generate rebuilds is left out.

When Disaster recovery finds a volume with no replica on the DR system, failover would come up without it. Select Create the missing replica to add it to the relationship. Turning on ransomware protection and creating a missing replica each need their own privilege, and each is recorded in the audit log. Where ONTAP refuses either, the screen shows ONTAP’s message.

What you see What to do
A provider reads Not linked on Overview People can sign in but see no files. Link the provider to a directory and pick the claim to match on.
The join reads Needs attention The claim does not match directory entries; pick the claim your directory holds for each person.
A filer has not answered Every binding on it stays in observe mode. Re-check the filer once the network allows.
A removed person still reads a group’s files They keep access until the directory’s Identity cache TTL passes; select Refresh identity with their email to apply it at once.
Storage account setup says the write account cannot create users Give the write account create-user rights on the target OU and write rights on the group’s members.
The directory refused the write account’s password Update it under Storage accounts and run Test write access.
An account with this name already exists Change the POSIX name and try again.
A storage account needs LDAPS or StartTLS Turn on LDAPS or StartTLS for the directory, or allow an unencrypted write password under Storage accounts.
Next, Save or Add filer is greyed out in a dialog The footer names what is missing; fill that in.

Last updated on