Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <%= counter=0 %>
  2.  
  3. <% @myLdap.each do |val| -%>
  4. syncrepl rid=<%= counter+=1 %>
  5. provider=ldap://<%= val %>.myhost.com
  6. type=refreshAndPersist
  7. retry="5 5 300 +"
  8. searchbase="dc=myhost,dc=com"
  9. attrs="*,+"
  10. bindmethod=simple
  11. binddn="cn=admin,dc=myhost,dc=com"
  12. credentials=abc123
  13.  
  14. <% end -%>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement