omn​​iauth ldap:OmniAuth的LDAP策略 源码

cognitive3240 14 0 ZIP 2021-03-07 01:03:39

OmniAuth LDAP == LDAP 在应用程序中使用LDAP策略作为中间件: use OmniAuth::Strategies::LDAP, :title => "My LDAP", :host => '10.101.10.1', :port => 389, :method => :plain, :base => 'dc=intridea, dc=com', :uid => 'sAMAccountName', :name_proc => Proc.new {|name| name.gsub(/@.*$/,'')}, :bind_dn => 'default_bind_dn', # Or, alternatively: #:filter => '(&(uid=%{username})(membe

用户评论
请输入评论内容
评分:
暂无评论