No password ever passes through Mono. The Node never asks for an AD password and never signs anyone in over LDAP. Your employees sign in through AD FS, Keycloak or SAML.
What you need
What you need
- The Admin role in your .
- A device in the internal network that reaches the domain controller, with Linux or Docker. The Mono Connector runs on it.
- A service account in the AD with read rights on the base, without write rights and never a domain admin, for example
CN=svc-mono,OU=Dienste,DC=muster,DC=intern. - LDAPS (
ldaps://) or LDAP with StartTLS. - For the sign-in: AD FS, Keycloak with an LDAP connection or a SAML provider. This is how: SAML and OpenID Connect.
Connect the AD
1
Start the pairing
Open Connectors › “Pair device” or Operations › “Add” › “Pair a device at a site”. The Console shows a and the line for the device. The whole pairing is described under Pair a Mono Connector.
2
Run the line with the AD details
Run the line on the device and append the AD details. The Mono Connector reads the service account’s password from a file that only root may read.With
ldap:// you also need --directory-starttls. With --directory-pin you pin the domain controller’s certificate (SHA-256).3
Compare the verification code
The device shows a verification code. Compare it in the Console and choose “Code matches, pair”.
4
Choose “Connect Active Directory”
Open Access › Groups and roles › “Link rights”. In the “Directory” step, choose “Connect Active Directory”. No consent is needed: the Mono Connector reads the AD right away.
- In the Console
- In the chat
The steps above. If you also have Entra ID or Google Workspace, the wizard offers the other directory under “Instead:”.
“People, groups and photos appear in a few seconds. The password stays on the device.” Afterwards the groups show “from the AD”.
What happens next?
What happens next?
- The device reads the AD every 15 minutes. “Sync now” under Access › Groups and roles asks it to do so immediately.
- Mono resolves nested groups and also reads large groups completely.
- Photos come from
thumbnailPhotoorjpegPhoto, job title and department from the AD. In Mono they are read only and marked “from the AD”. - Anyone disabled in the AD loses access at the next sync.
- Mono links a sign-in through AD FS, Keycloak or SAML to the person in the AD by the verified email address or by a sign-in name the provider vouches for: the UPN for AD FS, the NameID within your domains for SAML.
Why does the device read and not the Node?
Why does the device read and not the Node?
The Node only connects outward and has no open port at your site. That is why a device in the internal network reads the AD and sends the result out. The service account’s password stays on the device: under systemd as a credential, in Docker as a secret, never in the settings file and never at the Node.
Windows and macOS
Windows and macOS
The Mono Connector’s installers for Windows and macOS don’t ask for the AD details yet. Today you use a device with Linux or Docker in the same network for this.
Undo
Undo
Under Access › Groups and roles, at “Directory”, “Disconnect …”. The groups then come from the sign-ins again; the links remain. You unpair the device under Connectors.
If something doesn't work
If something doesn't work
Several domain controllers and sites
If a domain controller fails, the device reads from the next one. If devices at several sites read the same AD, Mono takes the first complete round per sync. For admins.1
Name several domain controllers
In Each domain controller has its own fingerprint. If one does not answer, the device takes the next. If a certificate does not match, the sync stops there – never a switch to the next one.
--directory, give the domain controllers in the order you want, separated by commas – or srv:<domain>, and the device reads your DNS SRV records at each sync.2
Pair another device at another site
At the second site, pair a device with the same AD settings (the same base). Mono recognises the same directory and adds the device – without another click.
access_overview names the sites and every domain controller without an answer.
Under Access › Groups and roles, the “Directory” box shows “Read at 2 sites”; a domain controller that does not answer is one line there.
When something goes wrong
When something goes wrong
Next
Pair a Mono Connector
The pairing on every system.
SAML, AD FS, Keycloak or OpenID Connect
The sign-in for the AD.
Link groups and roles
Groups from the AD with roles.
On Windows Server
What runs on a Windows server.