http://ruby-ldap.sourceforge.net/ãã£ã±ããLLã§LDAPæä½ã¯ããæãã ã便å©ã #!/usr/bin/ruby require "ldap" conn = LDAP::Conn.new('localhost',LDAP::LDAP_PORT) conn.set_option(LDAP::LDAP_OPT_PROTOCOL_VERSION,3) begin conn.bind("cn=master,o=example,c=jp","passwd") { base = "dc=hoge.com,o=example,c=jp" scope = LDAP::LDAP_SCOPE_SUBTREE filter = "(uid=*)"; attrs = nil attrsonly = false; sec, usec = 0, 0 key = "uid"; cmp
{{#tags}}- {{label}}
{{/tags}}