1 \e[0;35m#### Or modify an existing entry:
\e[0m
2 ldapmodify -D "cn=root,<%= @ldap_base %>" -W << 'EOF'
6 userpassword: {SSHA}<%= Base64.encode64(Digest::SHA1.digest(@ldap_password+@ssha_ldap_seed)+@ssha_ldap_seed).chomp! %>
9 environment: <%= @environment %>
10 <%- unless @ips.empty? -%>
13 <%- unless @ips["v4"].nil? -%>
16 ipHostNumber: <%= @ips["v4"]["ipAddress"] %>
18 <%- unless @ips["v6"].nil? -%>
21 ipHostNumber: <%= @ips["v6"]["ipAddress"] %>/<%= @ips["v6"]["mask"] %>