[Check_mk (english)] LDAP / Active Directory / AD Configuration Spaces in User Base DN / Bind DN

Hi

I’m trying to setup a connection from Check_MK into our AD/LDAP server and the User Base DN / Bind DN I’ve been provided has spaces in the OU names…not sure if the DN is correct or if I need to escape these spaces with quotes, but I’m not able to get a
working connection. Can you confirm/deny the need to escape spaces with quotes in the config?

Thanks

J

----- DISCLAIMER ----- This email (including any attachments) is confidential and may be subject to solicitor-client privilege. If you are not the intended recipient, you are hereby notified
that any use, distribution or copying of this email is prohibited. If you have received this email in error, please immediately notify me and permanently delete this email. Opinions expressed in this email are those of the sender and not of Toyota. Please scan
this email for viruses. Toyota does not accept any responsibility for problems caused by viruses, regardless of source.

Ce courriel (incluant toutes pièces jointes) est confidentiel et peut être assujetti au privilège du secret professionnel. Si vous n’êtes pas le destinataire visé,
nous vous avisons par la présente qu’il est interdit d’effectuer toute utilisation, toute distribution ou toute copie de ce courriel. Si vous avez reçu ce courriel par erreur, veuillez aviser immédiatement le soussigné et supprimer ce courriel de façon permanente.
Les opinions exprimées dans ce courriel sont celles de l’auteur et non de Toyota. Veuillez vérifier la présence de virus dans ce courriel. Toyota n’accepte aucune responsabilité pour des problèmes causés par les virus informatiques, peu importe la source.

Works in 1.2.6p14 without anything special.

Bind DN:

CN=srv.ldap,OU=Service Accounts,DC=domain,DC=tld

Here is a working config, hope it helps.

https://i.imgur.com/v9iL2kA.png

br,

Rune

···

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de]
On Behalf Of Jason Humes (TCI)
Sent: Thursday, January 21, 2016 11:36 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] LDAP / Active Directory / AD Configuration Spaces in User Base DN / Bind DN

Hi

I’m trying to setup a connection from Check_MK into our AD/LDAP server and the User Base DN / Bind DN I’ve been provided has spaces in the OU names…not sure if the DN is correct
or if I need to escape these spaces with quotes, but I’m not able to get a working connection. Can you confirm/deny the need to escape spaces with quotes in the config?

Thanks

J

----- DISCLAIMER ----- This email (including any attachments) is confidential and may be subject to solicitor-client privilege. If you are not the intended recipient, you are hereby notified that any use,
distribution or copying of this email is prohibited. If you have received this email in error, please immediately notify me and permanently delete this email. Opinions expressed in this email are those of the sender and not of Toyota. Please scan this email
for viruses. Toyota does not accept any responsibility for problems caused by viruses, regardless of source.

Ce courriel (incluant toutes pièces jointes) est confidentiel et peut être assujetti au privilège du secret professionnel. Si vous n’êtes pas le destinataire visé, nous vous avisons par la présente qu’il est
interdit d’effectuer toute utilisation, toute distribution ou toute copie de ce courriel. Si vous avez reçu ce courriel par erreur, veuillez aviser immédiatement le soussigné et supprimer ce courriel de façon permanente. Les opinions exprimées dans ce courriel
sont celles de l’auteur et non de Toyota. Veuillez vérifier la présence de virus dans ce courriel. Toyota n’accepte aucune responsabilité pour des problèmes causés par les virus informatiques, peu importe la source.

Awesome…that helps greatly
J I was trying all sorts of combinations of single and double quotes.

···

From: Rune Tipsmark [mailto:rt@steait.net]
Sent: Friday, January 22, 2016 5:37 AM
To: Jason Humes (TCI) jason_humes@toyota.ca; checkmk-en@lists.mathias-kettner.de
Subject: RE: LDAP / Active Directory / AD Configuration Spaces in User Base DN / Bind DN

Works in 1.2.6p14 without anything special.

Bind DN:

CN=srv.ldap,OU=Service Accounts,DC=domain,DC=tld

Here is a working config, hope it helps.

https://i.imgur.com/v9iL2kA.png

br,

Rune

From:
checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de]
On Behalf Of Jason Humes (TCI)
Sent: Thursday, January 21, 2016 11:36 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] LDAP / Active Directory / AD Configuration Spaces in User Base DN / Bind DN

Hi

I’m trying to setup a connection from Check_MK into our AD/LDAP server and the User Base DN / Bind DN I’ve been provided has spaces in the OU names…not sure if the DN is correct
or if I need to escape these spaces with quotes, but I’m not able to get a working connection. Can you confirm/deny the need to escape spaces with quotes in the config?

Thanks

J

----- DISCLAIMER ----- This email (including any attachments) is confidential and may be subject to solicitor-client privilege. If you are not the intended recipient, you are hereby notified that any use,
distribution or copying of this email is prohibited. If you have received this email in error, please immediately notify me and permanently delete this email. Opinions expressed in this email are those of the sender and not of Toyota. Please scan this email
for viruses. Toyota does not accept any responsibility for problems caused by viruses, regardless of source.

Ce courriel (incluant toutes pièces jointes) est confidentiel et peut être assujetti au privilège du secret professionnel. Si vous n’êtes pas le destinataire visé, nous vous avisons par la présente qu’il est
interdit d’effectuer toute utilisation, toute distribution ou toute copie de ce courriel. Si vous avez reçu ce courriel par erreur, veuillez aviser immédiatement le soussigné et supprimer ce courriel de façon permanente. Les opinions exprimées dans ce courriel
sont celles de l’auteur et non de Toyota. Veuillez vérifier la présence de virus dans ce courriel. Toyota n’accepte aucune responsabilité pour des problèmes causés par les virus informatiques, peu importe la source.