Sha256: e4a6c740cae9945feec20b743f406f6fac2abf76c54f2be454a9e167e1caf769

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

require 'public_keys/ldap'

ldap = PublicKeys::LDAP.new(ENV['LDAP_HOST'], ENV['LDAP_PORT'], ENV['LDAP_USER'], ENV['LDAP_PASS'])
puts 'user keys:  ', ldap.user_keys('uid=pawel,ou=arkency,ou=people,dc=arkency,dc=com')
puts 'group keys: ', ldap.group_keys('cn=authorized_keys,ou=internal,ou=groups,dc=arkency,dc=com', 'dc=arkency,dc=com')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
public_keys-0.0.1 examples/ldap.rb