aboutsummaryrefslogtreecommitdiff
path: root/templates/verify_active_directory.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/verify_active_directory.erb')
-rw-r--r--templates/verify_active_directory.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/verify_active_directory.erb b/templates/verify_active_directory.erb
index 0917c49..c88d6a4 100644
--- a/templates/verify_active_directory.erb
+++ b/templates/verify_active_directory.erb
@@ -24,7 +24,7 @@ fi
password='<%= scope.lookupvar('samba::server::ads::winbind_pass') -%>'
# short hostname from facter
-my_hostname="<%= hostname -%>"
+my_hostname="<%= @hostname -%>"
winbind_acct="<%= scope.lookupvar('samba::server::ads::winbind_acct') -%>"