From e2c74f9467ac424df3dfc3ad5fac82a1666080d9 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 9 Jul 2009 21:47:23 +1000 Subject: [PATCH] Comment fixes --- lib/TemplateRender.php | 2 +- lib/functions.php | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/TemplateRender.php b/lib/TemplateRender.php index 4f58bff..ada90f1 100644 --- a/lib/TemplateRender.php +++ b/lib/TemplateRender.php @@ -224,7 +224,7 @@ class TemplateRender extends PageRender { /** * MultiList will query the LDAP server and provide a multi select list of values - * eg: =php.MultiList(/;(objectClass=posixAccount);uid)]]> + * eg: * * eg: cn=root;nobody => cn=nobody;gidNumber;10;(gidNuber=%gidNumber%);uid)]]> * diff --git a/lib/functions.php b/lib/functions.php index a61f4e5..fb5b2f2 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1310,7 +1310,7 @@ function pla_compare_dns($dn1,$dn2) { /** * For LDAP servers with auto_number enabled, this function will get the next - * available uidNumber using the host's preferred mechanism (pool or search). + * available number using the host's preferred mechanism (pool or search). * * This is configured in config.php by server: * @@ -1330,15 +1330,11 @@ function pla_compare_dns($dn1,$dn2) { * incrementing the smallest attribute until an unused value is found. * * NOTE: Both mechanisms do NOT prevent race conditions or toe-stomping, so - * care must be taken when actually creating the entry to check that the uidNumber + * care must be taken when actually creating the entry to check that the number * returned here has not been used in the mean time. Note that the two different * mechanisms may (will!) return different values as they use different algorithms * to arrive at their result. Do not be alarmed if (when!) this is the case. * - * Also note that both algorithms are susceptible to a race condition. If two admins - * are adding users simultaneously, the users may get identical uidNumbers with this - * function. - * * See config.php.example for more notes on the two mechanisms. * * @param string Base to start the search from