diff --git a/roles/ldap-client/templates/nslcd.conf.j2 b/roles/ldap-client/templates/nslcd.conf.j2 index 59c05d1b..7a945832 100644 --- a/roles/ldap-client/templates/nslcd.conf.j2 +++ b/roles/ldap-client/templates/nslcd.conf.j2 @@ -8,7 +8,7 @@ uid nslcd gid nslcd # The location at which the LDAP server(s) should be reachable. -{% if 'ldap_server' in group_names %} +{% if 'slapd' in group_names %} uri ldapi:/// {% else %} {% for server in ldap.servers %}