Sha256: 0b0ce1da28c9ba5f095e38ef88d0a189b770de9637edd5a90089fdd85a62a991

Contents?: true

Size: 472 Bytes

Versions: 13

Compression:

Stored size: 472 Bytes

Contents

posix accounts/groups example
=============================

first you need to adjust the configuration for ldap adapter in `example/posix.rb` and then start irb

    $ LDAP_PWD='secret' irb

     require 'example/posix.rb'
     u = User.create(:login=>'test', :name => "name", :password => "pwd")
     User.all
     g = Group.create(:name => "test")
     Group.all
     u.groups << g
     u.groups
     g.users
     u.authenticate("wrong-pwd")
     u.authenticate("pwd")

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dm-ldap-adapter-0.4.7 README-example.md
dm-ldap-adapter-0.4.8 README-example.md
dm-ldap-adapter-0.4.6 README-example.md
dm-ldap-adapter-0.4.6-java README-example.md
dm-ldap-adapter-0.4.5 README-example.md
dm-ldap-adapter-0.4.4 README-example.md
dm-ldap-adapter-0.4.3 README-example.md
dm-ldap-adapter-0.4.2 README-example.markdown
dm-ldap-adapter-0.4.1 README-example.markdown
dm-ldap-adapter-0.4.0 README-example.markdown
dm-ldap-adapter-0.4.0.alpha4 README-example.markdown
dm-ldap-adapter-0.4.0.alpha3 README-example.markdown
dm-ldap-adapter-0.4.0.alpha2 README-example.markdown