Howto install MeshCentral on NethServer

You can configure a MeshCentral server to use an LDAP server for user authentication by adding the following to the domain section of the config.json (this is only an example):

      "auth": "ldap",
      "ldapUserName": "displayName",
      "ldapUserBinaryKey": "objectSid",
      "ldapOptions": {
        "url": "ldap://127.16.0.1:389",
        "bindDN": "CN=svc_meshcentral,CN=Users,DC=meshcentral,DC=local",
        "bindCredentials": "Password.1",
        "searchBase": "DC=meshcentral,DC=local",
        "searchFilter": "(sAMAccountName={{username}})"
      }

MeshCentral uses the “ldapauth-fork” module to do this. Look at that module for the proper options.

4 Likes