Active Directory/Connect: Difference between revisions
Content added Content deleted
m (→{{header|Go}}: Aligned code in import clause with rest of program.) |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Add a Perl 6 example) |
||
Line 299: | Line 299: | ||
my $mesg = $ldap->bind( $bind_dn, password => $bind_pass ); |
my $mesg = $ldap->bind( $bind_dn, password => $bind_pass ); |
||
</lang> |
</lang> |
||
=={{header|Perl 6}}== |
|||
Using module LDAP - bindings to the openLDAP library. Requires an LMDB 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}}== |
=={{header|PHP}}== |