From: <var...@us...> - 2012-12-07 17:32:39
|
Revision: 8631 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8631&view=rev Author: vargenau Date: 2012-12-07 17:32:29 +0000 (Fri, 07 Dec 2012) Log Message: ----------- Use Mediawiki table for arguments Modified Paths: -------------- trunk/pgsrc/Help%2FLdapSearchPlugin Modified: trunk/pgsrc/Help%2FLdapSearchPlugin =================================================================== --- trunk/pgsrc/Help%2FLdapSearchPlugin 2012-12-07 17:07:57 UTC (rev 8630) +++ trunk/pgsrc/Help%2FLdapSearchPlugin 2012-12-07 17:32:29 UTC (rev 8631) @@ -1,4 +1,4 @@ -Date: Thu, 9 Dec 2010 14:51:45 +0000 +Date: Fri, 7 Dec 2012 18:31:23 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0) Content-Type: application/x-phpwiki; pagename=Help%2FLdapSearchPlugin; @@ -30,31 +30,45 @@ == Arguments == -host _(default: from LDAP_AUTH_HOST or localhost)_: - hostname or ip or ldap:// uri to connect to. +{| class="bordered" +|- +! Argument +! Description +! Default value +|- +| **host** +| hostname or ip or ldap:// uri to connect to. +| from LDAP_AUTH_HOST or localhost +|- +| **port** +| portnumber to connect to. +| from LDAP_AUTH_HOST or 389 +|- +| **basedn** +| connect string: "ou=Users,o=Development,dc=mycompany.com" +| LDAP_BASE_DN +|- +| **filter** +| Optional ldap_search() filter argument +| "(cn=*)" +|- +| **attributes** +| space seperated fields to return as table columns: "cn sn" +| empty +|- +| **options** +| ldap_set_option(). Column seperated name=value pairs. Esp. needed for Windows Active directory: "LDAP_OPT_PROTOCOL_VERSION=3:LDAP_OPT_REFERRALS=0" +| LDAP_SET_OPTION if host == LDAP_AUTH_HOST +|- +| **user** +| user and password are required for Windows Active directory. +| Default: LDAP_AUTH_USER if host == LDAP_AUTH_HOST +|- +| **password** +| user and password are required for Windows Active directory. +| Default: LDAP_AUTH_PASSWORD if host == LDAP_AUTH_HOST +|} -port _(default: from LDAP_AUTH_HOST or 389)_: - portnumber to connect to. - -basedn _(default: LDAP_BASE_DN)_: - connect string: "ou=Users,o=Development,dc=mycompany.com" - -filter _(default: "(cn=*)")_: - Optional ldap_search() filter argument - -attributes _(default: empty)_ : - space seperated fields to return as table columns: "cn sn" - -options: - ldap_set_option(). Default: LDAP_SET_OPTION if host == LDAP_AUTH_HOST - Column seperated name=value pairs. Esp. needed for Windows Active directory: - "LDAP_OPT_PROTOCOL_VERSION=3:LDAP_OPT_REFERRALS=0" -user: - Default: LDAP_AUTH_USER if host == LDAP_AUTH_HOST -password: - Default: LDAP_AUTH_PASSWORD if host == LDAP_AUTH_HOST - user and password are required for Windows Active directory. - == Examples == <<WikiFormRich action=LdapSearch @@ -67,7 +81,7 @@ >> == Author == -* [[PhpWiki:JohnLines|John Lines]] +* John Lines == See Also == This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |