cvs: pear /Net_LDAP/doc manual.txt

From: Date: Sun, 20 Feb 2005 20:12:02 +0000
Subject: cvs: pear /Net_LDAP/doc manual.txt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29554@lists.php.net to get a copy of this message
tarjei Sun Feb 20 15:12:02 2005 EDT Modified files: /pear/Net_LDAP/doc manual.txt Log: Minor fixing http://cvs.php.net/diff.php/pear/Net_LDAP/doc/manual.txt?r1=1.2&r2=1.3&ty=u Index: pear/Net_LDAP/doc/manual.txt diff -u pear/Net_LDAP/doc/manual.txt:1.2 pear/Net_LDAP/doc/manual.txt:1.3 --- pear/Net_LDAP/doc/manual.txt:1.2 Tue Aug 3 06:05:32 2004 +++ pear/Net_LDAP/doc/manual.txt Sun Feb 20 15:12:01 2005 @@ -63,7 +63,7 @@ Searching an ldapserver is a bit like doing SQL and a lot not like it at all. -First some consepts: +First some concepts: *base*: Where in the ldap-tree to start your search. For example: ou=People,dc=php,dc=net @@ -76,21 +76,21 @@ (|(uid=boss)(uid=secretary)) : Either the boss or the secretary. -Note that both logical operators are placed before the filters not between. +Note that both logical operators are placed before the filters not between the two conditions as you might used to from sql. (&(objectclass=posixAccount)(|(uid=boss)(uid=secretary))) : -Here they bust have accounts as well. +Here they must have the posixAccount objectclass as well. (objectclass=*) : All objects must have an objectclass, so this is the simplest way of saying everything. -(uid=t*) : With the right indexes on the server, you may search the substring of an attriute.F.x. all users with the first name beginning with a "T". +(uid=t*) : With the right indexes on the server, you may search the substring of an attriute. Here; all users with the first name beginning with a "T". *searchscope*: The scope of an search may be three things: 'base' => just the entry in question. 'sub' => All subentries. 'one' => All entries just below the searchbase. -Searching with scope 'base' may be handy for getting just one entry. But then again, that's what you got the getEntry function for. +Searching with scope 'base' may be handy for getting just one entry. But then again, that's what the getEntry function does. <h2>Entrys</h2> @@ -110,7 +110,7 @@ $required = $schema->must( 'inetOrgUser' ); -print_r($required) yeelds: +print_r($required); Array ( [0] => sn

« previous php.pear.cvs (#29554) next »