Active Directory/Connect: Difference between revisions
Rename Perl 6 -> Raku, alphabetize, minor clean-up
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
|||
Line 2:
The task is to establish a connection to an Active Directory or Lightweight Directory Access Protocol server.
=={{header|AutoIt}}==▼
{{works with|AutoIt}}▼
<lang AutoIt> #include <AD.au3>▼
_AD_Open()</lang>▼
=={{header|AutoHotkey}}==
Line 15 ⟶ 10:
objConn.Provider := "ADsDSOObject"
objConn.Open()</lang>
▲=={{header|AutoIt}}==
▲{{works with|AutoIt}}
▲<lang AutoIt> #include <AD.au3>
▲_AD_Open()</lang>
=={{header|C}}==
With OpenLDAP:
Line 31 ⟶ 32:
var objDE = new System.DirectoryServices.DirectoryEntry("LDAP://DC=onecity,DC=corp,DC=fabrikam,DC=com");
</lang>
=={{header|ColdFusion}}==
Line 46:
>
</lang>
=={{header|D}}==
Line 299 ⟶ 298:
my $mesg = $ldap->bind( $bind_dn, password => $bind_pass );
</lang>
=={{header|Perl 6}}==▼
Using module LMDB - bindings to the openLDAP library. Requires an LDAP instance.▼
<lang perl6>use LMDB;▼
my %DB := LMDB::DB.open(:path<some-dir>, %connection-parameters);▼
</lang>▼
%DB may be accessed, read from and written to like a native hash.▼
=={{header|PHP}}==
Line 366 ⟶ 355:
(ldap_unbind ld)</lang>
(formerly Perl 6)
▲Using module LMDB - bindings to the openLDAP library. Requires an LDAP instance.
▲<lang perl6>use LMDB;
▲my %DB := LMDB::DB.open(:path<some-dir>, %connection-parameters);
▲</lang>
▲%DB may be accessed, read from and written to like a native hash.
=={{header|Ruby}}==
Line 408:
}
}</lang>
=={{header|smart BASIC}}==
{{incorrect|smart BASIC|Active Directory has nothing to do with the local file system}}
|