find
  % script/console
  >> pp User.find(:all).collect {|user| user.dn.to_s}
  ["cn=user1,ou=users,dc=clear-code,dc=local",
   "cn=user2,ou=users,dc=clear-code,dc=local",
   "cn=user3,ou=users,dc=clear-code,dc=local"]
  => nil
  >> user1 = User.find("user1")
  >> user1.dn.to_s
  => "cn=user1,ou=users,dc=clear-code,dc=local"
  >> puts user1.to_ldif
  version: 1
  dn: cn=user1,ou=users,dc=clear-code,dc=local
  cn: user1
  objectClass: person
  sn: User1
  userPassword: {SSHA}KDKfYE+hwXYYqN8dtrUwxwFij3EzUTdC
  => nil