Thanks Jason! I ended up using net-ldap and just querying for
userAccountControl and comparing against this list:
http://www.netvision.com/ad_useraccountcontrol.php
def new_ldap_connection
Net::LDAP.new(
host: ENV['ad_host'],
port: ENV['ad_port'],
encryption: :simple_tls,
Hi all,
I am new to Rails and in my app I need to check if a user account is
disabled in Active Directory. I am not using AD for Rails
authentication. I've searched around and I'm getting overwhelmed with
the answers. What would be the easiest way to go about this? Should I
just do some type o
2 matches
Mail list logo