Active Directory/Connect: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
|||
Line 2: | Line 2: | ||
The task is to establish a connection to an Active Directory or Lightweight Directory Access Protocol server. |
The task is to establish a connection to an Active Directory or Lightweight Directory Access Protocol server. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
Line 15: | Line 10: | ||
objConn.Provider := "ADsDSOObject" |
objConn.Provider := "ADsDSOObject" |
||
objConn.Open()</lang> |
objConn.Open()</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|C}}== |
=={{header|C}}== |
||
With OpenLDAP: |
With OpenLDAP: |
||
Line 31: | Line 32: | ||
var objDE = new System.DirectoryServices.DirectoryEntry("LDAP://DC=onecity,DC=corp,DC=fabrikam,DC=com"); |
var objDE = new System.DirectoryServices.DirectoryEntry("LDAP://DC=onecity,DC=corp,DC=fabrikam,DC=com"); |
||
</lang> |
</lang> |
||
=={{header|ColdFusion}}== |
=={{header|ColdFusion}}== |
||
Line 46: | Line 46: | ||
> |
> |
||
</lang> |
</lang> |
||
=={{header|D}}== |
=={{header|D}}== |
||
Line 299: | Line 298: | ||
my $mesg = $ldap->bind( $bind_dn, password => $bind_pass ); |
my $mesg = $ldap->bind( $bind_dn, password => $bind_pass ); |
||
</lang> |
</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|PHP}}== |
=={{header|PHP}}== |
||
Line 366: | Line 355: | ||
(ldap_unbind ld)</lang> |
(ldap_unbind ld)</lang> |
||
⚫ | |||
(formerly Perl 6) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Ruby}}== |
=={{header|Ruby}}== |
||
Line 408: | Line 408: | ||
} |
} |
||
}</lang> |
}</lang> |
||
=={{header|smart BASIC}}== |
=={{header|smart BASIC}}== |
||
{{incorrect|smart BASIC|Active Directory has nothing to do with the local file system}} |
{{incorrect|smart BASIC|Active Directory has nothing to do with the local file system}} |