Sha256: a1094cf4dc29433da4598fcd7a2faeb4a5501cbf406f30369b30daeaeea56a34

Contents?: true

Size: 506 Bytes

Versions: 5

Compression:

Stored size: 506 Bytes

Contents

#!/usr/bin/env ruby

require 'fileutils'
require 'etc'
require 'time'

require 'active_samba_ldap'
require 'active_samba_ldap/command'

include ActiveSambaLdap::GetTextSupport

argv, opts, options = ActiveSambaLdap::Command.parse_options do |opts, options|
end

unless Process.uid.zero?
  $stderr.puts(_("need root authority."))
  exit 1
end

ActiveSambaLdap::Base.setup_connection("update")

ActiveSambaLdap::Base.purge

ActiveSambaLdap::Base.restart_nscd

ActiveSambaLdap::Base.clear_active_connections!

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
activesambaldap-0.1.0 bin/asl-purge
activesambaldap-0.0.9 bin/asl-purge
activesambaldap-0.0.8 bin/asl-purge
ActiveSambaLdap-0.0.7 bin/asl-purge
activesambaldap-0.0.7 bin/asl-purge