2003-05-12 17:34:06 +00:00
< ? php
/*
$Id $
This code is part of LDAP Account Manager ( http :// www . sourceforge . net / projects / lam )
2006-03-03 17:30:35 +00:00
Copyright ( C ) 2003 - 2006 Michael Duergner
2007-01-14 18:41:42 +00:00
2003 - 2007 Roland Gruber
2003-05-12 17:34:06 +00:00
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; either version 2 of the License , or
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
along with this program ; if not , write to the Free Software
Foundation , Inc . , 59 Temple Place , Suite 330 , Boston , MA 02111 - 1307 USA
LDAP Account Manager help topics .
*/
2004-10-30 16:46:06 +00:00
/**
* LDAP Account Manager help entries .
*
2006-07-26 19:35:52 +00:00
* @ author Michael Duergner
2004-10-30 16:46:06 +00:00
* @ package Help
*/
2003-09-22 18:52:16 +00:00
setlanguage ();
2003-06-07 14:25:30 +00:00
2006-01-14 11:11:43 +00:00
// generate help entry for translated list attributes
$types = getTypes ();
$entry206Example = " " ;
for ( $i = 0 ; $i < sizeof ( $types ); $i ++ ) {
$entry206Example .= " <b> " . getTypeAlias ( $types [ $i ]) . " :</b><br><br> \n " ;
$descriptions = getListAttributeDescriptions ( $types [ $i ]);
$attributes = array_keys ( $descriptions );
for ( $a = 0 ; $a < sizeof ( $attributes ); $a ++ ) {
$entry206Example .= " # " . $attributes [ $a ] . " : " . $descriptions [ $attributes [ $a ]] . " <br> " ;
}
$entry206Example .= " <br><br> " ;
}
2003-05-12 17:34:06 +00:00
$helpArray = array (
2003-05-15 13:48:35 +00:00
// 0 - 99
// any developer
// 200 - 299
// Roland Gruber
// configuration wizard
2003-05-14 14:58:38 +00:00
// configuration login
2003-09-22 19:18:16 +00:00
// config profile management
2004-01-31 16:26:34 +00:00
" 200 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Login " ),
2003-07-08 08:54:34 +00:00
" Text " => _ ( " Please enter the configuration password. This is NOT your LDAP password. It is stored in your .conf-file. If this is the first time you log in, enter \" lam \" . " )),
2004-01-31 16:26:34 +00:00
" 201 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Server address " ),
2003-09-22 18:24:39 +00:00
" Text " => _ ( " This is the server address of your LDAP server. Use ldap:// for standard LDAP connections and ldaps:// for encrypted (require server certificates) connections. The port value is optional. " ) .
2003-07-06 18:38:39 +00:00
" <br><br><b> " .
_ ( " Examples " ) .
" :</b><br><br> " .
_ ( " ldap://localhost:389 connects to localhost using a standard LDAP connection on port 389 " ) .
" <br> " .
_ ( " ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP connection. " ) .
" <br><br><br><b> " .
_ ( " Note " ) .
" :</b><br><br> " .
_ ( " When using ldaps:// be sure to use exactly the same IP/domain name as in your certificate! " )),
2006-01-14 11:11:43 +00:00
" 202 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " LDAP suffix " ),
" Text " => _ ( " This is the suffix of the LDAP tree from where to search for LDAP entries. Only entries in this subtree will be displayed in the account list. When creating a new accont this will be the DN where it is saved. " ) .
2003-07-06 18:38:39 +00:00
" <br><br><b> " .
2006-01-14 11:11:43 +00:00
_ ( " Example " ) .
2003-07-06 18:38:39 +00:00
" :</b><br><br> " .
_ ( " ou=People,dc=yourcompany,dc=com will read and store all accounts in this subtree. " )),
2005-02-27 12:40:06 +00:00
" 203 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Tree suffix " ),
" Text " => _ ( " This is the suffix for the LDAP tree viewer. " ) .
" <br><br><b> " .
_ ( " Example " ) .
" :</b><br><br> " .
_ ( " dc=yourcompany,dc=com " )),
2004-01-31 16:26:34 +00:00
" 206 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " List attributes " ),
2007-01-03 16:30:22 +00:00
" Text " => _ ( " This is the list of attributes to show in the account list. The entries can either be predefined values, \" #attribute \" , or individual ones, \" attribute:description \" . Several entries are separated by semicolons. " ) .
2006-01-14 11:11:43 +00:00
" <br><br><br><big><b> " .
_ ( " Example " ) . " : </b></big>#homeDirectory;#uid;#uidNumber;#gidNumber;mail:Mail address<br><br> " .
" <br><big><b> " . _ ( " Predefined values " ) . " :</b></big><br><br><br> " . $entry206Example ),
2004-01-31 16:26:34 +00:00
" 207 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Valid users " ),
2007-01-04 20:05:12 +00:00
" Text " => _ ( " This is a list of valid DN entries of all users that are allowed to login to LDAP Account Manager. Please enter one DN per line. " ) .
2003-07-06 18:38:39 +00:00
" <br><br><b> " .
_ ( " Example " ) .
" : </b>cn=admin,dc=yourdomain,dc=org;cn=manager,dc=yourdomain,dc=org " ),
2007-12-09 10:45:04 +00:00
" 208 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Maximum list entries " ),
" Text " => _ ( " This is the number of rows to show in the account list. If more entries are found the list will be split into several pages. " )),
2004-01-31 16:26:34 +00:00
" 209 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Default language " ),
2003-12-30 14:38:45 +00:00
" Text " => _ ( " This defines the language of the login window and sets this language as the default language. Users can change the language at login. " )),
2004-01-31 16:26:34 +00:00
" 210 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Script path " ),
2007-02-27 17:44:19 +00:00
" Text " => _ ( " This is the absolute path to an external script for setting quotas and creating home directories. " )),
2004-01-31 16:26:34 +00:00
" 212 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Change password " ),
2003-05-28 15:37:48 +00:00
" Text " => _ ( " If you want to change the current preferences password, please enter it here. " )),
2004-01-31 16:26:34 +00:00
" 214 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Cache timeout " ),
2003-08-18 15:21:27 +00:00
" Text " => _ ( " This is the time in minutes which LAM caches its LDAP searches. Shorter times will stress LDAP more but decrease the possibility that changes are not identified. " )),
2004-01-31 16:26:34 +00:00
" 216 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Text for user PDF " ),
2003-11-15 10:35:58 +00:00
" Text " => _ ( " This text will appear on top of every user PDF file. " )),
2006-01-14 11:11:43 +00:00
" 217 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Account types and modules " ),
" Text " => _ ( " Here you can select which plugins you want to use for account management. " ) . " <br><br> "
. _ ( " Account types define which sorts of LDAP entries (e.g. users and groups) should be managed. The account modules define which properties (e.g. Unix and Samba) can be edited. " )),
2007-02-27 17:44:19 +00:00
" 218 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Script servers " ),
2007-05-03 19:20:53 +00:00
" Text " => _ ( " This is a list of the servers where the lamdaemon scripts are stored. LDAP Account Manager will make a SSH connection to the servers with the user name and password provided at login. Multiple servers are separated by semicolons. You can append a descriptive name after a colon. " ) . " <br><br> "
2007-02-27 17:44:19 +00:00
. _ ( " Example " ) . " : <b>127.0.0.1:LOCAL;192.168.0.2:Servername;</b> " ),
" 219 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Rights for the home directory " ),
2007-03-05 17:05:38 +00:00
" Text " => _ ( " This defines the rights for the home directories which are created by lamdaemon. " )),
2003-09-22 19:18:16 +00:00
" 230 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile management " ) . " - " . _ ( " Add profile " ),
" Text " => _ ( " Please enter the name of the new profile and the password to change its settings. Profile names may contain letters, numbers and -/_. " )),
" 231 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile management " ) . " - " . _ ( " Rename profile " ),
" Text " => _ ( " Please enter the new name of the profile. The name may contain letters, numbers and -/_. " )),
" 232 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile management " ) . " - " . _ ( " Delete profile " ),
" Text " => _ ( " This will delete the selected profile. " )),
" 233 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile management " ) . " - " . _ ( " Set profile password " ),
" Text " => _ ( " This changes the password of the selected profile. " )),
" 234 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile management " ) . " - " . _ ( " Change default profile " ),
" Text " => _ ( " This changes the profile which is selected by default at login. " )),
2006-04-18 10:57:16 +00:00
" 235 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Change master password " ),
2003-09-22 19:18:16 +00:00
" Text " => _ ( " If you want to change your master configuration password, please enter it here. " )),
2006-04-18 10:57:16 +00:00
" 236 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Master password " ),
2003-09-22 19:18:16 +00:00
" Text " => _ ( " Please enter the master configuration password. This is NOT your LDAP password. It is stored in your config.cfg file. If this is the first time you log in, enter \" lam \" . " )),
2005-01-11 18:49:11 +00:00
" 237 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Configuration wizard " ) . " - " . _ ( " Base module " ),
" Text " => _ ( " Every account type needs exactly one base module. This module provides a structural object class. " )),
2006-04-18 10:57:16 +00:00
" 238 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Session timeout " ),
" Text " => _ ( " This is the time (in minutes) of inactivity after which a user is automatically logged off. " )),
2006-04-23 16:33:25 +00:00
" 239 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Log level " ),
" Text " => _ ( " Please select your prefered log level. Messages with a lower level will not be logged. " )),
" 240 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Log destination " ),
" Text " => _ ( " Here you can select where LAM should save its log messages. System logging will go to Syslog on Unix systems and event log on Windows. You can also select an extra file. " )),
2006-04-25 11:25:07 +00:00
" 241 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Allowed hosts " ),
" Text " => _ ( " This is a list of IP addresses from hosts who may access LAM. You can use \" * \" as wildcard (e.g. 192.168.0.*). " )),
2005-04-24 13:14:46 +00:00
" 250 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Account lists - Filters " ),
" Text " => _ ( " Here you can input small filter expressions (e.g. 'value' or 'v*'). LAM will filter case-insensitive. " )),
2003-06-03 21:28:27 +00:00
// 300 - 399
// Roland Gruber
2004-10-03 18:21:11 +00:00
// profile editor, file upload
" 301 " => array ( " ext " => " FALSE " , " Headline " => _ ( " RDN identifier " ),
" Text " => _ ( " This is the identifier for the relative DN value. It must be one of the given allowed LDAP attributes (e.g. user accounts usually use \" uid \" while groups use \" cn \" ). " )),
2004-10-02 17:23:53 +00:00
" 360 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Profile name " ),
2003-06-04 17:46:11 +00:00
" Text " => _ ( " Name under which the profile will be saved. If a profile with the same name exists, it will be overwritten. " )),
2004-10-24 19:20:53 +00:00
" 361 " => array ( " ext " => " FALSE " , " Headline " => _ ( " DN suffix " ),
2007-11-06 17:31:36 +00:00
" Text " => _ ( " The account will be saved under this LDAP suffix. The default suffix for new accounts is the last selected suffix in the user list. " )),
2005-09-12 15:37:23 +00:00
// 400 - 499
// account pages
" 401 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Load profile " ),
2005-09-13 17:36:46 +00:00
" Text " => _ ( " Here you can load an account profile to set default settings for your account. The \" default \" profile is automatically loaded for new accounts. " )),
2005-09-12 15:37:23 +00:00
" 403 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Create PDF file " ),
" Text " => _ ( " Here you can select a PDF structure and export the account to a PDF file. " )),
// 500 - 599
2006-07-23 14:58:25 +00:00
// Roland Gruber
2007-11-17 14:20:31 +00:00
// LAM Pro
2006-07-23 14:58:25 +00:00
" 501 " => array ( " ext " => " FALSE " , " Headline " => _ ( " LDAP suffix " ),
" Text " => _ ( " LAM will search for accounts in this part of the LDAP tree. " )),
" 502 " => array ( " ext " => " FALSE " , " Headline " => _ ( " LDAP user and password " ),
" Text " => _ ( " LAM will use this LDAP DN and password to search for accounts. It is sufficient to specify an account with read rights. If nothing is inserted then LAM will try to connect anonymously. " )),
" 503 " => array ( " ext " => " FALSE " , " Headline " => _ ( " LDAP search attribute " ),
" Text " => _ ( " This is needed to find the LDAP DNs of your user accounts. E.g. if you use \" uid \" and your user inputs \" miller \" then LAM will search for an account with uid=miller. " )),
" 504 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Login attribute label " ),
" Text " => _ ( " This text should shortly describe your selected LDAP search attribute (e.g. email or user name). " )),
" 505 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Login caption " ),
" Text " => _ ( " This text is displayed on top of the self service login page. You can also input HTML code here. " )),
" 506 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Main page caption " ),
" Text " => _ ( " This text is displayed on top of the self service main page. You can also input HTML code here. " )),
" 507 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Add new group " ),
" Text " => _ ( " Adds a new group element to the list of self service options. Use this to structure the input fields. " )),
" 508 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Add input field " ),
" Text " => _ ( " Adds a new self service option to the selected group element. " )),
2007-11-17 14:20:31 +00:00
" 520 " => array ( " ext " => " FALSE " , " Headline " => _ ( " Generate random password " ),
" Text " => _ ( " This will set a random password and display it on the screen or send it the user via mail. " ) .
'<br><br>' . _ ( 'If you decide to send the password via mail then the mail template "config/passwordMailTemplate.txt" will be used.' ) .
'<br><br><b>' . _ ( 'Format' ) . ': </b><ul>' .
'<li>' . _ ( 'The first line is the subject.' ) . '</li>' .
'<li>' . _ ( 'All following lines form the mail body.' ) . '</li>' .
'<li>' . _ ( 'You can use wildcards for LDAP attributes in the form @@attribute@@ (e.g. @@uid@@ for the user name).' ) . '</li>' .
'<li>' . _ ( 'The wildcard for the new password is @@newPasssword@@.' ) . '</li>' ),
2003-07-04 14:35:56 +00:00
// 600 - 699
// Roland Gruber
2003-07-31 13:14:26 +00:00
// OU-editor, domain page
" 601 " => array ( " ext " => " FALSE " , " Headline " => _ ( " OU-Editor " ) . " - " . _ ( " New organizational unit " ),
2003-07-04 14:35:56 +00:00
" Text " => _ ( " This will create a new organizational unit under the selected one. " )),
2003-07-31 13:14:26 +00:00
" 602 " => array ( " ext " => " FALSE " , " Headline " => _ ( " OU-Editor " ) . " - " . _ ( " Delete organizational unit " ),
2006-01-01 16:30:05 +00:00
" Text " => _ ( " This will delete the selected organizational unit. The OU has to be empty. " ))
2003-07-04 14:35:56 +00:00
2005-06-05 11:28:22 +00:00
);
/* This is a sample help entry . Just copy this line an modify the values between the [] brackets .
2007-10-11 17:50:07 +00:00
" [HelpNumber] " => array ( " ext " => " FALSE " , " Headline " => _ ( " [Headline] " ), " Text " => _ ( " [Text] " ), " SeeAlso " => array ( 'link' => " [SeeAlso link] " , 'text' => '[link text]' )),
" 999 " => array ( " ext " => " FALSE " , " Headline " => _ ( " This is a sample entry " ), " Text " => _ ( " Sample text " ), " SeeAlso " => array ( 'link' => " http://lam.sf.net " , 'text' => 'Project page' )),
2005-06-05 11:28:22 +00:00
If help text is located in an extra file then the file must be stored in help directory .
The link has to be the path to the file if it is stored in a subdirectory and the filename with a leading slash .
" [HelpNumber] " => array ( " ext " => " TRUE " , " Link " => " [path/FileName]),
" 999 " => array ( " ext " => " TRUE " , " Link " => " extra.htm),
Syntax :
=======
HelpNumber : numeric value
ext : FALSE if help entry is located in this file , TRUE if external help page
Headline : topic of help entry
Text : help text ( ext = FALSE )
SeeAlso : URL to additional information ( ext = FALSE , optional )
Link : relative URL to external help page ( ext = TRUE )
2003-05-12 17:34:06 +00:00
*/
?>