diff --git a/lib/tasks/ldap.rake b/lib/tasks/ldap.rake index 14da9dd..dcdebfe 100644 --- a/lib/tasks/ldap.rake +++ b/lib/tasks/ldap.rake @@ -1,6 +1,6 @@ namespace :ldap do desc "Reset the LDAP directory and set up base entries and default org" - task seed: :environment do |t, args| + task setup: :environment do |t, args| ldap = LdapService.new ldap.delete_entry "cn=admin_role,ou=kosmos.org,cn=users,dc=kosmos,dc=org", true