Sha256: b74fa08035796d98f52f206e7100bc225b1650e13e866d47cf911f31b19c9235

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 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

7 entries across 7 versions & 1 rubygems

Version Path
dm-ldap-adapter-0.3.5 README-example.markdown
dm-ldap-adapter-0.3.4 README-example.markdown
dm-ldap-adapter-0.3.1 README-example.markdown
dm-ldap-adapter-0.3.2 README-example.markdown
dm-ldap-adapter-0.3.3 README-example.markdown
dm-ldap-adapter-0.2.0 README-example.markdown
dm-ldap-adapter-0.3.0 README-example.markdown