Clients(3) User Contributed Perl Documentation Clients(3) NAME Config::LDAP::Clients - Perl extension for mimicking ldap*(1) argu- ments. SYNOPSIS use Config::LDAP::Clients; my $ldapclients = new Config::LDAP::Clients; print "$_: ", $ldapclients->$_, "\n" for $ldapclients->options; print "Remaining ARGV: ", join(', ', @ARGV), "\n"; my $ldap = $ldapclients->connect; $ldap->search(...); DESCRIPTION This module provides all arguments available to the ldap*(1) utilities and uses Config::LDAP::Conf to set defaults based on ldap.conf(5). CONSTRUCTOR new ( OPTIONS ) method => {search?modify?add?delete?passwd?modrn} METHODS connect ( [new] ) Connect and bind to Net::LDAP with processed options according to ldap.conf(5) and ldap*(1). [new] = hashref of options options ( [option] ) Returns an array of arguments that were set according to ldap*(1). [option] = Returns a scalar if option was properly set in accor- dance with ldap*(1) or if option = '*' then return all options for the selected ldap*(1) utility, regardless of whether or not the option was set. show ( ) Prints all items found according to ldap*(1). Single-letter methods These are the single-letter methods based on the arguments avail- able to the ldap*(1) utilities. search n c u v t T F A L M S d f x D W w y H h p b s a P e E l z O I Q U R X Y Z modify, add a c S n v M d D W w y H h p P O I Q U R x X Y Z f delete n v c M d f D W w y H h P p O U R r x I Q X Y Z passwd A a t D d H h n p S s T v W w y O I Q U R x X R Y Z modrdn r s n v c M d D W w y H h p P O I Q U R x X Y Z f ldapconf ( ) Returns the Config::LDAP::Conf object used to compute defaults per ldap.conf(5). SEE ALSO Config::LDAP::Conf ldapsearch(1), ldapmodify(1), ldapadd(1), ldapdelete(1), ldappasswd(1), ldapmodrn(1) AUTHOR Stefan Adams, COPYRIGHT AND LICENSE Copyright (C) 2010 by Stefan Adams This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.8.8 2010-02-23 Clients(3)