ruby-ldap/ruby-net-ldap
소개
순수 Ruby LDAP 라이브러리입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalNet::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.
관련 프로젝트 살펴보기
불러오는 중…