Itasca
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Owners
          • Signed-in users
          • Everyone
          Owners Signed-in users Everyone
        • Write
          • Owners
          • Signed-in users
          • Everyone
          Owners Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # <div style="text-align: center">Synology Directory Server Notes </div> References: [Administrator's Guide for Synology Directory Server](https://global.download.synology.com/download/Document/Software/AdminGuide/Package/DirectoryServerForWindowsDomain/All/enu/Syno_AdminGuide_SynologyDirectoryServer4_4_enu.pdf) #### I. Synology Directory Essentials <ol> <li>Directory Service</li> <p> - A directory is a repository containing individual persons, groups, locations, and various types of information. It is a tool for data storage and management, allowing users to easily find the information they want to access. In computer science, a directory service stores all account information in a centralized location. </p> <li>Active Directory & Synology Directory Service</li> <p> - Active Directory (AD) is a type of directory service that offers a centralized database of information with which IT administrators can securely manage accounts and resources, such as computers and prints. Synology Directory Server provides the AD-based Synology Directory service, allowing you to store and deploy resources on an intuitive interface. </p> <li>Domain Name System(DNS)</li> <p> - Synology Directory service adopts the Domain Name System to organize computers, printers, or other resources into a hierarchical structure. </p> <p> - A domain is a logical boundary set up for the creation and management of resources, while DNS is a standard internet service that structures resources through domain names. In a domain (e.g., 'syno.local'), devices are delpoyed through DNS, which helps resolve their easily readable hostnames (e.g., 'pc1.syno.local') into IP addresses needed for locating and identifying devices with internet protocals. </p> <p> - With a high dependency on DNS, it is necessary to set up a DNS server to maintain the functionality of domain when installing Synology Directory Server. </p> <li>Domain Controller</li> <p> - A domain controller (DC) is a NAS that hosts a Synology Directory Server's domain. It is responsible for maintaining domain functionality, soring directory data, and managing user interactions within a domain. </p> <p> In Synology Directory Server, the Synology NAS where a domain is created will be automatically promoted as a domain controller. </p> <li>Domain Object</li> <p> - The domain database stored in Synology Directory Server is made up of information about objects, each of which represents a single and unique entry in the database. The following are the objects that can be managed in Synology Directory Server: </p> <ul> <li>User: a User account that can access resources deployed in a domain</li> <li>Group a manageable unit used to gather domain objects. All memebers in a group share the same access permisions to files, folders, applications, or devices within a domain.</li> <li>Device: a physical resource that can be accessed by domain users. It can be a computer, a printer, a NAS, etc.</li> <li>Organizational Unit (OU): the smallest container in a domain to which administrative privileges and group policies can be assigned. You can put users, groups, computers in an OU for delegating the same authorities and policeis to them. Besides, you can also add an OU to another OU, creating an OU Hierarchy that corresponds with the real-world organization structure. In so doing, it will be more efficient to configure domain objects in Synology Directory Server.</li> </ul><p></p> <li>Compatability and limitations</li> <ul> <li>DSM Version requirment: DSM 6.2.2 or above</li> <li>Domain functional level: equal to Windows Server 2008</li> <li>Synology Directory Server must work with the DNS Server package</li> <li>Synology Directory Server is not compatible with configurations of other domain/LDAP services.</li> <li>Supported domain clients: Win7 or above, macOS, Linux</li> <li>Applied Synology NAS models: See on the Synology offical Website</li> <li>Limitations:</li> <ul> <li>Synology Directory Server supports a single domain and single domain controller only.</li> <li>The hostname of the Synology NAS that functions as the domain controller cannot be changed after Synology Directory Server is activated on it.</li> </ul> </ul> </ol> #### II. Install Synology Directory Server <ol> <li>Before installing **Synology Directory Server** on the Synology NAS, please check the following:</li> <ul> <li>The network connection of Synology NAS works properly.</li> <li>The volume of Synology NAS is working well.</li> <li>The DSM is updated to version 6.2.2 or above.</li> <li>You are the DSM admin (or a user belonging to the **administrators** group) of Synology NAS</li> <li>The Synology NAS is using a static IP address</li> - To avoid clients from being disconnected because of IP address changes of the Synology NAS (domain controller), you need to set up a static IP address on your local area network for Synology NAS. <li>The Synology NAS is not a client of any domain or LDAP directory</li> - If the synology NAS has already joined a domain or an LDAP directory, it must leave the domain or LDAP directory before using Synology Directory Server. This package is not compatiable with configurations of other directory services. <li>No domain name conflicts exist on the local area netowrk</li> - Synology Directory Server will not be found by clients if more than one domain has the same name on the local network. To avoid this issue. please choose another name or remove the domains that have the same name. </ul> <li>Sign into DSM as **admin** or a user belonging to the **administrators** group.</li> <li>Go to **Package Center > All Packages**.</li> <li>Click **Install* in the **Synology Directory Server** section and follow the onscreen instructions to complete the installation process.</li> </ol> #### III. Getting Started with Synology Directory Server <strong>Set up Synology Directory Service</strong>: Once the installation is complete and there are no existing domains detected, you can start setting up Synology Directory service. In the section below, we will see how to create a domain and promote the Synology NAS as a domain controller. <ol> <li>Launch <strong>Synology Directory Server</strong>.</li> <li>Click <strong>Next</strong> to continue with the setup.</li> <li>Enter the following information and click <strong>Next</strong>:</li> <ul> <li><strong>Domain Name:</strong> Enter an FQDN (Fully Qualified Domain Name) for the domain, e.g. "syno.local".</li> <li><strong>Workgroup:</strong> The workgroup name (or the NetBIOs domain name) will be automatically filled in this field. For instance, if your domain name is "syno.local", the default workgroup name will be "syno".</li> <li><strong>Password:</strong> Enter a password for the administrator account of your domain.</li> <li><strong>Confirm Password:</strong> Enter the password again.</li> </ul> <li>Confirm the settings and click <strong>Apply.</strong> The system will now create the domain and promote the Synology NAS to be a domain controller.</li> </ol> <strong>Manage the Domain:</strong></br> On the <strong>Status</strong> page, you can check, edit, or remove your domain and the domain controller.</br></br> <strong>View Domain Information</strong></br> Information about your domain can be view at any time on the <strong>Status</strong> page: <ul> <li><strong>Domain name:</strong> The full name of your domain</li> <li><strong>Domain NetBIOS name:</strong> The short name for the domain, which will be used by earlier versions of Windows (e.g., Windows 95 or Windows 98) to access Synology Directory resources.</li> <li><strong>Number of records which may need updates:</strong> If the number shown is 0, then all DNS resource records in <strong>DNS Server</strong> correctly point to the IP address of the Synology NAS (domain controller). If the number shown is bigger than 0, then resource records in <strong>DNS server</strong> require updating.</li> </ul> <strong>Remove the Domain</strong></br> On the <strong>Status</strong> page, click <strong>Remove Domain</strong> to remove the domain currently managed by Synology Directory Server. Please note that removed the domain is *irreversible*. <strong>Edit the IP Address of Domain Controller</strong></br> Synology Directory Server is normally set up with a static IP address. For certain reasons, you may need to change the IP address of the Synology NAS that is running Synology Directory Server. Please follow the steps below: <ol> <li>Back up Synology Directory with <strong>Hyper Backup</strong></li> <li>Change the IP address of the Synology NAS</li> <li>Confirm and update the resource in <strong>DNS Server</strong></li> <li>Restart Synology Directory Server to update the network settings. Please do the following:</li> <ul> <li>Go to <strong>Package Center > Installed > Synology Directory Server.</strong></li> <li>Click the inverted triangle and select <strong>Stop</strong></li> <li>After Synology Directory Server is stopped, click <strong>Run</strong> to restart the package</li> </ul> </ol> <strong>Manage DNS Resource Records</strong></br> Domain Name System (DNS) is a naming system that facilitates the exchange of data between computers over the Internet and other networks. It is mainly used to translate easy-to-memorize domain names (e.g., "pc1.syno.local") into corresponding IP addresses (e.g., "192.168.1.5"). This function is essential for the maintenance of Synology Directory Server's domain service.</br></br> The following will guide you through A/AAAA record configurations and the DNS auto-registering mechanism.</br></br> <strong>A/AAAA Resource Records</strong></br> A and AAAA are both DNS resource records for resolution between domain names and IP addresses. While A records translate domain names into 32-bit IPv4 addresses, AAAA records resolve domain names into 128-bit IPv6 addresses.</br></br> <strong>DNS Auto Registering</strong></br> After a client has successfully joined the domain created by Synology Directory Server, the server will automatically register and update an A resource record (and an AAA resource record if IPv6 is enabled) to the DNS service on DSM, mapping the hostname of the client to an IP address.</br></br> <strong>Limitations:</strong> <ul> <li>DNS auto registering cannot be disabled.</li> <li><Strong>Naming rules of domain clients:</Strong> Only letters (a - z, A - Z), numbers (0 - 9) and hyphens (-) are allowed currently.</li> <li><srtrong>On Windows 7 or 10:</strong> Re-login or restart will be necessary if the hostname or IP address has been changed.</li> <li><strong>On DSM or SRM:</strong> Re-login or restart will not be necessary if the hostname or IP address has been changed, and the resource records will not be updated.</li> </ul> <strong>Adjust A/AAAA Resource Records</strong></br> In order for Synology Directory Server to normally deliver services, all A/AAAA resource records in DNS Server must correctly point to the IP address of the Synology NAS. By default, all A/AAAA resource records will point to the IP address of the Synology NAS where a domain is created.</br></br> However, A/AAAA resource records may not properly point to the Synology NAS due to the following circumstances: <ul> <li>The Synology NAS undergoes a change in its IP address after the domain has been created with Synology Directory Server.</li> <li>Synology Directory Server is restored through a backup task of Hyper Backup.</li> </ul> When encountering the cases mentioned above, please follow the steps below: <ol> <li>Go to <strong>DNS Server > Zones</strong></li> <li>Select the specific DNS zone in question such as <strong>"domain name"@Active Directory</strong> or <strong>msdcs.domain name@Active Directory</strong>, and click <strong>Edit > Resource record.</strong></li> </ol></br> <strong>Add Firewall Rules to Secure Directory Service</strong></br> Security is always one of the greatest concerns for Synology Directory administrators besides efficient management. To protect Synology Directory service, we suggest adding the following firewall rule to your Synology Directory Server: <ol> <li>Go to <strong>Control Panel > Security > Firewall</strong>.</li> <li>Tick the <strong>Enable Firewall</strong> checkbox.</li> <li>Under the <strong>Firewall Profile</strong> section, select a firewall profile from the drop-down menu and click <strong>Edit Rules</strong> on the right.</li> <li>Click <strong>Create</strong>.</li> <li>Under the <strong>Ports</strong> section, choose <strong>Select from a list of built-in applications</strong> and click <strong>Select</strong>.</li> <li>Select <strong>DNS Server, Synology Directory Server</strong>, and <strong>WIndows File Server</strong>. Click <strong>OK</strong> to confirm your selection.</li> <li>Under the <strong>Source IP</strong> section, choose <strong>Specific IP</strong> and click <strong>Select</strong>.</li> <li>Specify the local area network where Synology Directory Server is running by entering an IP address or an IP range. Click <strong>OK</strong> after you confirm the information.</li> <li>Under the <strong>Action</strong> section, select <strong>Allow</strong> to allow access by the ports and IP addresses you have specified.</li> <li>Click <strong>OK</strong> to save the settings.</li> </ol> #### IV. Manage OUs, Groups, Users, Computers #### V. Join Devices to a Domain #### VI. Configure Group Policies #### VII. Maintain and Recover Directory Service #### VIII. Troubleshooting and FAQs

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully