Cloud-hosted LDAP gives you the power of the LDAP protocol with none of the usual setup, maintenance, or failover requirements of traditional LDAP implementations. All you need to do is point your LDAP-connected endpoints to 黑料海角91入口 and you鈥檙e on your way. This article covers how to integrate Synology NAS with 黑料海角91入口's Cloud LDAP.
Enabling LDAP Bind DN on a User Account
Accessing a Synology NAS Appliance using the Web Interface (DSM), the Synology Drive Client, or the AFP protocol requires user accounts to be "Enabled as an LDAP Bind DN" in 黑料海角91入口.听
To enable LDAP Bind DN on a User Account:
- Log in to the 黑料海角91入口 Admin Portal: .
- Go to聽USER MANAGEMENT听&驳迟;听Users, then select an existing user or create a new user. Learn more:聽Get Started: Users.听
- On the Details tab, expand User Security Settings and Permissions and select Specify initial password.
- Provide a strong password, then select聽Enable as LDAP Bind DN.
We recommend setting the service account password to never expire. This option appears in聽User Security Settings and Permissions聽after you save a new user.听
- 颁濒颈肠办听save user.听
Configuring 黑料海角91入口 LDAP for Samba Authentication
To configure 黑料海角91入口 LDAP for Samba authentication:
- In the 黑料海角91入口 Admin Portal, go to USER AUTHENTICATION > LDAP.
- Select (+), then select 黑料海角91入口 LDAP.
- Under LDAP Configuration, select Configure Samba Authentication.
- Use the default Workgroup and SID values in 黑料海角91入口 if you鈥檙e setting up a new Synology NAS environment. For an existing Synology NAS environment, match the Workgroup and SID in 黑料海角91入口 to the values you鈥檝e set in the NAS appliance configuration.
- 贵辞谤听Samba Service Account, select the user account you enabled as LDAP Bind DN. This account is used as a dedicated Samba Service Account with Samba-enabled services like NAS appliances.
Don鈥檛 use the user Samba Service Account for additional LDAP client services.听
- Collect the聽Samba Service Account DN.
- Click save.
Enabling Samba Authentication for User Groups
To enable Samba authentication for a user group:
- In the 黑料海角91入口 Admin Portal, go to USER MANAGEMENT > User Groups.
- Select an existing user group or create a new user group. Learn more:聽Get Started: User Groups.
- Select Create Linux group for this user group.
- Enter a聽Group Name, then a聽Group GID.
If there are no existing Linux-based groups in your environment that need to be mapped to the NAS appliance, select a GID above 1000000.
- 颁丑别肠办听Enable Samba Authentication.
Enabling Samba Authentication generates a notice regarding the MD4 hash used for NTLMv2 authentication. This credential can only be accessed by the Samba Service Account over a secured LDAP channel using TLS/SSL encryption.
- Navigate to the聽鲍蝉别谤蝉听tab and add users to the group. At least one user must be placed in the User Group for it to populate in 黑料海角91入口 LDAP.
- Click save.
Integrating Synology NAS with 黑料海角91入口 LDAP
To integrate Synology NAS with 黑料海角91入口:
- Log in to the Synology DSM Web Interface as an Administrator.
- Go to Control Panel > Domain/LDAP > Domain/LDAP.
- 颁濒颈肠办听Join. The聽Domain/LDAP Joining Wizard聽is launched.
- Enter the following server information:
- Server type: Select LDAP from the drop-down menu.
- Server address: Set to .
- 颁濒颈肠办听狈别虫迟听and configure the following:
- Bind DN or LDAP administrator account: Enter the LDAP server's Bind DN or administrator account.
- Password: Enter the password of the LDAP's administrator account.
- Encryption: Choose SSL/TLS or STARTTLS as the encryption type from the drop-down menu to encrypt the connection with the LDAP server.
- Base DN: Select the Base DN of the LDAP server from the drop-down menu. The format will be聽ou=Users,o=<ORG ID NUMBER>,dc=jumpcloud,dc=com.
- Profile: Select聽Custom.
- Expand the filter attribute.
- Set the passwd Mapping Target to (objectclass=sambaSamAccount).
- Expand the passwd attribute.
- Set the userPassword Mapping Target to sambaNTPassword.
- 颁濒颈肠办听Save.
- 颁濒颈肠办听狈别虫迟听to begin a precondition check.听A 鈥淪amba Schema is not supported鈥 error will surface.
You may also see a 鈥淟ack of the sambaNTPassword attribute鈥 warning message surface, depending on how your environment is set up.听This message appears because the Synology LDAP Joining Wizard doesn鈥檛 detect the sambaNTPassword attribute on the LDAP users that are assigned to the NAS. Since 黑料海角91入口 LDAP only writes the sambaNTPassword attribute of the LDAP Bind DN, this message can be skipped.
- 颁濒颈肠办听顿别迟补颈濒蝉听补苍诲听Skip Anyway. The LDAP Joining Wizard will progress and eventually complete.
- Click OK to start using LDAP client services.
Confirming 黑料海角91入口 LDAP User Account Integration
The Synology NAS will display user accounts based on the LDAP Directory entered during configuration. Users are only required to enter the "username" portion of this display "Name" when authenticating to file shares on the NAS appliance.
To confirm 黑料海角91入口 users and groups have been integrated:
- Log into the Synology DSM Web Interface as an Administrator.
- Launch the Control Panel, then go to Domain/LDAP > LDAP Users.
- Click Update LDAP Data, then review the user list imported into the NAS appliance.
- Go to LDAP Group.
- Click Update LDAP Data, then review the groups imported into the NAS appliance.
Configuring Microsoft Networking / SMB Support in the Synology NAS
To configure SMB Support in the Synology NAS:
- Log in to the Synology DSM Web Interface as an Administrator.
- Go to Control Panel > File Services > SMB.
- Select Enable SMB Service.
- Name the Workgroup. This name should be the same as what you have entered for the workgroup of 黑料海角91入口 LDAP (refer to step 4 of 鈥淐onfiguring 黑料海角91入口 LDAP for Samba Authentication鈥).
- Click Apply.
Configuring AFP Support in Synology NAS
Prerequisites:
- Make sure you enable LDAP Bind DN on all users in 黑料海角91入口 if they will be using AFP to access file shares. See聽To Enable LDAP Bind DN on a User Account above.听
- The following tools are required to configure AFP support in Synology NAS:
- Synology DSM Web Interface
- Synology Drive Client
- MacOS AFP
To configure AFP support in Synology NAS:
- In the Synology DSM Web Interface, go to Control Panel > File Services > AFP.
- Select Enable AFP service.
- Click Apply.