Active Directory/Connect: Difference between revisions

Content added Content deleted
Line 70: Line 70:
ldap = Net::LDAP.new(:host => 'ldap.example.com', :base => 'o=companyname')
ldap = Net::LDAP.new(:host => 'ldap.example.com', :base => 'o=companyname')
ldap.authenticate('bind_dn', 'bind_pass')</lang>
ldap.authenticate('bind_dn', 'bind_pass')</lang>

=={{header|Run BASIC}}==
<lang runbasic>print shell$("dir") ' shell out to the os and print it</lang>


=={{header|Tcl}}==
=={{header|Tcl}}==