# Uri::ldaps

**URL:** <https://www.ruby-forum.com/t/uri-ldaps/115782>\
**Category:** Development\
**Created:** [September 28, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/uri-ldaps/115782 "2007-09-28T14:23:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kouhei\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f4b2a3/32.png) [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Post date:** [September 28, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/uri-ldaps/115782/1 "2007-09-28T14:23:07Z")

</div>

e$B?\F#$G$9!#e(B

URI::LDAPe$B$,$"$k$N$Ge(BURI::HTTP/URI::HTTPSe$B$N$h$&$K!"e(BURI::LDAPSe$B$be(B  
e$B%5%]!\<%H$7$F$b$i$($k$H4r$7$$$G$9!#e(B

# Index: lib/uri/ldaps.rb

— lib/uri/ldaps.rb (e$B%j%S%8%g%se(B 0)  
+++ lib/uri/ldaps.rb (e$B%j%S%8%g%se(B 0)  
@@ -0,0 +1,12 @@  
+require ‘uri/ldap’  
+  
+module URI  
+

- 
# The default port for LDAPS URIs is 636, and the scheme is ‘ldaps:’

rather

- 
# than ‘ldap:’. Other than that, LDAPS URIs are identical to LDAP

URIs;

- 
# see URI::LDAP.
- class LDAPS \< LDAP
- DEFAULT\_PORT = 636
- end
- @@schemes[‘LDAPS’] = LDAPS  
+end  
Index: lib/uri.rb  
===================================================================  
— lib/uri.rb (e$B%j%S%8%g%se(B 13549)  
+++ lib/uri.rb (e$B:n6H%3%T!\<e(B)  
@@ -25,4 +25,5 @@ require ‘uri/ftp’  
require ‘uri/http’  
require ‘uri/https’  
require ‘uri/ldap’  
+require ‘uri/ldaps’  
require ‘uri/mailto’
