Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/popularity/action.php on line 57

Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/safefnrecode/action.php on line 66

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldchangelog/action.php on line 182

Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /var/www/html/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /var/www/html/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 607
====== CLDAP ====== Ezzel az osztállyal lehetséges LDAP szerverhez kapcsolódni. A kapcsolódáshoz szükség van a **wldap32.dll**-re, ami általában minden Windows kiépítésben szerepel. Ha mégsem lenne ott, akkor [[http://www.dll-files.com/dllindex/dll-files.shtml?wldap32|innen]] letölthető. Az osztály csak az ''LDAP_DLL'' [[cor4:app:versions|fordítású]] kliensben szerepel. Ez a fordítási direktíva alapértelmezetten minden verzióban aktív, de biztonsági okokból kikapcsolhatóvá tettem (mivel az ilyen kliens el sem indul a fenti dll nélkül - akkor sem, ha egyébként nem használunk LDAP funkciókat) ===== konstruktor ===== ''CLDAP(string server, string dn = "", string passw = "", int port = 389)'' A ''server''-hez csatlakozik a megadott ''dn'', ''passw'' párossal. A használt port is megadható a ''port'' paraméterben, de az LDAP szerverek gyakorlatilag kizárólag az alapértelmezett **389**-es portot használják. ===== Metódusok ===== ==== search ==== ''mixed search(string value)'' A ''value'' értéket keresi az LDAP fában. Egy példa a keresési értékre: (&(mail=jsmith*)(|(cn=john smith*)(|(sn=john smith*)(givenname=john smith*)))) A fenti példa azokat a bejegyzéseket listázza ki, ahol a ''mail'' tulajdonság ''jsmith''-el kezdődik és a ''cn'', ''sn'' vagy ''givenname'' tulajdonságok egyike ''john smith''-el kezdődik. (jól látható, hogy az LDAP prefix kifejezéseket fogad el)