Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from CloCkWeRX/fix_user_creation

Fix user creation to skip when no password is present
  • Loading branch information...
commit 1df14630fff3fc08cc66e4ffec9a36eee04b906a 2 parents 27557bf + 3713f7b
@jtimberman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  recipes/server.rb
View
1  recipes/server.rb
@@ -65,6 +65,7 @@
if users
users.each do |u|
+ next unless u["smbpasswd"]
samba_user u["id"] do
password u["smbpasswd"]
action [:create, :enable]
Please sign in to comment.
Something went wrong with that request. Please try again.