https://github.com/ruby-ldap/ruby-net-ldap
Pure Ruby LDAP library
https://github.com/ruby-ldap/ruby-net-ldap
Keywords
hacktoberfest ldap ruby
Keywords from Contributors
rubygems activerecord mvc activejob rack deployment ruby-gem static-code-analysis rubocop code-formatter
Last synced: about 6 hours ago
JSON representation
Repository metadata
Pure Ruby LDAP library
- Host: GitHub
- URL: https://github.com/ruby-ldap/ruby-net-ldap
- Owner: ruby-ldap
- License: other
- Created: 2011-03-22T03:52:14.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2025-08-22T13:07:52.000Z (5 months ago)
- Last Synced: 2025-12-19T21:23:11.223Z (18 days ago)
- Topics: hacktoberfest, ldap, ruby
- Language: Ruby
- Homepage: https://rubygems.org/gems/net-ldap
- Size: 1.44 MB
- Stars: 404
- Watchers: 18
- Forks: 253
- Open Issues: 80
- Releases: 7
-
Metadata Files:
- Readme: README.rdoc
- Changelog: History.rdoc
- Contributing: CONTRIBUTING.md
- License: License.rdoc
README.rdoc
= Net::LDAP for Ruby
{
}[https://badge.fury.io/rb/net-ldap]
{
}[https://travis-ci.org/ruby-ldap/ruby-net-ldap]
== Description
Net::LDAP for Ruby (also called net-ldap) implements client access for the
Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for
accessing distributed directory services. Net::LDAP is written completely in
Ruby with no external dependencies. It supports most LDAP client features and a
subset of server features as well.
Net::LDAP has been tested against modern popular LDAP servers including
OpenLDAP and Active Directory. The current release is mostly compliant with
earlier versions of the IETF LDAP RFCs (2251–2256, 2829–2830, 3377, and 3771).
Our roadmap for Net::LDAP 1.0 is to gain full client compliance with
the most recent LDAP RFCs (4510–4519, plus portions of 4520–4532).
== Where
* {GitHub}[https://github.com/ruby-ldap/ruby-net-ldap]
* {ruby-ldap@googlegroups.com}[http://groups.google.com/group/ruby-ldap]
== Synopsis
See {Net::LDAP on rubydoc.info}[https://www.rubydoc.info/github/ruby-ldap/ruby-net-ldap/Net/LDAP] for documentation and usage samples.
== Requirements
Net::LDAP requires a Ruby 2.0.0 compatible interpreter or better.
== Install
Net::LDAP is a pure Ruby library. It does not require any external libraries.
You can install the RubyGems version of Net::LDAP available from the usual
sources.
gem install net-ldap
Simply require either 'net-ldap' or 'net/ldap'.
== Extensions
This library focuses on the core LDAP RFCs referenced in the description.
However, we recognize there are commonly used extensions to the spec that are
useful. If there is another library which handles it, we list it here.
* {resolv-srv}[https://rubygems.org/gems/resolv-srv]: Support RFC2782 SRV record lookup and failover
== Develop
This task will run the test suite and the
{RuboCop}[https://github.com/bbatsov/rubocop] static code analyzer.
rake rubotest
CI takes too long? If your local box supports
{Docker}[https://www.docker.com/], you can also run integration tests locally.
Simply run:
script/ldap-docker
INTEGRATION=openldap rake test
Or, use {Docker Compose}[https://docs.docker.com/compose/]. See docker-compose.yml for available Ruby versions.
docker-compose run ci-2.7
CAVEAT: you need to add the following line to /etc/hosts
127.0.0.1 ldap.example.org
127.0.0.1 cert.mismatch.example.org
== Release
This section is for gem maintainers to cut a new version of the gem.
* Check out a new branch `release-VERSION`
* Update lib/net/ldap/version.rb to next version number X.X.X following {semver}[http://semver.org/].
* Update `History.rdoc`. Get latest changes with `script/changelog`
* Open a pull request with these changes for review
* After merging, on the master branch, run `script/release`
:include: Contributors.rdoc
:include: License.rdoc
Owner metadata
- Name: ruby-ldap
- Login: ruby-ldap
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/676122?v=4
- Repositories: 2
- Last ynced at: 2024-03-25T19:51:30.576Z
- Profile URL: https://github.com/ruby-ldap
GitHub Events
Total
- Create event: 4
- Release event: 1
- Issues event: 6
- Watch event: 4
- Delete event: 3
- Member event: 1
- Issue comment event: 25
- Push event: 10
- Pull request review comment event: 7
- Pull request review event: 14
- Pull request event: 20
- Fork event: 4
Last Year
- Create event: 1
- Release event: 1
- Issues event: 4
- Watch event: 4
- Delete event: 1
- Issue comment event: 7
- Push event: 3
- Pull request review comment event: 1
- Pull request review event: 3
- Pull request event: 5
- Fork event: 3
Committers metadata
Last synced: 1 day ago
Total Commits: 1,046
Total Committers: 121
Avg Commits per committer: 8.645
Development Distribution Score (DDS): 0.782
Commits in past year: 4
Committers in past year: 3
Avg Commits per committer in past year: 1.333
Development Distribution Score (DDS) in past year: 0.5
| Name | Commits | |
|---|---|---|
| blackhedd | b****d@0****d | 228 |
| Matt Todd | c****y@g****m | 157 |
| Jerry Cheung | j****h@w****m | 115 |
| Austin Ziegler | a****n@h****a | 58 |
| Kevin McCormack | h****l@m****h | 46 |
| Tom Maher | t****r@g****m | 45 |
| Jerry Cheung | j****y@g****m | 37 |
| Víctor Roldán Betancort | v****t@g****m | 35 |
| Kaspar Schiess | k****s@a****i | 31 |
| Tatsuya Sato | t****o@r****m | 29 |
| tom | t****m@0****d | 22 |
| Tatsuya Sato | t****o@m****m | 17 |
| Rory OConnell | r****y@m****t | 13 |
| Jamstah | g****b@j****k | 8 |
| Jeremy Bopp | j****b@s****m | 8 |
| emiel | e****l@0****d | 8 |
| Daniel Abrahamsson | h****n@g****m | 7 |
| Niall Wilson | n****n@g****m | 7 |
| Dmitriy Zaporozhets | d****s@g****m | 7 |
| Aman Gupta | a****n@t****t | 5 |
| Rory O'Connell | r****l@u****u | 5 |
| Simon Levermann | s****n@s****e | 4 |
| Peter Vandenberk | p****k@s****k | 4 |
| Michael Schaarschmidt | m****t@i****e | 4 |
| Chris Dwan | c****n@p****m | 4 |
| Igor Victor | g****a@y****u | 4 |
| Olle Jonsson | o****n@g****m | 4 |
| Shaun Mangelsdorf | s****f@g****m | 3 |
| Rufus Post | r****t@g****m | 3 |
| Martin Carpenter | m****r@f****r | 3 |
| and 91 more... | ||
Committer domains:
- github.com: 4
- partnerpedia.com: 2
- lee.dj: 1
- schaaryworks.com: 1
- dhcp80ff9b7b.dynamic.uiowa.edu: 1
- jmas.co.jp: 1
- rapid7.com: 1
- barreverte.fr: 1
- inprose.com: 1
- opendoor.com: 1
- ucop.edu: 1
- conduct.no: 1
- team.telstra.com: 1
- yahoo.co.jp: 1
- ojab.ru: 1
- gmx.at: 1
- redhat.com: 1
- geo.uzh.ch: 1
- whatcodecraves.com: 1
- halostatue.ca: 1
- mccormack.tech: 1
- absurd.li: 1
- rakuten.com: 1
- mail.rakuten.com: 1
- metricgnome.net: 1
- james-hewitt.co.uk: 1
- spiceworks.com: 1
- tmm1.net: 1
- uiowa.edu: 1
- slevermann.de: 1
- simplybusiness.co.uk: 1
- itz.uni-halle.de: 1
- yandex.ru: 1
- free.fr: 1
- markuspc.be-ok.intern: 1
- walentowski.eu: 1
- hey.com: 1
- suuronen.org: 1
- instructure.com: 1
- mdsol.com: 1
- brianjohn.com: 1
- smartling.com: 1
- yahoo.co.in: 1
- woodsbagot.com: 1
- gearboxsoftware.com: 1
- rumble.run: 1
- softpoint.sk: 1
- clear-code.com: 1
- jonasw.de: 1
- iany.me: 1
- cfxmusic.com: 1
- eshango.com: 1
- us.ibm.com: 1
- ratiodata.de: 1
- equinux.com: 1
- vmware.com: 1
- objectfarm.co.uk: 1
- sandstormit.com: 1
- lucidchart.com: 1
- sdalu.com: 1
- fammed.wisc.edu: 1
- standardbank.co.za: 1
- ymgch.org: 1
- freebsd.org: 1
- tiscali.cz: 1
- znuny.com: 1
- bloomberg.net: 1
- ecraft.com: 1
- linfratech.co.uk: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 56
Total pull requests: 91
Average time to close issues: over 1 year
Average time to close pull requests: about 1 year
Total issue authors: 45
Total pull request authors: 47
Average comments per issue: 2.48
Average comments per pull request: 1.58
Merged pull request: 60
Bot issues: 0
Bot pull requests: 0
Past year issues: 4
Past year pull requests: 14
Past year average time to close issues: 2 days
Past year average time to close pull requests: 2 days
Past year issue authors: 4
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.57
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- sebbASF (3)
- Neustradamus (3)
- halostatue (3)
- dblessing (3)
- HynekPetrak (2)
- HarlemSquirrel (2)
- gupta-kanika-dev (2)
- satoryu (1)
- Vchekryzhov (1)
- gwillcox-r7 (1)
- fwolfst (1)
- clader (1)
- dasomx77 (1)
- mtodd (1)
- sukeerthiadiga (1)
Top Pull Request Authors
- HarlemSquirrel (22)
- olleolleolle (4)
- zeroSteiner (4)
- pvdb (4)
- jwedoff (2)
- hakeem0114 (2)
- n-rodriguez (2)
- andrykonchin (2)
- Ivanov-Anton (2)
- jpdasma (2)
- thorsteneckel (2)
- cmdrclueless (2)
- mtodd (2)
- fwininger (2)
- frankwalentowski (2)
Top Issue Labels
- Bugs (5)
- Feature Requests (5)
Top Pull Request Labels
- Feature Requests (3)
- Needs tests (1)
Package metadata
- Total packages: 17
-
Total downloads:
- rubygems: 165,939,322 total
- Total docker downloads: 1,423,692,902
- Total dependent packages: 179 (may contain duplicates)
- Total dependent repositories: 7,474 (may contain duplicates)
- Total versions: 111
- Total maintainers: 8
- Total advisories: 2
gem.coop: net-ldap
Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services. Net::LDAP is written completely in Ruby with no external dependencies. It supports most LDAP client features and a subset of server features as well. Net::LDAP has been tested against modern popular LDAP servers including OpenLDAP and Active Directory. The current release is mostly compliant with earlier versions of the IETF LDAP RFCs (2251-2256, 2829-2830, 3377, and 3771). Our roadmap for Net::LDAP 1.0 is to gain full <em>client</em> compliance with the most recent LDAP RFCs (4510-4519, plutions of 4520-4532).
- Homepage: http://github.com/ruby-ldap/ruby-net-ldap
- Documentation: http://www.rubydoc.info/gems/net-ldap/
- Licenses: MIT
- Latest release: 0.20.0 (published 5 months ago)
- Last Synced: 2026-01-06T02:33:25.668Z (1 day ago)
- Versions: 31
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 82,811,020 Total
- Docker Downloads: 711,846,451
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.112%
- Docker downloads count: 0.129%
- Downloads: 0.319%
- Maintainers (4)
rubygems.org: net-ldap
Net::LDAP for Ruby (also called net-ldap) implements client access for the Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services. Net::LDAP is written completely in Ruby with no external dependencies. It supports most LDAP client features and a subset of server features as well. Net::LDAP has been tested against modern popular LDAP servers including OpenLDAP and Active Directory. The current release is mostly compliant with earlier versions of the IETF LDAP RFCs (2251-2256, 2829-2830, 3377, and 3771). Our roadmap for Net::LDAP 1.0 is to gain full <em>client</em> compliance with the most recent LDAP RFCs (4510-4519, plutions of 4520-4532).
- Homepage: http://github.com/ruby-ldap/ruby-net-ldap
- Documentation: http://www.rubydoc.info/gems/net-ldap/
- Licenses: MIT
- Latest release: 0.20.0 (published 5 months ago)
- Last Synced: 2026-01-05T23:48:33.111Z (1 day ago)
- Versions: 31
- Dependent Packages: 164
- Dependent Repositories: 7,425
- Downloads: 82,808,944 Total
- Docker Downloads: 711,846,451
-
Rankings:
- Docker downloads count: 0.158%
- Dependent packages count: 0.214%
- Downloads: 0.337%
- Dependent repos count: 0.374%
- Average: 0.928%
- Forks count: 1.631%
- Stargazers count: 2.855%
- Maintainers (4)
- Advisories:
gem.coop: ruby-net-ldap
Net::LDAP is an LDAP support library written in pure Ruby. It supports all LDAP client features, and a subset of server features as well.
- Homepage: http://rubyforge.org/projects/net-ldap
- Documentation: http://www.rubydoc.info/gems/ruby-net-ldap/
- Licenses: other
- Latest release: 0.0.4 (published over 16 years ago)
- Last Synced: 2026-01-04T20:03:54.686Z (2 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 159,679 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 2.407%
- Downloads: 7.222%
- Maintainers (4)
rubygems.org: ruby-net-ldap
Net::LDAP is an LDAP support library written in pure Ruby. It supports all LDAP client features, and a subset of server features as well.
- Homepage: http://rubyforge.org/projects/net-ldap
- Documentation: http://www.rubydoc.info/gems/ruby-net-ldap/
- Licenses: other
- Latest release: 0.0.4 (published over 16 years ago)
- Last Synced: 2026-01-04T20:03:54.719Z (2 days ago)
- Versions: 4
- Dependent Packages: 15
- Dependent Repositories: 49
- Downloads: 159,679 Total
-
Rankings:
- Dependent packages count: 1.278%
- Forks count: 1.589%
- Stargazers count: 2.822%
- Average: 3.144%
- Dependent repos count: 3.658%
- Downloads: 6.371%
- Maintainers (4)
alpine-v3.18: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.18.0-r0 (published over 2 years ago)
- Last Synced: 2026-01-04T20:04:01.387Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 4.663%
- Forks count: 5.805%
- Stargazers count: 12.847%
- Maintainers (1)
alpine-v3.13: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.16.2-r2 (published over 5 years ago)
- Last Synced: 2026-01-04T20:03:52.320Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 4.332%
- Average: 7.957%
- Stargazers count: 7.973%
- Dependent packages count: 19.522%
- Maintainers (1)
alpine-v3.12: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.16.2-r2 (published over 5 years ago)
- Last Synced: 2026-01-04T20:03:51.292Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 3.894%
- Stargazers count: 6.723%
- Average: 8.021%
- Dependent packages count: 21.468%
- Maintainers (1)
proxy.golang.org: github.com/ruby-ldap/ruby-net-ldap
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ruby-ldap/ruby-net-ldap#section-documentation
- Licenses: other
- Latest release: v0.20.0 (published 5 months ago)
- Last Synced: 2026-01-04T20:03:53.807Z (2 days ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
alpine-v3.14: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.16.2-r2 (published over 5 years ago)
- Last Synced: 2026-01-04T20:03:58.516Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 4.346%
- Stargazers count: 8.083%
- Average: 8.527%
- Dependent packages count: 21.681%
- Maintainers (1)
alpine-edge: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.19.0-r1 (published 9 months ago)
- Last Synced: 2026-01-04T20:03:59.952Z (2 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 6.673%
- Average: 8.804%
- Stargazers count: 13.901%
- Dependent packages count: 14.641%
- Maintainers (1)
alpine-v3.15: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.17.1-r0 (published over 3 years ago)
- Last Synced: 2026-01-04T20:03:56.789Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 4.44%
- Stargazers count: 8.867%
- Average: 9.723%
- Dependent packages count: 25.585%
- Maintainers (1)
alpine-v3.16: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.17.1-r0 (published over 3 years ago)
- Last Synced: 2026-01-04T20:03:54.659Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 4.473%
- Stargazers count: 9.597%
- Average: 10.345%
- Dependent packages count: 27.311%
- Maintainers (1)
alpine-v3.17: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.17.1-r0 (published over 3 years ago)
- Last Synced: 2026-01-04T20:03:55.691Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Forks count: 5.108%
- Average: 11.035%
- Stargazers count: 11.777%
- Dependent packages count: 27.254%
- Maintainers (1)
alpine-v3.20: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.19.0-r0 (published almost 2 years ago)
- Last Synced: 2026-01-04T20:04:03.144Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.21: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.19.0-r0 (published almost 2 years ago)
- Last Synced: 2026-01-04T20:04:01.023Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.19: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.18.0-r0 (published about 2 years ago)
- Last Synced: 2026-01-04T20:04:01.280Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
alpine-v3.22: ruby-net-ldap
Pure Ruby LDAP library
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.19.0-r1 (published 9 months ago)
- Last Synced: 2026-01-04T20:04:00.620Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- flexmock ~> 1.3 development
- rake ~> 12.3.3 development
- rubocop ~> 0.49.0 development
- test-unit ~> 3.3 development
- actions/checkout v2 composite
- flavorjones/truffleruby 21.0.0
- jruby 9.2
- osixia/openldap 1.4.0
- ruby 3.0
- ruby 2.5
- ruby 2.7
Score: 32.16464922018814