diff --git a/tmpl/sunstone-server.conf b/tmpl/sunstone-server.conf index 880c1ee..afb2dbe 100644 --- a/tmpl/sunstone-server.conf +++ b/tmpl/sunstone-server.conf @@ -65,10 +65,10 @@ # driver defined for the user # #:auth: sunstone -%if %%getVar('sunstone_auth_modes', None) -:auth: sunstone -%else +%if %%getVar('sunstone_auth_modes', 'sunstone') == 'ldap' :auth: opennebula +%else +:auth: sunstone %end if # Authentication driver to communicate with OpenNebula core