Anonymous user
Active Directory/Connect: Difference between revisions
Added PicoLisp
No edit summary |
(Added PicoLisp) |
||
Line 17:
$ldap = ldap_connect($hostname, $port);
$success = ldap_bind($ldap, $username, $password);</lang>
=={{header|PicoLisp}}==
<lang PicoLisp>(unless (=0 (setq Ldap (native "libldap.so" "ldap_open" 'N "example.com" 389)))
(quit "Can't open LDAP") )
(native "libldap.so" "ldap_simple_bind_s" 'I Ldap "user" "password")</lang>
=={{header|Python}}==
|