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
rubygem activerecord activejob mvc rack deployment static-code-analysis rubocop code-formatter rspec
Last synced: about 14 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 (over 15 years ago)
- Default Branch: master
- Last Pushed: 2026-10-15T04:19:15.000Z (about 1 month ago)
- Last Synced: 2026-10-18T19:33:55.658Z (about 1 month ago)
- Topics: hacktoberfest, ldap, ruby
- Language: Ruby
- Homepage: https://rubygems.org/gems/net-ldap
- Size: 1.47 MB
- Stars: 403
- Watchers: 18
- Forks: 256
- Open Issues: 79
- Releases: 8
-
Metadata Files:
- Readme: README.md
- Changelog: History.rdoc
- Contributing: CONTRIBUTING.md
- License: License.rdoc
README.md
Net::LDAP for Ruby
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
Synopsis
See Net::LDAP on rubydoc.info for documentation and usage samples.
Requirements
Net::LDAP requires a Ruby 3.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: Support RFC2782 SRV record lookup and failover
Develop
This task will run the test suite and the
RuboCop static code analyzer.
rake rubotest
CI takes too long? If your local box supports
Docker, you can also run integration tests locally.
Simply run:
script/ldap-docker
INTEGRATION=openldap rake test
Or, use Docker Compose. See docker-compose.yml for available Ruby versions.
docker-compose run ci-4.0
CAVEAT: you need to add the following lines 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.rbto next version numberX.X.Xfollowing semver. - Update
History.rdoc. Get latest changes withscript/changelog - Open a pull request with these changes for review
- After merging, on the
masterbranch, runscript/release
Contributors
See Contributors.rdoc.
License
See 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: 2026-11-16T06:25:13.674Z
- Profile URL: https://github.com/ruby-ldap
GitHub Events
Total
- Create event: 4
- Delete event: 3
- Fork event: 4
- Issue comment event: 25
- Issues event: 6
- Member event: 1
- Pull request event: 20
- Pull request review comment event: 7
- Pull request review event: 15
- Push event: 10
- Release event: 1
- Watch event: 4
Last Year
- Pull request review event: 1
Committers metadata
Last synced: 1 day ago
Total Commits: 1,054
Total Committers: 123
Avg Commits per committer: 8.569
Development Distribution Score (DDS): 0.784
Commits in past year: 8
Committers in past year: 3
Avg Commits per committer in past year: 2.667
Development Distribution Score (DDS) in past year: 0.25
| 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 | 52 |
| 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 |
| emiel | e****l@0****d | 8 |
| Jeremy Bopp | j****b@s****m | 8 |
| Jamstah | g****b@j****k | 8 |
| Daniel Abrahamsson | h****n@g****m | 7 |
| Dmitriy Zaporozhets | d****s@g****m | 7 |
| Niall Wilson | n****n@g****m | 7 |
| Rory O'Connell | r****l@u****u | 5 |
| Aman Gupta | a****n@t****t | 5 |
| Simon Levermann | s****n@s****e | 4 |
| Peter Vandenberk | p****k@s****k | 4 |
| Olle Jonsson | o****n@g****m | 4 |
| Igor Victor | g****a@y****u | 4 |
| Michael Schaarschmidt | m****t@i****e | 4 |
| Chris Dwan | c****n@p****m | 4 |
| Rory OConnell | r****y@d****u | 3 |
| Michael Schaarschmidt | m****l@s****m | 3 |
| Michael Baker | m****r@p****m | 3 |
| and 93 more... | ||
Committer domains:
- github.com: 4
- partnerpedia.com: 2
- schaaryworks.com: 1
- lee.dj: 1
- free.fr: 1
- jmas.co.jp: 1
- rapid7.com: 1
- team.telstra.com: 1
- conduct.no: 1
- ucop.edu: 1
- barreverte.fr: 1
- inprose.com: 1
- opendoor.com: 1
- yahoo.co.jp: 1
- ojab.ru: 1
- rumble.run: 1
- gearboxsoftware.com: 1
- markuspc.be-ok.intern: 1
- whatcodecraves.com: 1
- halostatue.ca: 1
- mccormack.tech: 1
- absurd.li: 1
- rakuten.com: 1
- mail.rakuten.com: 1
- metricgnome.net: 1
- spiceworks.com: 1
- james-hewitt.co.uk: 1
- uiowa.edu: 1
- tmm1.net: 1
- slevermann.de: 1
- simplybusiness.co.uk: 1
- yandex.ru: 1
- itz.uni-halle.de: 1
- dhcp80ff9b7b.dynamic.uiowa.edu: 1
- geo.uzh.ch: 1
- walentowski.eu: 1
- suuronen.org: 1
- linfratech.co.uk: 1
- woodsbagot.com: 1
- hey.com: 1
- yahoo.co.in: 1
- smartling.com: 1
- brianjohn.com: 1
- mdsol.com: 1
- instructure.com: 1
- znuny.com: 1
- ecraft.com: 1
- gmx.at: 1
- redhat.com: 1
- clear-code.com: 1
- jonasw.de: 1
- iany.me: 1
- eshango.com: 1
- sandstormit.com: 1
- us.ibm.com: 1
- objectfarm.co.uk: 1
- vmware.com: 1
- equinux.com: 1
- ratiodata.de: 1
- bloomberg.net: 1
- lucidchart.com: 1
- softpoint.sk: 1
- tiscali.cz: 1
- freebsd.org: 1
- ymgch.org: 1
- standardbank.co.za: 1
- fammed.wisc.edu: 1
- zenet-web.co.jp: 1
- sdalu.com: 1
- cfxmusic.com: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 57
Total pull requests: 92
Average time to close issues: over 1 year
Average time to close pull requests: about 1 year
Total issue authors: 46
Total pull request authors: 51
Average comments per issue: 2.46
Average comments per pull request: 1.51
Merged pull request: 64
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 12
Past year average time to close issues: 9 months
Past year average time to close pull requests: 3 months
Past year issue authors: 1
Past year pull request authors: 5
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.25
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)
- gupta-kanika-dev (2)
- HarlemSquirrel (2)
- olleolleolle (1)
- k-tsuchiya-jp (1)
- Vchekryzhov (1)
- gwillcox-r7 (1)
- fwolfst (1)
- clader (1)
- dasomx77 (1)
- mtodd (1)
Top Pull Request Authors
- HarlemSquirrel (26)
- pvdb (4)
- olleolleolle (4)
- cmdrclueless (2)
- mtodd (2)
- thorsteneckel (2)
- zeroSteiner (2)
- jwedoff (2)
- jpdasma (2)
- ccutrer (2)
- dhivyada (2)
- k-tsuchiya-jp (2)
- fwininger (2)
- alexjfisher (1)
- wtn (1)
Top Issue Labels
- Feature Requests (5)
- Bugs (5)
Top Pull Request Labels
- Feature Requests (3)
- Needs tests (1)
Package metadata
- Total packages: 20
-
Total downloads:
- rubygems: 178,157,518 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: 119
- 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.21.0 (published about 1 month ago)
- Last Synced: 2026-11-17T06:32:50.310Z (1 day ago)
- Versions: 32
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 88,905,594 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.21.0 (published about 1 month ago)
- Last Synced: 2026-11-17T21:22:56.424Z (1 day ago)
- Versions: 32
- Dependent Packages: 164
- Dependent Repositories: 7,425
- Downloads: 88,925,416 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 17 years ago)
- Last Synced: 2026-11-17T06:32:51.515Z (1 day ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 163,254 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 17 years ago)
- Last Synced: 2026-11-17T06:32:50.782Z (1 day ago)
- Versions: 4
- Dependent Packages: 15
- Dependent Repositories: 49
- Downloads: 163,254 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 3 years ago)
- Last Synced: 2026-04-11T14:02:17.551Z (7 months 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 6 years ago)
- Last Synced: 2026-04-11T16:01:52.864Z (7 months 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 6 years ago)
- Last Synced: 2026-04-11T12:01:51.015Z (7 months 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.21.0 (published about 1 month ago)
- Last Synced: 2026-11-17T06:32:53.033Z (1 day ago)
- Versions: 26
- 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 6 years ago)
- Last Synced: 2026-04-11T12:01:38.067Z (7 months 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.20.0-r0 (published 4 months ago)
- Last Synced: 2026-07-14T03:28:57.383Z (4 months ago)
- Versions: 6
- 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 about 4 years ago)
- Last Synced: 2026-04-11T13:06:30.683Z (7 months 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 about 4 years ago)
- Last Synced: 2026-04-11T13:06:36.327Z (7 months 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 about 4 years ago)
- Last Synced: 2026-09-24T12:32:27.606Z (about 2 months 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 over 2 years ago)
- Last Synced: 2026-04-11T13:08:01.619Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
pkgsrc-netbsd-x86_64-10.1-all: net/ruby-net-ldap
Client access for the LDAP
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Documentation: https://pkgsrc.se/net/ruby-net-ldap
- Licenses: mit
- Latest release: 0.20.0 (published 8 months ago)
- Last Synced: 2026-05-27T08:44:38.967Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
alpine-v3.23: 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 over 1 year ago)
- Last Synced: 2026-08-31T04:26:54.266Z (3 months 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 over 2 years ago)
- Last Synced: 2026-04-11T13:07:04.253Z (7 months 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 over 1 year ago)
- Last Synced: 2026-04-11T13:06:57.136Z (7 months 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 3 years ago)
- Last Synced: 2026-04-11T13:08:02.156Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
gentoo-portage: dev-ruby/ruby-net-ldap
Pure ruby LDAP client implementation
- Homepage: https://github.com/ruby-ldap/ruby-net-ldap
- Documentation: https://packages.gentoo.org/packages/dev-ruby/ruby-net-ldap
- Licenses: MIT
- Latest release: 0.20.0 (published 7 months ago)
- Last Synced: 2026-05-27T02:50:09.143Z (6 months ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
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
- debug >= 0
- flexmock ~> 1.3
- gem-release ~> 2.0
- rake ~> 12.3.3
- rubocop ~> 1.48
- test-unit >= 0
- actions/checkout v4 composite
- ncipollo/release-action v1 composite
- ruby/setup-ruby v1 composite
- rubygems/release-gem v1 composite
Score: 32.18455898695912