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