<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dayflower</author_name>
  <author_url>https://blog.hatena.ne.jp/dayflower/</author_url>
  <blog_title>daily dayflower</blog_title>
  <blog_url>https://dayflower.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>ldap</anon>
  </categories>
  <description>Ruby には LDAP 用の実装がいくつかあるみたいだけど、Net::LDAP (ruby-net-ldap) なら Pure Ruby の実装らしいので、とりあえずそれを使うことにしました。ほとんど ActiveDirectoryサーバーを使ったLDAP認証（Rubyから） - 与太郎プログラマの日記 のコピペです。 require 'rubygems' require 'net/ldap' PORT = 389 DOMAIN = 'ad.example.com' SERVER = &quot;domain-controller-hostname.#{DOMAIN}&quot; BASE = 'CN=User…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdayflower.hatenablog.com%2Fentry%2F20100302%2F1267509137&quot; title=&quot; Ruby から Net::LDAP で ActiveDirectory にアクセスする - daily dayflower&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-03-02 14:52:17</published>
  <title> Ruby から Net::LDAP で ActiveDirectory にアクセスする</title>
  <type>rich</type>
  <url>https://dayflower.hatenablog.com/entry/20100302/1267509137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
