User
At Control Panel > User, you can set up users, and also manage folder-specific and user-specific access privileges. Several advanced options are available for you to help users reset their passwords just in case they forget them, to improve account security with specific password strength rules and 2-step verification, to share storage volumes with users by setting up an individual home folder for each user, and to set up directory service such as Windows domain and LDAP.
Contents
- Manage users and user-specific access privileges
- Set up advanced user privileges
- Set up directory service
1. Manage users and user-specific access privileges
In Control Panel > User > User, you can manage the users, and determine the permission of each shared folder for a specific user to access, view, or modify.
To create a user:
- Click the + button to add a new user.
- Specify the following information in the fields at the right:
- Name: Specify the name of the new user.
- Password: If a shared folder is encrypted, specify the user-specific password to grant legitimate access. Re-enter the password in the Confirm password field for a double-check.
- Click Apply to save the settings.
To manage user-specific access privileges for shared folders:
- In the user list, click a user of whom you wish to edit the privileges.
- In the Shared Folder Permissions section at the right, tick one of the following types of permissions for shared folders:
- No access: The user cannot access the selected shared folder.
- Read/Write: The user can view and modify the content of the selected shared folder.
- Read only: The user can only browse the content of the selected shared folder.
- Click Apply to save the settings.
To edit user information:
- In the user list, click a user of whom you wish to edit the privileges, and then click Edit at the right.
- In the pop-up window, you can edit further user privileges in two aspects.
- Info: You can add the user description and email, and modify other account-related settings.
- Speed Limit: Click the target protocol and Customize. Then you can set and schedule the user-specific maximum upload/download rate.
- Click OK to save the settings.
Note:
- You can only edit user information after the user is successfully created.
To delete a user:
- Click the unwanted user in the user list.
- Click the recycle bin icon.
- Tick the reminder and click Delete to confirm the deletion.
2. Set up advanced user privileges
In Control Panel > User > Advanced, you can set up and manage advanced user privileges, such as setting rules for user passwords to access shared folders, enforcing 2-step verification, and enabling the user home service.
To reset forgotten user passwords:
You can allow users to reset forgotten passwords via email by ticking Allow non-administrator users to reset forgotten passwords via email. Then a link showing Forgot your password? will appear on the SRM login page. If a user forgets his password, by clicking this link and entering his username, the system will send an email to the user to help reset the password.
Note:
- Before enabling this option, make sure you have already enabled the SMTP email notification service in Control Panel > Notification > Email.
- To receive messages from the system, you must specify the email addresses for the users. Please refer to the paragraph above on how to edit user information.
To improve password strength:
- Under the Password Settings section, tick the Apply password strength rules checkbox.
- Tick the rules below to customize your policy for user passwords:
- Exclude name and description of user from password: The password must not contain the username or the user description. UTF-8 encoded characters are allowed in the password.
- Include mixed case: The password must contain both upper and lower case characters.
- Include numeric characters: The password must contain at least one numeric character (0~9).
- Include special characters: The password must contain at least one ASCII special character (i.e., ~ ` ! @ # $ % ^ & * ( ) - _ = + [ { ] } \ | ; : ' " < > / ?).
- Minimal password length: The password length cannot be shorter than the specified number of characters (between 6 and 127).
- Click Apply to save the settings.
Note:
- New password strength rules only take effect when a new user account is created or when an existing user changes his password. The new strength rules do not affect existing passwords and those belonging to the imported user accounts.
To enforce 2-step verification:
2-step verification provides improved security for SRM user accounts. You can enforce 2-step verification on all SRM users to further protect their accounts.
- Under the 2-Step Verification section, tick the Enforce 2-step verification for all users checkbox.
- Click Apply to save the settings.
Note: If you have not yet configured 2-step verification at Options > Account, the 2-step verification setup wizard will be launched to help you complete the required settings before you can apply this enforcement.
- With 2-step verification enforced but not enabled, the selected users will be asked to finish the settings before they can log in to SRM.
Note:
- Unticking the Enforce 2-step verification for all users checkbox under this section will not affect or disable the 2-step verification settings of each user. Individual users can keep their 2-step verification settings, or go to Options > Account to disable these settings for themselves.
To enable the user home service:
Under the User Home section, you can enable user homes to create a personal home folder for each user, except for guest users. All users can access their own home folder via CIFS, AFP, FTP, or File Station.
- Tick the Enable user home service checkbox.
- If there are multiple volumes, select one from Location to host the homes folder.
- Click Apply to save the settings.
To disable the user home service:
- Untick the Enable user home service checkbox.
- Click Apply to save the settings.
Note:
- After the user home service is disabled, the homes shared folder will be preserved for admin only. Users will not be able to access their home folders unless the user home service is enabled again.
- To delete the homes shared folder, the user home service must be disabled first.
3. Set up directory service
Your Synology Router can join an existing directory service as a Windows Domain or LDAP client. You can manage domain or LDAP users' access privileges to shared folders and SRM applications, and enable home service for them. Go to Control Panel > User to join your Synology Router to a directory service.
To join a Windows domain:
After your Synology Router join the domain, domain users can log in to your Synology Router using their domain accounts and passwords, allowing them to access files and use SRM applications without the need to remember another set of usernames and password.
- Go to Control Panel > User > Domain.
- Tick the Join domain checkbox.
- Enter the domain name and specify the DNS server in the appropriate fields.
- If necessary, tick the box Advanced domain options. (See below for details.)
- Click Apply.
- In the pop-up window, enter the username and password of the administrator of the domain server.
- Click OK.
DNS Server
- You are recommended to specify a DNS server to help your Synology Router search for the domain. However, if the domain is not registered on the DNS server, the procedure of joining domain may fail.
Domain Server Type
- This field shows the domain type when your Synology Router joins a domain. The domain type will be "AD domain".
Management Mode
- This option will determine how you manage the privileges of domain users and groups.
- Trusted Domain: You can manage users and groups in the joined domain as well as trusted domains. Users and groups can be filtered with the domain drop-down list.
- Single Domain with OU: Only users and groups in the joined domain will be displayed in this mode. This mode allows you to filter domain users/domain groups with the OU (Organizational Unit) drop-down list.
Advanced Domain Options
- In most cases, you do not need to fill in any of the advanced domain options. Advanced domain options are needed only for specific domain environments.
- DC IP/FQDN: Specify a DC (Domain Controller) IP address or FQDN, and your Synology Router will try to communicate with it. If there is more than one IP address or FQDN, insert a comma (,) between each one. Add an asterisk (*) after the last DC IP address or FQDN if you wish, and your Synology Router will try to communicate with the other DC if all specified ones have failed. You will need to add a comma between the asterisk and the last IP address or FQDN.
- Domain NetBIOS name: Specify the NetBIOS name of the domain.
- Domain FQDN (DNS name): Specify the FQDN (DNS name) of the domain.
- Register DNS interface: When joining a domain, the NIC (Network Interface Card) specified here will be registered with the DNS server. Please note, if the hostname of your Synology Router includes an underscore (_), the registration will fail because underscores (_) cannot be used with DNS.
- Update user/group list: Specify how often your Synology Router automatically updates the domain user/group list. You can customize the time period to perform updates daily, weekly, or monthly. In addition, domain user/group lists can be manually updated by going to the Domain user tab and clicking Update all domains. Please note automatic updates will affect system hibernation.
Joining Read-Only Domain Controller
- To join your Synology Router to a read-only domain controller (RODC), you need to specify the "full computer name" (FQDN) of your read-write domain controller (RWDC) in the DC IP/FQDN field. The full computer name should be in the following format: ComputerName.Domain, e.g. "ad01.synology.com".
Note:
- If your domain user name includes “%” or “$”, you may not be able to access your home folder. Please ask your domain administrator to give you a new user name.
- Domain groups Domain Admins and Enterprise Admins will be automatically added to the local Administrators group. Therefore, the domain users in these groups will possess administrative privileges on your Synology Router, including access to file services like CIFS/FTP/AFP/WebDAV and other SRM applications.
- You can also configure domain users’ access privileges to the shared folders on your Synology Router. See here for more information.
To configure domain options:
After your Synology Router join a Windows domain in Control Panel > User > Domain, you can click Domain Options to configure the following additional domain options:
- Synology Router will synchronize with a NTP server every time when a domain user logs in: Enabling this option will force synchronize the time between your Synology Router and NTP server.
- Enable server signing: If the client has enabled client signing, then server signing must also be enabled on your Synology Router, so users can use domain services normally.
- Get user/group lists with NT4-compatible mode: Enabling this option allows the system to obtain user/group lists using NT4 RPC mode. This option can be enabled if certain domain user/group lists cannot be obtained using default settings.
- Disable administrator permissions for Domain Admins and Enterprise Admins: A user with administrator permissions can have full control of your Synology Router and its files. Enabling this option will allow you to restrict Domain Admins and Enterprise Admins' permissions to be the same as a normal user, therefore inheriting all normal user file/folder permissions.
- Enumerate nested group levels: Specify the number of nested, domain group members that can be enumerated.
To enable LDAP client:
LDAP allows your Synology Router to join an existing directory service as an LDAP client, and then retrieve user or group information from an LDAP server (or "directory server"). You can manage LDAP users' or groups' access privileges to SRM applications and shared folders, just as you would with local SRM users or groups. For more information about LDAP, please refer to here.
The supported LDAP standard is LDAP version 3 (RFC 2251).
- Go to Control Panel > User > LDAP, and tick the Enable LDAP Client checkbox.
- Enter the IP address or domain name of the LDAP server in the LDAP Server address field.
- Choose an encryption type from the Encryption drop-down menu to encrypt LDAP connection to the LDAP server.
- Enter the Base DN of the LDAP server in the Base DN field.
- Select the proper Profile depending on your LDAP server. For example, choose Standard if you are using Synology Directory Server or Mac Open Directory.
- To allow users of an LDAP server which does not support Samba schema to access Synology Router files via CIFS, tick Enable CIFS plain text password authentication. See the section below to ensure LDAP users can use their computers to successfully access Synology Router files via CIFS.
- Click Apply.
- Enter the Bind DN (or LDAP administrator account) and the password in the fields, and then click OK.
About CIFS Support and Client Computer's Settings
- After CIFS plain text password authentication is enabled, LDAP users might need to modify their computers' settings to be able to access Synology Router files via CIFS:
- If your Synology Router joins to the directory service provided by a Synology LDAP server (or another Synology Router that has installed and run the Directory Server package) or the LDAP server that supports Samba schema and all LDAP users have correct sambaNTPassword attributes, LDAP users can access your Synology Router files via CIFS without ticking Enable CIFS plain text password authentication or modifying their computers' settings. Otherwise, LDAP users will need to enable their computer's PAM support to be able to access Synology Router files via CIFS. However, doing so will transfer LDAP users' password to Synology Router in plain text (without encryption), thus lowering the security level.
To modify Windows settings:
- Go to Start > Run, type regedit in the field, and then click OK to open Registry Editor.
- Depending on your Windows version, find or create the following registry:
- Windows 2000, XP, Vista, and Windows 7:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters]
- Windows NT:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]
- Windows 95 (SP1), 98 and Me:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
- Create or modify the DWORD value EnablePlainTextPassword and change its value data from 0 to 1.
- Restart Windows for the change to take effect.
To modify Mac OS X's settings:
- Go to Applications > Utilities to open Terminal.
- Create an empty file /etc/nsmb.conf:
sudo touch /etc/nsmb.conf
- Open /etc/nsmb.conf with vi:
sudo vi /etc/nsmb.conf
- Type "i" to insert text, and paste the following:
[default]
minauth=none
- Press the Esc key and then type "ZZ" to save the changes and exit vi.
To modify Linux's settings:
About Profiles
Different LDAP servers might use different attributes for account names, group names, or to distinguish between accounts and groups. The Profile option allows you to specify or customize how user and group information is mapped to LDAP attributes. One of the following profiles can be selected depending on your LDAP server:
- Standard: For servers running Synology Directory Server or Mac Open Directory.
- IBM Lotus Domino: For servers running IBM Lotus Domino 8.5.
- Custom: Allows you to customize mappings. Consult the section below for details.
Before customizing LDAP attribute mappings, you will need some background knowledge. Synology SRM and the Profile editor both adhere to RFC 2307. For example, you can specify filter > passwd as userFilter, in which case the Synology Router will interpret records with objectClass=userFilter on your LDAP server as LDAP accounts. If you specify passwd > uid as username, the Synology Router will interpret username on your LDAP server as an account name. Leaving the mapping empty will apply RFC 2307 rules.
Synology Router requires a fixed integer to serve as an LDAP account identifier (uidNumber) or a group identifier (gidNumber). However, not all LDAP servers use integers to represent such attributes. Therefore, a keyword HASH() is provided to convert such attributes to integers. For example, your LDAP server might use the attribute userid with a hexadecimal value as the unique identifier for an LDAP account. In this case, you can set passwd > uidNumber to HASH(userid), and then Synology Router will convert it into an integer.
The following is the summary of customizable attributes:
- filter
- group: required objectClass for group.
- passwd: required objectClass for user.
- shadow: required objectClass for user passwords.
- group
- cn: group name.
- gidNumber: GID number of this group.
- memberUid: members of this group.
- passwd
- uidNumber: UID number of this user.
- uid: username.
- gidNumber: primary GID number of this user.
- shadow
- uid: username.
- userPassword: user password.
About UID/GID shifting
- To avoid UID/GID conflicts between LDAP users/groups and local users/groups, you can enable UID/GID shifting to shift the UID/GID of LDAP users/groups by 1000000. This option is only for LDAP servers which are non-Synology LDAP servers and have a unique numerical ID attribute for each user/group.
To configure domain/LDAP users or groups:
If your Synology Router is joined to a directory service as a Windows domain or LDAP client, you can set up and modify domain/LDAP users' or groups' access permission to Synology Router shared folders and SRM applications, and enable the home service for all domain/LDAP users.
- In Control Panel > User, go to the Domain Users or LDAP Users tab (depending on the type of directory service you have joined) to set up the shared folder and application permissions, and determine the quota of drive capacity for each user.
- The rules of privilege settings include the following:
- In the event of privilege conflicts, the privilege priority will be: NA > RW > RO.
- Privilege preview: User’s privilege would be shown here, and that is decided based on the privileges setting of the user and the groups joined by the user.
- Group privileges: Assign privileges to groups access to access shared folders.
User Home
Like local users, all domain/LDAP users can access their own home folder via CIFS, AFP, FTP, or File Station.
Users with administrative privileges can access all personal folders located in the homes shared folder. All users' home folders are located in one of the sub-folders under a folder named "@DH-domain name" (for domain users) or "@LH-FQDN name" (for LDAP users). The name of the user's home folder is the user account plus an unique number.
Note:
- To delete the homes shared folder, user home service must be disabled first.
- Enabling the home service for domain/LDAP users will also enable the home service for local users if it is not enabled yet.
Domain/LDAP Group
Depending on the type of directory service you are joining, click the Domain Group or LDAP Group tab to configure domain/LDAP groups' access privileges to shared folders. The priority of privileges is: NA > RW > RO.