net-ldap 0.16.3 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/History.rdoc +59 -0
 - data/README.rdoc +10 -3
 - data/lib/net/ldap/connection.rb +18 -10
 - data/lib/net/ldap/dataset.rb +0 -2
 - data/lib/net/ldap/dn.rb +9 -17
 - data/lib/net/ldap/entry.rb +11 -2
 - data/lib/net/ldap/error.rb +1 -26
 - data/lib/net/ldap/password.rb +4 -0
 - data/lib/net/ldap/version.rb +1 -1
 - data/lib/net/ldap.rb +28 -3
 - metadata +17 -93
 - data/.gitignore +0 -10
 - data/.rubocop.yml +0 -20
 - data/.rubocop_todo.yml +0 -723
 - data/.travis.yml +0 -57
 - data/CONTRIBUTING.md +0 -54
 - data/Gemfile +0 -2
 - data/Rakefile +0 -23
 - data/net-ldap.gemspec +0 -37
 - data/script/changelog +0 -47
 - data/script/ldap-docker +0 -12
 - data/script/package +0 -7
 - data/script/release +0 -16
 - data/test/ber/core_ext/test_array.rb +0 -22
 - data/test/ber/core_ext/test_string.rb +0 -25
 - data/test/ber/test_ber.rb +0 -153
 - data/test/fixtures/ca/docker-ca.pem +0 -18
 - data/test/fixtures/ldif/06-retcode.ldif +0 -75
 - data/test/fixtures/ldif/50-seed.ldif +0 -374
 - data/test/integration/test_add.rb +0 -26
 - data/test/integration/test_ber.rb +0 -30
 - data/test/integration/test_bind.rb +0 -221
 - data/test/integration/test_delete.rb +0 -29
 - data/test/integration/test_open.rb +0 -87
 - data/test/integration/test_password_modify.rb +0 -93
 - data/test/integration/test_return_codes.rb +0 -46
 - data/test/integration/test_search.rb +0 -77
 - data/test/support/vm/openldap/.gitignore +0 -1
 - data/test/test_auth_adapter.rb +0 -15
 - data/test/test_dn.rb +0 -43
 - data/test/test_entry.rb +0 -66
 - data/test/test_filter.rb +0 -223
 - data/test/test_filter_parser.rb +0 -29
 - data/test/test_helper.rb +0 -73
 - data/test/test_ldap.rb +0 -114
 - data/test/test_ldap_connection.rb +0 -505
 - data/test/test_ldif.rb +0 -104
 - data/test/test_password.rb +0 -10
 - data/test/test_rename.rb +0 -77
 - data/test/test_search.rb +0 -39
 - data/test/test_snmp.rb +0 -118
 - data/test/test_ssl_ber.rb +0 -44
 - data/test/testdata.ldif +0 -101
 - data/testserver/ldapserver.rb +0 -200
 - data/testserver/testdata.ldif +0 -101
 
    
        data/testserver/testdata.ldif
    DELETED
    
    | 
         @@ -1,101 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # $Id$
         
     | 
| 
       2 
     | 
    
         
            -
            #
         
     | 
| 
       3 
     | 
    
         
            -
            # This is test-data for an LDAP server in LDIF format.
         
     | 
| 
       4 
     | 
    
         
            -
            #
         
     | 
| 
       5 
     | 
    
         
            -
            dn: dc=bayshorenetworks,dc=com
         
     | 
| 
       6 
     | 
    
         
            -
            objectClass: dcObject
         
     | 
| 
       7 
     | 
    
         
            -
            objectClass: organization
         
     | 
| 
       8 
     | 
    
         
            -
            o: Bayshore Networks LLC
         
     | 
| 
       9 
     | 
    
         
            -
            dc: bayshorenetworks
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
            dn: cn=Manager,dc=bayshorenetworks,dc=com
         
     | 
| 
       12 
     | 
    
         
            -
            objectClass: organizationalrole
         
     | 
| 
       13 
     | 
    
         
            -
            cn: Manager
         
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            dn: ou=people,dc=bayshorenetworks,dc=com
         
     | 
| 
       16 
     | 
    
         
            -
            objectClass: organizationalunit
         
     | 
| 
       17 
     | 
    
         
            -
            ou: people
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
            dn: ou=privileges,dc=bayshorenetworks,dc=com
         
     | 
| 
       20 
     | 
    
         
            -
            objectClass: organizationalunit
         
     | 
| 
       21 
     | 
    
         
            -
            ou: privileges
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
            dn: ou=roles,dc=bayshorenetworks,dc=com
         
     | 
| 
       24 
     | 
    
         
            -
            objectClass: organizationalunit
         
     | 
| 
       25 
     | 
    
         
            -
            ou: roles
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
            dn: ou=office,dc=bayshorenetworks,dc=com
         
     | 
| 
       28 
     | 
    
         
            -
            objectClass: organizationalunit
         
     | 
| 
       29 
     | 
    
         
            -
            ou: office
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
            dn: mail=nogoodnik@steamheat.net,ou=people,dc=bayshorenetworks,dc=com
         
     | 
| 
       32 
     | 
    
         
            -
            cn: Bob Fosse
         
     | 
| 
       33 
     | 
    
         
            -
            mail: nogoodnik@steamheat.net
         
     | 
| 
       34 
     | 
    
         
            -
            sn: Fosse
         
     | 
| 
       35 
     | 
    
         
            -
            ou: people
         
     | 
| 
       36 
     | 
    
         
            -
            objectClass: top
         
     | 
| 
       37 
     | 
    
         
            -
            objectClass: inetorgperson
         
     | 
| 
       38 
     | 
    
         
            -
            objectClass: authorizedperson
         
     | 
| 
       39 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=engineer,ou=roles
         
     | 
| 
       40 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ldapadmin,ou=roles
         
     | 
| 
       41 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ldapsuperadmin,ou=roles
         
     | 
| 
       42 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ogilvy_elephant_user,ou=roles
         
     | 
| 
       43 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ogilvy_eagle_user,ou=roles
         
     | 
| 
       44 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=greenplug_user,ou=roles
         
     | 
| 
       45 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=brandplace_logging_user,ou=roles
         
     | 
| 
       46 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=brandplace_report_user,ou=roles
         
     | 
| 
       47 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=workorder_user,ou=roles
         
     | 
| 
       48 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=bayshore_eagle_user,ou=roles
         
     | 
| 
       49 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=bayshore_eagle_superuser,ou=roles
         
     | 
| 
       50 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=kledaras_user,ou=roles
         
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
            dn: mail=elephant@steamheat.net,ou=people,dc=bayshorenetworks,dc=com
         
     | 
| 
       53 
     | 
    
         
            -
            cn: Gwen Verdon
         
     | 
| 
       54 
     | 
    
         
            -
            mail: elephant@steamheat.net
         
     | 
| 
       55 
     | 
    
         
            -
            sn: Verdon
         
     | 
| 
       56 
     | 
    
         
            -
            ou: people
         
     | 
| 
       57 
     | 
    
         
            -
            objectClass: top
         
     | 
| 
       58 
     | 
    
         
            -
            objectClass: inetorgperson
         
     | 
| 
       59 
     | 
    
         
            -
            objectClass: authorizedperson
         
     | 
| 
       60 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=brandplace_report_user,ou=roles
         
     | 
| 
       61 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=engineer,ou=roles
         
     | 
| 
       62 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ogilvy_elephant_user,ou=roles
         
     | 
| 
       63 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ldapsuperadmin,ou=roles
         
     | 
| 
       64 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ldapadmin,ou=roles
         
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
            dn: uniqueIdentifier=engineering,ou=privileges,dc=bayshorenetworks,dc=com
         
     | 
| 
       67 
     | 
    
         
            -
            uniqueIdentifier: engineering
         
     | 
| 
       68 
     | 
    
         
            -
            ou: privileges
         
     | 
| 
       69 
     | 
    
         
            -
            objectClass: accessPrivilege
         
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
            dn: uniqueIdentifier=engineer,ou=roles,dc=bayshorenetworks,dc=com
         
     | 
| 
       72 
     | 
    
         
            -
            uniqueIdentifier: engineer
         
     | 
| 
       73 
     | 
    
         
            -
            ou: roles
         
     | 
| 
       74 
     | 
    
         
            -
            objectClass: accessRole
         
     | 
| 
       75 
     | 
    
         
            -
            hasAccessPrivilege: uniqueIdentifier=engineering,ou=privileges
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
            dn: uniqueIdentifier=ldapadmin,ou=roles,dc=bayshorenetworks,dc=com
         
     | 
| 
       78 
     | 
    
         
            -
            uniqueIdentifier: ldapadmin
         
     | 
| 
       79 
     | 
    
         
            -
            ou: roles
         
     | 
| 
       80 
     | 
    
         
            -
            objectClass: accessRole
         
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
            dn: uniqueIdentifier=ldapsuperadmin,ou=roles,dc=bayshorenetworks,dc=com
         
     | 
| 
       83 
     | 
    
         
            -
            uniqueIdentifier: ldapsuperadmin
         
     | 
| 
       84 
     | 
    
         
            -
            ou: roles
         
     | 
| 
       85 
     | 
    
         
            -
            objectClass: accessRole
         
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
            dn: mail=catperson@steamheat.net,ou=people,dc=bayshorenetworks,dc=com
         
     | 
| 
       88 
     | 
    
         
            -
            cn: Sid Sorokin
         
     | 
| 
       89 
     | 
    
         
            -
            mail: catperson@steamheat.net
         
     | 
| 
       90 
     | 
    
         
            -
            sn: Sorokin
         
     | 
| 
       91 
     | 
    
         
            -
            ou: people
         
     | 
| 
       92 
     | 
    
         
            -
            objectClass: top
         
     | 
| 
       93 
     | 
    
         
            -
            objectClass: inetorgperson
         
     | 
| 
       94 
     | 
    
         
            -
            objectClass: authorizedperson
         
     | 
| 
       95 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=engineer,ou=roles
         
     | 
| 
       96 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ogilvy_elephant_user,ou=roles
         
     | 
| 
       97 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ldapsuperadmin,ou=roles
         
     | 
| 
       98 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=ogilvy_eagle_user,ou=roles
         
     | 
| 
       99 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=greenplug_user,ou=roles
         
     | 
| 
       100 
     | 
    
         
            -
            hasAccessRole: uniqueIdentifier=workorder_user,ou=roles
         
     | 
| 
       101 
     | 
    
         
            -
             
     |