diff --git a/CVSROOT/checkoutlist b/CVSROOT/checkoutlist deleted file mode 100644 index b04b3501..00000000 --- a/CVSROOT/checkoutlist +++ /dev/null @@ -1,13 +0,0 @@ -# The "checkoutlist" file is used to support additional version controlled -# administrative files in $CVSROOT/CVSROOT, such as template files. -# -# The first entry on a line is a filename which will be checked out from -# the corresponding RCS file in the $CVSROOT/CVSROOT directory. -# The remainder of the line is an error message to use if the file cannot -# be checked out. -# -# File format: -# -# [] -# -# comment lines begin with '#' diff --git a/CVSROOT/commitinfo b/CVSROOT/commitinfo deleted file mode 100644 index b19e7b7a..00000000 --- a/CVSROOT/commitinfo +++ /dev/null @@ -1,15 +0,0 @@ -# The "commitinfo" file is used to control pre-commit checks. -# The filter on the right is invoked with the repository and a list -# of files to check. A non-zero exit of the filter program will -# cause the commit to be aborted. -# -# The first entry on a line is a regular expression which is tested -# against the directory that the change is being committed to, relative -# to the $CVSROOT. For the first match that is found, then the remainder -# of the line is the name of the filter to run. -# -# If the repository name does not match any of the regular expressions in this -# file, the "DEFAULT" line is used, if it is specified. -# -# If the name "ALL" appears as a regular expression it is always used -# in addition to the first matching regex or "DEFAULT". diff --git a/CVSROOT/config b/CVSROOT/config deleted file mode 100644 index ff43ec00..00000000 --- a/CVSROOT/config +++ /dev/null @@ -1,14 +0,0 @@ -# Set this to "no" if pserver shouldn't check system users/passwords -#SystemAuth=no - -# Put CVS lock files in this directory rather than directly in the repository. -#LockDir=/var/lock/cvs - -# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top -# level of the new working directory when using the `cvs checkout' -# command. -#TopLevelAdmin=no - -# Set `LogHistory' to `all' or `TOFEWGCMAR' to log all transactions to the -# history file, or a subset as needed (ie `TMAR' logs all write operations) -#LogHistory=TOFEWGCMAR diff --git a/CVSROOT/cvswrappers b/CVSROOT/cvswrappers deleted file mode 100644 index 0accaf1b..00000000 --- a/CVSROOT/cvswrappers +++ /dev/null @@ -1,23 +0,0 @@ -# This file affects handling of files based on their names. -# -# The -t/-f options allow one to treat directories of files -# as a single file, or to transform a file in other ways on -# its way in and out of CVS. -# -# The -m option specifies whether CVS attempts to merge files. -# -# The -k option specifies keyword expansion (e.g. -kb for binary). -# -# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers) -# -# wildcard [option value][option value]... -# -# where option is one of -# -f from cvs filter value: path to filter -# -t to cvs filter value: path to filter -# -m update methodology value: MERGE or COPY -# -k expansion mode value: b, o, kkv, &c -# -# and value is a single-quote delimited value. -# For example: -#*.gif -k 'b' diff --git a/CVSROOT/editinfo b/CVSROOT/editinfo deleted file mode 100644 index d78886c1..00000000 --- a/CVSROOT/editinfo +++ /dev/null @@ -1,21 +0,0 @@ -# The "editinfo" file is used to allow verification of logging -# information. It works best when a template (as specified in the -# rcsinfo file) is provided for the logging procedure. Given a -# template with locations for, a bug-id number, a list of people who -# reviewed the code before it can be checked in, and an external -# process to catalog the differences that were code reviewed, the -# following test can be applied to the code: -# -# Making sure that the entered bug-id number is correct. -# Validating that the code that was reviewed is indeed the code being -# checked in (using the bug-id number or a seperate review -# number to identify this particular code set.). -# -# If any of the above test failed, then the commit would be aborted. -# -# Actions such as mailing a copy of the report to each reviewer are -# better handled by an entry in the loginfo file. -# -# One thing that should be noted is the the ALL keyword is not -# supported. There can be only one entry that matches a given -# repository. diff --git a/CVSROOT/loginfo b/CVSROOT/loginfo deleted file mode 100644 index 278ca2c8..00000000 --- a/CVSROOT/loginfo +++ /dev/null @@ -1,29 +0,0 @@ -# The "loginfo" file controls where "cvs commit" log information -# is sent. The first entry on a line is a regular expression which must match -# the directory that the change is being made to, relative to the -# $CVSROOT. If a match is found, then the remainder of the line is a filter -# program that should expect log information on its standard input. -# -# If the repository name does not match any of the regular expressions in this -# file, the "DEFAULT" line is used, if it is specified. -# -# If the name ALL appears as a regular expression it is always used -# in addition to the first matching regex or DEFAULT. -# -# You may specify a format string as part of the -# filter. The string is composed of a `%' followed -# by a single format character, or followed by a set of format -# characters surrounded by `{' and `}' as separators. The format -# characters are: -# -# s = file name -# V = old version number (pre-checkin) -# v = new version number (post-checkin) -# -# For example: -#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog -# or -#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog -# -# commit messages for lam-cvs -DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} lam-cvs@lists.sourceforge.net \ No newline at end of file diff --git a/CVSROOT/modules b/CVSROOT/modules deleted file mode 100644 index cb9e9efc..00000000 --- a/CVSROOT/modules +++ /dev/null @@ -1,26 +0,0 @@ -# Three different line formats are valid: -# key -a aliases... -# key [options] directory -# key [options] directory files... -# -# Where "options" are composed of: -# -i prog Run "prog" on "cvs commit" from top-level of module. -# -o prog Run "prog" on "cvs checkout" of module. -# -e prog Run "prog" on "cvs export" of module. -# -t prog Run "prog" on "cvs rtag" of module. -# -u prog Run "prog" on "cvs update" of module. -# -d dir Place module in directory "dir" instead of module name. -# -l Top-level directory only -- do not recurse. -# -# NOTE: If you change any of the "Run" options above, you'll have to -# release and re-checkout any working directories of these modules. -# -# And "directory" is a path to a directory relative to $CVSROOT. -# -# The "-a" option specifies an alias. An alias is interpreted as if -# everything on the right of the "-a" had been typed on the command line. -# -# You can encode a module within a module by using the special '&' -# character to interpose another module into the current module. This -# can be useful for creating a module that consists of many directories -# spread out over the entire source repository. diff --git a/CVSROOT/notify b/CVSROOT/notify deleted file mode 100644 index 34f0bc28..00000000 --- a/CVSROOT/notify +++ /dev/null @@ -1,12 +0,0 @@ -# The "notify" file controls where notifications from watches set by -# "cvs watch add" or "cvs edit" are sent. The first entry on a line is -# a regular expression which is tested against the directory that the -# change is being made to, relative to the $CVSROOT. If it matches, -# then the remainder of the line is a filter program that should contain -# one occurrence of %s for the user to notify, and information on its -# standard input. -# -# "ALL" or "DEFAULT" can be used in place of the regular expression. -# -# For example: -#ALL mail %s -s "CVS notification" diff --git a/CVSROOT/rcsinfo b/CVSROOT/rcsinfo deleted file mode 100644 index 49e59f4d..00000000 --- a/CVSROOT/rcsinfo +++ /dev/null @@ -1,13 +0,0 @@ -# The "rcsinfo" file is used to control templates with which the editor -# is invoked on commit and import. -# -# The first entry on a line is a regular expression which is tested -# against the directory that the change is being made to, relative to the -# $CVSROOT. For the first match that is found, then the remainder of the -# line is the name of the file that contains the template. -# -# If the repository name does not match any of the regular expressions in this -# file, the "DEFAULT" line is used, if it is specified. -# -# If the name "ALL" appears as a regular expression it is always used -# in addition to the first matching regex or "DEFAULT". diff --git a/CVSROOT/taginfo b/CVSROOT/taginfo deleted file mode 100644 index 274a46dd..00000000 --- a/CVSROOT/taginfo +++ /dev/null @@ -1,20 +0,0 @@ -# The "taginfo" file is used to control pre-tag checks. -# The filter on the right is invoked with the following arguments: -# -# $1 -- tagname -# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d -# $3 -- repository -# $4-> file revision [file revision ...] -# -# A non-zero exit of the filter program will cause the tag to be aborted. -# -# The first entry on a line is a regular expression which is tested -# against the directory that the change is being committed to, relative -# to the $CVSROOT. For the first match that is found, then the remainder -# of the line is the name of the filter to run. -# -# If the repository name does not match any of the regular expressions in this -# file, the "DEFAULT" line is used, if it is specified. -# -# If the name "ALL" appears as a regular expression it is always used -# in addition to the first matching regex or "DEFAULT". diff --git a/CVSROOT/verifymsg b/CVSROOT/verifymsg deleted file mode 100644 index 86f747ce..00000000 --- a/CVSROOT/verifymsg +++ /dev/null @@ -1,21 +0,0 @@ -# The "verifymsg" file is used to allow verification of logging -# information. It works best when a template (as specified in the -# rcsinfo file) is provided for the logging procedure. Given a -# template with locations for, a bug-id number, a list of people who -# reviewed the code before it can be checked in, and an external -# process to catalog the differences that were code reviewed, the -# following test can be applied to the code: -# -# Making sure that the entered bug-id number is correct. -# Validating that the code that was reviewed is indeed the code being -# checked in (using the bug-id number or a seperate review -# number to identify this particular code set.). -# -# If any of the above test failed, then the commit would be aborted. -# -# Actions such as mailing a copy of the report to each reviewer are -# better handled by an entry in the loginfo file. -# -# One thing that should be noted is the the ALL keyword is not -# supported. There can be only one entry that matches a given -# repository. diff --git a/lam-0.4/COPYING b/lam-0.4/COPYING deleted file mode 100644 index 5b6e7c66..00000000 --- a/lam-0.4/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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 - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/lam-0.4/HISTORY b/lam-0.4/HISTORY deleted file mode 100644 index 2ac7040d..00000000 --- a/lam-0.4/HISTORY +++ /dev/null @@ -1,120 +0,0 @@ -28.07.2005 0.4.10 - - PHP5 compatibility added - - -09.03.2005 0.4.9 - - fixed bugs: - fixed error messages when moving an user account - fixed problem with special group SIDs - lamdaemon.pl security fix - - -26.01.2005 0.4.8 - - allow "%" at the beginning of Samba home/profile path (1107998) - - fixed bugs: - fixed IE fix ;-) - no more warnings for profiles with no additional groups set - - -19.12.2004 0.4.7 - - added "*.exe" to Samba logon script regex (1081715) - - fixed bugs: - fixed doctype of main frame - removed syntax check for LDAP suffixes - fixed IE bug at login - fixed encoding in HTTP header - passwords with "'" are now handled correctly at login (1081460) - fixed Samba flags if multiple hosts were created - updated .htaccess files to be compatible with newer Apache versions - - -26.05.2004 0.4.6 - - fixed bugs: - password hashes were not disabled correctly - street was copied to postal code on modify (938502) - underscore was not allowed for host names (934445) - deleting postal address or facsimile number failed (948616) - TLS error handling (958497) - smaller fixes on personal settings page - - -21.03.2004 0.4.5 - - added French translation - - fixed bugs: - StatusMessages with additional variables did not work - Samba hosts had unnecessary objectClass shadowAccount (910084) - Samba host passwords were still wrong - LAM had problems with non-standard spelled object classes (907636) - Perl scripts did not work if Perl is not installed in /usr/bin/perl (913554) - problems when cn!=uid (915041) - home directories were not deleted by lamdaemon.pl (913552) - - -29.02.2004 0.4.4 (stable) - - fixed bugs: - plain posix groups could not be used as Samba 3 primary group - if magic_quotes_gpc in php.ini is was set to "Off", several pages did not work - some smaller bugs in mass upload - Samba hash values for hosts were not correct - Unix passwords could be disabled but not reenabled - fixed problem with eval() in status.inc (894433) - - -08.02.2004 0.4.3 - - new login layout - - added Hungarian and Japanese translations - - fixed bugs: - Samba paswords were sometimes empty for new users (892272) - links in list views may not work with web servers other than Apache - - -21.01.2004 0.4.2 - - added config wizard - - MHash is only needed for PHP < 4.3 - - use Blowfish for encryption instead of MCrypt - - -29.12.2003 0.4.1 - - - better error handling at login - - support spaces in DNs - - PDF text for users - - create missing OUs recursivly - - fixed bugs: - SMD5 passwords were wrong - primaryGroupSID wrong if SID has no relation to Algorithmic RID Base - Samba 2 accounts could not be created - - -29.10.2003 0.4 (Beta1) - - - improved design - - improved documentation - - Fixed possible error which could delete entries if objectclass didn't fit - - Fixed many samba 3.0 related bugs, most related to SIDs - - edit group members directly - - support for several password hashes (CRYPT/SHA/SSHA/MD5/SMD5/PLAIN) - - PDF output for groups and hosts - - -31.08.2003 0.3 (Alpha 3) - - - Samba 3 support - - manage Samba 3 domains - - multiple configuration files - - PDF output - - better mass creation - - -04.07.2003 0.2 (Alpha 2) - - - support for multiple OUs + OU-Editor - - account creation via file upload - - profile editor - - experimental Samba 3 support - - fixed a lot of bugs - - -23.05.2003 0.1 (Alpha 1) - - Initial release diff --git a/lam-0.4/INSTALL b/lam-0.4/INSTALL deleted file mode 100644 index 38105667..00000000 --- a/lam-0.4/INSTALL +++ /dev/null @@ -1,59 +0,0 @@ - -Installation Instructions for LAM ---------------------------------- - - -1. Requirements - - - Apache webserver (SSL optional) with installed PHP-Module (PHP-Module with - ldap, gettext, mcrypt+mhash optional) - - Perl - - OpenLDAP (>2.0 with samba.schema) - - A web browser :-) - - MHash is only needed if you use PHP < 4.3 and want to use SHA or SSHA - for password hashes. - MCrypt will be used if available, otherwise Blowfish will be used - to store your LDAP password in the session file. - - Getting mcrypt and mhash for Suse/RedHat: - - Either you compile PHP4 yourself or you use some unofficial packages: - - - Suse: ftp://ftp.suse.com/pub/people/poeml/mod_php4 - - RedHat: http://ftp.horde.org/pub/RPMS - - - Samba.schema: LAM currently depends on the schema file from Samba. - You can find samba.schema in the Samba tarball (examples/LDAP). - Add this file to your slapd.conf to get LAM working. - - OpenLDAP + Suse: Do not use the rfc2307bis.schema but nis.schema instead. - - -2. Installation - - * Extract package with: - tar xzf ldap-account-manager_.tar.gz - - * Copy files into the html-file scope of the webserver. For example - /apache/htdocs. - - * Set appropriate file permissions: - - lam/sess: write permission for apache user - - lam/tmp: write permission for apache user - - lam/config (with subdirectories): write permission for apache user - - lam/lib: perl files must be set executable (See also - docs/readme.lamdeamon.txt) - - * Configure config.cfg and create a configuration profile. - Copy config.cfg_sample to config.cfg and set the master password and default - profile. - - - With web browser: - Follow the link "Configuration Login" from the start page (lam/index.html). - (The default password to edit the options is "lam") - - - Manually: - A default config file can be found in /lam/config/lam.conf_sample. - Change the necessary entries and rename it to /lam/config/lam.conf. diff --git a/lam-0.4/README b/lam-0.4/README deleted file mode 100644 index 03108f2d..00000000 --- a/lam-0.4/README +++ /dev/null @@ -1,81 +0,0 @@ - -LAM - Readme -============ - - A set of PHP-scripts to administrate Unix and Samba accounts in an LDAP server. - LAM runs on any webserver with PHP4 support and connects to your LDAP server - unencrypted or via SSL. - The application manages accounts for users, groups and Samba hosts in - multiple organizational units. LAM supports the Samba 2.x schema and the - Samba 3 schema. - - http://sourceforge.net/projects/lam/ - - Copyright (C) 2003 - 2004 Michael Duergner - Roland Gruber - Tilo Lutz - - 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 - - Requirements: - PHP4 - Openldap (2.0 or greater) - A web-browser that supports CSS (Netscape 4.x is not recommended) - - Summary: - With LAM you can easily manage user, group and machine accounts stored in - a LDAP server over a web interface. At the moment it supports: - - - displaying the user/group/host/domain entries - - deleting entries - - adding new entries - - editing entries - - filtering and sorting - - account profiles - - access management - - multiple configuration profiles - - OU Editor - - User creation via file upload - - Samba 2 and 3 schema support - - Important: - The standard password to edit the configuration options is "lam". - - Download: - You can get the newest version at http://sourceforge.net/projects/lam/ - - Installation: - Please see the INSTALL file. - - Documentation: - Basic documentation is available in the directory "docs". - - Internationalization: - If you want to use a translated version of LAM be sure to install the - needed locales. See locale/ for a list of supported locales and languages. - Debian users can add locales with "dpkg-reconfigure locales". - - Security: - It is strongly recommended to use a SSL connection to your web server. - - LAM needs to store your LDAP username + password in the session. The session - files are saved in sess/ and are accessible only by the web server. To increase - security username and password are encrypted with MCrypt/AES or Blowfish. - The key and IV are generated at random when you log in. They are stored in two - cookies. - - - Have fun! - The LAM devel team diff --git a/lam-0.4/TODO b/lam-0.4/TODO deleted file mode 100644 index 36d5d3d6..00000000 --- a/lam-0.4/TODO +++ /dev/null @@ -1,4 +0,0 @@ -0.5 - -- check security -- modular architecture diff --git a/lam-0.4/config/.htaccess b/lam-0.4/config/.htaccess deleted file mode 100644 index 11c59d17..00000000 --- a/lam-0.4/config/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ - - Order allow,deny - Deny from all - diff --git a/lam-0.4/config/config.cfg_sample b/lam-0.4/config/config.cfg_sample deleted file mode 100644 index 120aed1c..00000000 --- a/lam-0.4/config/config.cfg_sample +++ /dev/null @@ -1,5 +0,0 @@ -# password to add/delete/rename configuration profiles -password: lam - -# default profile, without ".conf" -default: lam diff --git a/lam-0.4/config/lam.conf_sample b/lam-0.4/config/lam.conf_sample deleted file mode 100644 index 88fd6d74..00000000 --- a/lam-0.4/config/lam.conf_sample +++ /dev/null @@ -1,80 +0,0 @@ -# LDAP Account Manager configuration - -# server address (e.g. ldap://localhost:389 or ldaps://localhost:636) -serverURL: ldap://localhost:389 - -# list of users who are allowed to use LDAP Account Manager -# names have to be seperated by semicolons -# e.g. admins: cn=admin,dc=yourdomain,dc=org;cn=root,dc=yourdomain,dc=org -admins: cn=Manager,dc=my-domain,dc=com - -# password to change these preferences via webfrontend -passwd: lam - -# suffix of users -# e.g. ou=People,dc=yourdomain,dc=org -usersuffix: ou=people,dc=my-domain,dc=com - -# suffix of groups -# e.g. ou=Groups,dc=yourdomain,dc=org -groupsuffix: ou=groups,dc=my-domain,dc=com - -# suffix of Samba hosts -# e.g. ou=machines,dc=yourdomain,dc=org -hostsuffix: ou=machines,dc=my-domain,dc=com - -# suffix of Samba 3 domains -# e.g. ou=domains,dc=yourdomain,dc=org -domainsuffix: ou=domains,dc=my-domain,dc=com - -# minimum and maximum UID numbers -minUID: 10000 -maxUID: 20000 - -# minimum and maximum GID numbers -minGID: 10000 -maxGID: 20000 - -# minimum and maximum UID numbers for Samba Hosts -minMachine: 25000 -maxMachine: 35000 - -# list of attributes to show in user list -# entries can either be predefined values (e.g. '#cn' or '#uid') -# or individual ones (e.g. 'uid:User ID' or 'host:Host Name') -# values have to be seperated by semicolons -userlistAttributes: #uid;#givenName;#sn;#uidNumber;#gidNumber - -# list of attributes to show in group list -# entries can either be predefined values (e.g. '#cn' or '#gidNumber') -# or individual ones (e.g. 'cn:Group Name') -# values have to be seperated by semicolons -grouplistAttributes: #cn;#gidNumber;#memberUID;#description - -# list of attributes to show in host list -# entries can either be predefined values (e.g. '#cn' or '#uid') -# or individual ones (e.g. 'cn:Host Name') -# values have to be seperated by semicolons -hostlistAttributes: #cn;#description;#uidNumber;#gidNumber - -# maximum number of rows to show in user/group/host lists -maxlistentries: 30 - -# default language (a line from config/language) -defaultLanguage: en_GB:ISO-8859-1:English (Britain) - -# Path to external Script -scriptPath: - -# Server of external Script -scriptServer: - -# Set to "yes" only if you use the new Samba 3.x schema. -samba3: yes - -# Number of minutes LAM caches LDAP searches. -cachetimeout: 5 - -# Password hash algorithm (CRYPT/MD5/SMD5/SHA/SSHA/PLAIN). -pwdhash: SSHA - diff --git a/lam-0.4/config/language b/lam-0.4/config/language deleted file mode 100644 index ada23a2a..00000000 --- a/lam-0.4/config/language +++ /dev/null @@ -1,19 +0,0 @@ -# LDAP Account Manager Language Configuration file - -# Each line consists of a : seperated entrys. The first entry is the link to the language definition, the second is the language description. Further entries are not used yet. -# Normally you don't have to edit this file manually. It is modified automatically when you add a new language in the Configuration-Site. - -# Englisch language -en_GB:ISO-8859-1:English (Great Britain) - -# German language -de_DE:ISO-8859-15:Deutsch (Deutschland) - -# Hungarian language -hu_HU:ISO-8859-2:Magyar (Magyarorszag) - -# Japanese language -ja_JP.eucJP:EUC-JP:Japanese (EUC) - -# French language -fr_FR:ISO-8859-15:Francais (France) diff --git a/lam-0.4/config/profiles/groups/default.prg b/lam-0.4/config/profiles/groups/default.prg deleted file mode 100644 index d148bc8e..00000000 --- a/lam-0.4/config/profiles/groups/default.prg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/lam-0.4/config/profiles/hosts/default.prh b/lam-0.4/config/profiles/hosts/default.prh deleted file mode 100644 index e69de29b..00000000 diff --git a/lam-0.4/config/profiles/users/default.pru b/lam-0.4/config/profiles/users/default.pru deleted file mode 100644 index 8ece1d0d..00000000 --- a/lam-0.4/config/profiles/users/default.pru +++ /dev/null @@ -1,15 +0,0 @@ -general_homedir: /home/$user -general_shell: /bin/bash -unix_password_no: 0 -unix_pwdwarn: 10 -unix_pwdallowlogin: 10 -unix_pwdminage: 1 -unix_pwdmaxage: 365 -unix_pwdexpire: 1893452400 -unix_deactivated: 0 -smb_password_no: 0 -smb_useunixpwd: 1 -smb_flagsD: 0 -smb_flagsX: 1 -smb_homedrive: U: -smb_smbhome: \\server\$user diff --git a/lam-0.4/config/shells b/lam-0.4/config/shells deleted file mode 100644 index 7105372f..00000000 --- a/lam-0.4/config/shells +++ /dev/null @@ -1,17 +0,0 @@ -/bin/ash -/bin/bash -/bin/bash1 -/bin/csh -/bin/false -/bin/ksh -/bin/sh -/bin/tcsh -/bin/true -/bin/zsh -/usr/bin/csh -/usr/bin/ksh -/usr/bin/passwd -/usr/bin/bash -/usr/bin/rbash -/usr/bin/tcsh -/usr/bin/zsh diff --git a/lam-0.4/copyright b/lam-0.4/copyright deleted file mode 100644 index 0bbfa907..00000000 --- a/lam-0.4/copyright +++ /dev/null @@ -1,51 +0,0 @@ -This software is copyright (c) 2003 - 2004 by Tilo Lutz, Roland Gruber and Michael Duergner. - - - 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 - -The complete license can be found in the file COPYING. - - -Some parts of this package have other, compatible licences. These are: - -A: GNU Lesser General Public License - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - The complete license can be found in the file docs/LGPL-license.txt. - - -B: Freeware - - You may use, modify and redistribute this software as you wish. - - -Programs and licenses with other licenses and/or authors than the -main license and authors: - -lib/blowfish.inc A 2002-2003 Mike Cochrane -lib/fpdf.php B 2003 Olivier Plathey diff --git a/lam-0.4/debian/README.Debian b/lam-0.4/debian/README.Debian deleted file mode 100644 index ab09684a..00000000 --- a/lam-0.4/debian/README.Debian +++ /dev/null @@ -1,25 +0,0 @@ -Samba.schema: LAM currently depends on the schema file from Samba. - You can find samba.schema in the Samba tarball (examples/LDAP). - Add this file to your slapd.conf to get LAM working. - - -Access to the webfrontend: - - - If you configured Apache(-SSL) at installation - you can access LDAP Account Manager via - http://localhost/lam or https://host.domain/lam. - - - Otherwise you will have to setup your webserver - to load /usr/share/ldap-account-manager/index.html - which is the start file. - - -Configuration: - - All settings can be edited via the webfrontend. The default - password for the configuration is "lam". However you can - also edit the configuration files directly. - The configuration files are /etc/ldap-account-manager/config.cfg - and /var/lib/ldap-account-manager/config/lam.conf. - - diff --git a/lam-0.4/debian/changelog b/lam-0.4/debian/changelog deleted file mode 100644 index c67f5fd9..00000000 --- a/lam-0.4/debian/changelog +++ /dev/null @@ -1,138 +0,0 @@ -ldap-account-manager (0.4.10-2) unstable; urgency=low - - * fixed debconf dependency - - -- Roland Gruber Wed, 3 Aug 2005 15:25:29 +0200 - -ldap-account-manager (0.4.10-1) unstable; urgency=low - - * Updated to new upstream release 0.4.10. - - -- Roland Gruber Wed, 27 Jul 2005 11:39:53 +0200 - -ldap-account-manager (0.4.9-2) unstable; urgency=low - - * Closes: #300007: fixed typo - - -- Roland Gruber Thu, 17 Mar 2005 19:20:29 +0100 - -ldap-account-manager (0.4.9-1) unstable; urgency=low - - * Updated to new upstream release - * Closes: #296498: added documentation for samba.schema - - -- Roland Gruber Wed, 2 Mar 2005 19:52:29 +0100 - -ldap-account-manager (0.4.8-1) unstable; urgency=low - - * Updated to new upstream version 0.4.8. - - -- Roland Gruber Sun, 23 Jan 2005 20:03:36 +0100 - -ldap-account-manager (0.4.7-1) unstable; urgency=low - - * Updated to new upstream version 0.4.7. - - -- Roland Gruber Thu, 16 Dec 2004 21:06:58 +0100 - -ldap-account-manager (0.4.6-3) unstable; urgency=low - - * Closes: #281781: syntax error in apache.conf fixed - * added watch file - - -- Roland Gruber Sun, 21 Nov 2004 13:18:43 +0100 - -ldap-account-manager (0.4.6-2) unstable; urgency=low - - * Added template to change master configuration password. - * Closes: #257137: Interface configuration has a default password - * Closes: #260733: expanded PHP dependency with libapache2-mod-php4 - - -- Roland Gruber Fri, 23 Jul 2004 14:50:56 +0200 - -ldap-account-manager (0.4.6-1) unstable; urgency=low - - * Updated to new upstream version 0.4.6. - - -- Roland Gruber Thu, 20 May 2004 19:37:53 +0200 - -ldap-account-manager (0.4.5-1) unstable; urgency=low - - * Updated to new upstream version 0.4.5. - - -- Roland Gruber Sat, 20 Mar 2004 16:52:00 +0100 - -ldap-account-manager (0.4.4-1) unstable; urgency=low - - * Updated to new upstream version (0.4.4) - * Closes: #232820: config/shells is no longer a symbolic link - - -- Roland Gruber Wed, 25 Feb 2004 21:07:36 +0100 - -ldap-account-manager (0.4.3-1) unstable; urgency=low - - * Updated to new upstream version (0.4.3) - - -- Roland Gruber Sun, 8 Feb 2004 17:15:47 +0100 - -ldap-account-manager (0.4.2-1) unstable; urgency=low - - * Updated to new upstream version (0.4.2) - - -- Roland Gruber Thu, 15 Jan 2004 16:22:15 +0100 - -ldap-account-manager (0.4.1-1) unstable; urgency=low - - * Updated to new upstream version (0.4.1) - - -- Roland Gruber Fri, 29 Dec 2003 21:19:27 +0100 - -ldap-account-manager (0.4-4) unstable; urgency=low - - * added debconf template for alias name - - -- Roland Gruber Sun, 16 Nov 2003 16:03:55 +0100 - -ldap-account-manager (0.4-3) unstable; urgency=low - - * copied access control from .htaccess files to apache.conf - - -- Roland Gruber Sat, 1 Nov 2003 13:22:56 +0100 - -ldap-account-manager (0.4-2) unstable; urgency=low - - * fixed error in postinst script - * added dependency php4-mhash - - -- Roland Gruber Thu, 30 Oct 2003 16:19:45 +0100 - -ldap-account-manager (0.4-1) unstable; urgency=low - - * Updated to Beta 1 release (0.4) - - -- Roland Gruber Mon, 13 Oct 2003 20:23:29 +0200 - -ldap-account-manager (0.3-1) unstable; urgency=low - - * Updated to Alpha 3 Release. - - -- Roland Gruber Fri, 29 August 2003 17:04:00 +0200 - -ldap-account-manager (0.2-1) unstable; urgency=low - - * Updated to Alpha 2 Release. - - -- Roland Gruber Sat, 2 July 2003 18:42:00 +0200 - -ldap-account-manager (0.1-2) unstable; urgency=low - - * Fixed missing directory config/profiles/groups. - - -- Roland Gruber Sat, 4 June 2003 18:19:00 +0200 - -ldap-account-manager (0.1-1) unstable; urgency=low - - * Initial Release. - - -- Roland Gruber Sat, 3 May 2003 21:14:23 +0200 - diff --git a/lam-0.4/debian/lam.apache.conf b/lam-0.4/debian/lam.apache.conf deleted file mode 100644 index fe15dace..00000000 --- a/lam-0.4/debian/lam.apache.conf +++ /dev/null @@ -1,48 +0,0 @@ - -Alias /lam /usr/share/ldap-account-manager - - - Options +FollowSymLinks - AllowOverride All - Order allow,deny - Allow from all - DirectoryIndex index.html - - - - Options -Indexes - - - - Options -Indexes - Order allow,deny - Deny from all - - - - Options -Indexes - Order allow,deny - Deny from all - - - - Options -Indexes - - Order allow,deny - Deny from all - - - Order allow,deny - Allow from all - - - Order allow,deny - Allow from all - - - - - Options -Indexes - Order allow,deny - Deny from all - diff --git a/lam-0.4/debian/packages b/lam-0.4/debian/packages deleted file mode 100644 index 87b569db..00000000 --- a/lam-0.4/debian/packages +++ /dev/null @@ -1,266 +0,0 @@ -## debian/packages for ldap-account-manager - -Source: ldap-account-manager -Section: web -Priority: extra -Maintainer: Roland Gruber -Standards-Version: 3.6.2 -Home-Page: -Upstream-Source: -Description: Webfrontend to manage Samba and Unix accounts -Copyright: GPL - This software is copyright (c) 2003 - 2004 by Tilo Lutz, Roland Gruber - and Michael Duergner. - . - . - 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 - . - . - Some parts of this package have other, compatible licences. These are: - . - A: GNU Lesser General Public License - . - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - . - This library 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 - Lesser General Public License for more details. - . - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - . - On Debian systems, the complete text of the GNU Lesser General Public - License can be found in /usr/share/common-licenses/LGPL file. - . - B: Freeware - . - You may use, modify and redistribute this software as you wish. - . - . - Programs and licenses with other licenses and/or authors than the - main license and authors: - . - lib/blowfish.inc A 2002-2003 Mike Cochrane - lib/fpdf.php B 2003 Olivier Plathey -Major-Changes: - -Package: ldap-account-manager -Architecture: all -Depends: php4 | php4-cgi | libapache2-mod-php4, php4-ldap, apache | apache-ssl | httpd, perl, wwwconfig-common, debconf | debconf-2.0 -Recommends: php4-mhash -Suggests: ldap-server, sudo, php4-mcrypt -Conflicts: php4-apc -Description: webfrontend for managing Unix and Samba accounts in an LDAP directory - LDAP Account Manager (LAM) runs on an existing webserver. LAM - supports LDAP connections via SSL and TLS. It uses the - Samba 2.x or Samba 3 schema and manages user, group and host - accounts. You can use templates for account creation and use - multiple configuration profiles. Account information can be - exported as PDF file. There is also a script - included which manages quota and homedirectories, you have to - setup sudo if you want to use it. LAM is translated to - English, French, German, Hungarian and Japanese. - . - Homepage: http://lam.sourceforge.net/ -Install: sh - yada install -data -into /usr/share/ldap-account-manager index.html - yada install -data -into /var/lib/ldap-account-manager/tmp tmp/.htaccess - yada install -data -into /var/lib/ldap-account-manager/config config/.htaccess - yada install -data -into /var/lib/ldap-account-manager/config config/language - yada install -data -into /var/lib/ldap-account-manager/config config/shells - yada install -data -into /var/lib/ldap-account-manager/config config/lam.conf_sample - yada install -conffile -subdir ldap-account-manager -as config.cfg config/config.cfg_sample - ln -s /etc/ldap-account-manager/config.cfg $ROOT/var/lib/ldap-account-manager/config/config.cfg - yada install -dir /var/lib/ldap-account-manager/config/profiles - yada install -data -into /var/lib/ldap-account-manager/config/profiles/users config/profiles/users/*.pru - yada install -data -into /var/lib/ldap-account-manager/config/profiles/groups config/profiles/groups/*.prg - yada install -data -into /var/lib/ldap-account-manager/config/profiles/hosts config/profiles/hosts/*.prh - yada install -dir /var/lib/ldap-account-manager/config/pdf - yada install -doc docs/README.* - yada install -data -into /usr/share/ldap-account-manager/graphics graphics/*.jpg - yada install -data -into /usr/share/ldap-account-manager/graphics graphics/*.png - yada install -data -into /usr/share/ldap-account-manager/help help/help.inc - yada install -data -into /usr/share/ldap-account-manager/lib lib/.htaccess - yada install -data -into /usr/share/ldap-account-manager/lib lib/*.inc - yada install -data -into /usr/share/ldap-account-manager/lib lib/*.php - yada install -data -into /usr/share/ldap-account-manager/lib lib/*.js - yada install -exec -into /usr/share/ldap-account-manager/lib lib/*.pl - yada install -data -into /usr/share/ldap-account-manager/lib/font lib/font/*.php - yada install -dir /usr/share/ldap-account-manager/locale - yada install -dir /usr/share/ldap-account-manager/locale/de_DE - yada install -data -into /usr/share/ldap-account-manager/locale/de_DE/LC_MESSAGES locale/de_DE/LC_MESSAGES/messages.?o - yada install -dir /usr/share/ldap-account-manager/locale/hu_HU - yada install -data -into /usr/share/ldap-account-manager/locale/hu_HU/LC_MESSAGES locale/hu_HU/LC_MESSAGES/messages.?o - yada install -dir /usr/share/ldap-account-manager/locale/ja_JP - yada install -data -into /usr/share/ldap-account-manager/locale/ja_JP/LC_MESSAGES locale/ja_JP/LC_MESSAGES/messages.?o - yada install -dir /usr/share/ldap-account-manager/locale/fr_FR - yada install -data -into /usr/share/ldap-account-manager/locale/fr_FR/LC_MESSAGES locale/fr_FR/LC_MESSAGES/messages.?o - yada install -data -into /var/lib/ldap-account-manager/sess sess/.htaccess - yada install -data -into /usr/share/ldap-account-manager/style style/*.css - yada install -data -into /usr/share/ldap-account-manager/templates templates/*.php - yada install -data -into /usr/share/ldap-account-manager/templates/account templates/account/*.php - yada install -data -into /usr/share/ldap-account-manager/templates/config templates/config/*.php - yada install -data -into /usr/share/ldap-account-manager/templates/lists templates/lists/*.php - yada install -data -into /usr/share/ldap-account-manager/templates/profedit templates/profedit/*.php - yada install -data -into /usr/share/ldap-account-manager/templates/confwiz templates/confwiz/*.php - yada install -conffile -subdir ldap-account-manager -as apache.conf debian/lam.apache.conf - yada install -doc -as changelog HISTORY - yada install -doc -as changelog.Debian debian/changelog - yada install -doc TODO - yada install -doc debian/README.Debian - yada install -doc README -Templates: - Template: ldap-account-manager/webserver - Type: select - Choices: Apache, Apache-SSL, Both, None - Default: ${webserver} - Description: Which webserver would you like to configure automatically? - LDAP Account Manager supports any webserver that supports PHP4, but this - automatic configuration process only supports Apache and Apache-SSL. Selecting - Apache without SSL can be a security risk and is not recommended. - If you choose to configure Apache(-SSL) LAM can be accessed at http(s)://localhost/lam - . - Template: ldap-account-manager/alias - Type: string - Default: lam - Description: Enter alias: - LAM will add an alias to your httpd.conf which allows you to - access LAM at http(s)://localhost/lam. If you want an alias other than - "lam" please specify it here. - . - Template: ldap-account-manager/passwd - Type: string - Default: lam - Description: Enter master configuration password (clear text): - The configuration profiles are secured by a master password. - You will need it to create and delete profiles. As default it is - set to "lam" and can be changed directly in LAM. But you can also - change it now. -Config: bash - db_subst "ldap-account-manager/webserver" "webserver" "Apache" || true - db_input medium "ldap-account-manager/webserver" || true - db_go - db_input low "ldap-account-manager/alias" || true - db_go - db_input low "ldap-account-manager/passwd" || true - db_go -Preinst: bash - if [ ! -d /var/lib/ldap-account-manager ]; then \ - mkdir /var/lib/ldap-account-manager; fi - if [ ! -h /usr/share/ldap-account-manager/config ]&&[ -d /usr/share/ldap-account-manager/config ]; \ - then mv /usr/share/ldap-account-manager/config /var/lib/ldap-account-manager/config; fi - if [ ! -h /usr/share/ldap-account-manager/sess ]&&[ -d /usr/share/ldap-account-manager/sess ]; \ - then mv /usr/share/ldap-account-manager/sess /var/lib/ldap-account-manager/sess; fi -Postinst: bash - if [ ! -h /usr/share/ldap-account-manager/config ]; then\ - ln -s /var/lib/ldap-account-manager/config /usr/share/ldap-account-manager/config; fi - if [ ! -h /usr/share/ldap-account-manager/sess ]; then\ - ln -s /var/lib/ldap-account-manager/sess /usr/share/ldap-account-manager/sess; fi - if [ ! -h /usr/share/ldap-account-manager/tmp ]; then\ - ln -s /var/lib/ldap-account-manager/tmp /usr/share/ldap-account-manager/tmp; fi - chown www-data /etc/ldap-account-manager/config.cfg - chmod 600 /etc/ldap-account-manager/config.cfg - chown www-data /var/lib/ldap-account-manager/sess - chown www-data /var/lib/ldap-account-manager/tmp - chown -R www-data /var/lib/ldap-account-manager/config - chown www-data /var/lib/ldap-account-manager/tmp - if [ ! -f /var/lib/ldap-account-manager/config/lam.conf ]; \ - then cp /var/lib/ldap-account-manager/config/lam.conf_sample /var/lib/ldap-account-manager/config/lam.conf; \ - chown www-data /var/lib/ldap-account-manager/config/lam.conf; fi - chmod 600 /var/lib/ldap-account-manager/config/*.conf - if [ "$1" = "configure" ]; then - db_get "ldap-account-manager/alias" - alias="$RET" - perl -pi -e "s/Alias \/.* \/usr\/share\/ldap-account-manager/Alias \/$alias \/usr\/share\/ldap-account-manager/g"\ - /etc/ldap-account-manager/apache.conf - db_get "ldap-account-manager/passwd" - passwd="$RET" - perl -pi -e "s/password: .*/password: $passwd/g" /etc/ldap-account-manager/config.cfg - db_get "ldap-account-manager/webserver" - webserver="$RET" - case "$webserver" in - Apache) webservers="apache";; - Apache-SSL) webservers="apache-ssl";; - Both) webservers="apache apache-ssl";; - *) webservers="";; - esac - . - . /usr/share/wwwconfig-common/php.get - . - for server in $webservers; do - if [ "$phpver" = "php4" ]; then - extension=".php" - typestr="application/x-httpd-php" - . /usr/share/wwwconfig-common/apache-addtype_all.sh - [ "$status" = "uncommented" -o "$status" = "added" -o "$status" = "lineadded" ] && restart="$server $restart" - fi - . - . /usr/share/wwwconfig-common/apache-php.sh - [ "$status" = "uncomment" ] && restart="$server $restart" - . - includefile=/etc/ldap-account-manager/apache.conf - . /usr/share/wwwconfig-common/apache-include_all.sh - [ "$status" = "uncomment" -o "$status" = "include" ] && restart="$server $restart" - . - index=index.php - . /usr/share/wwwconfig-common/apache-index_all.sh - [ "$status" = "added" ] && restart="$server $restart" - done - . - servers="apache-ssl apache" - . /usr/share/wwwconfig-common/restart.sh - fi -Postrm: bash - if [ -f /etc/apache/httpd.conf \ - -a -f /usr/share/wwwconfig-common/apache-uninclude_all.sh ]; then - db_get "ldap-account-manager/webserver" || true - webserver="$RET" - case "$webserver" in - Apache) webservers="apache";; - Apache-SSL) webservers="apache-ssl";; - Both) webservers="apache apache-ssl";; - *) webservers="";; - esac - includefile=/etc/ldap-account-manager/apache.conf - . - if [ "$1" = "purge" ]; then - for server in $webservers; do - . /usr/share/wwwconfig-common/apache-uninclude_all.sh - if [ "$status" = "purge" ]; then - restart="$restart $server" - fi - done - test -d /etc/ldap-account-manager && rm -rf /etc/ldap-account-manager - fi - . - if [ "$1" = "remove" ]; then - for server in $webservers; do - . /usr/share/wwwconfig-common/apache-cominclude_all.sh - if [ "$status" = "comment" ]; then - restart="$restart $server" - fi - done - fi - . - servers="apache-ssl apache" - . /usr/share/wwwconfig-common/restart.sh - fi - if [ "$1" = "purge" ]; then - rm -r -f /usr/share/ldap-account-manager; rm -r -f /var/lib/ldap-account-manager; fi diff --git a/lam-0.4/debian/watch b/lam-0.4/debian/watch deleted file mode 100644 index 348f4a03..00000000 --- a/lam-0.4/debian/watch +++ /dev/null @@ -1,5 +0,0 @@ -# format version number, currently 2; this line is compulsory! -version=2 - -# LDAP Account Manager at Sourceforge -http://prdownloads.sourceforge.net/lam/ldap-account-manager_(.*)\.tar\.gz diff --git a/lam-0.4/docs/LGPL-license.txt b/lam-0.4/docs/LGPL-license.txt deleted file mode 100644 index 27fa5a1a..00000000 --- a/lam-0.4/docs/LGPL-license.txt +++ /dev/null @@ -1,502 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! \ No newline at end of file diff --git a/lam-0.4/docs/README.fpdf.htm b/lam-0.4/docs/README.fpdf.htm deleted file mode 100755 index f556c9cd..00000000 --- a/lam-0.4/docs/README.fpdf.htm +++ /dev/null @@ -1,286 +0,0 @@ - - - -FAQ - - - -

FAQ

-1. What's exactly the license of FPDF? Are there any usage restrictions?
-2. When I try to create a PDF, a lot of weird characters show on the screen. Why?
-3. I try to generate a PDF and IE displays a blank page. What happens?
-4. I send parameters using the POST method and the values don't appear in the PDF.
-5. When I use a PHP session, IE doesn't display my PDF any more but asks me to download it.
-6. When I'm on SSL, IE can't open the PDF.
-7. When I execute a script I get the message "FPDF error: Don't alter the locale before including class file".
-8. I try to put a PNG and Acrobat says "There was an error processing a page. A drawing error occurred".
-9. I encounter the following error when I try to generate a PDF: Warning: Cannot add header information - headers already sent by (output started at script.php:X)
-10. I try to display a variable in the Header method but nothing prints.
-11. I defined the Header and Footer methods in my PDF class but nothing appears.
-12. I can't make line breaks work. I put \n in the string printed by MultiCell but it doesn't work.
-13. I try to put the euro symbol but it doesn't work.
-14. I draw a frame with very precise dimensions, but when printed I notice some differences.
-15. I'd like to use the whole surface of the page, but when printed I always have some margins. How can I get rid of them?
-16. What's the limit of the file sizes I can generate with FPDF?
-17. Can I modify a PDF with FPDF?
-18. I'd like to make a search engine in PHP and index PDF files. Can I do it with FPDF?
-19. Can I convert an HTML page to PDF with FPDF?
-20. Can I concatenate PDF files with FPDF?
-

-

1. What's exactly the license of FPDF? Are there any usage restrictions?

-FPDF is Freeware (it is stated at the beginning of the source file). There is no usage -restriction. You may embed it freely in your application (commercial or not), with or -without modification. You may redistribute it, too. -

2. When I try to create a PDF, a lot of weird characters show on the screen. Why?

-These "weird" characters are in fact the actual content of your PDF. This behaviour is a bug of -IE. When it first receives an HTML page, then a PDF from the same URL, it displays it directly -without launching Acrobat. This happens frequently during the development stage: on the least -script error, an HTML page is sent, and after correction, the PDF arrives. -
-To solve the problem, simply quit and restart IE. You can also go to another URL and come -back. -
-To avoid this kind of inconvenience during the development, you can generate the PDF directly -to a file and open it through the explorer. -

3. I try to generate a PDF and IE displays a blank page. What happens?

-First of all, check that you send nothing to the browser after the PDF (not even a space or a -carriage return). You can put an exit statement just after the call to the Output() method to -be sure. -
-If it still doesn't work, it means you're a victim of the "blank page syndrome". IE used in -conjunction with the Acrobat plug-in suffers from numerous bugs, in all versions. You should -test your application with as many IE versions as possible (at least if you're on the Internet). -The problem occurs mostly with the POST method, so it is strongly advised to avoid it (all the -more that it causes other problems, see the next question). The GET works better but may fail -when the URL becomes too long: don't use a query string with more than 45 characters. However, a -tip exists to exceed this limit: end the URL with .pdf, which tricks IE. If you use a form, you -can add a hidden field at the last position: -
-
-
- -<INPUT TYPE="HIDDEN" NAME="ext" VALUE=".pdf"> - -

-The usage of PHP sessions also often causes trouble (avoid using HTTP headers preventing caching). -See question 5 for a workaround. -
-
-To avoid all these problems in a reliable manner, two main techniques exist: -
-
-- Disable the plug-in and use Acrobat as a helper application. To do this, launch Acrobat; in -the File menu, Preferences, General, uncheck the option "Web Browser Integration" (for Acrobat -5: Edit, Preferences, Options, "Display PDF in Browser"). Then, the next time you load a PDF in -IE, it displays the dialog box "Open it" or "Save it to disk". Uncheck the option "Always ask -before opening this type of file" and choose Open. From now on, PDF files will open -automatically in an external Acrobat window. -
-The drawback of the method is that you need to alter the client configuration, which you can do -in an intranet environment but not for the Internet. -
-
-- Use a redirection technique. It consists in generating the PDF in a temporary file on the -server and redirect the client on it (by using JavaScript, not the Location HTTP header which -also causes trouble). For instance, at the end of the script, you can put the following: -
-
-
- -//Determine a temporary file name in the current directory
-$file=basename(tempnam(getcwd(),'tmp'));
-//Save PDF to file
-$pdf->Output($file);
-//JavaScript redirection
-echo "<HTML><SCRIPT>document.location='getpdf.php?f=$file';</SCRIPT></HTML>"; -
-

-Then create the getpdf.php file with this: -
-
-
- -<?php
-$f=$HTTP_GET_VARS['f'];
-//Check file (don't skip it!)
-if(substr($f,0,3)!='tmp' or strpos($f,'/') or strpos($f,'\\'))
-    die('Incorrect file name');
-if(!file_exists($f))
-    die('File does not exist');
-//Handle special IE request if needed
-if($HTTP_SERVER_VARS['HTTP_USER_AGENT']=='contype')
-{
-    Header('Content-Type: application/pdf');
-    exit;
-}
-//Output PDF
-Header('Content-Type: application/pdf');
-Header('Content-Length: '.filesize($f));
-readfile($f);
-//Remove file
-unlink($f);
-exit;
-?> -
-

-This method works in most cases but IE6 can still experience trouble. The "ultimate" method -consists in redirecting directly to the temporary file. The file name must therefore end with .pdf: -
-
-
- -//Determine a temporary file name in the current directory
-$file=basename(tempnam(getcwd(),'tmp'));
-rename($file,$file.'.pdf');
-$file.='.pdf';
-//Save PDF to file
-$pdf->Output($file);
-//JavaScript redirection
-echo "<HTML><SCRIPT>document.location='$file';</SCRIPT></HTML>"; -
-

-This method turns the dynamic PDF into a static one and avoids all troubles. But you have to do -some cleaning in order to delete the temporary files. For instance: -
-
-
- -function CleanFiles($dir)
-{
-    //Delete temporary files
-    $t=time();
-    $h=opendir($dir);
-    while($file=readdir($h))
-    {
-        if(substr($file,0,3)=='tmp' and substr($file,-4)=='.pdf')
-        {
-            $path=$dir.'/'.$file;
-            if($t-filemtime($path)>3600)
-                @unlink($path);
-        }
-    }
-    closedir($h);
-} -
-

-This function deletes all files of the form tmp*.pdf older than an hour in the specified -directory. You may call it where you want, for instance in the script which generates the PDF. -
-
-Remark: it is necessary to open the PDF in a new window, as you can't go backwards due to the -redirection. -

4. I send parameters using the POST method and the values don't appear in the PDF.

-It's a problem affecting some versions of IE (especially the first 5.5). See the previous -question for the ways to work around it. -

5. When I use a PHP session, IE doesn't display my PDF any more but asks me to download it.

-It's a problem affecting some versions of IE. To work around it, add the following line before -session_start(): -
-
-
- -session_cache_limiter('private'); - -

-or do a redirection as explained in question 3. -

6. When I'm on SSL, IE can't open the PDF.

-The problem may be fixed by adding this line:
-
-
- -Header('Pragma: public'); - -

- -

7. When I execute a script I get the message "FPDF error: Don't alter the locale before including class file".

-When the decimal separator is configured as a comma before including a file, there is a -bug in some PHP versions and decimal -numbers get truncated. Therefore you shouldn't make a call to setlocale() before including the class. -On Unix, you shouldn't set the LC_ALL environment variable neither, for it is equivalent to a -setlocale() call. -

8. I try to put a PNG and Acrobat says "There was an error processing a page. A drawing error occurred".

-Acrobat 5 has a bug and is unable to display transparent monochrome images (i.e. with 1 bit per -pixel). Remove transparency or save your image in 16 colors (4 bits per pixel) or more. -

9. I encounter the following error when I try to generate a PDF: Warning: Cannot add header information - headers already sent by (output started at script.php:X)

-You must send nothing to the browser except the PDF itself: no HTML, no space, no carriage return, -neither before nor after. The script outputs something at line X. -

10. I try to display a variable in the Header method but nothing prints.

-You have to use the global keyword, for instance: -
-
-
- -function Header()
-{
-    global $title;
-
-    $this->SetFont('Arial','B',15);
-    $this->Cell(0,10,$title,1,1,'C');
-} -
-

- -

11. I defined the Header and Footer methods in my PDF class but nothing appears.

-You have to create an object from the PDF class, not FPDF:
-
-
- -$pdf=new PDF(); - -

- -

12. I can't make line breaks work. I put \n in the string printed by MultiCell but it doesn't work.

-You have to enclose your string with double quotes, not single ones. -

13. I try to put the euro symbol but it doesn't work.

-The standard fonts have the euro character at position 128. You can define a constant like this -for convenience: -
-
-
- -define('EURO',chr(128)); - -

-Note: Acrobat 4 or higher is required to display euro. -

14. I draw a frame with very precise dimensions, but when printed I notice some differences.

-To respect dimensions, you have to uncheck the option "Fit to page" in the print dialog box. -

15. I'd like to use the whole surface of the page, but when printed I always have some margins. How can I get rid of them?

-All printers have physical margins (different depending on the model), it is therefore impossible -to remove them and print on the totality of the paper. -

16. What's the limit of the file sizes I can generate with FPDF?

-There is no particular limit. There are some constraints however: -
-
-- The maximum memory size allocated to PHP scripts defaults to 8MB. For very big documents, -especially with images, this limit may be reached (the file being built into memory). The -parameter is configured in the php.ini file. -
-
-- The maximum execution time allocated defaults to 30 seconds. This limit can of course be easily -reached. It is configured in php.ini and may be altered dynamically with set_time_limit(). -
-
-- Browsers generally have a 5 minute time-out. If you send the PDF directly to the browser and -reach the limit, it will be lost. It is therefore advised for very big documents to -generate them in a file, and to send some data to the browser from time to time (for instance -page 1, page 2... with flush() to force the output). When the document is finished, you can send -a redirection on it with JavaScript or create a link. -
-Remark: even when the browser goes in time-out, the script may continue to run on the server. -

17. Can I modify a PDF with FPDF?

-No. -

18. I'd like to make a search engine in PHP and index PDF files. Can I do it with FPDF?

-No. But a GPL C utility does exist, pdftotext, which is able to extract the textual content from -a PDF. It is provided with the Xpdf package:
-
-http://www.foolabs.com/xpdf/ -

19. Can I convert an HTML page to PDF with FPDF?

-No. But a GPL C utility does exist, htmldoc, which allows to do it and gives good results:
-
-http://www.easysw.com/htmldoc/ -

20. Can I concatenate PDF files with FPDF?

-No. But a free C utility exists to perform this task:
-
-http://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html - - diff --git a/lam-0.4/docs/README.hosts.txt b/lam-0.4/docs/README.hosts.txt deleted file mode 100644 index 8303992e..00000000 --- a/lam-0.4/docs/README.hosts.txt +++ /dev/null @@ -1,28 +0,0 @@ -The attribute "host" is only in objectclass account. -Unfortunatly "account" conflicts with -"inetorgperson". so there's no perfect way to use -both. - -In order to get attribute host working you have to -modify schema/inetorgperson and include host: - - -# inetOrgPerson -# The inetOrgPerson represents people who are associated with an -# organization in some way. It is a structural class and is derived -# from the organizationalPerson which is defined in X.521 [X521]. -objectclass ( 2.16.840.1.113730.3.2.2 - NAME 'inetOrgPerson' - DESC 'RFC2798: Internet Organizational Person' - SUP organizationalPerson - STRUCTURAL - MAY ( - audio $ businessCategory $ carLicense $ departmentNumber $ - displayName $ employeeNumber $ employeeType $ givenName $ - homePhone $ homePostalAddress $ initials $ jpegPhoto $ - labeledURI $ mail $ manager $ mobile $ o $ pager $ - photo $ roomNumber $ secretary $ uid $ userCertificate $ - x500uniqueIdentifier $ preferredLanguage $ - userSMIMECertificate $ userPKCS12 $ host ) - ) - diff --git a/lam-0.4/docs/README.lamdaemon.txt b/lam-0.4/docs/README.lamdaemon.txt deleted file mode 100644 index 4d91ea8e..00000000 --- a/lam-0.4/docs/README.lamdaemon.txt +++ /dev/null @@ -1,79 +0,0 @@ -lamdaemon.pl is used to modify quota and homedirs -on a remote or local host via ssh. -If you want wo use it you have to set up some -things to get it to work: - -1. Setup values in LDAP Account Manager - * Set the remote or local host in the configuration - (e.g. 127.0.0.1) - * Path to lamdaemon.pl, e.g. /srv/www/htdocs/lam/lib/lamdaemon.pl - - -2. Set up sudo - The perl script has to run as root. Therefore we need - a wrapper, sudo. - Edit /etc/sudoers on host where homedirs or quotas should be used - and add the following line: - $admin All= NOPASSWD: $path - $admin is the adminuser from LAM and $path - is the path to lamdaemon.pl e.g. "$admin All= NOPASSWD: /srv/www/htdocs/lam/lib/lamdaemon.pl" - At the moment the password is a paramteter of lamdaemon.pl - therefore you should disable logging so the password does not - appear in any logfile. - This can be done by adding the following line to /etc/sudoers: - Defaults:$admin !syslog - - -3. Set up Perl - We need some external Perl modules, Quota and Net::SSH::Perl - To install them, run: - - perl -MCPAN -e shell - install Quota - install Net::SSH::Perl - - If your Perl executable is not located in /usr/bin/perl you will have to edit - the path in the first line of lamdaemon.pl. - - -4. Test lamdaemon.pl - There is a test-function in lamdaemon.pl. Please run lamdaemon.pl - with the following parameters to test it: - - lamdaemon.pl $ssh-server $lam_path_on_host $admin-username $admin-password *test - - $ssh-server is the remote host lamdaemon.pl should be run on - $lam_path_on_host is the path to lamdaemon.pl on remote host - $admin-username is the name of the user which is allowed to run lamdaemon.pl - as root. It is the same user as in /etc/sudoers - $admin-password is the password of the admin user - *test is the command which tells lamdaemon.pl to test settings - - You have to run the command as the user your webserver is running, e.g. - - wwwrun@tilo:/srv/www/htdocs/lam/lib> /srv/www/htdocs/lam/lib/lamdaemon.pl \ - 127.0.0.1 /srv/www/htdocs/lam/lib/lamdaemon.pl adminuser secret *test - - You should get the following response: - - Net::SSH::Perl successfully installed. - Perl quota module successfully installed. - If you have not seen any error lamdaemon.pl should be set up successfully. - - - !!! Attention !!! - Your password in LDAP has to be hashed with CRYPT. If you use something like SSHA - you will probably get "Access denied.". - - -Now everything should work fine. - - -Security warning: ------------------ - - If you use PHP < 4.3 your admin user and password are passed as commandline argument. - This can be a security risk. Upgrade your PHP version for productive use. - - -Please send a mail to TiloLutz@gmx.de if you have any suggestions. diff --git a/lam-0.4/docs/README.openldap.txt b/lam-0.4/docs/README.openldap.txt deleted file mode 100644 index b66ae625..00000000 --- a/lam-0.4/docs/README.openldap.txt +++ /dev/null @@ -1,21 +0,0 @@ -Some basic hints to configure the OpenLDAP server: - -SIZELIMIT: OpenLDAP allows by default 500 return values per search, if you have more users/groups/hosts - change this in slapd.conf: e.g. "sizelimit 10000" or "sizelimit -1" for unlimited return values. - -INDICES: Indices will improve the performance when searching for entries in the LDAP directory. - The following indices are recommended: - - index objectClass eq - index default sub - index uidNumber eq - index gidNumber eq - index memberUid eq - index cn,sn,uid,displayName pres,sub,eq - # Samba 2.x - index rid eq - index primaryGroupID eq - # Samba 3.x - index sambaSID eq - index sambaPrimaryGroupSID eq - index sambaDomainName eq diff --git a/lam-0.4/docs/README.security.txt b/lam-0.4/docs/README.security.txt deleted file mode 100644 index cbae78d8..00000000 --- a/lam-0.4/docs/README.security.txt +++ /dev/null @@ -1,36 +0,0 @@ - -1. Use of SSL - - The data which is transfered between you and LAM is very sensitive. - Please always use SSL encrypted connections between LAM and your browser to - protect yourself against network sniffers. - - -2. LDAP+SSL and TLS - - LAM should start TLS automatically if possible. LDAP+SSL will be used if you use - ldaps://servername in your configuration profile. - - -3. Chrooted servers - - If your server is chrooted and you have no access to /dev/random or /dev/urandom - this can be a security risk. LAM stores your LDAP password encrypted in the session. - LAM uses rand() to generate the key if /dev/random and /dev/urandom are not accessible. - Therefore the key can be easily guessed. - An attaker needs read access to the session file (e.g. by another Apache instance) to - exploit this. - - -4. LDAP password protection - - Your LDAP password is stored encrypted in the session file. The key and IV to decrypt - it are stored in two cookies. We use MCrypt/AES or Blowfish to encrypt the password. - - -5. Protection of new user passwords - - These passwords are, if stored in the session file, encrypted with the same key and IV - as your LDAP password. - - diff --git a/lam-0.4/graphics/banner.jpg b/lam-0.4/graphics/banner.jpg deleted file mode 100644 index 6cae7cf0..00000000 Binary files a/lam-0.4/graphics/banner.jpg and /dev/null differ diff --git a/lam-0.4/graphics/error.png b/lam-0.4/graphics/error.png deleted file mode 100644 index cab3b994..00000000 Binary files a/lam-0.4/graphics/error.png and /dev/null differ diff --git a/lam-0.4/graphics/info.png b/lam-0.4/graphics/info.png deleted file mode 100644 index 1e75231a..00000000 Binary files a/lam-0.4/graphics/info.png and /dev/null differ diff --git a/lam-0.4/graphics/lam.png b/lam-0.4/graphics/lam.png deleted file mode 100644 index 309b4f37..00000000 Binary files a/lam-0.4/graphics/lam.png and /dev/null differ diff --git a/lam-0.4/graphics/printLogo.jpg b/lam-0.4/graphics/printLogo.jpg deleted file mode 100644 index 6cae7cf0..00000000 Binary files a/lam-0.4/graphics/printLogo.jpg and /dev/null differ diff --git a/lam-0.4/graphics/select.png b/lam-0.4/graphics/select.png deleted file mode 100644 index 4f01a983..00000000 Binary files a/lam-0.4/graphics/select.png and /dev/null differ diff --git a/lam-0.4/graphics/warn.png b/lam-0.4/graphics/warn.png deleted file mode 100644 index 85588276..00000000 Binary files a/lam-0.4/graphics/warn.png and /dev/null differ diff --git a/lam-0.4/help/extFileExample.php b/lam-0.4/help/extFileExample.php deleted file mode 100644 index fece4d7d..00000000 --- a/lam-0.4/help/extFileExample.php +++ /dev/null @@ -1,28 +0,0 @@ - -

-

-

diff --git a/lam-0.4/help/help.inc b/lam-0.4/help/help.inc deleted file mode 100644 index d16e7fc6..00000000 --- a/lam-0.4/help/help.inc +++ /dev/null @@ -1,315 +0,0 @@ - array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Login"), - "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\".")), - "201" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Server address"), - "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.") . - "

" . - _("Examples") . - ":

" . - _("ldap://localhost:389 connects to localhost using a standard LDAP connection on port 389") . - "
" . - _("ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP connection.") . - "


" . - _("Note") . - ":

" . - _("When using ldaps:// be sure to use exactly the same IP/domain name as in your certificate!")), - "202" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("User/Group/Host suffix"), - "Text" => _("This is the suffix of the LDAP tree from where to search for user/group/host entries. Only entries in these subtrees will be displayed in the user/group/host list. When creating a new accont this will be the DN where it is saved.") . - "

". - _("Examples"). - ":

". - _("ou=People,dc=yourcompany,dc=com will read and store all accounts in this subtree.")), - "203" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("UID number"), - "Text" => _("These are the minimum and maximum numbers to use for user IDs when creating new user accounts. The range should be different from that of machines. New user accounts will always get the highest number in use plus one.")), - "204" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("GID number"), - "Text" => _("These are the minimum and maximum numbers to use for group IDs when creating new group accounts. New group accounts will always get the highest number in use plus one.")), - "205" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Machine number"), - "Text" => _("These are the minimum and maximum numbers to use for machine IDs when creating new accounts for Samba hosts. The range should be different from that of users. New host accounts will always get the highest number in use plus one.")), - "206" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("List attributes"), - "Text" => _("This is the list of attributes to show in the user/group/host list. The entries can either be predefined values, \"#attribute\", or individual ones, \"attribute:description\". Several entries are seperated by semicolons.") . - "

" . - _("Example") . - ": #homeDirectory;#uid;#uidNumber;#gidNumber;mail:Mail address


" . - _("Predefined values") . - ":

" . - _("Users") . - ": #uid, #uidNumber, #gidNumber, #cn, #host, #givenName, #sn, #homeDirectory, #loginShell, #mail, #gecos". - "
" . - _("Groups") . - ": #cn, #gidNumber, #memberUID, #member, #description". - "
" . - _("Hosts") . - ": #uid, #cn, #rid, #description"), - "207" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Valid users"), - "Text" => _("This is a list of valid DN entries of all users that are allowed to login to LDAP Account Manager. The user names have to be separated by semicolons.") . - "

" . - _("Example") . - ": cn=admin,dc=yourdomain,dc=org;cn=manager,dc=yourdomain,dc=org"), - "208" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Maximum list entries"), - "Text" => _("This is the number of rows to show in the user/group/host list. If more entries are found the list will be split into several pages.")), - "209" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Default language"), - "Text" => _("This defines the language of the login window and sets this language as the default language. Users can change the language at login.")), - "210" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Script path"), - "Text" => _("This is the absolute path to an external script for setting quotas and creating home directories."). - "

". - _("Use it at your own risk and read the documentation for lamdaemon before you use it!"). - ""), - "211" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Script server"), - "Text" => _("This is the server where the lamdaemon script is stored. LDAP Account Manager will make a SSH connection to this server with username and password provided at login."). - "

". - _("Use it at your own risk and read the documentation for lamdaemon before you use it!"). - ""), - "212" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Change password"), - "Text" => _("If you want to change the current preferences password, please enter it here.")), - "213" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Samba version"), - "Text" => _("If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise \"no\"."). - "

". - _("LAM will not work if version is wrong!"). - ""), - "214" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Cache timeout"), - "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.")), - "215" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Password hash type"), - "Text" => _("LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an user password. SSHA and CRYPT are the most common but CRYPT does not support passwords greater than 8 letters. We do not recommend to use plain text passwords.")), - "216" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard") . " - " . _("Text for user PDF"), - "Text" => _("This text will appear on top of every user PDF file.")), - "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.")), - "235" => array ("ext" => "FALSE", "Headline" => _("Profile management") . " - " . _("Change master password"), - "Text" => _("If you want to change your master configuration password, please enter it here.")), - "236" => array ("ext" => "FALSE", "Headline" => _("Profile management") . " - " . _("Master password"), - "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\".")), - // 300 - 399 - // Roland Gruber - // profile editor - "301" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Set Unix password for Samba"), - "Text" => _("If set to \"yes\" the Windows password will be the same as the Unix one."). - "

". - _("If unsure say \"yes\" here.")), - "302" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("User can change password"), - "Text" => _("If set to \"yes\" the user will be able to change his Windows password."). - "

". - _("If unsure say \"yes\" here.")), - "360" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Profile name"), - "Text" => _("Name under which the profile will be saved. If a profile with the same name exists, it will be overwritten.")), - // 400 - 499 - // Tilo Lutz - // account.php - "400" => array ("ext" => "FALSE", "Headline" => _("Username"), - "Text" => _("Username of the user who should be created. Valid characters are: a-z,0-9, .-_. Lam does not allow a number as first character because useradd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. If username is already used username will be expanded with a number. The next free number will be used. Warning: Older systems have problems with usernames longer than 8 characters. You can not log in to Windows if username is longer than 16 characters.")), - "401" => array ("ext" => "FALSE", "Headline" => _("UID number"), - "Text" => _("If empty UID number will be generated automaticly. Valid values are between %s and %s."), - "variables" => array($_SESSION['config']->get_minUID(), $_SESSION['config']->get_maxUID())), - "402" => array ("ext" => "FALSE", "Headline" => _("Additional groups"), - "Text" => _("Hold the CTRL-key to (de)select multiple groups."). ' '. _("Can be left empty.")), - "403" => array ("ext" => "FALSE", "Headline" => _("Home directory"), - "Text" => _("$%s and $%s are replaced with username or primary groupname."), - "variables" => array('user', 'group')), - "404" => array ("ext" => "FALSE", "Headline" => _("Gecos"), - "Text" => _("User description. If left empty sur- and give name will be used.")), - "405" => array ("ext" => "FALSE", "Headline" => _("Login shell"), - "Text" => _("To disable login use /bin/false. List of shells is read from lam/config/shells")), - "406" => array ("ext" => "FALSE", "Headline" => _("Primary group"), - "Text" => _("The Primary Group the user should be member of.")), - "407" => array ("ext" => "FALSE", "Headline" => _("Groupname"), - "Text" => _("Group name of the group which should be created. Valid characters are: a-z,0-9, .-_. Lam does not allow a number as first character because groupadd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. If groupname is already used groupname will be expanded with a number. The next free number will be used.")), - "408" => array ("ext" => "FALSE", "Headline" => _("GID number"), - "Text" => _("If empty GID number will be generated automaticly. Valid values are between %s and %s."), - "variables" => array($_SESSION['config']->get_minGID(), $_SESSION['config']->get_maxGID())), - "409" => array ("ext" => "FALSE", "Headline" => _("Gecos"), - "Text" => _("Group description. If left empty group name will be used.")), - "410" => array ("ext" => "FALSE", "Headline" => _("Host name"), - "Text" => _("Host name of the host which should be created. Valid characters are: a-z,0-9, .-_$. Lam does not allow a number as first character because useradd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. Hostnames are always ending with $. If last character is not $ it will be added. If hostname is already used hostname will be expanded with a number. The next free number will be used.")), - "411" => array ("ext" => "FALSE", "Headline" => _("UID number"), - "Text" => _("If empty UID number will be generated automaticly. Valid values are between %s and %s."), - "variables" => array($_SESSION['config']->get_minMachine(), $_SESSION['config']->get_maxMachine())), - "412" => array ("ext" => "FALSE", "Headline" => _("Primary group"), - "Text" => _("The Primary group the host should be member of.")), - "413" => array ("ext" => "FALSE", "Headline" => _("Gecos"), - "Text" => _("Host description. If left empty host name will be used.")), - "414" => array ("ext" => "FALSE", "Headline" => _("Password warn"), - "Text" => _("Days before password is to expire that user is warned of pending password expiration. If set value must be 0<."). ' '. _("Can be left empty.")), - "415" => array ("ext" => "FALSE", "Headline" => _("Password expire"), - "Text" => _("Number of days a user can login even his password has expired. -1=always."). ' '. _("Can be left empty.")), - "416" => array ("ext" => "FALSE", "Headline" => _("Maximum password age"), - "Text" => _("Number of days after a user has to change his password again. If set value must be 0<."). ' '. _("Can be left empty.")), - "417" => array ("ext" => "FALSE", "Headline" => _("Minimum password age"), - "Text" => _("Number of days a user has to wait until he\'s allowed to change his password again. If set value must be 0<."). ' '. _("Can be left empty.")), - "418" => array ("ext" => "FALSE", "Headline" => _("Expire date"), - "Text" => _("Account expire date. Format: DD-MM-YYYY")), - "419" => array ("ext" => "FALSE", "Headline" => _("Group members"), - "Text" => _("Users wich are also members of group.")), - "420" => array ("ext" => "FALSE", "Headline" => _("Display name"), - "Text" => _("Windows clients will show display name as group description.")), - "421" => array ("ext" => "FALSE", "Headline" => _("Load profile"), - "Text" => _("You can select a previous defined profile here. This will set all fields to the profile values.")), - "422" => array ("ext" => "FALSE", "Headline" => _("Expand suffix with primary groupname"), - "Text" => _("If selected users will be added with OUs expanded with their primary group. E.g. if a user is in group admin the user suffix will be ou=admin,+user suffix.")), - "423" => array ("ext" => "FALSE", "Headline" => _("Group suffix"), - "Text" => _("If a not yet existing group is defined in csv-file, a new group in the selected group suffix will be created.")), - "424" => array ("ext" => "FALSE", "Headline" => _("Surname"), - "Text" => _("Surname of user. Only letters, - and spaces are allowed.")), - "425" => array ("ext" => "FALSE", "Headline" => _("Given name"), - "Text" => _("Given name of user. Only letters, - and spaces are allowed.")), - "426" => array ("ext" => "FALSE", "Headline" => _("Use no password"), - "Text" => _("If checked no password will be used.")), - "427" => array ("ext" => "FALSE", "Headline" => _("Account deactivated"), - "Text" => _("If checked account will be deactivated by putting a ! before the encrypted password.")), - "428" => array ("ext" => "FALSE", "Headline" => _("Use unix password"), - "Text" => _("If checked unix password will also be used as samba password.")), - "429" => array ("ext" => "FALSE", "Headline" => _("Password does not expire"), - "Text" => _("If checked password does not expire. (Setting X-Flag)")), - "430" => array ("ext" => "FALSE", "Headline" => _("User can change password"), - "Text" => _("Date after the user is able to change his password. Format: DD-MM-YYYY")), - "431" => array ("ext" => "FALSE", "Headline" => _("User must change password"), - "Text" => _("Date after the user must change his password. Format: DD-MM-YYYY")), - "432" => array ("ext" => "FALSE", "Headline" => _("Account is deactivated"), - "Text" => _("If checked account will be deactivated. (Setting D-Flag)")), - "433" => array ("ext" => "FALSE", "Headline" => _("Home drive"), - "Text" => _("Driveletter assigned on windows workstations as homedirectory.")), - "434" => array ("ext" => "FALSE", "Headline" => _("Logon script"), - "Text" => _("Filename and -path relative to netlogon-share which should be executed on logon. $%s and $%s are replaced with user- and groupname."). ' '. _("Can be left empty."), - "variables" => array('user', 'group')), - "435" => array ("ext" => "FALSE", "Headline" => _("Profile path"), - "Text" => _("Path of the userprofile. Can be a local absolute path or a UNC-path (\\\\server\\share). $%s and $%s are replaced with user- and groupname."). ' '. _("Can be left empty."), - "variables" => array('user', 'group')), - "436" => array ("ext" => "FALSE", "Headline" => _("Samba workstations"), - "Text" => _("List of samba workstations the user is allowed to login. Empty means every workstation."). ' '. _("Can be left empty.")), - "437" => array ("ext" => "FALSE", "Headline" => _("Home path"), - "Text" => _("UNC-path (\\\\server\\share) of homedirectory. $%s and $%s are replaced with user- and groupname."). ' '. _("Can be left empty."), - "variables" => array('user', 'group')), - "438" => array ("ext" => "FALSE", "Headline" => _("Domain"), - "Text" => _("Windows-Domain of user."). ' '. _("Can be left empty.")), - "439" => array ("ext" => "FALSE", "Headline" => _("Mountpoint"), - "Text" => _("Mountpoint of device with enabled quotas.")), - "440" => array ("ext" => "FALSE", "Headline" => _("Used blocks"), - "Text" => _("Used blocks. 1000 blocks are usually 1MB")), - "441" => array ("ext" => "FALSE", "Headline" => _("Soft block limit"), - "Text" => _("Soft block limit."), "SeeAlso" => ''. - 'Quota How-To'), - "442" => array ("ext" => "FALSE", "Headline" => _("Hard block limit"), - "Text" => _("Hard block limit").'.', "SeeAlso" => ''. - 'Quota How-To'), - "443" => array ("ext" => "FALSE", "Headline" => _("Grace block period"), - "Text" => _("Grace block period. Most filesystems use a fixed maximum value of 7 days."), "SeeAlso" => ''. - 'Quota How-To'), - "444" => array ("ext" => "FALSE", "Headline" => _("Used inodes"), - "Text" => _("Used inodes (files)").'.'), - "445" => array ("ext" => "FALSE", "Headline" => _("Soft inode limit"), - "Text" => _("Soft inode (files) limit."), "SeeAlso" => ''. - 'Quota How-To'), - "446" => array ("ext" => "FALSE", "Headline" => _("Hard inode limit"), - "Text" => _("Hard inode (files) limit").'.', "SeeAlso" => ''. - 'Quota How-To'), - "447" => array ("ext" => "FALSE", "Headline" => _("Grace inode period"), - "Text" => _("Grace inode (files) period. Most filesystems use a fixed maximum value of 7 days."), "SeeAlso" => ''. - 'Quota How-To'), - "448" => array ("ext" => "FALSE", "Headline" => _("Job title"), - "Text" => _("Job title of user, Vice President, ...")), - "449" => array ("ext" => "FALSE", "Headline" => _("Employee type"), - "Text" => _("Employee type: Contractor, Employee, Intern, Temp, External, ...")), - "450" => array ("ext" => "FALSE", "Headline" => _("Street"), - "Text" => _("Street")), - "451" => array ("ext" => "FALSE", "Headline" => _("Postal code"), - "Text" => _("Postal code")), - "452" => array ("ext" => "FALSE", "Headline" => _("Postal address"), - "Text" => _("Postal address, city")), - "453" => array ("ext" => "FALSE", "Headline" => _("Telephone number"), - "Text" => _("Telephone number")), - "454" => array ("ext" => "FALSE", "Headline" => _("Mobile number"), - "Text" => _("Mobile number")), - "455" => array ("ext" => "FALSE", "Headline" => _("Fax number"), - "Text" => _("Fax number")), - "456" => array ("ext" => "FALSE", "Headline" => _("eMail address"), - "Text" => _("eMail address")), - "457" => array ("ext" => "FALSE", "Headline" => _("Save profile"), - "Text" => _("This will make a profile of the current account. The saved values are the same as in the profile editor. Profile names may contain the letters a-z, 0-9 and -_.")), - "458" => array ("ext" => "FALSE", "Headline" => _("Select group profile"), - "Text" => _("If a not yet existing group is defined in csv-file, a new group with the selected group profile will be created.")), - "460" => array ("ext" => "FALSE", "Headline" => _("Windows domain"), - "Text" => _("Windows domain of host."). ' '. _("Can be left empty.")), - "461" => array ("ext" => "FALSE", "Headline" => _("Suffix"), - "Text" => _("Position in ldap-tree where the user should be created.")), - "462" => array ("ext" => "FALSE", "Headline" => _("Suffix"), - "Text" => _("Position in ldap-tree where the group should be created.")), - "463" => array ("ext" => "FALSE", "Headline" => _("Suffix"), - "Text" => _("Position in ldap-tree where the host should be created.")), - "464" => array ("ext" => "FALSE", "Headline" => _("Windows groupname"), - "Text" => _("If you want to use a well known RID you can selcet a well known group.")), - "466" => array ("ext" => "FALSE", "Headline" => _("Unix workstations"), - "Text" => _("Comma separated list of unix workstations the user is allowed to login."). ' '. _("Can be left empty.")), - "467" => array ("ext" => "FALSE", "Headline" => _("Domain"), - "Text" => _("Windows-Domain of group."). ' '. _("Can be left empty.")), - "468" => array ("ext" => "FALSE", "Headline" => _("Group members"), - "Text" => _("Users also being member of the current group."). ' '. _("Can be left empty.")), - // 600 - 699 - // Roland Gruber - // OU-editor, domain page - "601" => array ("ext" => "FALSE", "Headline" => _("OU-Editor") . " - " . _("New organizational unit"), - "Text" => _("This will create a new organizational unit under the selected one.")), - "602" => array ("ext" => "FALSE", "Headline" => _("OU-Editor") . " - " . _("Delete organizational unit"), - "Text" => _("This will delete the selected organizational unit. The OU has to be empty.")), - "651" => array ("ext" => "FALSE", "Headline" => _("Domain name"), - "Text" => _("The name of your Windows domain or workgroup.")), - "652" => array ("ext" => "FALSE", "Headline" => _("Suffix"), - "Text" => _("The domain entry will be saved under this suffix.")), - "653" => array ("ext" => "FALSE", "Headline" => _("Domain SID"), - "Text" => _("The SID of your Samba server. Get it with \"net getlocalsid\".")), - "654" => array ("ext" => "FALSE", "Headline" => _("Next RID"), - "Text" => _("Next RID to use when creating accounts.")), - "655" => array ("ext" => "FALSE", "Headline" => _("Next User RID"), - "Text" => _("Next RID to use when creating user accounts.")), - "656" => array ("ext" => "FALSE", "Headline" => _("Next Group RID"), - "Text" => _("Next RID to use when creating groups.")), - "657" => array ("ext" => "FALSE", "Headline" => _("Algorithmic RID Base"), - "Text" => _("Used for calculating RIDs from UID/GID. Do not change if unsure.")) - -/* This is a sample help entry. Just copy this line an modify the vakues between the [] brackets. - Help text is located in the array: - "[Helpnumber]" => array ("ext" => "FALSE", "Headline" => _("[Headline]"), "Text" => _("[Text]"), "SeeAlso" => "[SeeAlso link]"), - Help text is located in an extra file; File must be stored in help directory; 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]), -*/ - ); -?> diff --git a/lam-0.4/help/help_numbers.assign b/lam-0.4/help/help_numbers.assign deleted file mode 100644 index d1381af8..00000000 --- a/lam-0.4/help/help_numbers.assign +++ /dev/null @@ -1,16 +0,0 @@ -/* -This file contains a list of 100er blocks of help numbers. Each block can be unassigned or assigned to a developer. Each block description contains the name of the developer and the topic the help numbers are used for. - -If you are a developer and need a block of help numbers please contact Michael Dürgner ICQ-UIN:176796482. - -Help numbers should only be used if they are assigned in this file to avoid double entries. In the help/help.inc file each block should begin with the range of help numbers, the developers name and the topic. -*/ - -0 - 99: any developer: for testing purposes -100 - 199: unassigend -200 - 299: Roland Gruber: configuration wizard, configuration login -300 - 399: Roland Gruber: profil editor -400 - 499: Tilo Lutz: account.php -500 - 599: Tilo Lutz: Masscreate and Massdelete -600 - 699: Roland Gruber: OU-Editor -700 -: unassigned diff --git a/lam-0.4/index.html b/lam-0.4/index.html deleted file mode 100644 index 27b83977..00000000 --- a/lam-0.4/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - -LDAP Account Manager - - - - - \ No newline at end of file diff --git a/lam-0.4/lib/.htaccess b/lam-0.4/lib/.htaccess deleted file mode 100644 index 053b54e1..00000000 --- a/lam-0.4/lib/.htaccess +++ /dev/null @@ -1,12 +0,0 @@ - - Order allow,deny - Deny from all - - - Order allow,deny - Allow from all - - - Order allow,deny - Allow from all - diff --git a/lam-0.4/lib/account.inc b/lam-0.4/lib/account.inc deleted file mode 100644 index 3236fc35..00000000 --- a/lam-0.4/lib/account.inc +++ /dev/null @@ -1,2529 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -// This class keeps all needed values for any account -class account { - // Type : user | group | host - var $type; - // General Settings - var $general_objectClass; // Array, contains old objectclasses of loaded account - var $general_username; // string Username, Hostname or Groupname - var $general_uidNumber; // string UIDNumber(user|host) GIDNumber(group) only natural numbers allowed - var $general_surname; // string Surname (user) - var $general_givenname; // string Givenname (user) - var $general_dn; // string DN - var $general_group; // string Primary group (user|host) - var $general_groupadd; // array(string) Addititional Groups (user) is member of - var $general_homedir; // atring Homedirectoy (user) For host it's hardcoded to/dev/null - var $general_shell; // array(string) list off all valid shells (user) hosts are hard-wired to /bin/false - var $general_gecos; // string, gecos-field (user|group|host) - // Unix Password Settings - var $unix_memberUid; // array Stores all users which are member of group but is not primary group (group) - var $unix_password; // string for unix-password (user|host) - var $unix_password_no; // string (0|1) set unix-password to none (user|host) - var $unix_pwdwarn; // string number of days a user is warned before password expires (user|host) value must be a natural number (user|host) - var $unix_pwdallowlogin; // string number of days a user can login even his password has expired (user) muste be a natural number or 0 or -1 (user|host) - var $unix_pwdmaxage; // string Number of days after a user has to change his password again Value must be 0<. (user|host) - var $unix_pwdminage; // string Number of days a user has to wait until he\'s allowed to change his password again. Value must be 0<. (user|host) - var $unix_pwdexpire; // string days since 1.1.1970 the account expires (user|host) - var $unix_deactivated; // string (1|0) account deactivated? (user|host) - var $unix_shadowLastChange; // string, contains the days since 1.1.1970 the password has been changed last time (user|host) - var $unix_host; // list of unix hosts the user is allowed to log in - // Samba Account - var $smb_password; // string for samba-password (user|host) - var $smb_useunixpwd; // string (1|0) use unix-password as samba-password (user|host) - var $smb_pwdcanchange; // string unix-timestamp user/host is able to change password (user|host) - var $smb_pwdmustchange; // string unix-timestamp user/host has to change password at next login (user|host) - var $smb_homedrive; // string Homedrive (C:, D:, ...) (user) - var $smb_scriptPath; // string ScriptPath (\\server\loginscript) (user) - var $smb_profilePath; // string profilePAth (\\server\profilepath) (user) - var $smb_smbuserworkstations; // string comma-separated list of workstations (user) - var $smb_smbhome; // string Home-Share (\\server\home) (user) - var $smb_domain; // string Domain of (user|host) or samba3domain-Object - var $smb_flags; // array of acctFlags, ( {'W'] => 0, ['X'] => 1, ...... - var $smb_mapgroup; // decimal ID for groups - var $smb_displayName; // string, description, similar to gecos-field. - // Quota Settins - var $quota; /* array[][] First array is an index for every chare with active quotas - * second array Contains values for every share: - * mountpoint, used blocks, soft block limit, hard block limit, grace block period, used inodes, - * soft inode limit, hard inode limit, grace inode period - */ - // Personal Settings - var $personal_title; // string title of user - var $personal_mail; // string mailaddress of user - var $personal_telephoneNumber; // string telephonenumber of user - var $personal_mobileTelephoneNumber; // string mobile umber of user - var $personal_facsimileTelephoneNumber; // strinf fax-number of user - var $personal_street; // stirng streetname of user - var $personal_postalCode; // string postal code of user - var $personal_postalAddress; // string postal Address of user - var $personal_employeeType; // string employe type of user - } - - - -/* Return a list of all shells listed in ../config/shells -* Normally ../config/shells is a symbolic link to /etc/shells -*/ -function getshells() { - // Load shells from file - $shells = file($_SESSION['lampath'].'config/shells'); - $i=0; - while (count($shells) > $i) { - // remove whitespaces - trim($shells[$i]); - // remove lineend - $shells[$i] = substr($shells[$i], 0, strpos($shells[$i], "\n")); - // remove comments - if ($shells[$i]{0}=='#') unset ($shells[$i]); - else $i++; - } - // $shells is array with all valid shells - return $shells; - } - - -/* This function will replace umlates with ascci-chars -* fixme *** -* In order to map all non-ascii characters this function should be changed -*/ -function replace_umlaut($text) { - $aTranslate = array("ä"=>"ae", "Ä"=>"Ae", - "ö"=>"oe", "Ö"=>"Oe", - "ü"=>"ue", "Ü"=>"Ue", - "ß"=>"ss" - ); - return strtr($text, $aTranslate); - } - - -/* This function will return all values from $array without values of $values -* $values, $array and $return are arrays -*/ -function array_delete($values, $array) { - // Loop for every entry and check if it should be removed - if (is_array($array)) { - $return = array(); - foreach ($array as $array_value) - if (!@in_array($array_value, $values)) - $return[] = $array_value; - return $return; - } - else return array(); - } - - -// This function will return a password with max. 8 characters -function genpasswd() { - // Allowed Characters to generate passwords - // I'Ve removed characters like l and 1 because they are too similar - $LCase = 'abcdefghjkmnpqrstuvwxyz'; - $UCase = 'ABCDEFGHJKMNPQRSTUVWXYZ'; - $Integer = '23456789'; - // DEFINE CONSTANTS FOR ALGORTTHM - define("LEN", '1'); - $a = RndInt('letter'); - $b = RndInt('letter'); - $c = RndInt('letter'); - $d = RndInt('letter'); - $e = RndInt('number'); - $f = RndInt('number'); - $g = RndInt('letter'); - $h = RndInt('letter'); - // EXTRACT 8 CHARACTERS RANDOMLY FROM TH // E DEFINITION STRINGS - $L1 = substr($LCase, $a, LEN); - $L2 = substr($LCase, $b, LEN); - $L3 = substr($LCase, $h, LEN); - $U1 = substr($UCase, $c, LEN); - $U2 = substr($UCase, $d, LEN); - $U3 = substr($UCase, $g, LEN); - $I1 = substr($Integer, $e, LEN); - $I2 = substr($Integer, $f, LEN); - // COMBINE THE CHARACTERS AND DISPLAY TH // E NEW PASSWORD - $PW = $L1 . $U2 . $I1 . $L2 . $I2 . $U1 . $U3 . $L3; - return $PW; - } - - -/* THIS FUNCTION GENERATES A RANDOM NUMBER THAT WILL BE USED TO -* RANDOMLY SELECT CHARACTERS FROM THE STRINGS ABOVE -*/ -function RndInt($Format){ - switch ($Format){ - case 'letter': - $Rnd = rand(0,23); - if ($Rnd > 23){ - $Rnd = $Rnd - 1; - } - break; - case 'number': - $Rnd = rand(2,9); - if ($Rnd > 8){ - $Rnd = $Rnd - 1; - } - break; - } - return $Rnd; - } // END RndInt() FUNCTION - - -/* Whis function will return the quotas from the specified user If empty only filesystems with enabled quotas are returned -* $users = array of account objects., return-value is an array of account objects -* if $users is account object return values is also an account object -* An array with all quota-enabled partitions will be returned in this case all returned values are 0 exept mointpoint[x][0] -*/ -function getquotas($users) { - // define new object - if (is_array($users)) $return = $users; - else $return[0] = $users; - // get username and password of the current lam-admin - $ldap_q = $_SESSION['ldap']->decrypt_login(); - if (is_array($return)) { - for($i=0; $igeneral_username!='') $userstring .= $return[$i]->general_username." quota get ".$return[$i]->type."\n"; - else $userstring .= "+ quota get ".$return[$i]->type."\n"; - } - if (function_exists('proc_open')) { - // New Code, requires PHP 4.3 - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." - -"; - $descriptorspec = array( - 0 => array("pipe", "r"), // stdin - 1 => array("pipe", "w"), // stout - 2 => array("file", "/dev/null", "a") // sterr - ); - $process = proc_open(escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite, - $descriptorspec, - $pipes); - if (is_resource($process)) { - /* perl-script is running - * $pipes[0] is writeable handle to child stdin - * $pipes[1] is readable handle to child stdout - * any error is send to /dev/null - */ - // user+passwd - fwrite($pipes[0], $ldap_q[0] . "\n"); - fwrite($pipes[0], $ldap_q[1] . "\n"); - // Write one output-line for every user - fwrite($pipes[0], $userstring); - fclose($pipes[0]); - while (!feof($pipes[1])) { - $output = fgets($pipes[1], 1024); - if ($output!='') $output_array[] = $output; - } - fclose($pipes[1]); - proc_close($process); - } - } - else { // PHP 4.3> - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ". - escapeshellarg($ldap_q[0]).' '.escapeshellarg($ldap_q[1]); - $command = escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite; - $pipe = popen("echo \"$userstring\"|$command" , 'r'); - while(!feof($pipe)) { - //$output .= fread($pipe, 1024); - $output = fgets($pipe, 1024); - if ($output!='') $output_array[] = $output; - } - pclose($pipe); - } - /* $vals is a string which contains a two dimensional array. - * We have to recreate it with explode - * - * $return->quota[][] First array is an index for every chare with active quotas - * second array Contains values for every share: - * mountpoint, used blocks, soft block limit, hard block limit, grace block period, used inodes, - * soft inode limit, hard inode limit, grace inode period - */ - if (is_array($output_array)) { - for ($i=0; $iquota[$j][$k] = $single_quota[$k]; - if ($return[$i]->quota[$j][4]quota[$j][4] = ''; - else $return[$i]->quota[$j][4] = strval(intval(($return[$i]->quota[$j][4]-time())/3600)) .' '. _('hours'); - if ($return[$i]->quota[$j][8]quota[$j][8] = ''; - else $return[$i]->quota[$j][8] = strval(intval(($return[$i]->quota[$j][8]-time())/3600)) .' '. _('hours'); - } - $j=0; - while (isset($return[$i]->quota[$j][0])) - // remove invalid quotas - if (!in_array($return[$i]->quota[$j][0], $real_quotas)) unset($return[$i]->quota[$j]); - else $j++; - // Beautify array, repair index - if (is_array($return[$i]->quota)) $return[$i]->quota = array_values($return[$i]->quota); - } - if (is_array($users)) return $return; - else return $return[0]; - } - else { - return $users; - } - } - -/* Whis function will set the quotas from the specified user. -* $values2 = array of object account with quotas which should be set -* $values2 can also be an account object -*/ -function setquotas($values2) { - // get username and password of the current lam-admin - $ldap_q = $_SESSION['ldap']->decrypt_login(); - - /* Check wich quotas have changed - * Because we can not send an array to lamdaemon.pl we have to put all - * values in a string. ':' sepraeates the first array, ',' the second - * - * $values->quota[][] First array is an index for every chare with active quotas - * second array Contains values for every share: - * mountpoint, used blocks, soft block limit, hard block limit, grace block period, used inodes, - * soft inode limit, hard inode limit, grace inode period - * - * run only once if no array is given - * - */ - if (is_array($values2)) { - foreach ($values2 as $values) { - $i=0; - while ($values->quota[$i][0]) { - $quotastring = $quotastring. $values->quota[$i][0] .','.$values->quota[$i][2] .','.$values->quota[$i][3] - .','.$values->quota[$i][6] .','. $values->quota[$i][7] .':'; - $i++; - } - $userstring .= $values->general_username." quota set ".$values->type." ".$quotastring."\n"; - } - } - else { - $i=0; - while ($values2->quota[$i][0]) { - $quotastring = $quotastring. $values2->quota[$i][0] .','.$values2->quota[$i][2] .','.$values2->quota[$i][3] - .','.$values2->quota[$i][6] .','. $values2->quota[$i][7] .':'; - $i++; - } - $userstring = $values2->general_username." quota set ".$values2->type." ".$quotastring."\n"; - } - - if (function_exists('proc_open')) { - // New Code, requires PHP 4.3 - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." - -"; - $descriptorspec = array( - 0 => array("pipe", "r"), // stdin - 1 => array("pipe", "w"), // stout - 2 => array("file", "/dev/null", "a") // sterr - ); - $process = proc_open(escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite, - $descriptorspec, - $pipes); - if (is_resource($process)) { - /* perl-script is running - * $pipes[0] is writeable handle to child stdin - * $pipes[1] is readable handle to child stdout - * any error is send to /dev/null - */ - // user+passwd - fwrite($pipes[0], $ldap_q[0] . "\n"); - fwrite($pipes[0], $ldap_q[1] . "\n"); - // Write to stdin - fwrite($pipes[0], $userstring); - } - fclose($pipes[0]); - while (!feof($pipes[1])) { - $output = fgets($pipes[1], 1024); - if ($output!='') $output_array[] = $output; - } - fclose($pipes[1]); - proc_close($process); - } - else { // PHP 4.3> - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ". - escapeshellarg($ldap_q[0]).' '.escapeshellarg($ldap_q[1]); - $command = escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite; - $pipe = popen("echo \"$userstring\"|$command" , 'r'); - while(!feof($pipe)) { - //$output .= fread($pipe, 1024); - $output = fgets($pipe, 1024); - if ($output!='') $output_array[] = $output; - } - pclose($pipe); - } - if (is_array($values2)) return $output_array; - else return $output_array[0]; - } - - -/* Whis function will remove the quotas from the specified user. -* $users = array of usernames of which quta should be deleted -* $users can also be a string (single user) -* $type = user or group -* Delteing quotas means settings all values to 0 which means no quotas -*/ -function remquotas($users, $type) { - // get username and password of the current lam-admin - $ldap_q = $_SESSION['ldap']->decrypt_login(); - - if (is_array($users)) { - foreach ($users as $user) { - $userstring .= "$user quota rem $type\n"; - } - } - else $userstring = "$users quota rem $type\n"; - - if (function_exists('proc_open')) { - // New Code, requires PHP 4.3 - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." - -"; - $descriptorspec = array( - 0 => array("pipe", "r"), // stdin - 1 => array("pipe", "w"), // stout - 2 => array("file", "/dev/null", "a") // sterr - ); - $process = proc_open(escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite, - $descriptorspec, - $pipes); - if (is_resource($process)) { - /* perl-script is running - * $pipes[0] is writeable handle to child stdin - * $pipes[1] is readable handle to child stdout - * any error is send to /dev/null - */ - // user+passwd - fwrite($pipes[0], $ldap_q[0] . "\n"); - fwrite($pipes[0], $ldap_q[1] . "\n"); - // Write to stdin - fwrite($pipes[0], $userstring); - } - fclose($pipes[0]); - while (!feof($pipes[1])) { - $output = fgets($pipes[1], 1024); - if ($output!='') $output_array[] = $output; - } - fclose($pipes[1]); - proc_close($process); - } - else { // PHP 4.3> - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ". - escapeshellarg($ldap_q[0]).' '.escapeshellarg($ldap_q[1]); - $command = escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite; - $pipe = popen("echo \"$userstring\"|$command" , 'r'); - while(!feof($pipe)) { - //$output .= fread($pipe, 1024); - $output = fgets($pipe, 1024); - if ($output!='') $output_array[] = $output; - } - pclose($pipe); - } - if (is_array($values2)) return $output_array; - else return $output_array[0]; - } - - -/* Create Homedirectory -* lamdaemon.pl uses getpwnam on remote system to get homedir path. -* Therefore ldap have to be used on remote system for user accounts -* $users = array of usernames -* $users can also be a string (single user) -*/ -function addhomedir($users) { - // get username and password of the current lam-admin - $ldap_q = $_SESSION['ldap']->decrypt_login(); - - if (is_array($users)) { - foreach ($users as $user) { - $userstring .= "$user home add\n"; - } - } - else $userstring = "$users home add\n"; - - if (function_exists('proc_open')) { - // New Code, requires PHP 4.3 - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." - -"; - $descriptorspec = array( - 0 => array("pipe", "r"), // stdin - 1 => array("pipe", "w"), // stout - 2 => array("file", "/dev/null", "a") // sterr - ); - $process = proc_open(escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite, - $descriptorspec, - $pipes); - if (is_resource($process)) { - /* perl-script is running - * $pipes[0] is writeable handle to child stdin - * $pipes[1] is readable handle to child stdout - * any error is send to /dev/null - */ - // user+passwd - fwrite($pipes[0], $ldap_q[0] . "\n"); - fwrite($pipes[0], $ldap_q[1] . "\n"); - // Write to stdin - fwrite($pipes[0], $userstring); - } - fclose($pipes[0]); - while (!feof($pipes[1])) { - $output = fgets($pipes[1], 1024); - if ($output!='') $output_array[] = $output; - } - fclose($pipes[1]); - proc_close($process); - } - else { // PHP 4.3> - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ". - escapeshellarg($ldap_q[0]).' '.escapeshellarg($ldap_q[1]); - $command = escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite; - $pipe = popen("echo \"$userstring\"|$command" , 'r'); - while(!feof($pipe)) { - //$output .= fread($pipe, 1024); - $output = fgets($pipe, 1024); - if ($output!='') $output_array[] = $output; - } - pclose($pipe); - } - if (is_array($values2)) return $output_array; - else return $output_array[0]; - } - -/* Remove Homedirectory -* lamdaemon.pl uses getpwnam on remote system to get homedir path. -* Therefore ldap have to be used on remote system for user accounts -* This also means you have to remove the homedirectory before the -* account is removed from ldap -* $users = array of usernames -* $users can also be a string (single user) -*/ -function remhomedir($users) { - // get username and password of the current lam-admin - $ldap_q = $_SESSION['ldap']->decrypt_login(); - - if (is_array($users)) { - foreach ($users as $user) { - $userstring .= "$user home rem\n"; - } - } - else $userstring = "$users home rem\n"; - - if (function_exists('proc_open')) { - // New Code, requires PHP 4.3 - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." - -"; - $descriptorspec = array( - 0 => array("pipe", "r"), // stdin - 1 => array("pipe", "w"), // stout - 2 => array("file", "/dev/null", "a") // sterr - ); - $process = proc_open(escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite, - $descriptorspec, - $pipes); - if (is_resource($process)) { - /* perl-script is running - * $pipes[0] is writeable handle to child stdin - * $pipes[1] is readable handle to child stdout - * any error is send to /dev/null - */ - // user+passwd - fwrite($pipes[0], $ldap_q[0] . "\n"); - fwrite($pipes[0], $ldap_q[1] . "\n"); - // Write to stdin - fwrite($pipes[0], $userstring); - } - fclose($pipes[0]); - while (!feof($pipes[1])) { - $output = fgets($pipes[1], 1024); - if ($output!='') $output_array[] = $output; - } - fclose($pipes[1]); - proc_close($process); - } - else { // PHP 4.3> - $towrite = escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ". - escapeshellarg($ldap_q[0]).' '.escapeshellarg($ldap_q[1]); - $command = escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".$towrite; - $pipe = popen("echo \"$userstring\"|$command" , 'r'); - while(!feof($pipe)) { - //$output .= fread($pipe, 1024); - $output = fgets($pipe, 1024); - if ($output!='') $output_array[] = $output; - } - pclose($pipe); - } - if (is_array($values2)) return $output_array; - else return $output_array[0]; - } - - -/* This function maintains the ldap-cache which is used to reduce ldap requests -* If the array is older than $_SESSION['config']->get_cacheTimeoutSec() it will -* be recreated -* -* $type can be user|group|host. -* -* $_SESSION['xxxxDN'] contains all attributes which are needed very often from -* more than one function -* $_SESSION['xxxx'DN'][0] contains the creation time of the array as unix timestamp. -* All other entries have the following syntax: -* $_SESSION['xxxx'DN'][$dn][$attributes] -* $dn = DN of cached entry -* $attributes = All cached attributes of DN -* The cache contains the following attributes: -* user: cn, uidNumber -* group: cn, gidNumber -* host: cn, uidNumber -*/ -function ldapreload($type) { - switch ($type) { - case 'user': - // Do we have to recreate array? - if ((!isset($_SESSION['userDN'])) || ($_SESSION['userDN'][0] < time()-$_SESSION['config']->get_cacheTimeoutSec())) { - // Remove old array - if (isset($_SESSION['userDN'])) unset($_SESSION['userDN']); - // insert timestamp in array - $_SESSION['userDN'][0] = time(); - // Search 4 values which should be cached - $result = @ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), - '(&(objectClass=posixAccount)(!(uid=*$)))', array('uid', 'uidNumber'), 0); - // Write search result in array - $entry = @ldap_first_entry($_SESSION['ldap']->server(), $result); - while ($entry) { - $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr['uid'][0])) - $_SESSION['userDN'][$dn]['uid'] = $attr['uid'][0]; - if (isset($attr['uidNumber'][0])) - $_SESSION['userDN'][$dn]['uidNumber'] = $attr['uidNumber'][0]; - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - } - break; - case 'group': - // Do we have to recreate array? - if ((!isset($_SESSION['groupDN'])) || ($_SESSION['groupDN'][0] < time()-$_SESSION['config']->get_cacheTimeoutSec())) { - // Remove old array - if (isset($_SESSION['groupDN'])) unset($_SESSION['groupDN']); - // insert timestamp in array - $_SESSION['groupDN'][0] = time(); - // Search 4 values which should be cached - $result = @ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), - 'objectClass=posixGroup', array('gidNumber', 'cn', 'memberUid', 'sambaSID'), 0); - // Write search result in array - $entry = @ldap_first_entry($_SESSION['ldap']->server(), $result); - while ($entry) { - $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr['gidNumber'][0])) - $_SESSION['groupDN'][$dn]['uidNumber'] = $attr['gidNumber'][0]; - if (isset($attr['cn'][0])) - $_SESSION['groupDN'][$dn]['cn'] = $attr['cn'][0]; - if (isset($attr['sambaSID'][0])) - $_SESSION['groupDN'][$dn]['sambaSID'] = $attr['sambaSID'][0]; - $i=0; - while (isset($attr['memberUid'][$i])) { - $_SESSION['groupDN'][$dn]['memberUid'][$i] = $attr['memberUid'][$i]; - $i++; - } - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - } - break; - case 'host': - // Do we have to recreate array? - if ((!isset($_SESSION['hostDN'])) || ($_SESSION['hostDN'][0] < time()-$_SESSION['config']->get_cacheTimeoutSec())) { - // Remove old array - if (isset($_SESSION['hostDN'])) unset($_SESSION['hostDN']); - // insert timestamp in array - $_SESSION['hostDN'][0] = time(); - // Search 4 values which should be cached - $result = @ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_HostSuffix(), - '(&(objectClass=posixAccount)(uid=*$))', array('uid', 'uidNumber'), 0); - // Write search result in array - $entry = @ldap_first_entry($_SESSION['ldap']->server(), $result); - while ($entry) { - $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr['uid'][0])) - $_SESSION['hostDN'][$dn]['uid'] = $attr['uid'][0]; - if (isset($attr['uidNumber'][0])) - $_SESSION['hostDN'][$dn]['uidNumber'] = $attr['uidNumber'][0]; - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - } - break; - } - return 0; - } - - -/* This function will search in cache if the DN already exists -* $values is an account-object -* $values_old is an account-object -* $values_old is needed because we don't want to raise -* an error if the DN allredy exists but is the original DN -*/ -function ldapexists($values, $values_old=false) { - switch ($values->type) { - case 'user': - // Validate cache-array - ldapreload('user'); - // Entry which we search in ldap ',' is needed to ensure the complete username is checked - $search = 'uid='.$values->general_username.','; - // Get copy of cache-array - $keys = array_keys($_SESSION['userDN']); - break; - case 'group': - // Validate cache-array - ldapreload('group'); - // Entry which we search in ldap ',' is needed to ensure the complete username is checked - $search = 'cn='.$values->general_username.','; - // Get copy of cache-array and - $keys = array_keys($_SESSION['groupDN']); - break; - case 'host': - // Validate cache-array - ldapreload('host'); - // Entry which we search in ldap ',' is needed to ensure the complete username is checked - $search = 'uid='.$values->general_username.','; - // Get copy of cache-array - $keys = array_keys($_SESSION['hostDN']); - break; - } - // Remove timestamp stored in [0] - unset ($keys[0]); - $keys = array_values($keys); - if (!$values_old) { - // Create new account - // Check if entry allready exists - foreach ($keys as $key) - if (strstr($key, $search)) return sprintf (_('%s already exists!'), $values->type); - } - // edit existing account and don't create a new one - else if ($values_old->general_username != $values->general_username) { - foreach ($keys as $key) - if (strstr($key, $search)) return sprintf (_('%s already exists!'), $values->type); - } - return 0; - } - - -/* This function will return an array with all groupnames -* found in ldap. Groupnames are taken from cache-array. -*/ -function findgroups() { - // Validate cache-array - ldapreload('group'); - // Get copy of cache-array - $groups = $_SESSION['groupDN']; - // Remove timestamp stored in [0] - unset ($groups[0]); - // Create and sort array - foreach ($groups as $group) { - $return[] = $group['cn']; - } - if (is_array($return)) sort ($return, SORT_STRING); - return $return; - } - - -/* This function will return the gidNumber to an existing groupname -* gidNumbers are taken from cache-array -*/ -function getgid($groupname) { - // Validate cache-array - ldapreload('group'); - // Get copy of cache-array - $keys = $_SESSION['groupDN']; - // Remove timestamp stored in [0] - unset ($keys[0]); - // Return gidNumber as soon as it's found - foreach ($keys as $key) { - if ($key['cn']==$groupname) return $key['uidNumber']; - } - // return -1 if groupname isn't found - return -1; - } - -/* This function will return the groupname to an existing gidNumber -* groupnames are taken from cache-array -*/ -function getgrnam($gidNumber) { - // Validate cache-array - ldapreload('group'); - // Get copy of cache-array - $groupDN_local = $_SESSION['groupDN']; - // Remove timestamp stored in [0] - unset ($groupDN_local[0]); - // Now we only have an array with DNs - $groupDN_local = array_keys($groupDN_local); - $i=0; - // Loop until we've found the right uidNumber - while (!isset($return) && isset($_SESSION['groupDN'][$groupDN_local[$i]]['uidNumber'])) { - if ($_SESSION['groupDN'][$groupDN_local[$i]]['uidNumber'] == $gidNumber) { - // We've found the correct entry. Now we need the groupname - $return = $_SESSION['groupDN'][$groupDN_local[$i]]['cn']; - } - // Increase loop-variable if entry wasn't found - else $i++; - } - // Set $return to -1 if no group was found - if (!isset($return)) $return = -1; - return $return; - } - - -/* This function will return an unuesed id-number if $values->general_uidNumber is not set and $values_old is false -* If values_old is true and $values->general_uidNumber is not set the original id-number is returned -* If $values->general_uidNumber is set id-number is checked. If it's allready in use an error will be reported -* id-numbers are taken from cache-array -* $values and $values_old are account objects -* Return-Values is an integer id-number or an string-error -*/ -function checkid($values, $values_old=false) { - switch ($values->type) { - case 'group': - // Validate cache-array - ldapreload('group'); - // Load all needed variables from session - $minID = intval($_SESSION['config']->get_MinGID()); - $maxID = intval($_SESSION['config']->get_MaxGID()); - // Get copy of cache-array - $temp = $_SESSION['groupDN']; - break; - case 'user': - /* Validate cache-array - * Because users and hosts are using the same id-numbers we have to merge - * both cache-arrays - */ - ldapreload('user'); - ldapreload('host'); - // Load all needed variables from session - $minID = intval($_SESSION['config']->get_minUID()); - $maxID = intval($_SESSION['config']->get_maxUID()); - // load and merge arrays - - $temp = $_SESSION['userDN']; - // Remove timestamp stored in [0] - unset ($temp[0]); - // put only uidNumbers in array - foreach ($temp as $key) $uids[] = $key['uidNumber']; - $temp = $_SESSION['hostDN']; - break; - case 'host': - /* Validate cache-array - * Because users and hosts are using the same id-numbers we have to merge - * both cache-arrays - */ - ldapreload('user'); - ldapreload('host'); - // Load all needed variables from session - $minID = intval($_SESSION['config']->get_minMachine()); - $maxID = intval($_SESSION['config']->get_maxMachine()); - // load and merge arrays - - $temp = $_SESSION['userDN']; - // Remove timestamp stored in [0] - unset ($temp[0]); - // put only uidNumbers in array - foreach ($temp as $key) $uids[] = $key['uidNumber']; - $temp = $_SESSION['hostDN']; - break; - } - // Remove timestamp stored in [0] - unset ($temp[0]); - // put only uidNumbers in array. Put only uids in array witch are smaller than maxID - foreach ($temp as $key) if ($key['uidNumber'] < $maxID) $uids[] = $key['uidNumber']; - // sort array with uids - if(is_array($uids)) sort ($uids, SORT_NUMERIC); - if ($values->general_uidNumber=='') { - // No id-number given - if (!isset($values_old->general_uidNumber)) { - // new account -> we have to find a free id-number - if (count($uids)!=0) { - // There are some uids - // Store highest id-number - $id = $uids[count($uids)-1]; - // Return minimum allowed id-number if all found id-numbers are too low - if ($id < $minID) return implode(':', array($minID, '')); - // Return higesht used id-number + 1 if it's still in valid range - if ($id < $maxID) return implode(':', array( $id+1, '')); - /* If this function is still running we have to fid a free id-number between - * the used id-numbers - */ - $i = intval($minID); - while (in_array($i, $uids)) $i++; - if ($i>$maxID) return implode(':', array($values->general_uidNumber , implode(';', array('ERROR', _('ID-Number'), _('No free ID-Number!'))))); - else return implode(':', array($i, implode(';', array('WARN', _('ID-Number'), _('It is possible that this ID-number is reused. This can cause several problems because files with old permissions might still exist. To avoid this warning set maxUID to a higher value.'))))); - } - else return implode(':', array($minID, '')); - // return minimum allowed id-number if no id-numbers are found - } - else return implode(':', array($values_old->general_uidNumber, '')); - // old account -> return id-number which has been used - } - else { - // Check manual ID - // id-number is out of valid range - if ( $values->general_uidNumber < $minID || $values->general_uidNumber > $maxID) return implode(':', array($values->general_uidNumber, implode(';', array('ERROR', _('ID-Number'), sprintf(_('Please enter a value between %s and %s!'), $minID, $maxID))))); - // $uids is allways an array but not if no entries were found - if (is_array($uids)) { - // id-number is in use and account is a new account - if ((in_array($values->general_uidNumber, $uids)) && !$values_old) return implode(':', array($values->general_uidNumber, implode(';', array('ERROR', _('ID-Number'), _('ID is already in use'))))); - // id-number is in use, account is existing account and id-number is not used by itself - if ((in_array($values->general_uidNumber, $uids)) && $values_old && ($values_old->general_uidNumber != $values->general_uidNumber) ) - return implode(':', array($values_old->general_uidNumber, implode(';', array('ERROR', _('ID-Number'), _('ID is already in use'))))); - } - // return id-number if everything is OK - return implode(':', array($values->general_uidNumber, '')); - } - } - - -// This function will return the days from 1.1.1970 until now -function getdays() { - $days = time() / 86400; - settype($days, 'integer'); - return $days; - } - - -/* This function creates all attributes stored in attrFlags. It's the same -* syntax used in smbpasswd -* $values is an array of samba flags as defined in account object -* Return value is a string -*/ -function smbflag($input) { - // Start character - $flag = "["; - // Add Options - if ($input['W']) $flag .= "W"; else $flag .= "U"; - if ($input['D']) $flag .= "D"; - if ($input['X']) $flag .= "X"; - if ($input['N']) $flag .= "N"; - if ($input['S']) $flag .= "S"; - if ($input['H']) $flag .= "H"; - // Expand string to fixed length - $flag = str_pad($flag, 12); - // End character - $flag = $flag. "]"; - return $flag; - } - - -/* This function will load all needed values from an existing user account -* $dns is an array of dns(string) of the users which should be loaded -* return-value is an array of account-objects -* $dns can also be an string. Then return-value is a single string too -*/ -function loaduser($dns) { - // Load userattributes from ldap - //$result = ldap_search($_SESSION['ldap']->server(), $dn, "objectclass=PosixAccount"); - // Get uid=$user from DN - // Put ldapsearch together - if (is_array($dns)) { - foreach ($dns as $dn) - $uids[] = substr($dn, 0, strpos($dn, ',')); - $search = "(|"; - foreach ($uids as $uid) $search .= "($uid)"; - $search .= ")"; - } - else $search = substr($dns, 0, strpos($dns, ',')); - /* if string is langer then 1024 characters we have to search for all users and - * output only the selcted users because searchfilter would be too big - */ - if (strlen($search)<1024) $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), $search); - else $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), "uid=*"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - - // store smb_domain as samba3domain-Object - if ($_SESSION['config']->is_samba3()) $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); - - // loop for every found user - $i=0; - while ($entry) { - // Only load user if it should be loaded - if (is_array($dns)) { - if (in_array(ldap_get_dn($_SESSION['ldap']->server(), $entry), $dns)) $continue=true; - else $continue=false; - } - else $continue=true; - if ($continue) { - // Create new object - $return[$i] = new account(); - // Set type of account - $return[$i]->type='user'; - // Set user samba flag - $return[$i]->smb_flags['W'] = false; - $return[$i]->general_dn = ldap_get_dn($_SESSION['ldap']->server(), $entry); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - /* Write attributes into $return. - * Some values don't have to be set. These are only loaded if they are set - */ - $return[$i]->general_username = $attr['uid'][0]; - $return[$i]->general_uidNumber = $attr['uidNumber'][0]; - $return[$i]->general_homedir = $attr['homeDirectory'][0]; - if (isset($attr['shadowLastChange'][0])) $return[$i]->unix_shadowLastChange = $attr['shadowLastChange'][0]; - if (isset($attr['loginShell'][0])) $return[$i]->general_shell = $attr['loginShell'][0]; - if (isset($attr['gecos'][0])) $return[$i]->general_gecos = utf8_decode($attr['gecos'][0]); - - // get groupname - $return[$i]->general_group = getgrnam($attr['gidNumber'][0]); - - // get all additional groupmemberships - // Load groups in cache - ldapreload('group'); - foreach ($_SESSION['groupDN'] as $group) { - if (is_array($group['memberUid'])) - if (in_array($return[$i]->general_username, $group['memberUid'])) $return[$i]->general_groupadd[] = $group['cn']; - } - - /* Write attributes into $return. - * Some values don't have to be set. These are only loaded if they are set - */ - if (isset($attr['shadowMin'][0])) $return[$i]->unix_pwdminage = $attr['shadowMin'][0]; - if (isset($attr['shadowMax'][0])) $return[$i]->unix_pwdmaxage = $attr['shadowMax'][0]; - if (isset($attr['shadowWarning'][0])) $return[$i]->unix_pwdwarn = $attr['shadowWarning'][0]; - if (isset($attr['shadowInactive'][0])) $return[$i]->unix_pwdallowlogin = $attr['shadowInactive'][0]; - if (isset($attr['shadowExpire'][0])) $return[$i]->unix_pwdexpire = $attr['shadowExpire'][0]*86400; - - // load hosts attributes if set - $j=0; - while (isset($attr['host'][$j])) { - if ($j==0) $return[$i]->unix_host = $attr['host'][$j]; - else $return[$i]->unix_host = $return[$i]->unix_host . ', ' . $attr['host'][$j]; - $j++; - } - - // fix misspelled object classes - $j = 0; - while (isset($attr['objectClass'][$j])) { - if (strtolower($attr['objectClass'][$j]) == "inetorgperson") $attr['objectClass'][$j] = "inetOrgPerson"; - else if (strtolower($attr['objectClass'][$j]) == "posixaccount") $attr['objectClass'][$j] = "posixAccount"; - else if (strtolower($attr['objectClass'][$j]) == "sambaaccount") $attr['objectClass'][$j] = "sambaAccount"; - else if (strtolower($attr['objectClass'][$j]) == "sambasamaccount") $attr['objectClass'][$j] = "sambaSamAccount"; - else if (strtolower($attr['objectClass'][$j]) == "shadowaccount") $attr['objectClass'][$j] = "shadowAccount"; - $j++; - } - // load objectclasses - $j=0; - while (isset($attr['objectClass'][$j])) { - $return[$i]->general_objectClass[$j] = $attr['objectClass'][$j]; - $j++; - } - - // load personal settings - if (isset($attr['givenName'][0])) $return[$i]->general_givenname = utf8_decode($attr['givenName'][0]); - if (isset($attr['sn'][0])) $return[$i]->general_surname = utf8_decode($attr['sn'][0]); - if (isset($attr['title'][0])) $return[$i]->personal_title = utf8_decode($attr['title'][0]); - if (isset($attr['mail'][0])) $return[$i]->personal_mail = utf8_decode($attr['mail'][0]); - if (isset($attr['telephoneNumber'][0])) $return[$i]->personal_telephoneNumber = utf8_decode($attr['telephoneNumber'][0]); - if (isset($attr['mobileTelephoneNumber'][0])) $return[$i]->personal_mobileTelephoneNumber = utf8_decode($attr['mobileTelephoneNumber'][0]); - else if (isset($attr['mobile'][0])) $return[$i]->personal_mobileTelephoneNumber = utf8_decode($attr['mobile'][0]); - if (isset($attr['facsimileTelephoneNumber'][0])) $return[$i]->personal_facsimileTelephoneNumber = utf8_decode($attr['facsimileTelephoneNumber'][0]); - if (isset($attr['street'][0])) $return[$i]->personal_street = utf8_decode($attr['street'][0]); - if (isset($attr['postalCode'][0])) $return[$i]->personal_postalCode = utf8_decode($attr['postalCode'][0]); - if (isset($attr['postalAddress'][0])) $return[$i]->personal_postalAddress = utf8_decode($attr['postalAddress'][0]); - if (isset($attr['employeeType'][0])) $return[$i]->personal_employeeType = utf8_decode($attr['employeeType'][0]); - - if (isset($attr['userPassword'][0])) { - $return[$i]->unix_password = $attr['userPassword'][0]; - $return[$i]->unix_deactivated=!pwd_is_enabled($attr['userPassword'][0]); - } - if (isset($attr['displayName'][0])) $return[$i]->smb_displayName = utf8_decode($attr['displayName'][0]); - - // sambaSamAccount (Samba3) is used. - if (in_array('sambaSamAccount', $attr['objectClass'])) { - /* Write attributes into $return. - * Some values don't have to be set. These are only loaded if they are set - */ - if (isset($attr['sambaAcctFlags'][0])) { - if (strrpos($attr['sambaAcctFlags'][0], 'D')) $return[$i]->smb_flags['D']=true; - if (strrpos($attr['sambaAcctFlags'][0], 'X')) $return[$i]->smb_flags['X']=true; - if (strrpos($attr['sambaAcctFlags'][0], 'N')) $return[$i]->smb_flags['N']=true; - if (strrpos($attr['sambaAcctFlags'][0], 'S')) $return[$i]->smb_flags['S']=true; - if (strrpos($attr['sambaAcctFlags'][0], 'H')) $return[$i]->smb_flags['H']=true; - } - if (isset($attr['sambaPwdCanChange'][0])) $return[$i]->smb_pwdcanchange = $attr['sambaPwdCanChange'][0]; - if (isset($attr['sambaPwdMustChange'][0])) $return[$i]->smb_pwdmustchange = $attr['sambaPwdMustChange'][0]; - if (isset($attr['sambaHomePath'][0])) $return[$i]->smb_smbhome = utf8_decode($attr['sambaHomePath'][0]); - if (isset($attr['sambaHomeDrive'][0])) $return[$i]->smb_homedrive = $attr['sambaHomeDrive'][0]; - if (isset($attr['sambaLogonScript'][0])) $return[$i]->smb_scriptPath = utf8_decode($attr['sambaLogonScript'][0]); - if (isset($attr['sambaProfilePath'][0])) $return[$i]->smb_profilePath = $attr['sambaProfilePath'][0]; - if (isset($attr['sambaUserWorkstations'][0])) $return[$i]->smb_smbuserworkstations = $attr['sambaUserWorkstations'][0]; - if (isset($attr['sambaNTPassword'][0])) $return[$i]->smb_password = $attr['sambaNTPassword'][0]; - if (isset($attr['sambaDomainName'][0])) { - if ($_SESSION['config']->is_samba3()) { - $j=0; - while (!isset($return[$i]->smb_domain) && (count($samba3domains)>$j)) { - if ($attr['sambaDomainName'][0] == $samba3domains[$j]->name) - $return[$i]->smb_domain = $samba3domains[$j]; - else $j++; - } - } - // store smb_domain as string - if (!isset($return[$i]->smb_domain)) $return[$i]->smb_domain = $attr['sambaDomainName']; - } - if (isset($attr['sambaPrimaryGroupSID'][0])) { - if ($_SESSION['config']->is_samba3()) - // store "real" SID if we want to save user as samba3 entry - $return[$i]->smb_mapgroup = $attr['sambaPrimaryGroupSID'][0]; - // store "calculated" id if we want to save user as samba2.2 entry - else $return[$i]->smb_mapgroup = 2*$attr['gidNumber'][0]+1001; - } - } - - // sambaSamAccount (Samba2.2) is used. - // second argument should prevent samba3 settings to be overwritten from samba 2.2 settings - if ( (in_array('sambaAccount', $attr['objectClass'])) && (!$_SESSION['config']->is_samba3() || !isset($return[$i]->smb_domain))) { - if (isset($attr['acctFlags'][0])) { - if (strrpos($attr['acctFlags'][0], 'D')) $return[$i]->smb_flags['D']=true; - if (strrpos($attr['acctFlags'][0], 'X')) $return[$i]->smb_flags['X']=true; - if (strrpos($attr['acctFlags'][0], 'N')) $return[$i]->smb_flags['N']=true; - if (strrpos($attr['acctFlags'][0], 'S')) $return[$i]->smb_flags['S']=true; - if (strrpos($attr['acctFlags'][0], 'H')) $return[$i]->smb_flags['H']=true; - } - if (isset($attr['ntPassword'][0])) $return[$i]->smb_password = $attr['ntPassword'][0]; - if (isset($attr['smbHome'][0])) $return[$i]->smb_smbhome = utf8_decode($attr['smbHome'][0]); - if (isset($attr['pwdCanChange'][0])) $return[$i]->smb_pwdcanchange = $attr['pwdCanChange'][0]; - if (isset($attr['pwdMustChange'][0])) $return[$i]->smb_pwdmustchange = $attr['pwdMustChange'][0]; - if (isset($attr['homeDrive'][0])) $return[$i]->smb_homedrive = $attr['homeDrive'][0]; - if (isset($attr['scriptPath'][0])) $return[$i]->smb_scriptPath = utf8_decode($attr['scriptPath'][0]); - if (isset($attr['profilePath'][0])) $return[$i]->smb_profilePath = $attr['profilePath'][0]; - if (isset($attr['userWorkstations'][0])) $return[$i]->smb_smbuserworkstations = $attr['userWorkstations'][0]; - if (isset($attr['domain'][0])) { - if ($_SESSION['config']->is_samba3()) { - $j=0; - while (!isset($return[$i]->smb_domain) && (count($samba3domains)>$j)) { - if ($attr['domain'][0] == $samba3domains[$j]->name) - $return[$i]->smb_domain = $samba3domains[$j]; - else $j++; - } - } - // store smb_domain as string - if (!isset($return[$i]->smb_domain)) $return[$i]->smb_domain = $attr['domain']; - } - if (isset($attr['primaryGroupID'][0])) { - if ($_SESSION['config']->is_samba3()) - // store "real" SID if we want to save user as samba3 entry - $return[$i]->smb_mapgroup = $return[$i]->smb_domain->SID. '-' . (2*$attr['primaryGroupID'][0]+1); - // store "calculated" id if we want to save user as samba2.2 entry - else $return[$i]->smb_mapgroup = $attr['primaryGroupID'][0]; - } - } - } - $i++; - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - - // Return array if $dns is an array - // else return string - if (is_array($dns)) return $return; - else return $return[0]; - } - - - -/* This function will load all needed values from an existing host account -* $dn is the dn(string) of the host which should be loaded -* return-value is an account-object -*/ -function loadhost($dn) { - // Create new object - $return = new account(); - // Set type of account - $return->type='host'; - // Load hostattributes from ldap - $result = ldap_search($_SESSION['ldap']->server(), $dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $return->general_dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - - // Set host samba flags - $return->smb_flags['W'] = true; - $return->smb_flags['X'] = true; - // fix misspelled object classes - $j = 0; - while (isset($attr['objectClass'][$j])) { - if (strtolower($attr['objectClass'][$j]) == "account") $attr['objectClass'][$j] = "account"; - else if (strtolower($attr['objectClass'][$j]) == "posixaccount") $attr['objectClass'][$j] = "posixAccount"; - else if (strtolower($attr['objectClass'][$j]) == "sambaaccount") $attr['objectClass'][$j] = "sambaAccount"; - else if (strtolower($attr['objectClass'][$j]) == "sambasamaccount") $attr['objectClass'][$j] = "sambaSamAccount"; - $j++; - } - // load objectclasses - $i=0; - while (isset($attr['objectClass'][$i])) { - $return->general_objectClass[$i] = $attr['objectClass'][$i]; - $i++; - } - - $return->general_username = $attr['uid'][0]; - $return->general_uidNumber = $attr['uidNumber'][0]; - if (isset($attr['gecos'][0])) $return->general_gecos = utf8_decode($attr['gecos'][0]); - - // Get Groupname - $return->general_group = getgrnam($attr['gidNumber'][0]); - - // sambaSamAccount (Samba3) is used. - if (in_array('sambaSamAccount', $attr['objectClass'])) { - /* Write attributes into $return. - * Some values don't have to be set. These are only loaded if they are set - */ - if (isset($attr['sambaAcctFlags'][0])) { - // we load a workstation - $return->smb_flags['W']=true; - if (strrpos($attr['sambaAcctFlags'][0], 'X')) $return->smb_flags['X']=true; - // Because the "D"-Flag is ignored for hosts it has been removed - } - if (isset($attr['sambaDomainName'][0])) { - if ($_SESSION['config']->is_samba3()) { - // store smb_domain as samba3domain-Object - $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); - $i=0; - while (!isset($return->smb_domain) && (count($samba3domains)>$i)) { - if ($attr['sambaDomainName'][0] == $samba3domains[$i]->name) - $return->smb_domain = $samba3domains[$i]; - else $i++; - } - } - // store smb_domain as string - if (!isset($return->smb_domain)) $return->smb_domain = $attr['sambaDomainName']; - } - if (isset($attr['sambaPrimaryGroupSID'][0])) { - if ($_SESSION['config']->is_samba3()) - // store "real" SID if we want to save user as samba3 entry - $return->smb_mapgroup = $attr['sambaPrimaryGroupSID'][0]; - // store "calculated" id if we want to save user as samba2.2 entry - else $return->smb_mapgroup = 2*$attr['gidNumber'][0]+1001; - } - // return value to prevent loaded values to be overwritten from old samba 2.2 attributes - if ($_SESSION['config']->is_samba3()) return $return; - } - - // sambaSamAccount (Samba2.2) is used. - if (in_array('sambaAccount', $attr['objectClass'])) { - if (isset($attr['acctFlags'][0])) { - // we load a workstation - $return->smb_flags['W']=true; - if (strrpos($attr['acctFlags'][0], 'X')) $return->smb_flags['X']=true; - // Because the "D"-Flag is ignored for hosts it has been removed - } - if (isset($attr['domain'][0])) { - if ($_SESSION['config']->is_samba3()) { - // store smb_domain as samba3domain-Object - $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); - $i=0; - while (!isset($return->smb_domain) && (count($samba3domains)>$i)) { - if ($attr['domain'][0] == $samba3domains[$i]->name) - $return->smb_domain = $samba3domains[$i]; - else $i++; - } - } - // store smb_domain as string - if (!isset($return->smb_domain)) $return->smb_domain = $attr['domain']; - } - if (isset($attr['primaryGroupID'][0])) { - if ($_SESSION['config']->is_samba3()) - // store "real" SID if we want to save user as samba3 entry - $return->smb_mapgroup = $return->smb_domain->SID. '-' . (2*$attr['primaryGroupID'][0]+1); - // store "calculated" id if we want to save user as samba2.2 entry - else $return->smb_mapgroup = $attr['primaryGroupID'][0]; - } - } - return $return; - } - - -/* This function will load all needed values from an existing group account -* $dn is the dn(string) of the group which should be loaded -* return-value is an account-object -*/ -function loadgroup($dn) { - // Create new object - $return = new account(); - // Set type of account - $return->type='group'; - // Load userattributes from ldap - $result = ldap_search($_SESSION['ldap']->server(), $dn, "objectclass=PosixGroup"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $return->general_dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - - /* Write attributes into $return. - * Some values don't have to be set. These are only loaded if they are set - */ - - // fix misspelled object classes - $j = 0; - while (isset($attr['objectClass'][$j])) { - if (strtolower($attr['objectClass'][$j]) == "posixgroup") $attr['objectClass'][$j] = "posixGroup"; - else if (strtolower($attr['objectClass'][$j]) == "sambagroupmapping") $attr['objectClass'][$j] = "sambaGroupMapping"; - $j++; - } - // load objectclasses - $i=0; - while (isset($attr['objectClass'][$i])) { - $return->general_objectClass[$i] = $attr['objectClass'][$i]; - $i++; - } - // Load Users which are also members of group - $i=0; - while (isset($attr['memberUid'][$i])) { - $return->unix_memberUid[$i] = $attr['memberUid'][$i]; - $i++; - } - - $return->general_uidNumber = $attr['gidNumber'][0]; - $return->general_username = $attr['cn'][0]; - if (isset($attr['description'][0])) $return->general_gecos = utf8_decode($attr['description'][0]); - - if (isset($attr['sambaSID'][0])) { - // Samba3 Samba 2.2 don't have any objects for groups - $return->smb_mapgroup = $attr['sambaSID'][0]; - if (isset($attr['displayName'][0])) $return->smb_displayName = utf8_decode($attr['displayName'][0]); - // extract SID from sambaSID to find domain - $temp = explode('-', $attr['sambaSID'][0]); - $SID = $temp[0].'-'.$temp[1].'-'.$temp[2].'-'.$temp[3].'-'.$temp[4].'-'.$temp[5].'-'.$temp[6]; - $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); - $i=0; - while (!isset($return->smb_domain) && (count($samba3domains)>$i)) { - if ($SID == $samba3domains[$i]->SID) - $return->smb_domain = $samba3domains[$i]; - else $i++; - } - } - return $return; - } - - -/* This function will create a new user acconut in ldap -* $values is an account-object with all attributes of the user -* if lamdaemon.pl is false no quotas are set. Usefull for massupload and deletion -* return-value is an integer -* 1 == Account has been created -* 2 == Account already exists at different location -* 4 == Error while creating Account -*/ -function createuser($values, $uselamdaemon=true) { - // These Objectclasses are needed for an user account - $attr['objectClass'][0] = 'posixAccount'; - $attr['objectClass'][1] = 'shadowAccount'; - $attr['objectClass'][2] = 'inetOrgPerson'; - // Create DN for new user account - $values->general_dn = 'uid=' . $values->general_username . ',' . $values->general_dn; - // decrypt password because we don't want to store them unencrypted in session - if ($values->unix_password != '') { - $values->unix_password = $_SESSION['ldap']->decrypt(base64_decode($values->unix_password)); - } - if ($values->smb_password != '') { - $values->smb_password = $_SESSION['ldap']->decrypt(base64_decode($values->smb_password)); - } - // Attributes which are required - $attr['cn'] = $values->general_username; - $attr['uid'] = $values->general_username; - $attr['uidNumber'] = $values->general_uidNumber; - $attr['gidNumber'] = getgid($values->general_group); - $attr['homeDirectory'] = $values->general_homedir; - $attr['givenName'] = utf8_encode($values->general_givenname); - $attr['sn'] = utf8_encode($values->general_surname); - // values stored in shadowExpire, days since 1.1.1970 - if (isset($values->unix_pwdexpire)) $attr['shadowExpire'] = intval($values->unix_pwdexpire / 86400) ; - - /* Write unix attributes into $attr array - * Some values don't have to be set. These are only loaded if they are set - */ - $attr['loginShell'] = $values->general_shell; // posixAccount_may - $attr['gecos'] = utf8_encode(replace_umlaut($values->general_gecos)); // posixAccount_may - $attr['description'] = utf8_encode($values->general_gecos); // posixAccount_may sambaAccount_may - if ($values->unix_pwdminage!='') $attr['shadowMin'] = $values->unix_pwdminage; // shadowAccount_may - if ($values->unix_pwdmaxage!='') $attr['shadowMax'] = $values->unix_pwdmaxage; // shadowAccount_may - if ($values->unix_pwdwarn!='') $attr['shadowWarning'] = $values->unix_pwdwarn; // shadowAccount_may - if ($values->unix_pwdallowlogin!='') $attr['shadowInactive'] = $values->unix_pwdallowlogin; // shadowAccount_may - // Set unix password - $attr['shadowLastChange'] = getdays(); // shadowAccount_may - if ($values->unix_password_no) $values->unix_password = ''; - if ($values->unix_deactivated) $attr['userPassword'] = pwd_hash($values->unix_password, false); - else $attr['userPassword'] = pwd_hash($values->unix_password); - - // explode host-string and save every allowed host as separate attribute - $values->unix_host = str_replace(' ', '', $values->unix_host); - $hosts = explode (',', $values->unix_host); - $hosts = array_unique($hosts); - $i=0; - while(isset($hosts[$i])) { - if ($hosts[$i]!='') $attr['host'][$i] = $hosts[$i]; - $i++; - } - - // Samba attributes - if ($_SESSION['config']->is_samba3()) { - // Add all attributes as samba3 objectclass - $attr['objectClass'][3] = 'sambaSamAccount'; - if ($values->smb_flags['N']) { - // Don't set samba-passwords - $attr['sambaNTPassword'] = 'NO PASSWORD*****'; - $attr['sambaLMPassword'] = 'NO PASSWORD*****'; - } - else { - // Set samba-passwords with external perl-script - $attr['sambaNTPassword'] = getNTPasswordHash($values->smb_password); - $attr['sambaLMPassword'] = getLMPasswordHash($values->smb_password); - } - $attr['sambaPwdLastSet'] = time(); - // Generate SID - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); // sambaAccount_may - - ldapreload('group'); - foreach ($_SESSION['groupDN'] as $groupname) { - if ($groupname['cn'] == $values->general_group) { - if ($groupname['sambaSID']) $attr['sambaPrimaryGroupSID'] = $groupname['sambaSID']; - } - } - if ($values->smb_pwdcanchange!='') $attr['sambaPwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may - else $attr['sambaPwdCanChange'] = time(); // sambaAccount_may - if ($values->smb_pwdmustchange!='') $attr['sambaPwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may - else $attr['sambaPwdMustChange'] = time() + 1000000000; // sambaAccount_may - $attr['sambaAcctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - $attr['displayName'] = $values->general_gecos; // sambaAccount_may - if ($values->smb_smbhome!='') $attr['sambaHomePath'] = utf8_encode($values->smb_smbhome); // sambaAccount_may - if ($values->smb_homedrive!='') $attr['sambaHomeDrive'] = $values->smb_homedrive; // sambaAccount_may - if ($values->smb_scriptPath!='') $attr['sambaLogonScript'] = utf8_encode($values->smb_scriptPath); // sambaAccount_may - if ($values->smb_profilePath!='') $attr['sambaProfilePath'] = $values->smb_profilePath; // sambaAccount_may - if ($values->smb_smbuserworkstations!='') $attr['sambaUserWorkstations'] = $values->smb_smbuserworkstations; // sambaAccount_may - if ($values->smb_domain!='') $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - } - else { - // Add all attributes as samba2.2 objectclass - $attr['objectClass'][3] = 'sambaAccount'; - if ($values->smb_flags['N']) { - // Don't set samba-passwords - $attr['ntPassword'] = 'NO PASSWORD*****'; - $attr['lmPassword'] = 'NO PASSWORD*****'; - } - else { - // Set samba-passwords with external perl-script - $attr['ntPassword'] = getNTPasswordHash($values->smb_password); - $attr['lmPassword'] = getLMPasswordHash($values->smb_password); - } - $attr['pwdLastSet'] = time(); - // Generate pseudo SID - $attr['rid'] = (2 * $values->general_uidNumber + 1000); // sambaAccount_may - $attr['primaryGroupID'] = $values->smb_mapgroup; // sambaAccount_req - if ($values->smb_pwdcanchange!='') $attr['pwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may - else $attr['pwdCanChange'] = time(); // sambaAccount_may - if ($values->smb_pwdmustchange!='') $attr['pwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may - else $attr['pwdMustChange'] = time() + 1000000000; // sambaAccount_may - $attr['pwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may - $attr['acctFlags'] = smbflag($values->smbflags); // sambaAccount_may - $attr['displayName'] = $values->general_gecos; // sambaAccount_may - if ($values->smb_smbhome!='') $attr['smbHome'] = utf8_encode($values->smb_smbhome); // sambaAccount_may - if ($values->smb_homedrive!='') $attr['homeDrive'] = $values->smb_homedrive; // sambaAccount_may - if ($values->smb_scriptPath!='') $attr['scriptPath'] = utf8_encode($values->smb_scriptPath); // sambaAccount_may - if ($values->smb_profilePath!='') $attr['profilePath'] = $values->smb_profilePath; // sambaAccount_may - if ($values->smb_smbuserworkstations!='') $attr['userWorkstations'] = $values->smb_smbuserworkstations; // sambaAccount_may - if ($values->smb_domain!='') $attr['domain'] = $values->smb_domain; // sambaAccount_may - } - $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - - // personal attributes - if ($values->personal_title!='') $attr['title'] = utf8_encode($values->personal_title); - if ($values->personal_mail!='') $attr['mail'] = utf8_encode($values->personal_mail); - if ($values->personal_telephoneNumber!='') $attr['telephoneNumber'] = utf8_encode($values->personal_telephoneNumber); - if ($values->personal_mobileTelephoneNumber!='') $attr['mobileTelephoneNumber'] = utf8_encode($values->personal_mobileTelephoneNumber); - if ($values->personal_facsimileTelephoneNumber!='') $attr['facsimileTelephoneNumber'] = utf8_encode($values->personal_facsimileTelephoneNumber); - if ($values->personal_street!='') $attr['street'] = utf8_encode($values->personal_street); - if ($values->personal_postalCode!='') $attr['postalCode'] = utf8_encode($values->personal_postalCode); - if ($values->personal_postalAddress!='') $attr['postalAddress'] = utf8_encode($values->personal_postalAddress); - if ($values->personal_employeeType!='') $attr['employeeType'] = utf8_encode($values->personal_employeeType); - - // Create LDAP user account - $success = ldap_add($_SESSION['ldap']->server(),$values->general_dn, $attr); - // Continue if now error did ocour - if (!$success) return 4; - - if ($_SESSION['config']->scriptServer && $uselamdaemon) { - // lamdaemon.pl should be used - // Set quotas if quotas are used - if (is_array($values->quota)) setquotas(array($values)); - // Create Homedirectory - addhomedir(array($values->general_username)); - } - - // Add User to Additional Groups - if (isset($values->general_groupadd[0])) - // Loop for every group - foreach ($values->general_groupadd as $group2) { - if (! isset($group2) || ($group2 == "")) continue; - // Search for group in LDAP - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), "(&(objectclass=posixGroup)(cn=$group2))", array('')); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - // Get DN - $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - // Add user to group - $success = ldap_mod_add($_SESSION['ldap']->server(), $dn, array('memberUid' => $values->general_username)); - if (!$success) return 4; - // Add new memberUid to cache-array - ldapreload('group'); - $_SESSION['groupDN'][$dn]['memberUid'][] = $values->general_username; - } - // Add new user to cache-array - if ((isset($_SESSION['userDN']))) { - $_SESSION['userDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['userDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - } - // Everything is OK, return 1 - return 1; - } - -/* This function will modify a user acconut in ldap -* $values and $values_old are an account-object with all -* attributes of the user. -* if lamdaemon.pl is false no quotas are set. Usefull for massupload and deletion -* Only attributes which have changed will be written -* return-value is an integer -* 2 == Account already exists at different location -* 3 == Account has been modified -* 5 == Error while modifying Account -*/ -function modifyuser($values,$values_old,$uselamdaemon=true) { // Will modify the LDAP-Account - // Add missing objectclasses to user - if (!in_array('posixAccount', $values->general_objectClass)) { - $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'posixAccount'; - } - if (!in_array('shadowAccount', $values->general_objectClass)) { - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'shadowAccount'; - } - // Create DN for new user account - $values->general_dn = 'uid=' . $values->general_username . ',' . $values->general_dn; - // decrypt password because we don't want to store them unencrypted in session - if ($values->unix_password != '') { - $values->unix_password = $_SESSION['ldap']->decrypt(base64_decode($values->unix_password)); - } - if ($values->smb_password != '') { - $values->smb_password = $_SESSION['ldap']->decrypt(base64_decode($values->smb_password)); - } - // Attributes which are required - if ($values->general_username != $values_old->general_username) { - $attr['cn'] = $values->general_username; - $attr['uid'] = $values->general_username; - } - if ($values->general_uidNumber != $values_old->general_uidNumber) { - $attr['uidNumber'] = $values->general_uidNumber; - // Because sambaSID(rid) is related to uidNumber we have to change it if uidNumbaer has changed - if ($_SESSION['config']->is_samba3()) - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); - else $attr['rid'] = (2 * $values->general_uidNumber + 1000); - } - if ($values->general_group != $values_old->general_group) { - $attr['gidNumber'] = getgid($values->general_group); - // Because primaryGroup(S)ID is related to gidNumber we have to change it if gidNumber has changed - if ($_SESSION['config']->is_samba3()) { - // We use samba 3 schema - // Change SID only if we don't use a well known SID - $found = false; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-512') $found=true; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-513') $found=true; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-514') $found=true; - if (!$found) { - ldapreload('group'); - foreach ($_SESSION['groupDN'] as $groupname) { - if ($groupname['cn'] == $values->general_group) { - if ($groupname['sambaSID']) $attr['sambaPrimaryGroupSID'] = $groupname['sambaSID']; - else { - // remove primaryGroupSID if new group has no SID - $attr['sambaPrimaryGroupSID'] = $values_old->smb_mapgroup; - $attr_rem['sambaPrimaryGroupSID'] = $values_old->smb_mapgroup; - } - } - } - } - } - else { - // We use old samba 2.2 schema - // Change SID only if we don't use a well known SID - $found = false; - if ($values->smb_mapgroup== '512') $found=true; - if ($values->smb_mapgroup== '513') $found=true; - if ($values->smb_mapgroup== '514') $found=true; - if (!$found) $attr['primaryGroupID'] = (2 * getgid($values->general_group) + 1001); - } - } - if ($values->general_homedir != $values_old->general_homedir) - $attr['homeDirectory'] = $values->general_homedir; - if ($values->general_givenname!=$values_old->general_givenname) $attr['givenName'] = utf8_encode($values->general_givenname); - if ($values->general_surname!=$values_old->general_surname) $attr['sn'] = utf8_encode($values->general_surname); - - /* Write unix attributes into $attr array - * Some values don't have to be set. These are only loaded if they are set - */ - if ($values->general_shell != $values_old->general_shell) - $attr['loginShell'] = $values->general_shell; - if ($values->general_gecos != $values_old->general_gecos) { - $attr['gecos'] = utf8_encode(replace_umlaut($values->general_gecos)); - $attr['description'] = utf8_encode($values->general_gecos); - } - if (($values->unix_pwdminage != $values_old->unix_pwdminage) && ($values->unix_pwdminage !='')) - $attr['shadowMin'] = $values->unix_pwdminage; // shadowAccount_may - if (($values->unix_pwdminage != $values_old->unix_pwdminage) && ($values->unix_pwdminage =='')) - $attr_rem['shadowMin'] = $values_old->unix_pwdminage; // shadowAccount_may - if (($values->unix_pwdmaxage != $values_old->unix_pwdmaxage) && ($values->unix_pwdmaxage !='')) - $attr['shadowMax'] = $values->unix_pwdmaxage; // shadowAccount_may - if (($values->unix_pwdmaxage != $values_old->unix_pwdmaxage) && ($values->unix_pwdmaxage =='')) - $attr_rem['shadowMax'] = $values_old->unix_pwdmaxage; // shadowAccount_may - if (($values->unix_pwdwarn != $values_old->unix_pwdwarn) && ($values->unix_pwdwarn !='')) - $attr['shadowWarning'] = $values->unix_pwdwarn; // shadowAccount_may - if (($values->unix_pwdwarn != $values_old->unix_pwdwarn) && ($values->unix_pwdwarn =='')) - $attr_rem['shadowWarning'] = $values_old->unix_pwdwarn; // shadowAccount_may - if (($values->unix_pwdallowlogin != $values_old->unix_pwdallowlogin) && ($values->unix_pwdallowlogin !='')) - $attr['shadowInactive'] = $values->unix_pwdallowlogin; // shadowAccount_may - if (($values->unix_pwdallowlogin != $values_old->unix_pwdallowlogin) && ($values->unix_pwdallowlogin =='')) - $attr_rem['shadowInactive'] = $values_old->unix_pwdallowlogin; // shadowAccount_may - // Check if shadow expire has changed - if ($values->unix_pwdexpire != $values_old->unix_pwdexpire) $attr['shadowExpire'] = intval($values->unix_pwdexpire / 86400) ; - // Set unix password - if ($values->unix_password=='') { // $values->unix_password=='' means use old password - if ($values->unix_deactivated != $values_old->unix_deactivated) { // check if password was enabled/disabled - if ($values->unix_deactivated) { - $attr['userPassword'] = pwd_disable($values_old->unix_password); - } - else { - $attr['userPassword'] = pwd_enable($values_old->unix_password); - } - } - if ($values->unix_password_no) { - // use no password - if ($values->unix_deactivated) $attr['userPassword'] = pwd_hash('', false); - else $attr['userPassword'] = pwd_hash(''); - $attr['shadowLastChange'] = getdays(); // shadowAccount_may - } - } - else { - // Set new password - if ($values->unix_password_no) $values->unix_password = ''; - if ($values->unix_deactivated) $attr['userPassword'] = pwd_hash($values->unix_password, false); - else $attr['userPassword'] = pwd_hash($values->unix_password); - $attr['shadowLastChange'] = getdays(); // shadowAccount_may - } - // explode host-string and save every allowed host as separate attribute - if (($values->unix_host != $values_old->unix_host)) { - $values->unix_host = str_replace(' ', '', $values->unix_host); - $host = explode (',', $values->unix_host); - $host = array_unique($host); - $values_old->unix_host = str_replace(' ', '', $values_old->unix_host); - $host_old = explode (',', $values_old->unix_host); - if ($host[0]=='') $attr_rem['host'] = $host_old; - else if ($host[0]!='') $attr['host'] = $host; - } - - // Samba attributes - if ($_SESSION['config']->is_samba3()) { - if (!in_array('sambaSamAccount', $values->general_objectClass)) { - // We have to convert sambaAccount Objectclass to sambaSamAccount objectclass - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'sambaSamAccount'; - // unset old sambaAccount objectClass - for ($i=0; $iserver(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - // Add new attributed - if (isset($attr_old['lmPassword'][0])) $attr['sambaLMPassword'] = $attr_old['lmPassword'][0]; - if (isset($attr_old['ntPassword'][0])) $attr['sambaNTPassword'] = $attr_old['ntPassword'][0]; - if (isset($attr_old['pwdLastSet'][0])) $attr['sambaPwdLastSet'] = $attr_old['pwdLastSet'][0]; - if (isset($attr_old['logonTime'][0])) $attr['sambaLogonTime'] = $attr_old['logonTime'][0]; - if (isset($attr_old['logoffTime'][0])) $attr['sambaLogoffTime'] = $attr_old['logoffTime'][0]; - if (isset($attr_old['kickoffTime'][0])) $attr['sambaKickoffTime'] = $attr_old['kickoffTime'][0]; - if (isset($attr_old['pwdCanChange'][0])) $attr['sambaPwdCanChange'] = $attr_old['pwdCanChange'][0]; - if (isset($attr_old['pwdMustChange'][0])) $attr['sambaPwdMustChange'] = $attr_old['pwdMustChange'][0]; - if (isset($attr_old['smbHome'][0])) $attr['sambaHomePath'] = $attr_old['smbHome'][0]; - if (isset($attr_old['homeDrive'][0])) $attr['sambaHomeDrive'] = $attr_old['homeDrive'][0]; - if (isset($attr_old['scriptPath'][0])) $attr['sambaLogonScript'] = $attr_old['scriptPath'][0]; - if (isset($attr_old['profilePath'][0])) $attr['sambaProfilePath'] = $attr_old['profilePath'][0]; - if (isset($attr_old['userWorkstations'][0])) $attr['sambaUserWorkstations'] = $attr_old['userWorkstations'][0]; - // Values used from account object - $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - $attr['sambaAcctFlags'] = smbflag($values->flags); // sambaAccount_may - $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); // sambaAccount_may - $attr['sambaPrimaryGroupSID'] = $values->smb_mapgroup; // sambaAccount_req - // remove old attributes - if (in_array('sambaAccount', $attr_old['objectClass'])) $attr_rem['objectClass'] = 'sambaAccount'; - if (isset($attr_old['lmPassword'][0])) $attr_rem['lmPassword'] = $attr_old['lmPassword'][0]; - if (isset($attr_old['ntPassword'][0])) $attr_rem['ntPassword'] = $attr_old['ntPassword'][0]; - if (isset($attr_old['pwdLastSet'][0])) $attr_rem['pwdLastSet'] = $attr_old['pwdLastSet'][0]; - if (isset($attr_old['logonTime'][0])) $attr_rem['logonTime'] = $attr_old['logonTime'][0]; - if (isset($attr_old['kickoffTime'][0])) $attr_rem['kickoffTime'] = $attr_old['kickoffTime'][0]; - if (isset($attr_old['pwdCanChange'][0])) $attr_rem['pwdCanChange'] = $attr_old['pwdCanChange'][0]; - if (isset($attr_old['pwdMustChange'][0])) $attr_rem['pwdMustChange'] = $attr_old['pwdMustChange'][0]; - if (isset($attr_old['smbHome'][0])) $attr_rem['smbHome'] = $attr_old['smbHome'][0]; - if (isset($attr_old['acctFlags'][0])) $attr_rem['acctFlags'] = $attr_old['acctFlags'][0]; - if (isset($attr_old['homeDrive'][0])) $attr_rem['homeDrive'] = $attr_old['homeDrive'][0]; - if (isset($attr_old['scriptPath'][0])) $attr_rem['scriptPath'] = $attr_old['scriptPath'][0]; - if (isset($attr_old['profilePath'][0])) $attr_rem['profilePath'] = $attr_old['profilePath'][0]; - if (isset($attr_old['userWorkstations'][0])) $attr_rem['userWorkstations'] = $attr_old['userWorkstations'][0]; - if (isset($attr_old['primaryGroupID'][0])) $attr_rem['primaryGroupID'] = $attr_old['primaryGroupID'][0]; - if (isset($attr_old['domain'][0])) $attr_rem['domain'] = $attr_old['domain'][0]; - if (isset($attr_old['rid'][0])) $attr_rem['rid'] = $attr_old['rid'][0]; - } - // Set all changed values - if ($values->smb_flags['N']) { - // use no samba Password - $attr['sambaNTPassword'] = 'NO PASSWORD*****'; - $attr['sambaLMPassword'] = 'NO PASSWORD*****'; - $attr['sambaPwdLastSet'] = time(); // sambaAccount_may - } - else - if ($values->smb_password!='') { - // Set samba-passwords with external perl-script - $attr['sambaNTPassword'] = getNTPasswordHash($values->smb_password); - $attr['sambaLMPassword'] = getLMPasswordHash($values->smb_password); - $attr['sambaPwdLastSet'] = time(); // sambaAccount_may - } - // Check which Samba-Attributes have changed - if ($values->smb_pwdcanchange != $values_old->smb_pwdcanchange) $attr['sambaPwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may - if ($values->smb_pwdmustchange != $values_old->smb_pwdmustchange) $attr['sambaPwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may - if (smbflag($values->smb_flags) != smbflag($values_old->smb_flags)) $attr['sambaAcctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - if (($values->smb_smbhome!='') && ($values->smb_smbhome!=$values_old->smb_smbhome)) $attr['sambaHomePath'] = utf8_encode($values->smb_smbhome); // sambaAccount_may - if (($values->smb_smbhome=='') && ($values->smb_smbhome!=$values_old->smb_smbhome)) $attr_rem['sambaHomePath'] = utf8_encode($values_old->smb_smbhome); // sambaAccount_may - if (($values->smb_homedrive!='') && ($values->smb_homedrive!=$values_old->smb_homedrive)) $attr['sambaHomeDrive'] = $values->smb_homedrive; // sambaAccount_may - if (($values->smb_homedrive=='') && ($values->smb_homedrive!=$values_old->smb_homedrive)) $attr_rem['sambaHomeDrive'] = $values_old->smb_homedrive; // sambaAccount_may - if (($values->smb_scriptPath!='') && ($values->smb_scriptPath!=$values_old->smb_scriptPath)) $attr['sambaLogonScript'] = utf8_encode($values->smb_scriptPath); // sambaAccount_may - if (($values->smb_scriptPath=='') && ($values->smb_scriptPath!=$values_old->smb_scriptPath)) $attr_rem['sambaLogonScript'] = utf8_encode($values_old->smb_scriptPath); // sambaAccount_may - if (($values->smb_profilePath!='') && ($values->smb_profilePath!=$values_old->smb_profilePath)) $attr['sambaProfilePath'] = $values->smb_profilePath; // sambaAccount_may - if (($values->smb_profilePath=='') && ($values->smb_profilePath!=$values_old->smb_profilePath)) $attr_rem['sambaProfilePath'] = $values_old->smb_profilePath; // sambaAccount_may - if (($values->smb_smbuserworkstations!='') && ($values->smb_smbuserworkstations!=$values_old->smb_smbuserworkstations))$attr['sambaUserWorkstations'] = $values->smb_smbuserworkstations; // sambaAccount_may - if (($values->smb_smbuserworkstations=='') && ($values->smb_smbuserworkstations!=$values_old->smb_smbuserworkstations))$attr_rem['sambaUserWorkstations'] = $values_old->smb_smbuserworkstations; // sambaAccount_may - if ($values->smb_domain->name!=$values_old->smb_domain->name) { - $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); - $attr['sambaPrimaryGroupSID'] = $values->smb_domain->SID . "-". - (2 * getgid($values->general_group) + $values->smb_domain->RIDbase+1); - } - if (($values->smb_mapgroup!='') && ($values->smb_mapgroup!=$values_old->smb_mapgroup)) { - $found = false; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-512') $found=true; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-513') $found=true; - if (substr($values->smb_mapgroup, sizeof($values->smb_mapgroup)-5, 4) == '-514') $found=true; - if (!$found) { // use group SID - ldapreload('group'); - foreach ($_SESSION['groupDN'] as $groupname) { - if ($groupname['cn'] == $values->general_group) $attr['sambaPrimaryGroupSID'] = $groupname['sambaSID']; - } - } - else { // use special SID - $attr['sambaPrimaryGroupSID'] = $values->smb_mapgroup; - } - } - if ($values->smb_displayName != $values_old->smb_displayName) $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - } - else { - // use old samba 2.2 objectclass - if (!in_array('sambaAccount', $values->general_objectClass)) { - // Add or convert samba attributes & object to samba 2.2 - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'sambaAccount'; - // unset old sambaAccount objectClass - for ($i=0; $iserver(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr_old['sambaLMPassword'][0])) $attr['lmPassword'] = $attr_old['sambaLMPassword'][0]; - if (isset($attr_old['sambaNTPassword'][0])) $attr['ntPassword'] = $attr_old['sambaNTPassword'][0]; - if (isset($attr_old['sambaPwdLastSet'][0])) $attr['pwdLastSet'] = $attr_old['sambaPwdLastSet'][0]; - if (isset($attr_old['sambaLogonTime'][0])) $attr['logonTime'] = $attr_old['sambaLogonTime'][0]; - if (isset($attr_old['sambaLogoffTime'][0])) $attr['logoffTime'] = $attr_old['sambaLogoffTime'][0]; - if (isset($attr_old['sambaKickoffTime'][0])) $attr['kickoffTime'] = $attr_old['sambaKickoffTime'][0]; - if (isset($attr_old['sambaPwdCanChange'][0])) $attr['pwdCanChange'] = $attr_old['sambaPwdCanChange'][0]; - if (isset($attr_old['sambaPwdMustChange'][0])) $attr['pwdMustChange'] = $attr_old['sambaPwdMustChange'][0]; - if (isset($attr_old['sambaHomePath'][0])) $attr['smbHome'] = $attr_old['sambaHomePath'][0]; - if (isset($attr_old['sambaHomeDrive'][0])) $attr['homeDrive'] = $attr_old['sambaHomeDrive'][0]; - if (isset($attr_old['sambaLogonScript'][0])) $attr['scriptPath'] = $attr_old['sambaLogonScript'][0]; - if (isset($attr_old['sambaProfilePath'][0])) $attr['profilePath'] = $attr_old['sambaProfilePath'][0]; - if (isset($attr_old['sambaUserWorkstations'][0])) $attr['userWorkstations'] = $attr_old['sambaUserWorkstations'][0]; - // Values used from account object - $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - $attr['acctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - if ($values->smb_domain!='') $attr['domain'] = $values->smb_domain; // sambaAccount_may - $attr['primaryGroupID'] = $values->smb_mapgroup; // sambaAccount_req - $attr['rid'] = (2 * $values->general_uidNumber + 1000); // sambaAccount_may - // remove old attributes - if (in_array('sambaSamAccount', $attr_old['objectClass'])) $attr_rem['objectClass'] = 'sambaSamAccount'; - if (isset($attr_old['sambaLMPassword'][0])) $attr_rem['sambaLMPassword'] = $attr_old['sambaLMPassword'][0]; - if (isset($attr_old['sambaNTPassword'][0])) $attr_rem['sambaNTPassword'] = $attr_old['sambaNTPassword'][0]; - if (isset($attr_old['sambaPwdLastSet'][0])) $attr_rem['sambaPwdLastSet'] = $attr_old['sambaPwdLastSet'][0]; - if (isset($attr_old['sambaLogonTime'][0])) $attr_rem['sambaLogonTime'] = $attr_old['sambaLogonTime'][0]; - if (isset($attr_old['sambaKickoffTime'][0])) $attr_rem['sambaKickoffTime'] = $attr_old['sambaKickoffTime'][0]; - if (isset($attr_old['sambaPwdCanChange'][0])) $attr_rem['sambaPwdCanChange'] = $attr_old['sambaPwdCanChange'][0]; - if (isset($attr_old['sambaPwdMustChange'][0])) $attr_rem['sambaPwdMustChange'] = $attr_old['sambaPwdMustChange'][0]; - if (isset($attr_old['sambaHomePath'][0])) $attr_rem['sambaHomePath'] = $attr_old['sambaHomePAth'][0]; - if (isset($attr_old['sambaAcctFlags'][0])) $attr_rem['sambaAcctFlags'] = $attr_old['sambaAcctFlags'][0]; - if (isset($attr_old['sambaHomeDrive'][0])) $attr_rem['sambaHomeDrive'] = $attr_old['sambaHomeDrive'][0]; - if (isset($attr_old['sambaLogonScript'][0])) $attr_rem['sambaLogonScript'] = $attr_old['sambaLogonScript'][0]; - if (isset($attr_old['sambaProfilePath'][0])) $attr_rem['sambaProfilePath'] = $attr_old['sambaProfilePath'][0]; - if (isset($attr_old['sambaUserWorkstations'][0])) $attr_rem['sambaUserWorkstations'] = $attr_old['sambaUserWorkstations'][0]; - if (isset($attr_old['sambaPrimaryGroupID'][0])) $attr_rem['sambaPrimaryGroupID'] = $attr_old['sambaPrimaryGroupID'][0]; - if (isset($attr_old['sambaDomainName'][0])) $attr_rem['sambaDomainName'] = $attr_old['sambaDomainName'][0]; - if (isset($attr_old['sambaSID'][0])) $attr_rem['sambaSID'] = $attr_old['sambaSID'][0]; - } - // Set all changed values - if ($values->smb_flags['N']) { - // use no samba Password - $attr['ntPassword'] = 'NO PASSWORD*****'; - $attr['lmPassword'] = 'NO PASSWORD*****'; - $attr['pwdLastSet'] = time(); - } - else - if ($values->smb_password!='') { - // Set samba-passwords with external perl-script - $attr['ntPassword'] = getNTPasswordHash($values->smb_password); - $attr['lmPassword'] = getLMPasswordHash($values->smb_password); - $attr['pwdLastSet'] = time(); // sambaAccount_may - } - // Check which Samba-Attributes have changed - if ($values->smb_pwdcanchange != $values_old->smb_pwdcanchange) $attr['pwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may - if ($values->smb_pwdmustchange != $values_old->smb_pwdmustchange) $attr['pwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may - if (smbflag($values->smb_flags) != smbflag($values_old->smb_flags)) $attr['acctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - if (($values->smb_smbhome!='') && ($values->smb_smbhome!=$values_old->smb_smbhome)) $attr['smbHome'] = utf8_encode($values->smb_smbhome); // sambaAccount_may - if (($values->smb_smbhome=='') && ($values->smb_smbhome!=$values_old->smb_smbhome)) $attr_rem['smbHome'] = utf8_encode($values_old->smb_smbhome); // sambaAccount_may - if (($values->smb_homedrive!='') && ($values->smb_homedrive!=$values_old->smb_homedrive)) $attr['homeDrive'] = $values->smb_homedrive; // sambaAccount_may - if (($values->smb_homedrive=='') && ($values->smb_homedrive!=$values_old->smb_homedrive)) $attr_rem['homeDrive'] = $values_old->smb_homedrive; // sambaAccount_may - if (($values->smb_scriptPath!='') && ($values->smb_scriptPath!=$values_old->smb_scriptPath)) $attr['scriptPath'] = utf8_encode($values->smb_scriptPath); // sambaAccount_may - if (($values->smb_scriptPath=='') && ($values->smb_scriptPath!=$values_old->smb_scriptPath)) $attr_rem['scriptPath'] = utf8_encode($values_old->smb_scriptPath); // sambaAccount_may - if (($values->smb_profilePath!='') && ($values->smb_profilePath!=$values_old->smb_profilePath)) $attr['profilePath'] = $values->smb_profilePath; // sambaAccount_may - if (($values->smb_profilePath=='') && ($values->smb_profilePath!=$values_old->smb_profilePath)) $attr_rem['profilePath'] = $values_old->smb_profilePath; // sambaAccount_may - if (($values->smb_smbuserworkstations!='') && ($values->smb_smbuserworkstations!=$values_old->smb_smbuserworkstations))$attr['userWorkstations'] = $values->smb_smbuserworkstations; // sambaAccount_may - if (($values->smb_smbuserworkstations=='') && ($values->smb_smbuserworkstations!=$values_old->smb_smbuserworkstations))$attr_rem['userWorkstations'] = $values_old->smb_smbuserworkstations; // sambaAccount_may - if (($values->smb_domain!='') && ($values->smb_domain!=$values_old->smb_domain)) $attr['domain'] = $values->smb_domain; // sambaAccount_may - if (($values->smb_domain=='') && ($values->smb_domain!=$values_old->smb_domain)) $attr_rem['domain'] = $values_old->smb_domain; // sambaAccount_may - if (($values->smb_mapgroup!='') && ($values->smb_mapgroup!=$values_old->smb_mapgroup)) $attr['primaryGroupID'] = $values->smb_mapgroup; // sambaAccount_may - if (($values->smb_mapgroup=='') && ($values->smb_mapgroup!=$values_old->smb_mapgroup)) $attr_rem['primaryGroupID'] = $values_old->smb_mapgroup; - if ($values->smb_displayName != $values_old->smb_displayName) $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - } - - // Check which personal attributes have changed - if (($values->personal_title != $values_old->personal_title) && ($values->personal_title != '')) - $attr['title'] = utf8_encode($values->personal_title); - if (($values->personal_title != $values_old->personal_title) && ($values->personal_title == '')) - $attr_rem['title'] = utf8_encode($values_old->personal_title); - if (($values->personal_mail != $values_old->personal_mail) && ($values->personal_mail != '')) - $attr['mail'] = utf8_encode($values->personal_mail); - if (($values->personal_mail != $values_old->personal_mail) && ($values->personal_mail == '')) - $attr_rem['mail'] = utf8_encode($values_old->personal_mail); - if (($values->personal_telephoneNumber != $values_old->personal_telephoneNumber) && ($values->personal_telephoneNumber !='')) - $attr['telephoneNumber'] = utf8_encode($values->personal_telephoneNumber); - if (($values->personal_telephoneNumber != $values_old->personal_telephoneNumber) && ($values->personal_telephoneNumber =='')) - $attr_rem['telephoneNumber'] = utf8_encode($values_old->personal_telephoneNumber); - if (($values->personal_mobileTelephoneNumber != $values_old->personal_mobileTelephoneNumber) && ($values->personal_mobileTelephoneNumber!='')) - $attr['mobileTelephoneNumber'] = utf8_encode($values->personal_mobileTelephoneNumber); - if (($values->personal_mobileTelephoneNumber != $values_old->personal_mobileTelephoneNumber) && ($values->personal_mobileTelephoneNumber=='')) - $attr_rem['mobileTelephoneNumber'] = utf8_encode($values_old->personal_mobileTelephoneNumber); - if (($values->personal_facsimileTelephoneNumber != $values_old->personal_facsimileTelephoneNumber) && ($values->personal_facsimileTelephoneNumber!='')) - $attr['facsimileTelephoneNumber'] = utf8_encode($values->personal_facsimileTelephoneNumber); - if (($values->personal_facsimileTelephoneNumber != $values_old->personal_facsimileTelephoneNumber) && ($values->personal_facsimileTelephoneNumber=='')) - $attr_rem['facsimileTelephoneNumber'] = array(); - if (($values->personal_street != $values_old->personal_street) && ($values->personal_street!='')) - $attr['street'] = utf8_encode($values->personal_street); - if (($values->personal_street != $values_old->personal_street) && ($values->personal_street=='')) - $attr_rem['street'] = utf8_encode($values_old->personal_street); - if (($values->personal_postalCode != $values_old->personal_postalCode) && ($values->personal_postalCode!='')) - $attr['postalCode'] = utf8_encode($values->personal_postalCode); - if (($values->personal_postalCode != $values_old->personal_postalCode) && ($values->personal_postalCode=='')) - $attr_rem['postalCode'] = utf8_encode($values_old->personal_postalCode); - if (($values->personal_postalAddress != $values_old->personal_postalAddress) && ($values->personal_postalAddress!='')) - $attr['postalAddress'] = utf8_encode($values->personal_postalAddress); - if (($values->personal_postalAddress != $values_old->personal_postalAddress) && ($values->personal_postalAddress=='')) - $attr_rem['postalAddress'] = array(); - if (($values->personal_employeeType != $values_old->personal_employeeType) && ($values->personal_employeeType!='')) - $attr['employeeType'] = utf8_encode($values->personal_employeeType); - if (($values->personal_employeeType != $values_old->personal_employeeType) && ($values->personal_employeeType=='')) - $attr_rem['employeeType'] = utf8_encode($values_old->personal_employeeType); - - if (($values->general_uidNumber != $values_old->general_uidNumber) && $_SESSION['config']->scriptServer) { - // Remove old quotas - remquotas(array($values_old->general_username), "user"); - // Remove quotas from $values_old because we have to rewrite them all - unset ($values_old->quota); - } - - if ($values->general_dn != $values_old->general_dn) { - // Account should be moved to a new location - // Load old account - $result = ldap_search($_SESSION['ldap']->server(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - // remove "count" from array - unset($attr_old['count']); - for ($i=0; $i < sizeof($attr_old); $i++) unset($attr_old[$i]); - $keys = array_keys($attr_old); - for ($i=0; $i < sizeof($keys); $i++) - unset($attr_old[$keys[$i]]['count']); - // Change uid to new uid. Else ldap won't create the new entry - //$attr_old['uid'][0] = $values->general_username; - $attr_rem_keys = @array_keys($attr_rem); - for ($i=0; $iserver(),$values->general_dn, $attr_old); - // remove old account - if ($success) $success = ldap_delete($_SESSION['ldap']->server(),$values_old->general_dn); - if (!$success) return 5; - // Remove all memberUid entries. The new entries will be added again - // Search for groups which have memberUid set to username - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), "(&(objectClass=PosixGroup)(memberUid=$values_old->general_username))", array('')); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - // loop for every found group and remove membership - while ($entry) { - $dn = ldap_get_dn($_SESSION['ldap']->server(), $entry); - $success = ldap_mod_del($_SESSION['ldap']->server(), $dn , array('memberUid' => $values_old->general_username)); - // *** fixme add error-message if memberUid couldn't be deleted - // Remove old memberUid to cache-array - if ((isset($_SESSION['groupDN']))) { - if (!in_array($values->general_username, $_SESSION['groupDN'][$dn]['memberUid'])) { - $i=0; - for ($i=0; $igeneral_username) unset ($_SESSION['groupDN'][$dn]['memberUid'][$i]); - $_SESSION['groupDN'][$dn]['memberUid'][$i] = array_values($_SESSION['groupDN'][$dn]['memberUid']); - } - } - } - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - } - else { // Just modify, not recreate - if ($attr) { - // Change or add new attributes - $success = ldap_modify($_SESSION['ldap']->server(),$values->general_dn, $attr); - if (!$success) return 5; - } - if ($attr_rem) { - // Remove old attributes which are no longer in use - $success = ldap_mod_del($_SESSION['ldap']->server(),$values->general_dn, $attr_rem); - if (!$success) return 5; - } - } - - // Write additional groupmemberchips - // Get a list with all groups - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), 'objectClass=PosixGroup', array('memberUid', 'cn')); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - while ($entry) { - $modifygroup=0; - $attr2 = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - // Remove "count" from array - if (is_array($attr2['memberUid'])) array_shift($attr2['memberUid']); - array_shift($attr2['cn']); - if ($attr2['memberUid']) { - // Remove user from groups he's not member anymore - if (@in_array($values->general_username, $attr2['memberUid']) && !@in_array($attr2['cn'][0],$values->general_groupadd)) { - $dn = ldap_get_dn($_SESSION['ldap']->server(), $entry); - $success = ldap_mod_del($_SESSION['ldap']->server(), $dn ,array('memberUid' => $values->general_username)); - if (!$success) return 5; - // Remove old memberUid to cache-array - ldapreload('group'); - if ((isset($_SESSION['groupDN']))) { - for ($i=0; $igeneral_username==$_SESSION['groupDN'][$dn]['memberUid'][$i]) { - unset($_SESSION['groupDN'][$dn]['memberUid'][$i]); - $_SESSION['groupDN'][$dn]['memberUid'] = array_values($_SESSION['groupDN'][$dn]['memberUid']); - } - } - } - } - // Add user to groups - if (!@in_array($values->general_username, $attr2['memberUid']) && @in_array($attr2['cn'][0],$values->general_groupadd)) { - $dn = ldap_get_dn($_SESSION['ldap']->server(), $entry); - $success = ldap_mod_add($_SESSION['ldap']->server(), $dn ,array('memberUid' => $values->general_username)); - if (!$success) return 5; - // Add new memberUid to cache-array - ldapreload('group'); - if ((isset($_SESSION['groupDN']))) { - if (is_array($_SESSION['groupDN'][$dn]['memberUid'])) { - if (!in_array($values->general_username, $_SESSION['groupDN'][$dn]['memberUid'])) $_SESSION['groupDN'][$dn]['memberUid'][] = $values->general_username; - } - else $_SESSION['groupDN'][$dn]['memberUid'][] = $values->general_username; - } - } - } - else { - // Add user to groups - if (@in_array($attr2['cn'][0],$values->general_groupadd)) { - $dn = ldap_get_dn($_SESSION['ldap']->server(), $entry); - $success = ldap_mod_add($_SESSION['ldap']->server(), $dn ,array('memberUid' => $values->general_username)); - if (!$success) return 5; - // Add new memberUid to cache-array - ldapreload('group'); - if ((isset($_SESSION['groupDN']))) { - if (is_array($_SESSION['groupDN'][$dn]['memberUid'])) { - if (!in_array($values->general_username, $_SESSION['groupDN'][$dn]['memberUid'])) $_SESSION['groupDN'][$dn]['memberUid'][] = $values->general_username; - } - else $_SESSION['groupDN'][$dn]['memberUid'][] = $values->general_username; - } - } - } - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - - // Change quotas if quotas are set and lamdaemon.pl should be used - if ($_SESSION['config']->scriptServer && is_array($values->quota) && $uselamdaemon && ($values->quota != $values_old->quota)) - setquotas(array($values)); - //make required changes in cache-array - if ((isset($_SESSION['userDN']))) { - if ($values->general_dn != $values_old->general_dn) { - unset ($_SESSION['userDN'][$values_old->general_dn]); - } - $_SESSION['userDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['userDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - } - // Return 3 if everything has worked fine - return 3; - } - - -/* This function will create a new host acconut in ldap -* $values is an account-object with all attributes of the host -* return-value is an integer -* 1 == Account has been created -* 2 == Account already exists at different location -* 4 == Error while creating Account -*/ -function createhost($values) { - // These Objectclasses are needed for an host account - $attr['objectClass'][] = 'posixAccount'; - $attr['objectClass'][] = 'account'; - // Create DN for new host account - $values->general_dn = 'uid=' . $values->general_username . ',' . $values->general_dn; - // Attributes which are required - $attr['cn'] = $values->general_username; - $attr['uid'] = $values->general_username; - $attr['uidNumber'] = $values->general_uidNumber; - $attr['gidNumber'] = getgid($values->general_group); - $attr['homeDirectory'] = "/dev/null"; - - /* Write unix attributes into $attr array - * Some values don't have to be set. These are only loaded if they are set - */ - $attr['loginShell'] = "/bin/false"; - $attr['gecos'] = utf8_encode(replace_umlaut($values->general_gecos)); - $attr['description'] = utf8_encode($values->general_gecos); - // Set unix password - - // Samba attributes - if ($_SESSION['config']->is_samba3()) { - // Add all attributes as samba3 objectclass - $attr['objectClass'][] = 'sambaSamAccount'; - // password for new hosts is hostname - $attr['sambaNTPassword'] = getNTPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['sambaLMPassword'] = getLMPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['sambaPwdLastSet'] = time(); // sambaAccount_may - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); // sambaAccount_may - $attr['sambaPrimaryGroupSID'] = $values->smb_domain->SID . "-515"; // sambaAccount_req - $attr['sambaPwdCanChange'] = time(); // sambaAccount_may - $attr['sambaPwdMustChange'] = "1893452400"; // sambaAccount_may // anywhere in year 2030 - $attr['sambaAcctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - } - else { - // Add all attributes as samba2.2 objectclass - $attr['objectClass'][] = 'sambaAccount'; - // password for new hosts is hostname - $attr['ntPassword'] = getNTPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['lmPassword'] = getLMPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['pwdLastSet'] = time(); // sambaAccount_may - $attr['rid'] = (2 * $values->general_uidNumber + 1000); // sambaAccount_may - $attr['primaryGroupID'] = (2 * getgid($values->general_group) + 1001); // sambaAccount_req - $attr['pwdCanChange'] = time(); // sambaAccount_may - $attr['pwdMustChange'] = "1893452400"; // sambaAccount_may // anywhere in 2030 - $attr['acctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - if ($values->smb_domain!='') $attr['domain'] = $values->smb_domain; // sambaAccount_may - } - - // Create LDAP user account - $success = ldap_add($_SESSION['ldap']->server(),$values->general_dn, $attr); - // Continue if now error did ocour - if (!$success) return 4; - // Add new host to cache-array - if ((isset($_SESSION['hostDN']))) { - $_SESSION['hostDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['hostDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - } - return 1; - } - -/* This function will modify a host acconut in ldap -* $values and $values_old are an account-object with all -* attributes of the host. -* Only attributes which have changed will be written -* return-value is an integer -* 2 == Account already exists at different location -* 3 == Account has been modified -* 5 == Error while modifying Account -*/ -function modifyhost($values,$values_old) { - // Add missing objectclasses to host - if (!in_array('posixAccount', $values->general_objectClass)) { - $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'posixAccount'; - } - // Create DN for new host account - $values->general_dn = 'uid=' . $values->general_username . ',' . $values->general_dn; - - // Attributes which are required - if ($values->general_username != $values_old->general_username) { - $attr['cn'] = $values->general_username; // posixAccount_req sambaAccount_may - $attr['uid'] = $values->general_username; // posixAccount_req - } - if ($values->general_uidNumber != $values_old->general_uidNumber) { - $attr['uidNumber'] = $values->general_uidNumber; - // Because sambaSID(rid) is related to uidNumber we have to change it if uidNumbaer has changed - if ($_SESSION['config']->is_samba3()) - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); - else $attr['rid'] = (2 * $values->general_uidNumber + 1000); - } - if ($values->general_group != $values_old->general_group) { - $attr['gidNumber'] = getgid($values->general_group); - // Because primaryGroup(S)ID is related to gidNumber we have to change it if gidNumber has changed - if ($_SESSION['config']->is_samba3()) - // We use samba 3 schema - $attr['sambaPrimaryGroupSID'] = $values->smb_domain->SID . "-". - (2 * getgid($values->general_group) + $values->smb_domain->RIDbase+1); - else - // We use old samba 2.2 schema - $attr['primaryGroupID'] = (2 * getgid($values->general_group) + 1001); - } - /* Write unix attributes into $attr array - * Some values don't have to be set. These are only loaded if they are set - */ - if ($values->general_gecos != $values_old->general_gecos) { - $attr['gecos'] = utf8_encode(replace_umlaut($values->general_gecos)); // posixAccount_may - $attr['description'] = utf8_encode($values->general_gecos); // posixAccount_may sambaAccount_may - } - - // Samba attributes - if ($_SESSION['config']->is_samba3()) { - if (!in_array('sambaSamAccount', $values->general_objectClass)) { - // We have to convert sambaAccount Objectclass to sambaSamAccount objectclass - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'sambaSamAccount'; - // unset old sambaAccount objectClass - for ($i=0; $iserver(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $return->general_dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr_old['lmPassword'][0])) $attr['sambaLMPassword'] = $attr_old['lmPassword'][0]; - if (isset($attr_old['ntPassword'][0])) $attr['sambaNTPassword'] = $attr_old['ntPassword'][0]; - if (isset($attr_old['pwdLastSet'][0])) $attr['sambaPwdLastSet'] = $attr_old['pwdLastSet'][0]; - if (isset($attr_old['logonTime'][0])) $attr['sambaLogonTime'] = $attr_old['logonTime'][0]; - if (isset($attr_old['logoffTime'][0])) $attr['sambaLogoffTime'] = $attr_old['logoffTime'][0]; - if (isset($attr_old['kickoffTime'][0])) $attr['sambaKickoffTime'] = $attr_old['kickoffTime'][0]; - if (isset($attr_old['pwdCanChange'][0])) $attr['sambaPwdCanChange'] = $attr_old['pwdCanChange'][0]; - if (isset($attr_old['pwdMustChange'][0])) $attr['sambaPwdMustChange'] = $attr_old['pwdMustChange'][0]; - if (isset($attr_old['smbHome'][0])) $attr['sambaHomePath'] = $attr_old['smbHome'][0]; - if (isset($attr_old['homeDrive'][0])) $attr['sambaHomeDrive'] = $attr_old['homeDrive'][0]; - if (isset($attr_old['scriptPath'][0])) $attr['sambaLogonScript'] = $attr_old['scriptPath'][0]; - if (isset($attr_old['profilePath'][0])) $attr['sambaProfilePath'] = $attr_old['profilePath'][0]; - if (isset($attr_old['userWorkstations'][0])) $attr['sambaUserWorkstations'] = $attr_old['userWorkstations'][0]; - // Values used from account object - $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - $attr['sambaAcctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); // sambaAccount_may - $attr['sambaPrimaryGroupSID'] = $values->smb_domain->SID . "-" . (2 * getgid($values->general_group) + $values->smb_domain->RIDbase +1); // sambaAccount_req - // remove old attributes - if (in_array('sambaAccount', $attr_old['objectClass'])) $attr_rem['objectClass'] = 'sambaAccount'; - if (isset($attr_old['lmPassword'][0])) $attr_rem['lmPassword'] = $attr_old['lmPassword'][0]; - if (isset($attr_old['ntPassword'][0])) $attr_rem['ntPassword'] = $attr_old['ntPassword'][0]; - if (isset($attr_old['pwdLastSet'][0])) $attr_rem['pwdLastSet'] = $attr_old['pwdLastSet'][0]; - if (isset($attr_old['logonTime'][0])) $attr_rem['logonTime'] = $attr_old['logonTime'][0]; - if (isset($attr_old['kickoffTime'][0])) $attr_rem['kickoffTime'] = $attr_old['kickoffTime'][0]; - if (isset($attr_old['pwdCanChange'][0])) $attr_rem['pwdCanChange'] = $attr_old['pwdCanChange'][0]; - if (isset($attr_old['pwdMustChange'][0])) $attr_rem['pwdMustChange'] = $attr_old['pwdMustChange'][0]; - if (isset($attr_old['smbHome'][0])) $attr_rem['smbHome'] = $attr_old['smbHome'][0]; - if (isset($attr_old['acctFlags'][0])) $attr_rem['acctFlags'] = $attr_old['acctFlags'][0]; - if (isset($attr_old['homeDrive'][0])) $attr_rem['homeDrive'] = $attr_old['homeDrive'][0]; - if (isset($attr_old['scriptPath'][0])) $attr_rem['scriptPath'] = $attr_old['scriptPath'][0]; - if (isset($attr_old['profilePath'][0])) $attr_rem['profilePath'] = $attr_old['profilePath'][0]; - if (isset($attr_old['userWorkstations'][0])) $attr_rem['userWorkstations'] = $attr_old['userWorkstations'][0]; - if (isset($attr_old['primaryGroupID'][0])) $attr_rem['primaryGroupID'] = $attr_old['primaryGroupID'][0]; - if (isset($attr_old['domain'][0])) $attr_rem['domain'] = $attr_old['domain'][0]; - if (isset($attr_old['rid'][0])) $attr_rem['rid'] = $attr_old['rid'][0]; - } - // Reset password - if ($values->smb_flags['N']) { - // password for new hosts is hostname - $attr['sambaNTPassword'] = getNTPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['sambaLMPassword'] = getLMPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['sambaPwdLastSet'] = time(); // sambaAccount_may - } - if ($values->smb_domain->name!=$values_old->smb_domain->name) { - $attr['sambaDomainName'] = $values->smb_domain->name; // sambaAccount_may - $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase); - $attr['sambaPrimaryGroupSID'] = $values->smb_domain->SID . "-". - (2 * getgid($values->general_group) + $values->smb_domain->RIDbase+1); - } - } - else { - // use old samba 2.2 objectclass - if (!in_array('sambaAccount', $values->general_objectClass)) { - // Add or convert samba attributes & object to samba 2.2 - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'sambaAccount'; - // unset old sambaAccount objectClass - for ($i=0; $iserver(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $return->general_dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr_old['sambaLMPassword'][0])) $attr['lmPassword'] = $attr_old['sambaLMPassword'][0]; - if (isset($attr_old['sambaNTPassword'][0])) $attr['ntPassword'] = $attr_old['sambaNTPassword'][0]; - if (isset($attr_old['sambaPwdLastSet'][0])) $attr['pwdLastSet'] = $attr_old['sambaPwdLastSet'][0]; - if (isset($attr_old['sambaLogonTime'][0])) $attr['logonTime'] = $attr_old['sambaLogonTime'][0]; - if (isset($attr_old['sambaLogoffTime'][0])) $attr['logoffTime'] = $attr_old['sambaLogoffTime'][0]; - if (isset($attr_old['sambaKickoffTime'][0])) $attr['kickoffTime'] = $attr_old['sambaKickoffTime'][0]; - if (isset($attr_old['sambaPwdCanChange'][0])) $attr['pwdCanChange'] = $attr_old['sambaPwdCanChange'][0]; - if (isset($attr_old['sambaPwdMustChange'][0])) $attr['pwdMustChange'] = $attr_old['sambaPwdMustChange'][0]; - if (isset($attr_old['sambaHomePath'][0])) $attr['smbHome'] = $attr_old['sambaHomePath'][0]; - if (isset($attr_old['sambaHomeDrive'][0])) $attr['homeDrive'] = $attr_old['sambaHomeDrive'][0]; - if (isset($attr_old['sambaLogonScript'][0])) $attr['scriptPath'] = $attr_old['sambaLogonScript'][0]; - if (isset($attr_old['sambaProfilePath'][0])) $attr['profilePath'] = $attr_old['sambaProfilePath'][0]; - if (isset($attr_old['sambaUserWorkstations'][0])) $attr['userWorkstations'] = $attr_old['sambaUserWorkstations'][0]; - // Values used from account object - $attr['displayName'] = utf8_encode($values->smb_displayName); // sambaAccount_may - $attr['acctFlags'] = smbflag($values->smb_flags); // sambaAccount_may - if ($values->smb_domain!='') $attr['domain'] = $values->smb_domain; // sambaAccount_may - $attr['primaryGroupID'] = (2 * getgid($values->general_group) + 1001); // sambaAccount_req - $attr['rid'] = (2 * $values->general_uidNumber + 1000); // sambaAccount_may - // remove old attributes - if (in_array('sambaSamAccount', $attr_old['objectClass'])) $attr_rem['objectClass'] = 'sambaSamAccount'; - if (isset($attr_old['sambaLMPassword'][0])) $attr_rem['sambaLMPassword'] = $attr_old['sambaLMPassword'][0]; - if (isset($attr_old['sambaNTPassword'][0])) $attr_rem['sambaNTPassword'] = $attr_old['sambaNTPassword'][0]; - if (isset($attr_old['sambaPwdLastSet'][0])) $attr_rem['sambaPwdLastSet'] = $attr_old['sambaPwdLastSet'][0]; - if (isset($attr_old['sambaLogonTime'][0])) $attr_rem['sambaLogonTime'] = $attr_old['sambaLogonTime'][0]; - if (isset($attr_old['sambaKickoffTime'][0])) $attr_rem['sambaKickoffTime'] = $attr_old['sambaKickoffTime'][0]; - if (isset($attr_old['sambaPwdCanChange'][0])) $attr_rem['sambaPwdCanChange'] = $attr_old['sambaPwdCanChange'][0]; - if (isset($attr_old['sambaPwdMustChange'][0])) $attr_rem['sambaPwdMustChange'] = $attr_old['sambaPwdMustChange'][0]; - if (isset($attr_old['sambaHomePath'][0])) $attr_rem['sambaHomePath'] = $attr_old['sambaHomePAth'][0]; - if (isset($attr_old['sambaAcctFlags'][0])) $attr_rem['sambaAcctFlags'] = $attr_old['sambaAcctFlags'][0]; - if (isset($attr_old['sambaHomeDrive'][0])) $attr_rem['sambaHomeDrive'] = $attr_old['sambaHomeDrive'][0]; - if (isset($attr_old['sambaLogonScript'][0])) $attr_rem['sambaLogonScript'] = $attr_old['sambaLogonScript'][0]; - if (isset($attr_old['sambaProfilePath'][0])) $attr_rem['sambaProfilePath'] = $attr_old['sambaProfilePath'][0]; - if (isset($attr_old['sambaUserWorkstations'][0])) $attr_rem['sambaUserWorkstations'] = $attr_old['sambaUserWorkstations'][0]; - if (isset($attr_old['sambaPrimaryGroupID'][0])) $attr_rem['sambaPrimaryGroupID'] = $attr_old['sambaPrimaryGroupID'][0]; - if (isset($attr_old['sambaDomainName'][0])) $attr_rem['sambaDomainName'] = $attr_old['sambaDomainName'][0]; - if (isset($attr_old['sambaSID'][0])) $attr_rem['sambaSID'] = $attr_old['sambaSID'][0]; - } - if ($values->smb_flags['N']) { - // password for new hosts is hostname - $attr['ntPassword'] = getNTPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['lmPassword'] = getLMPasswordHash(substr($values->general_username, 0, strlen($values->general_username) - 1)); - $attr['pwdLastSet'] = time(); // sambaAccount_may - } - if (isset($attr_old['sambaSID'][0])) $attr_rem['sambaSID'] = $attr_old['sambaSID'][0]; - if (($values->smb_domain!='') && ($values->smb_domain!=$values_old->smb_domain)) $attr['domain'] = $values->smb_domain; // sambaAccount_may - if (($values->smb_domain=='') && ($values->smb_domain!=$values_old->smb_domain)) $attr_rem['domain'] = $values_old->smb_domain; // sambaAccount_may - } - - if ($values->general_dn != $values_old->general_dn) { - // Account should be moved to a new location - // Load old account - $result = ldap_search($_SESSION['ldap']->server(), $values_old->general_dn, "objectclass=PosixAccount"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - // remove "count" from array - unset($attr_old['count']); - for ($i=0; $i < sizeof($attr_old); $i++) unset($attr_old[$i]); - $keys = array_keys($attr_old); - for ($i=0; $i < sizeof($keys); $i++) - unset($attr_old[$keys[$i]]['count']); - // Change uid to new uid. Else ldap won't create the new entry - //$attr_old['uid'][0] = $values->general_username; - $attr_rem_keys = @array_keys($attr_rem); - for ($i=0; $iserver(),$values->general_dn, $attr_old); - // remove old account - if ($success) $success = ldap_delete($_SESSION['ldap']->server(),$values_old->general_dn); - if (!$success) return 5; - } - else { // Just modify, not recreate - if ($attr) { - // Change or add new attributes - $success = ldap_modify($_SESSION['ldap']->server(),$values->general_dn, $attr); - if (!$success) return 5; - } - if ($attr_rem) { - // Remove old attributes which are no longer in use - $success = ldap_mod_del($_SESSION['ldap']->server(),$values->general_dn, $attr_rem); - if (!$success) return 5; - } - } - - //make required changes in cache-array - if ((isset($_SESSION['hostDN']))) { - if ($values->general_dn != $values_old->general_dn) { - unset ($_SESSION['hostDN'][$values_old->general_dn]); - } - $_SESSION['hostDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['hostDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - } - // Return 3 if everything has worked fine - return 3; - } - - -/* This function will create a new group acconut in ldap -* $values is an account-object with all attributes of the group -* if lamdaemon.pl is false no quotas are set. Usefull for massupload and deletion -* return-value is an integer -* 1 == Account has been created -* 2 == Account already exists at different location -* 4 == Error while creating Account -*/ -function creategroup($values, $uselamdaemon=true) { - // These Objectclasses are needed for an user account - $attr['objectClass'][0] = 'posixGroup'; - // Create DN for new user account - $values->general_dn = 'cn=' . $values->general_username . ',' . $values->general_dn; - // Attributes which are required - $attr['cn'] = $values->general_username; - $attr['gidNumber'] = $values->general_uidNumber; - - /* Write unix attributes into $attr array - * Some values don't have to be set. These are only loaded if they are set - */ - if ($values->general_gecos) $attr['description'] = utf8_encode($values->general_gecos); - // Samba 3 attributes - // $values->smb_mapgroup is not set if creategroup is called from masscreate.php - if ($_SESSION['config']->is_samba3() && isset($values->smb_mapgroup)) { - $attr['sambaSID'] = $values->smb_mapgroup; - $attr['objectClass'][1] = 'sambaGroupMapping'; - $attr['sambaGroupType'] = '2'; - if ($values->smb_displayName) $attr['displayName'] = utf8_encode($values->smb_displayName); - } - // Write additional group members - if (is_array($values->unix_memberUid)) $attr['memberUid'] = $values->unix_memberUid; - // Create LDAP group account - $success = ldap_add($_SESSION['ldap']->server(),$values->general_dn, $attr); - // Continue if now error did ocour - if (!$success) return 4; - // lamdaemon.pl should be used. Set quotas if quotas are used - if ($_SESSION['config']->scriptServer && is_array($values->quota) && $uselamdaemon) setquotas(array($values)); - // Add new group to cache-array - if ((isset($_SESSION['groupDN']))) { - $_SESSION['groupDN'][$values->general_dn]['memberUid'] = $values->unix_memberUid; - $_SESSION['groupDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['groupDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - if ($_SESSION['config']->is_samba3() && isset($values->smb_mapgroup)) - $_SESSION['groupDN'][$values->general_dn]['sambaSID'] = $values->smb_mapgroup; - } - return 1; - } - - -/* This function will modify a group acconut in ldap -* $values and $values_old are an account-object with all -* attributes of the group. -* if lamdaemon.pl is false no quotas are set. Usefull for massupload and deletion -* Only attributes which have changed will be written -* return-value is an integer -* 2 == Account already exists at different location -* 3 == Account has been modified -* 5 == Error while modifying Account -*/ -function modifygroup($values,$values_old, $uselamdaemon=true) { - print_r($values);print_r($values_old); - // Add missing objectclasses to group - if (!in_array('posixGroup', $values->general_objectClass)) { - $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'posixGroup'; - } - if (($_SESSION['config']->is_samba3()) && (!in_array('sambaGroupMapping', $values->general_objectClass))) { - if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; - $attr['objectClass'][] = 'sambaGroupMapping'; - $attr['sambaGroupType'] = '2'; - } - // Create DN for new group account - $values->general_dn = 'cn=' . $values->general_username . ',' . $values->general_dn; - - // Attributes which are required - if ($values->general_username != $values_old->general_username) $attr['cn'] = $values->general_username; - if ($values->general_uidNumber != $values_old->general_uidNumber) { - $attr['gidNumber'] = $values->general_uidNumber; - // Set correct SID if UID was changed - if ($_SESSION['config']->is_samba3()) $attr['sambaSID'] = $values->smb_domain->SID . "-" . (2 * $values->general_uidNumber + $values->smb_domain->RIDbase +1); - } - if ($values->general_gecos != $values_old->general_gecos) $attr['description'] = utf8_encode($values->general_gecos); - if ($values->smb_displayName != $values_old->smb_displayName) - $attr['displayName'] = utf8_encode($values->smb_displayName); - // Samba 3.0 attributes - if ($_SESSION['config']->is_samba3()) { - if ($values->smb_mapgroup != $values_old->smb_mapgroup) - $attr['sambaSID'] = $values->smb_mapgroup; - } - // Write Additional group members - if (($values->unix_memberUid != $values_old->unix_memberUid)) { - if (count($values->unix_memberUid)==0) $attr_rem['memberUid'] = $values_old->unix_memberUid; - else $attr['memberUid'] = $values->unix_memberUid; - } - // Rewrite quotas if uidnumbers has changed - if ($values->general_uidNumber != $values_old->general_uidNumber && $_SESSION['config']->scriptServer) { - // Remove old quotas - remquotas(array($values_old->general_username), "user"); - // Remove quotas from $values_old because we have to rewrite them all - unset ($values_old->quota); - } - - if ($values->general_dn != $values_old->general_dn) { - // Account should be moved to a new location - // Load old account - $result = ldap_search($_SESSION['ldap']->server(), $values_old->general_dn, "objectclass=PosixGroup"); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - $attr_old = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - // remove "count" from array - unset($attr_old['count']); - for ($i=0; $i < sizeof($attr_old); $i++) unset($attr_old[$i]); - $keys = @array_keys($attr_old); - for ($i=0; $i < sizeof($keys); $i++) - unset($attr_old[$keys[$i]]['count']); - // Change cn to new cn. Else ldap won't create the new entry - //$attr_old['cn'][0] = $values->general_username; - $attr_rem_keys = @array_keys($attr_rem); - for ($i=0; $iserver(),$values->general_dn, $attr_old); - // remove old account - if ($success) $success = ldap_delete($_SESSION['ldap']->server(),$values_old->general_dn); - if (!$success) return 5; - } - else { // Just modify, not recreate - if ($attr) { - // Change or add new attributes - $success = ldap_modify($_SESSION['ldap']->server(),$values->general_dn, $attr); - if (!$success) return 5; - } - if ($attr_rem) { - // Remove old attributes which are no longer in use - $success = ldap_mod_del($_SESSION['ldap']->server(),$values->general_dn, $attr_rem); - if (!$success) return 5; - } - } - - - // Chnage GIDs of all users which are member of group - if ( $_SESSION['final_changegids']==true ) { - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), 'gidNumber=' . $values_old->general_uidNumber, array('')); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - while ($entry) { - $user['gidNumber'][0] = $values->general_uidNumber; - $success =ldap_modify($_SESSION['ldap']->server(), ldap_get_dn($_SESSION['ldap']->server(), $entry), $user); - if (!$success) return 5; - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - } - - // Change quotas if quotas are set and lamdaemon.pl should be used - if ($_SESSION['config']->scriptServer && is_array($values->quota) && $uselamdaemon && ($values->quota != $values_old->quota)) - setquotas(array($values)); - //make required changes in cache-array - if ((isset($_SESSION['groupDN']))) { - if ($values->general_dn != $values_old->general_dn) { - unset ($_SESSION['groupDN'][$values_old->general_dn]); - } - if (is_array($values->unix_memberUid)) $_SESSION['groupDN'][$values->general_dn]['memberUid'] = $values->unix_memberUid; - $_SESSION['groupDN'][$values->general_dn]['cn'] = $values->general_username; - $_SESSION['groupDN'][$values->general_dn]['uidNumber'] = $values->general_uidNumber; - if ($values->smb_mapgroup != $values_old->smb_mapgroup) - $_SESSION['groupDN'][$values->general_dn]['sambaSID'] = $values->smb_mapgroup; - } - // Return 3 if everything has worked fine - return 3; - } - -/** -* Returns the nt password hash of a given password. -* $password: The cleartext password -*/ -function getNTPasswordHash($password) { - // if Perl is installed in default directory use it - if (file_exists("/usr/bin/perl")) { - return exec('/usr/bin/perl ' . escapeshellarg($_SESSION['lampath'].'lib/createntlm.pl')." nt ".escapeshellarg($password)); - } - // otherwise use Perl in search path - else { - return exec('perl ' . escapeshellarg($_SESSION['lampath'].'lib/createntlm.pl')." nt ".escapeshellarg($password)); - } -} - -/** -* Returns the lanman password hash of a given password. -* $password: The cleartext password -*/ -function getLMPasswordHash($password) { - // if Perl is installed in default directory use it - if (file_exists("/usr/bin/perl")) { - return exec('/usr/bin/perl ' . escapeshellarg($_SESSION['lampath'].'lib/createntlm.pl')." lm ".escapeshellarg($password)); - } - // otherwise use Perl in search path - else { - return exec('perl ' . escapeshellarg($_SESSION['lampath'].'lib/createntlm.pl')." lm ".escapeshellarg($password)); - } -} - -?> diff --git a/lam-0.4/lib/blowfish.inc b/lam-0.4/lib/blowfish.inc deleted file mode 100644 index 79f262ed..00000000 --- a/lam-0.4/lib/blowfish.inc +++ /dev/null @@ -1,530 +0,0 @@ - - * - * See http://www.fsf.org/copyleft/lgpl.html for license information (LGPL). - * - * This file was copied from the Horde project (http://www.horde.org). - * - * author: Mike Cochrane - * - * edited by Roland Gruber for LAM - * - added encrypt/decrypt functions - */ -class Cipher_blowfish { - - /* Pi Array */ - var $p = array( - 0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344, - 0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89, - 0x452821E6, 0x38D01377, 0xBE5466CF, 0x34E90C6C, - 0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917, - 0x9216D5D9, 0x8979FB1B); - - /* S Boxes */ - var $s1 = array( - 0xD1310BA6, 0x98DFB5AC, 0x2FFD72DB, 0xD01ADFB7, - 0xB8E1AFED, 0x6A267E96, 0xBA7C9045, 0xF12C7F99, - 0x24A19947, 0xB3916CF7, 0x0801F2E2, 0x858EFC16, - 0x636920D8, 0x71574E69, 0xA458FEA3, 0xF4933D7E, - 0x0D95748F, 0x728EB658, 0x718BCD58, 0x82154AEE, - 0x7B54A41D, 0xC25A59B5, 0x9C30D539, 0x2AF26013, - 0xC5D1B023, 0x286085F0, 0xCA417918, 0xB8DB38EF, - 0x8E79DCB0, 0x603A180E, 0x6C9E0E8B, 0xB01E8A3E, - 0xD71577C1, 0xBD314B27, 0x78AF2FDA, 0x55605C60, - 0xE65525F3, 0xAA55AB94, 0x57489862, 0x63E81440, - 0x55CA396A, 0x2AAB10B6, 0xB4CC5C34, 0x1141E8CE, - 0xA15486AF, 0x7C72E993, 0xB3EE1411, 0x636FBC2A, - 0x2BA9C55D, 0x741831F6, 0xCE5C3E16, 0x9B87931E, - 0xAFD6BA33, 0x6C24CF5C, 0x7A325381, 0x28958677, - 0x3B8F4898, 0x6B4BB9AF, 0xC4BFE81B, 0x66282193, - 0x61D809CC, 0xFB21A991, 0x487CAC60, 0x5DEC8032, - 0xEF845D5D, 0xE98575B1, 0xDC262302, 0xEB651B88, - 0x23893E81, 0xD396ACC5, 0x0F6D6FF3, 0x83F44239, - 0x2E0B4482, 0xA4842004, 0x69C8F04A, 0x9E1F9B5E, - 0x21C66842, 0xF6E96C9A, 0x670C9C61, 0xABD388F0, - 0x6A51A0D2, 0xD8542F68, 0x960FA728, 0xAB5133A3, - 0x6EEF0B6C, 0x137A3BE4, 0xBA3BF050, 0x7EFB2A98, - 0xA1F1651D, 0x39AF0176, 0x66CA593E, 0x82430E88, - 0x8CEE8619, 0x456F9FB4, 0x7D84A5C3, 0x3B8B5EBE, - 0xE06F75D8, 0x85C12073, 0x401A449F, 0x56C16AA6, - 0x4ED3AA62, 0x363F7706, 0x1BFEDF72, 0x429B023D, - 0x37D0D724, 0xD00A1248, 0xDB0FEAD3, 0x49F1C09B, - 0x075372C9, 0x80991B7B, 0x25D479D8, 0xF6E8DEF7, - 0xE3FE501A, 0xB6794C3B, 0x976CE0BD, 0x04C006BA, - 0xC1A94FB6, 0x409F60C4, 0x5E5C9EC2, 0x196A2463, - 0x68FB6FAF, 0x3E6C53B5, 0x1339B2EB, 0x3B52EC6F, - 0x6DFC511F, 0x9B30952C, 0xCC814544, 0xAF5EBD09, - 0xBEE3D004, 0xDE334AFD, 0x660F2807, 0x192E4BB3, - 0xC0CBA857, 0x45C8740F, 0xD20B5F39, 0xB9D3FBDB, - 0x5579C0BD, 0x1A60320A, 0xD6A100C6, 0x402C7279, - 0x679F25FE, 0xFB1FA3CC, 0x8EA5E9F8, 0xDB3222F8, - 0x3C7516DF, 0xFD616B15, 0x2F501EC8, 0xAD0552AB, - 0x323DB5FA, 0xFD238760, 0x53317B48, 0x3E00DF82, - 0x9E5C57BB, 0xCA6F8CA0, 0x1A87562E, 0xDF1769DB, - 0xD542A8F6, 0x287EFFC3, 0xAC6732C6, 0x8C4F5573, - 0x695B27B0, 0xBBCA58C8, 0xE1FFA35D, 0xB8F011A0, - 0x10FA3D98, 0xFD2183B8, 0x4AFCB56C, 0x2DD1D35B, - 0x9A53E479, 0xB6F84565, 0xD28E49BC, 0x4BFB9790, - 0xE1DDF2DA, 0xA4CB7E33, 0x62FB1341, 0xCEE4C6E8, - 0xEF20CADA, 0x36774C01, 0xD07E9EFE, 0x2BF11FB4, - 0x95DBDA4D, 0xAE909198, 0xEAAD8E71, 0x6B93D5A0, - 0xD08ED1D0, 0xAFC725E0, 0x8E3C5B2F, 0x8E7594B7, - 0x8FF6E2FB, 0xF2122B64, 0x8888B812, 0x900DF01C, - 0x4FAD5EA0, 0x688FC31C, 0xD1CFF191, 0xB3A8C1AD, - 0x2F2F2218, 0xBE0E1777, 0xEA752DFE, 0x8B021FA1, - 0xE5A0CC0F, 0xB56F74E8, 0x18ACF3D6, 0xCE89E299, - 0xB4A84FE0, 0xFD13E0B7, 0x7CC43B81, 0xD2ADA8D9, - 0x165FA266, 0x80957705, 0x93CC7314, 0x211A1477, - 0xE6AD2065, 0x77B5FA86, 0xC75442F5, 0xFB9D35CF, - 0xEBCDAF0C, 0x7B3E89A0, 0xD6411BD3, 0xAE1E7E49, - 0x00250E2D, 0x2071B35E, 0x226800BB, 0x57B8E0AF, - 0x2464369B, 0xF009B91E, 0x5563911D, 0x59DFA6AA, - 0x78C14389, 0xD95A537F, 0x207D5BA2, 0x02E5B9C5, - 0x83260376, 0x6295CFA9, 0x11C81968, 0x4E734A41, - 0xB3472DCA, 0x7B14A94A, 0x1B510052, 0x9A532915, - 0xD60F573F, 0xBC9BC6E4, 0x2B60A476, 0x81E67400, - 0x08BA6FB5, 0x571BE91F, 0xF296EC6B, 0x2A0DD915, - 0xB6636521, 0xE7B9F9B6, 0xFF34052E, 0xC5855664, - 0x53B02D5D, 0xA99F8FA1, 0x08BA4799, 0x6E85076A); - var $s2 = array( - 0x4B7A70E9, 0xB5B32944, 0xDB75092E, 0xC4192623, - 0xAD6EA6B0, 0x49A7DF7D, 0x9CEE60B8, 0x8FEDB266, - 0xECAA8C71, 0x699A17FF, 0x5664526C, 0xC2B19EE1, - 0x193602A5, 0x75094C29, 0xA0591340, 0xE4183A3E, - 0x3F54989A, 0x5B429D65, 0x6B8FE4D6, 0x99F73FD6, - 0xA1D29C07, 0xEFE830F5, 0x4D2D38E6, 0xF0255DC1, - 0x4CDD2086, 0x8470EB26, 0x6382E9C6, 0x021ECC5E, - 0x09686B3F, 0x3EBAEFC9, 0x3C971814, 0x6B6A70A1, - 0x687F3584, 0x52A0E286, 0xB79C5305, 0xAA500737, - 0x3E07841C, 0x7FDEAE5C, 0x8E7D44EC, 0x5716F2B8, - 0xB03ADA37, 0xF0500C0D, 0xF01C1F04, 0x0200B3FF, - 0xAE0CF51A, 0x3CB574B2, 0x25837A58, 0xDC0921BD, - 0xD19113F9, 0x7CA92FF6, 0x94324773, 0x22F54701, - 0x3AE5E581, 0x37C2DADC, 0xC8B57634, 0x9AF3DDA7, - 0xA9446146, 0x0FD0030E, 0xECC8C73E, 0xA4751E41, - 0xE238CD99, 0x3BEA0E2F, 0x3280BBA1, 0x183EB331, - 0x4E548B38, 0x4F6DB908, 0x6F420D03, 0xF60A04BF, - 0x2CB81290, 0x24977C79, 0x5679B072, 0xBCAF89AF, - 0xDE9A771F, 0xD9930810, 0xB38BAE12, 0xDCCF3F2E, - 0x5512721F, 0x2E6B7124, 0x501ADDE6, 0x9F84CD87, - 0x7A584718, 0x7408DA17, 0xBC9F9ABC, 0xE94B7D8C, - 0xEC7AEC3A, 0xDB851DFA, 0x63094366, 0xC464C3D2, - 0xEF1C1847, 0x3215D908, 0xDD433B37, 0x24C2BA16, - 0x12A14D43, 0x2A65C451, 0x50940002, 0x133AE4DD, - 0x71DFF89E, 0x10314E55, 0x81AC77D6, 0x5F11199B, - 0x043556F1, 0xD7A3C76B, 0x3C11183B, 0x5924A509, - 0xF28FE6ED, 0x97F1FBFA, 0x9EBABF2C, 0x1E153C6E, - 0x86E34570, 0xEAE96FB1, 0x860E5E0A, 0x5A3E2AB3, - 0x771FE71C, 0x4E3D06FA, 0x2965DCB9, 0x99E71D0F, - 0x803E89D6, 0x5266C825, 0x2E4CC978, 0x9C10B36A, - 0xC6150EBA, 0x94E2EA78, 0xA5FC3C53, 0x1E0A2DF4, - 0xF2F74EA7, 0x361D2B3D, 0x1939260F, 0x19C27960, - 0x5223A708, 0xF71312B6, 0xEBADFE6E, 0xEAC31F66, - 0xE3BC4595, 0xA67BC883, 0xB17F37D1, 0x018CFF28, - 0xC332DDEF, 0xBE6C5AA5, 0x65582185, 0x68AB9802, - 0xEECEA50F, 0xDB2F953B, 0x2AEF7DAD, 0x5B6E2F84, - 0x1521B628, 0x29076170, 0xECDD4775, 0x619F1510, - 0x13CCA830, 0xEB61BD96, 0x0334FE1E, 0xAA0363CF, - 0xB5735C90, 0x4C70A239, 0xD59E9E0B, 0xCBAADE14, - 0xEECC86BC, 0x60622CA7, 0x9CAB5CAB, 0xB2F3846E, - 0x648B1EAF, 0x19BDF0CA, 0xA02369B9, 0x655ABB50, - 0x40685A32, 0x3C2AB4B3, 0x319EE9D5, 0xC021B8F7, - 0x9B540B19, 0x875FA099, 0x95F7997E, 0x623D7DA8, - 0xF837889A, 0x97E32D77, 0x11ED935F, 0x16681281, - 0x0E358829, 0xC7E61FD6, 0x96DEDFA1, 0x7858BA99, - 0x57F584A5, 0x1B227263, 0x9B83C3FF, 0x1AC24696, - 0xCDB30AEB, 0x532E3054, 0x8FD948E4, 0x6DBC3128, - 0x58EBF2EF, 0x34C6FFEA, 0xFE28ED61, 0xEE7C3C73, - 0x5D4A14D9, 0xE864B7E3, 0x42105D14, 0x203E13E0, - 0x45EEE2B6, 0xA3AAABEA, 0xDB6C4F15, 0xFACB4FD0, - 0xC742F442, 0xEF6ABBB5, 0x654F3B1D, 0x41CD2105, - 0xD81E799E, 0x86854DC7, 0xE44B476A, 0x3D816250, - 0xCF62A1F2, 0x5B8D2646, 0xFC8883A0, 0xC1C7B6A3, - 0x7F1524C3, 0x69CB7492, 0x47848A0B, 0x5692B285, - 0x095BBF00, 0xAD19489D, 0x1462B174, 0x23820E00, - 0x58428D2A, 0x0C55F5EA, 0x1DADF43E, 0x233F7061, - 0x3372F092, 0x8D937E41, 0xD65FECF1, 0x6C223BDB, - 0x7CDE3759, 0xCBEE7460, 0x4085F2A7, 0xCE77326E, - 0xA6078084, 0x19F8509E, 0xE8EFD855, 0x61D99735, - 0xA969A7AA, 0xC50C06C2, 0x5A04ABFC, 0x800BCADC, - 0x9E447A2E, 0xC3453484, 0xFDD56705, 0x0E1E9EC9, - 0xDB73DBD3, 0x105588CD, 0x675FDA79, 0xE3674340, - 0xC5C43465, 0x713E38D8, 0x3D28F89E, 0xF16DFF20, - 0x153E21E7, 0x8FB03D4A, 0xE6E39F2B, 0xDB83ADF7); - var $s3 = array( - 0xE93D5A68, 0x948140F7, 0xF64C261C, 0x94692934, - 0x411520F7, 0x7602D4F7, 0xBCF46B2E, 0xD4A20068, - 0xD4082471, 0x3320F46A, 0x43B7D4B7, 0x500061AF, - 0x1E39F62E, 0x97244546, 0x14214F74, 0xBF8B8840, - 0x4D95FC1D, 0x96B591AF, 0x70F4DDD3, 0x66A02F45, - 0xBFBC09EC, 0x03BD9785, 0x7FAC6DD0, 0x31CB8504, - 0x96EB27B3, 0x55FD3941, 0xDA2547E6, 0xABCA0A9A, - 0x28507825, 0x530429F4, 0x0A2C86DA, 0xE9B66DFB, - 0x68DC1462, 0xD7486900, 0x680EC0A4, 0x27A18DEE, - 0x4F3FFEA2, 0xE887AD8C, 0xB58CE006, 0x7AF4D6B6, - 0xAACE1E7C, 0xD3375FEC, 0xCE78A399, 0x406B2A42, - 0x20FE9E35, 0xD9F385B9, 0xEE39D7AB, 0x3B124E8B, - 0x1DC9FAF7, 0x4B6D1856, 0x26A36631, 0xEAE397B2, - 0x3A6EFA74, 0xDD5B4332, 0x6841E7F7, 0xCA7820FB, - 0xFB0AF54E, 0xD8FEB397, 0x454056AC, 0xBA489527, - 0x55533A3A, 0x20838D87, 0xFE6BA9B7, 0xD096954B, - 0x55A867BC, 0xA1159A58, 0xCCA92963, 0x99E1DB33, - 0xA62A4A56, 0x3F3125F9, 0x5EF47E1C, 0x9029317C, - 0xFDF8E802, 0x04272F70, 0x80BB155C, 0x05282CE3, - 0x95C11548, 0xE4C66D22, 0x48C1133F, 0xC70F86DC, - 0x07F9C9EE, 0x41041F0F, 0x404779A4, 0x5D886E17, - 0x325F51EB, 0xD59BC0D1, 0xF2BCC18F, 0x41113564, - 0x257B7834, 0x602A9C60, 0xDFF8E8A3, 0x1F636C1B, - 0x0E12B4C2, 0x02E1329E, 0xAF664FD1, 0xCAD18115, - 0x6B2395E0, 0x333E92E1, 0x3B240B62, 0xEEBEB922, - 0x85B2A20E, 0xE6BA0D99, 0xDE720C8C, 0x2DA2F728, - 0xD0127845, 0x95B794FD, 0x647D0862, 0xE7CCF5F0, - 0x5449A36F, 0x877D48FA, 0xC39DFD27, 0xF33E8D1E, - 0x0A476341, 0x992EFF74, 0x3A6F6EAB, 0xF4F8FD37, - 0xA812DC60, 0xA1EBDDF8, 0x991BE14C, 0xDB6E6B0D, - 0xC67B5510, 0x6D672C37, 0x2765D43B, 0xDCD0E804, - 0xF1290DC7, 0xCC00FFA3, 0xB5390F92, 0x690FED0B, - 0x667B9FFB, 0xCEDB7D9C, 0xA091CF0B, 0xD9155EA3, - 0xBB132F88, 0x515BAD24, 0x7B9479BF, 0x763BD6EB, - 0x37392EB3, 0xCC115979, 0x8026E297, 0xF42E312D, - 0x6842ADA7, 0xC66A2B3B, 0x12754CCC, 0x782EF11C, - 0x6A124237, 0xB79251E7, 0x06A1BBE6, 0x4BFB6350, - 0x1A6B1018, 0x11CAEDFA, 0x3D25BDD8, 0xE2E1C3C9, - 0x44421659, 0x0A121386, 0xD90CEC6E, 0xD5ABEA2A, - 0x64AF674E, 0xDA86A85F, 0xBEBFE988, 0x64E4C3FE, - 0x9DBC8057, 0xF0F7C086, 0x60787BF8, 0x6003604D, - 0xD1FD8346, 0xF6381FB0, 0x7745AE04, 0xD736FCCC, - 0x83426B33, 0xF01EAB71, 0xB0804187, 0x3C005E5F, - 0x77A057BE, 0xBDE8AE24, 0x55464299, 0xBF582E61, - 0x4E58F48F, 0xF2DDFDA2, 0xF474EF38, 0x8789BDC2, - 0x5366F9C3, 0xC8B38E74, 0xB475F255, 0x46FCD9B9, - 0x7AEB2661, 0x8B1DDF84, 0x846A0E79, 0x915F95E2, - 0x466E598E, 0x20B45770, 0x8CD55591, 0xC902DE4C, - 0xB90BACE1, 0xBB8205D0, 0x11A86248, 0x7574A99E, - 0xB77F19B6, 0xE0A9DC09, 0x662D09A1, 0xC4324633, - 0xE85A1F02, 0x09F0BE8C, 0x4A99A025, 0x1D6EFE10, - 0x1AB93D1D, 0x0BA5A4DF, 0xA186F20F, 0x2868F169, - 0xDCB7DA83, 0x573906FE, 0xA1E2CE9B, 0x4FCD7F52, - 0x50115E01, 0xA70683FA, 0xA002B5C4, 0x0DE6D027, - 0x9AF88C27, 0x773F8641, 0xC3604C06, 0x61A806B5, - 0xF0177A28, 0xC0F586E0, 0x006058AA, 0x30DC7D62, - 0x11E69ED7, 0x2338EA63, 0x53C2DD94, 0xC2C21634, - 0xBBCBEE56, 0x90BCB6DE, 0xEBFC7DA1, 0xCE591D76, - 0x6F05E409, 0x4B7C0188, 0x39720A3D, 0x7C927C24, - 0x86E3725F, 0x724D9DB9, 0x1AC15BB4, 0xD39EB8FC, - 0xED545578, 0x08FCA5B5, 0xD83D7CD3, 0x4DAD0FC4, - 0x1E50EF5E, 0xB161E6F8, 0xA28514D9, 0x6C51133C, - 0x6FD5C7E7, 0x56E14EC4, 0x362ABFCE, 0xDDC6C837, - 0xD79A3234, 0x92638212, 0x670EFA8E, 0x406000E0); - var $s4 = array( - 0x3A39CE37, 0xD3FAF5CF, 0xABC27737, 0x5AC52D1B, - 0x5CB0679E, 0x4FA33742, 0xD3822740, 0x99BC9BBE, - 0xD5118E9D, 0xBF0F7315, 0xD62D1C7E, 0xC700C47B, - 0xB78C1B6B, 0x21A19045, 0xB26EB1BE, 0x6A366EB4, - 0x5748AB2F, 0xBC946E79, 0xC6A376D2, 0x6549C2C8, - 0x530FF8EE, 0x468DDE7D, 0xD5730A1D, 0x4CD04DC6, - 0x2939BBDB, 0xA9BA4650, 0xAC9526E8, 0xBE5EE304, - 0xA1FAD5F0, 0x6A2D519A, 0x63EF8CE2, 0x9A86EE22, - 0xC089C2B8, 0x43242EF6, 0xA51E03AA, 0x9CF2D0A4, - 0x83C061BA, 0x9BE96A4D, 0x8FE51550, 0xBA645BD6, - 0x2826A2F9, 0xA73A3AE1, 0x4BA99586, 0xEF5562E9, - 0xC72FEFD3, 0xF752F7DA, 0x3F046F69, 0x77FA0A59, - 0x80E4A915, 0x87B08601, 0x9B09E6AD, 0x3B3EE593, - 0xE990FD5A, 0x9E34D797, 0x2CF0B7D9, 0x022B8B51, - 0x96D5AC3A, 0x017DA67D, 0xD1CF3ED6, 0x7C7D2D28, - 0x1F9F25CF, 0xADF2B89B, 0x5AD6B472, 0x5A88F54C, - 0xE029AC71, 0xE019A5E6, 0x47B0ACFD, 0xED93FA9B, - 0xE8D3C48D, 0x283B57CC, 0xF8D56629, 0x79132E28, - 0x785F0191, 0xED756055, 0xF7960E44, 0xE3D35E8C, - 0x15056DD4, 0x88F46DBA, 0x03A16125, 0x0564F0BD, - 0xC3EB9E15, 0x3C9057A2, 0x97271AEC, 0xA93A072A, - 0x1B3F6D9B, 0x1E6321F5, 0xF59C66FB, 0x26DCF319, - 0x7533D928, 0xB155FDF5, 0x03563482, 0x8ABA3CBB, - 0x28517711, 0xC20AD9F8, 0xABCC5167, 0xCCAD925F, - 0x4DE81751, 0x3830DC8E, 0x379D5862, 0x9320F991, - 0xEA7A90C2, 0xFB3E7BCE, 0x5121CE64, 0x774FBE32, - 0xA8B6E37E, 0xC3293D46, 0x48DE5369, 0x6413E680, - 0xA2AE0810, 0xDD6DB224, 0x69852DFD, 0x09072166, - 0xB39A460A, 0x6445C0DD, 0x586CDECF, 0x1C20C8AE, - 0x5BBEF7DD, 0x1B588D40, 0xCCD2017F, 0x6BB4E3BB, - 0xDDA26A7E, 0x3A59FF45, 0x3E350A44, 0xBCB4CDD5, - 0x72EACEA8, 0xFA6484BB, 0x8D6612AE, 0xBF3C6F47, - 0xD29BE463, 0x542F5D9E, 0xAEC2771B, 0xF64E6370, - 0x740E0D8D, 0xE75B1357, 0xF8721671, 0xAF537D5D, - 0x4040CB08, 0x4EB4E2CC, 0x34D2466A, 0x0115AF84, - 0xE1B00428, 0x95983A1D, 0x06B89FB4, 0xCE6EA048, - 0x6F3F3B82, 0x3520AB82, 0x011A1D4B, 0x277227F8, - 0x611560B1, 0xE7933FDC, 0xBB3A792B, 0x344525BD, - 0xA08839E1, 0x51CE794B, 0x2F32C9B7, 0xA01FBAC9, - 0xE01CC87E, 0xBCC7D1F6, 0xCF0111C3, 0xA1E8AAC7, - 0x1A908749, 0xD44FBD9A, 0xD0DADECB, 0xD50ADA38, - 0x0339C32A, 0xC6913667, 0x8DF9317C, 0xE0B12B4F, - 0xF79E59B7, 0x43F5BB3A, 0xF2D519FF, 0x27D9459C, - 0xBF97222C, 0x15E6FC2A, 0x0F91FC71, 0x9B941525, - 0xFAE59361, 0xCEB69CEB, 0xC2A86459, 0x12BAA8D1, - 0xB6C1075E, 0xE3056A0C, 0x10D25065, 0xCB03A442, - 0xE0EC6E0E, 0x1698DB3B, 0x4C98A0BE, 0x3278E964, - 0x9F1F9532, 0xE0D392DF, 0xD3A0342B, 0x8971F21E, - 0x1B0A7441, 0x4BA3348C, 0xC5BE7120, 0xC37632D8, - 0xDF359F8D, 0x9B992F2E, 0xE60B6F47, 0x0FE3F11D, - 0xE54CDA54, 0x1EDAD891, 0xCE6279CF, 0xCD3E7E6F, - 0x1618B166, 0xFD2C1D05, 0x848FD2C5, 0xF6FB2299, - 0xF523F357, 0xA6327623, 0x93A83531, 0x56CCCD02, - 0xACF08162, 0x5A75EBB5, 0x6E163697, 0x88D273CC, - 0xDE966292, 0x81B949D0, 0x4C50901B, 0x71C65614, - 0xE6C6C7BD, 0x327A140A, 0x45E1D006, 0xC3F27B9A, - 0xC9AA53FD, 0x62A80F00, 0xBB25BFE2, 0x35BDD2F6, - 0x71126905, 0xB2040222, 0xB6CBCF7C, 0xCD769C2B, - 0x53113EC0, 0x1640E3D3, 0x38ABBD60, 0x2547ADF0, - 0xBA38209C, 0xF746CE76, 0x77AFA1C5, 0x20756060, - 0x85CBFE4E, 0x8AE88DD8, 0x7AAAF9B0, 0x4CF9AA7E, - 0x1948C25C, 0x02FB8A8C, 0x01C36AE4, 0xD6EBE1F9, - 0x90D4F869, 0xA65CDEA0, 0x3F09252D, 0xC208E69F, - 0xB74E6132, 0xCE77E25B, 0x578FDFE3, 0x3AC372E6); - - /* The number of rounds to do */ - var $_rounds = 16; - - /* Constructor */ - function Cipher_blowfish($params = null) - { - } - - /** - * Set the key to be used for en/decryption - * - * @param String $key The key to use - */ - function setKey($key) - { - $key = $this->_formatKey($key); - $keyPos = $keyXor = 0; - - $iMax = count($this->p); - $keyLen = count($key); - for ($i = 0; $i < $iMax; $i++) { - for ($t = 0; $t < 4; $t++) { - $keyXor = ($keyXor << 8) | (($key[$keyPos]) & 0x0ff); - if (++$keyPos == $keyLen) { - $keyPos = 0; - } - } - $this->p[$i] = $this->p[$i] ^ $keyXor; - } - - $encZero = array('L' => 0, 'R' => 0); - for ($i = 0; $i + 1 < $iMax; $i += 2) { - $encZero = $this->_encryptBlock($encZero['L'], $encZero['R']); - $this->p[$i] = $encZero['L']; - $this->p[$i + 1] = $encZero['R']; - } - - $iMax = count($this->s1); - for ($i = 0; $i < $iMax; $i += 2) { - $encZero = $this->_encryptBlock($encZero['L'], $encZero['R']); - $this->s1[$i] = $encZero['L']; - $this->s1[$i + 1] = $encZero['R']; - } - - $iMax = count($this->s2); - for ($i = 0; $i < $iMax; $i += 2) { - $encZero = $this->_encryptBlock($encZero['L'], $encZero['R']); - $this->s2[$i] = $encZero['L']; - $this->s2[$i + 1] = $encZero['R']; - } - - $iMax = count($this->s3); - for ($i = 0; $i < $iMax; $i += 2) { - $encZero = $this->_encryptBlock($encZero['L'], $encZero['R']); - $this->s3[$i] = $encZero['L']; - $this->s3[$i + 1] = $encZero['R']; - } - - $iMax = count($this->s4); - for ($i = 0; $i < $iMax; $i += 2) { - $encZero = $this->_encryptBlock($encZero['L'], $encZero['R']); - $this->s4[$i] = $encZero['L']; - $this->s4[$i + 1] = $encZero['R']; - } - - } - - /** - * Return the size of the blocks that this cipher needs - * - * @return Integer The number of characters per block - */ - function getBlockSize() - { - return 8; - } - - /** - * Encrypt a block on data. - * - * @param String $block The data to encrypt - * @param optional String $key The key to use - * - * @return String the encrypted output - */ - function encryptBlock($block, $key = null) - { - if (!is_null($key)) { - $this->setKey($key); - } - - list($L, $R) = array_values(unpack('N*', $block)); - $parts = $this->_encryptBlock($L, $R); - return pack("NN", $parts['L'], $parts['R']); - } - - /** - * Encrypt a string of data. - * - * @param String $data The string to encrypt - * @param optional String $key The key to use - * - * @return String the encrypted output - */ - function encrypt($data, $key = null) { - // add end marker - $data .= 'x'; - // split data to array of encryptable blocks - $data_blocks = array(); - for ($j = 0; $j < strlen($data); $j = $j + 8) { - $data_blocks[] = substr($data, $j, 8); - } - // add spaces to last block if needed - $data_blocks[sizeof($data_blocks) - 1] = str_pad($data_blocks[sizeof($data_blocks) - 1], 8); - // encrypt blocks - $crypt_blocks = array(); - for ($i = 0; $i < sizeof($data_blocks); $i++) { - $crypt_blocks[] = $this->encryptBlock($data_blocks[$i], $key); - } - return implode("", $crypt_blocks); - } - - /** - * Encrypt a block on data. - * - * @param String $L The data to encrypt. - * @param String $R The data to encrypt. - * - * @return String The encrypted output. - */ - function _encryptBlock($L, $R) - { - $L ^= $this->p[0]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[1]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[2]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[3]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[4]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[5]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[6]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[7]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[8]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[9]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[10]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[11]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[12]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[13]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[14]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[15]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[16]; - $R ^= $this->p[17]; - - return array('L' => $R, 'R' => $L); - } - - /** - * Decrypt a string of data. - * - * @param String $data The data to decrypt - * @param optional String $key The key to use - * - * @return String the decrypted output - */ - function decrypt($data, $key = null){ - // decrypt string parts - $decr_blocks = array(); - for ($i = 0; $i < (strlen($data) / 8); $i++) { - $decr_blocks[] = $this->decryptBlock(substr($data, $i * 8, 8), $key); - } - $decr_text = ""; - $decr_text = implode("", $decr_blocks); - // removed whitespaces and end marker - $decr_text = chop($decr_text); - $decr_text = substr($decr_text, 0, (strlen($decr_text) - 1)); - return $decr_text; - } - - /** - * Decrypt a block on data. - * - * @param String $block The data to decrypt - * @param optional String $key The key to use - * - * @return String the decrypted output - */ - function decryptBlock($block, $key = null) - { - if (!is_null($key)) { - $this->setKey($key); - } - - list($L, $R) = array_values(unpack('N*', $block)); - - $L ^= $this->p[17]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[16]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[15]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[14]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[13]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[12]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[11]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[10]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[9]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[8]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[7]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[6]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[5]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[4]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[3]; - $R ^= ((($this->s1[($L >> 24) & 0xFF] + $this->s2[($L >> 16) & 0x0ff]) ^ $this->s3[($L >> 8) & 0x0ff]) + $this->s4[$L & 0x0ff]) ^ $this->p[2]; - $L ^= ((($this->s1[($R >> 24) & 0xFF] + $this->s2[($R >> 16) & 0x0ff]) ^ $this->s3[($R >> 8) & 0x0ff]) + $this->s4[$R & 0x0ff]) ^ $this->p[1]; - - $decrypted = pack("NN", $R ^ $this->p[0], $L); - return $decrypted; - } - - /** - * Converts a text key into an array. - * - * @return array The key. - */ - function _formatKey($key) - { - return array_values(unpack('C*', $key)); - } - -} - -?> diff --git a/lam-0.4/lib/config.inc b/lam-0.4/lib/config.inc deleted file mode 100644 index 666a63ce..00000000 --- a/lam-0.4/lib/config.inc +++ /dev/null @@ -1,804 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -include_once("status.inc"); - -// sets language settings for automatic translation -function setlanguage() { - if (!isset($_SESSION['language'])) { - $_SESSION['language'] = "en_GB.:ISO-8859-1:English (Great Britain)"; - } - $language = explode(":", $_SESSION['language']); - putenv("LANG=" . $language[0]); // e.g. LANG=de_DE - setlocale(LC_ALL, $language[0]); // set LC_ALL to de_DE - $locdir = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/locale"; // set path to translations - bindtextdomain("messages", $locdir); - textdomain("messages"); - header("Content-type: text/html; charset=" . $language[1], true); -} - -// returns an array of string with all available configuration profiles (without .conf) -function getConfigProfiles() { - $dir = dir(substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config"); - $ret = array(); - $pos = 0; - while ($entry = $dir->read()){ - $ext = substr($entry, strlen($entry)-5, 5); - $name = substr($entry, 0, strlen($entry)-5); - // check if extension is right, add to profile list - if ($ext == ".conf") { - $ret[$pos] = $name; - $pos ++; - } - } - sort($ret); - return $ret; -} - -// print meta refresh -// $page is the URL of the target page -function metaRefresh($page) { - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // print link if refresh does not work - echo "

\n"; - echo "" . _("Click here if you are not directed to the next page.") . "\n"; - echo "

\n"; - echo "\n"; - echo "\n"; -} - - -/* -// class Config -*/ -// manages .conf files -class Config { - - // server address (e.g. ldap://127.0.0.1:389) - var $ServerURL; - - // array of strings: users with admin rights - var $Admins; - - // string: password to edit preferences - var $Passwd; - - // suffix for users - var $usersuffix; - - // suffix for groups - var $groupsuffix; - - // suffix for Samba hosts - var $hostsuffix; - - // suffix for domains (Samba 3) - var $domainsuffix; - - // minimum/maximum numbers for UID, GID and UID of Samba Hosts - var $MinUID; - var $MaxUID; - var $MinGID; - var $MaxGID; - var $MinMachine; - var $MaxMachine; - - // attributes that are shown in the user/group/host tables - var $userlistAttributes; - var $grouplistAttributes; - var $hostlistAttributes; - - // maximum number of rows shown in user/group/host list - var $maxlistentries; - - // default language - var $defaultLanguage; - - // Path to external script and server where it is executed - // used for managing quota and home directories - // optional settings, may not be defined - var $scriptPath; - var $scriptServer; - - // if "yes" use the new LDAP schema for Samba 3.x - var $samba3; - - // LDAP cache timeout - var $cachetimeout; - - // password hash algorithm - var $pwdhash; - - // text to include in user PDF files - var $pdftext = ""; - - // name of configuration file - var $file; - - // list of all settings in config file - var $settings = array("ServerURL", "Passwd", "Admins", "usersuffix", "groupsuffix", "hostsuffix", - "domainsuffix", "MinUID", "MaxUID", "MinGID", "MaxGID", "MinMachine", "MaxMachine", - "userlistAttributes", "grouplistAttributes", "hostlistAttributes", "maxlistentries", - "defaultLanguage", "scriptPath", "scriptServer", "samba3", "cachetimeout", "pwdhash"); - - - // constructor, loads preferences from config file - function Config($file=0) { - // load first profile if none is given - if (!is_string($file)) { - $profiles = getConfigProfiles(); - $file = $profiles[0]; - } - $this->file = $file; - $this->reload(); - } - - // reloads preferences from config file - function reload() { - $conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/" . $this->file . ".conf"; - if (is_file($conffile) == True) { - $file = fopen($conffile, "r"); - if (!$file) { - StatusMessage("ERROR", "", _("Unable to load configuration!") . " (" . $conffile . ")"); - return; - } - while (!feof($file)) { - $line = fgets($file, 1024); - $line = trim($line); // remove spaces at the beginning and end - if (($line == "")||($line[0] == "#")) continue; // ignore comments and empty lines - // search keywords - for ($i = 0; $i < sizeof($this->settings); $i++) { - $keyword = $this->settings[$i]; - $keylen = strlen($keyword); - if (strtolower(substr($line, 0, $keylen + 2)) == strtolower($keyword . ": ")) { - $this->$keyword = substr($line, $keylen + 2, strlen($line) - $keylen -2); - break; - } - } - } - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Unable to load configuration!") . " (" . $conffile . ")"); - } - // load user PDF text - $pdffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/pdf/" . $this->file . ".txt"; - if (is_file($pdffile) == True) { - $pdfstring = @file($pdffile); - $pdfstring = @implode("", $pdfstring); - if ($pdfstring) $this->pdftext = $pdfstring; - else $this->pdftext = ""; - } - } - - // saves preferences to config file - function save() { - $conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/" . $this->file . ".conf"; - if (is_file($conffile) == True) { - $file = fopen($conffile, "r"); - if (!$file) { - StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")"); - return; - } - $file_array = array(); - // read config file - while (!feof($file)) { - array_push($file_array, fgets($file, 1024)); - } - fclose($file); - // generate new configuration file - $saved = array(); // includes all settings which have been saved - for ($i = 0; $i < sizeof($file_array); $i++) { - $line = trim($file_array[$i]); - if (($line == "")||($line[0] == "#")) continue; // ignore comments and empty lines - // search for keywords - for ($k = 0; $k < sizeof($this->settings); $k++) { - $keyword = $this->settings[$k]; - $keylen = strlen($keyword); - if (strtolower(substr($line, 0, $keylen + 1)) == strtolower($keyword . ":")) { - $file_array[$i] = $keyword . ": " . $this->$keyword . "\n"; - $saved[] = $keyword; // mark keyword as saved - break; - } - } - } - // check if we have to add new entries (e.g. if user upgraded LAM and has an old config file) - if (!in_array("ServerURL", $saved)) array_push($file_array, "\n\n# server address (e.g. ldap://localhost:389 or ldaps://localhost:636)\n" . "serverURL: " . $this->ServerURL . "\n"); - if (!in_array("Passwd", $saved)) array_push($file_array, "\n\n# password to change these preferences via webfrontend\n" . "passwd: " . $this->Passwd . "\n"); - if (!in_array("Admins", $saved)) array_push($file_array, "\n\n# list of users who are allowed to use LDAP Account Manager\n" . - "# names have to be seperated by semicolons\n" . - "# e.g. admins: cn=admin,dc=yourdomain,dc=org;cn=root,dc=yourdomain,dc=org\n" . "admins: " . $this->Admins . "\n"); - if (!in_array("usersuffix", $saved)) array_push($file_array, "\n\n# suffix of users\n" . - "# e.g. ou=People,dc=yourdomain,dc=org\n" . "usersuffix: " . $this->usersuffix . "\n"); - if (!in_array("groupsuffix", $saved)) array_push($file_array, "\n\n# suffix of groups\n" . - "# e.g. ou=Groups,dc=yourdomain,dc=org\n" . "groupsuffix: " . $this->groupsuffix . "\n"); - if (!in_array("hostsuffix", $saved)) array_push($file_array, "\n\n# suffix of Samba hosts\n" . - "# e.g. ou=machines,dc=yourdomain,dc=org\n" . "hostsuffix: " . $this->hostsuffix . "\n"); - if (!in_array("domainsuffix", $saved)) array_push($file_array, "\n\n# suffix of Samba 3 domains\n" . - "# e.g. ou=domains,dc=yourdomain,dc=org\n" . "domainsuffix: " . $this->domainsuffix . "\n"); - if (!in_array("MinUID", $saved)) array_push($file_array, "\n\n# minimum UID number\n" . "minUID: " . $this->MinUID . "\n"); - if (!in_array("MaxUID", $saved)) array_push($file_array, "\n\n# maximum UID number\n" . "maxUID: " . $this->MaxUID . "\n"); - if (!in_array("MinGID", $saved)) array_push($file_array, "\n\n# minimum GID number\n" . "minGID: " . $this->MinGID . "\n"); - if (!in_array("MaxGID", $saved)) array_push($file_array, "\n\n# maximum GID number\n" . "maxGID: " . $this->MaxGID . "\n"); - if (!in_array("MinMachine", $saved)) array_push($file_array, "\n\n# minimum UID number for Samba hosts\n" . "minMachine: " . $this->MinMachine . "\n"); - if (!in_array("MaxMachine", $saved)) array_push($file_array, "\n\n# maximum UID number for Samba hosts\n" . "maxMachine: " . $this->MaxMachine . "\n"); - if (!in_array("userlistAttributes", $saved)) array_push($file_array, "\n\n# list of attributes to show in user list\n# entries can either be predefined values (e.g. '#cn' or '#uid')" . - "\n# or individual ones (e.g. 'uid:User ID' or 'host:Host Name')\n# values have to be seperated by semicolons\n" . "userlistAttributes: " . $this->userlistAttributes . "\n"); - if (!in_array("grouplistAttributes", $saved)) array_push($file_array, "\n\n# list of attributes to show in group list\n# entries can either be predefined values (e.g. '#cn' or '#gidNumber')" . - "\n# or individual ones (e.g. 'cn:Group Name')\n# values have to be seperated by semicolons\n" . "grouplistAttributes: " . $this->grouplistAttributes . "\n"); - if (!in_array("hostlistAttributes", $saved)) array_push($file_array, "\n\n# list of attributes to show in host list\n# entries can either be predefined values (e.g. '#cn' or '#uid')" . - "\n# or individual ones (e.g. 'cn:Host Name')\n# values have to be seperated by semicolons\n" . "hostlistAttributes: " . $this->hostlistAttributes . "\n"); - if (!in_array("maxlistentries", $saved)) array_push($file_array, "\n\n# maximum number of rows to show in user/group/host lists\n" . "maxlistentries: " . $this->maxlistentries . "\n"); - if (!in_array("defaultLanguage", $saved)) array_push($file_array, "\n\n# default language (a line from config/language)\n" . "defaultLanguage: " . $this->defaultLanguage . "\n"); - if (!in_array("scriptPath", $saved)) array_push($file_array, "\n\n# Path to external Script\n" . "scriptPath: " . $this->scriptPath . "\n"); - if (!in_array("scriptServer", $saved)) array_push($file_array, "\n\n# Server of external Script\n" . "scriptServer: " . $this->scriptServer . "\n"); - if (!in_array("samba3", $saved)) array_push($file_array, "\n\n# Set to \"yes\" only if you use the new Samba 3.x schema.\n" . "samba3: " . $this->samba3 . "\n"); - if (!in_array("cachetimeout", $saved)) array_push($file_array, "\n\n# Number of minutes LAM caches LDAP searches.\n" . "cacheTimeout: " . $this->cachetimeout . "\n"); - if (!in_array("pwdhash", $saved)) array_push($file_array, "\n\n# Password hash algorithm (CRYPT/MD5/SMD5/SHA/SSHA/PLAIN).\n" . "pwdhash: " . $this->pwdhash . "\n"); - $file = fopen($conffile, "w"); - if ($file) { - for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]); - fclose($file); - @chmod ($conffile, 0600); - } - else { - StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")"); - exit; - } - } - } - - // prints current preferences - function printconf() { - echo "" . _("Server address") . ": " . $this->ServerURL . "
"; - echo "" . _("Password hash type") . ": " . $this->pwdhash . "
"; - echo "" . _("Cache timeout") . ": " . $this->cachetimeout . "
"; - echo "" . _("Samba 3.x schema") . ": " . $this->samba3 . "
"; - echo "" . _("UserSuffix") . ": " . $this->usersuffix . "
"; - echo "" . _("GroupSuffix") . ": " . $this->groupsuffix . "
"; - echo "" . _("HostSuffix") . ": " . $this->hostsuffix . "
"; - echo "" . _("DomainSuffix") . ": " . $this->domainsuffix . "
"; - echo "" . _("Minimum UID number") . ": " . $this->MinUID . "
"; - echo "" . _("Maximum UID number") . ": " . $this->MaxUID . "
"; - echo "" . _("Minimum GID number") . ": " . $this->MinGID . "
"; - echo "" . _("Maximum GID number") . ": " . $this->MaxGID . "
"; - echo "" . _("Minimum Machine number") . ": " . $this->MinMachine . "
"; - echo "" . _("Maximum Machine number") . ": " . $this->MaxMachine . "
"; - echo "" . _("Attributes in User List") . ": " . $this->userlistAttributes . "
"; - echo "" . _("Attributes in Group List") . ": " . $this->grouplistAttributes . "
"; - echo "" . _("Attributes in Host List") . ": " . $this->hostlistAttributes . "
"; - echo "" . _("Maximum list entries") . ": " . $this->maxlistentries . "
"; - echo "" . _("Default language") . ": " . $this->defaultLanguage . "
"; - echo "" . _("Path to external script") . ": " . $this->scriptPath . "
"; - echo "" . _("Server of external script") . ": " . $this->scriptServer . "
"; - echo "" . _("List of valid users") . ": " . $this->Admins . "

"; - echo "" . _("Text for user PDF") . ": " . $this->get_pdftext(); - } - - // functions to read/write preferences - - // returns the server address as string - function get_ServerURL() { - return $this->ServerURL; - } - - // sets the server address - // $value: new server address - // returns true if $value has correct format - function set_ServerURL($value) { - if (is_string($value)) $this->ServerURL = $value; - else return false; - return true; - } - - // returns an array of string with all admin names - function get_Admins() { - return explode(";", $this->Admins); - } - - // returns all admin users seperated by semicolons - function get_Adminstring() { - return $this->Admins; - } - - // needs a string that contains all admin users seperated by semicolons - // $value: new admin string - // returns true if $value has correct format - function set_Adminstring($value) { - if (is_string($value) && - eregi("^[^;]+(;[^;]+)*$", $value)) { - $this->Admins = $value; - } - else return false; - return true; - } - - // returns the password to access the preferences wizard - function get_Passwd() { - return $this->Passwd; - } - - // sets the preferences wizard password - // $value: new password - // returns true if $value has correct format - function set_Passwd($value) { - if (is_string($value)) $this->Passwd = $value; - else return false; - return true; - } - - // returns the LDAP suffix where users are saved - function get_UserSuffix() { - return $this->usersuffix; - } - - // sets the LDAP suffix where users are saved - // $value: new user suffix - // returns true if $value has correct format - function set_UserSuffix($value) { - if (is_string($value)) { - $this->usersuffix = $value; - } - else return false; - return true; - } - - // returns the LDAP suffix where groups are saved - function get_GroupSuffix() { - return $this->groupsuffix; - } - - // sets the LDAP suffix where groups are saved - // $value: new group suffix - // returns true if $value has correct format - function set_GroupSuffix($value) { - if (is_string($value)) { - $this->groupsuffix = $value; - } - else return false; - return true; - } - - // returns the LDAP suffix where hosts are saved - function get_HostSuffix() { - return $this->hostsuffix; - } - - // sets the LDAP suffix where hosts are saved - // $value: new host suffix - // returns true if $value has correct format - function set_HostSuffix($value) { - if (is_string($value)) { - $this->hostsuffix = $value; - } - else return false; - return true; - } - - // returns the LDAP suffix where domains are saved - function get_DomainSuffix() { - return $this->domainsuffix; - } - - // sets the LDAP suffix where domains are saved - // $value: new domain suffix - // returns true if $value has correct format - function set_DomainSuffix($value) { - if (!$value && ($this->get_Samba3() == "no")) $this->domainsuffix = ""; - elseif (is_string($value)) { - $this->domainsuffix = $value; - } - else return false; - return true; - } - - // returns the minimum UID to use when creating new users - function get_minUID() { - return $this->MinUID; - } - - // sets the minimum UID to use when creating new users - // $value: new minimum UID number - // returns true if $value has correct format - function set_minUID($value) { - if (is_numeric($value)) $this->MinUID = $value; - else return false; - return true; - } - - // returns the maximum UID to use when creating new users - function get_maxUID() { - return $this->MaxUID; - } - - // sets the maximum UID to use when creating new users - // $value: new maximum UID number - // returns true if $value has correct format - function set_maxUID($value) { - if (is_numeric($value)) $this->MaxUID = $value; - else return false; - return true; - } - - // returns the minimum GID to use when creating new groups - function get_minGID() { - return $this->MinGID; - } - - // sets the minimum GID to use when creating new groups - // $value: new minimum GID number - // returns true if $value has correct format - function set_minGID($value) { - if (is_numeric($value)) $this->MinGID = $value; - else return false; - return true; - } - - // returns the maximum GID to use when creating new groups - function get_maxGID() { - return $this->MaxGID; - } - - // sets the maximum GID to use when creating new groups - // $value: new maximum GID number - // returns true if $value has correct format - function set_maxGID($value) { - if (is_numeric($value)) $this->MaxGID = $value; - else return false; - return true; - } - - // returns the minimum UID to use when creating new Samba hosts - function get_minMachine() { - return $this->MinMachine; - } - - // sets the minimum UID to use when creating new Samba hosts - // $value: new minimum machine number - // returns true if $value has correct format - function set_minMachine($value) { - if (is_numeric($value)) $this->MinMachine = $value; - else return false; - return true; - } - - // returns the maximum UID to use when creating new Samba hosts - function get_maxMachine() { - return $this->MaxMachine; - } - - // sets the maximum UID to use when creating new Samba hosts - // $value: new maximum machine number - // returns true if $value has correct format - function set_maxMachine($value) { - if (is_numeric($value)) $this->MaxMachine = $value; - else return false; - return true; - } - - // returns the list of attributes to show in user list - function get_userlistAttributes() { - return $this->userlistAttributes; - } - - // sets the list of attributes to show in user list - // $value: new attribute string - // returns true if $value has correct format - function set_userlistAttributes($value) { - if (is_string($value) && eregi("^((#[^:;]+)|([^:;]*:[^:;]+))(;((#[^:;]+)|([^:;]*:[^:;]+)))*$", $value)) { - $this->userlistAttributes = $value; - } - else return false; - return true; - } - - // returns the list of attributes to show in group list - function get_grouplistAttributes() { - return $this->grouplistAttributes; - } - - // sets the list of attributes to show in group list - // $value: new attribute string - // returns true if $value has correct format - function set_grouplistAttributes($value) { - if (is_string($value) && eregi("^((#[^:;]+)|([^:;]*:[^:;]+))(;((#[^:;]+)|([^:;]*:[^:;]+)))*$", $value)) { - $this->grouplistAttributes = $value; - } - else return false; - return true; - } - - // returns the list of attributes to show in host list - function get_hostlistAttributes() { - return $this->hostlistAttributes; - } - - // sets the list of attributes to show in host list - // $value: new attribute string - // returns true if $value has correct format - function set_hostlistAttributes($value) { - if (is_string($value) && eregi("^((#[^:;]+)|([^:;]*:[^:;]+))(;((#[^:;]+)|([^:;]*:[^:;]+)))*$", $value)) { - $this->hostlistAttributes = $value; - } - else return false; - return true; - } - - // returns the maximum number of rows in user/group/host lists - function get_MaxListEntries() { - return $this->maxlistentries; - } - - // sets the maximum number of rows in user/group/host lists - // $value: new attribute string - // returns true if $value has correct format - function set_MaxListEntries ($value) { - if (is_numeric($value)) $this->maxlistentries = $value; - else return false; - return true; - } - - // returns the default language string - function get_defaultLanguage() { - return $this->defaultLanguage; - } - - // sets the default language string - // $value: new default language - // returns true if $value has correct format - function set_defaultLanguage($value) { - if (is_string($value)) $this->defaultLanguage = $value; - else return false; - return true; - } - - // returns the path to the external script - function get_scriptPath() { - return $this->scriptPath; - } - - // sets the path to the external script - // $value: new script path - // returns true if $value has correct format - function set_scriptPath($value) { - if (!$value) $this->scriptPath = ""; // optional parameter - elseif (is_string($value) && eregi("^/([a-z0-9_\\-])+(/([a-z0-9_\\.\\-])+)+$", $value)) $this->scriptPath = $value; - else return false; - return true; - } - - // returns the server of the external script - function get_scriptServer() { - return $this->scriptServer; - } - - // sets the server of the external script - // $value: new script server - // returns true if $value has correct format - function set_scriptServer($value) { - if (!$value) $this->scriptServer = ""; // optional parameter - elseif (is_string($value) && eregi("^[a-z0-9\\-]+(\\.[a-z0-9\\-]+)*$", $value)) { - $this->scriptServer = $value; - } - else return false; - return true; - } - - // returns "yes" if Samba 3.x schema is used, otherwise "no" - function get_samba3() { - return $this->samba3; - } - - // returns true if Samba 3, else false - function is_samba3() { - if ($this->samba3 == "yes") return true; - else return false; - } - - // set Samba version: "yes" means 3.x schema, "no" means 2.2.x schema - // $value: "yes"/"no" - // returns true if $value has correct format - function set_samba3($value) { - if (is_string($value) && eregi("^(yes|no)$", $value)) { - $this->samba3 = $value; - } - else return false; - return true; - } - - // returns the LDAP cache timeout in minutes - function get_cacheTimeout() { - if (isset($this->cachetimeout)) return $this->cachetimeout; - else return 5; - } - - // returns the LDAP cache timeout in seconds - function get_cacheTimeoutSec() { - return $this->cachetimeout * 60; - } - - // sets the LDAP cache timeout in minutes (0,1,2,5,10,15) - // $value: new cache timeout - // returns true if $value has correct format - function set_cacheTimeout($value) { - if (is_numeric($value) && ($value > -1)) { - $this->cachetimeout = $value; - } - else return false; - return true; - } - - // returns the password hash type - function get_pwdhash() { - if ($this->pwdhash) return strtoupper($this->pwdhash); - else return "SSHA"; - } - - // set the password hash type (CRYPT/SHA/SSHA/MD5/SMD5) - // $value: new password hash algorithm - // returns true if $value has correct format - function set_pwdhash($value) { - if (is_string($value) && eregi("^(crypt|sha|ssha|md5|smd5|plain)$", $value)) { - $this->pwdhash = $value; - } - else return false; - return true; - } - - // returns text for user PDF files - function get_pdftext() { - if ($this->pdftext) return $this->pdftext; - else return ""; - } - - // set the text for user PDF files - // $value: string containing the text - // returns true if $value has correct format and could be saved - function set_pdftext($value) { - // check if text changed - if ($value == $this->pdftext) return true; - if (is_string($value)) { - // save to file - $pdffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/pdf/" . $this->file . ".txt"; - $file = @fopen($pdffile, "w"); - if ($file) { - @fputs($file, $value); - fclose($file); - $this->pdftext = $value; - } - else return false; - $this->pdftext = $value; - } - else return false; - return true; - } - -} - -/* -// class CfgMain -*/ -// manages config.cfg -class CfgMain { - - // default profile - var $default; - - // password to change config.cfg - var $password; - - // constructor, loads preferences from config file - function CfgMain() { - $this->reload(); - } - - // reloads preferences from config file config.cfg - function reload() { - $conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/config.cfg"; - if (is_file($conffile) == True) { - $file = fopen($conffile, "r"); - if (!$file) { - StatusMessage("ERROR", "", _("Unable to load configuration!") . " (" . $conffile . ")"); - return; - } - while (!feof($file)) { - $line = fgets($file, 1024); - $line = trim($line); // remove spaces at the beginning and end - if (($line == "")||($line[0] == "#")) continue; // ignore comments - // search keywords - if (substr($line, 0, 10) == "password: ") { - $this->password = substr($line, 10, strlen($line)-10); - continue; - } - if (substr($line, 0, 9) == "default: ") { - $this->default = substr($line, 9, strlen($line)-9); - continue; - } - } - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Unable to load configuration!") . " (" . $conffile . ")"); - } - } - - // saves preferences to config file config.cfg - function save() { - $conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/config.cfg"; - if (is_file($conffile) == True) { - // booleans to check if value was already saved - $save_password = $save_default = False; - $file = fopen($conffile, "r"); - if (!$file) { - StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")"); - return; - } - $file_array = array(); - // read config file - while (!feof($file)) { - array_push($file_array, fgets($file, 1024)); - } - fclose($file); - // generate new configuration file - for ($i = 0; $i < sizeof($file_array); $i++) { - if (($file_array[$i] == "\n")||($file_array[$i][0] == "#")) continue; // ignore comments - // search for keywords - if (substr($file_array[$i], 0, 10) == "password: ") { - $file_array[$i] = "password: " . $this->password . "\n"; - $save_password = True; - continue; - } - if (substr($file_array[$i], 0, 9) == "default: ") { - $file_array[$i] = "default: " . $this->default . "\n"; - $save_default = True; - continue; - } - } - } - // check if we have to add new entries (e.g. if user upgraded LAM and has an old config file) - if (!$save_password == True) array_push($file_array, "\n\n# password to add/delete/rename configuration profiles\n" . "password: " . $this->password); - if (!$save_default == True) array_push($file_array, "\n\n# default profile, without \".conf\"\n" . "default: " . $this->default); - $file = fopen($conffile, "w"); - if ($file) { - for ($i = 0; $i < sizeof($file_array); $i++) fputs($file, $file_array[$i]); - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Cannot open config file!") . " (" . $conffile . ")"); - exit; - } - } - -} - -?> diff --git a/lam-0.4/lib/createntlm.pl b/lam-0.4/lib/createntlm.pl deleted file mode 100755 index af6b3e8e..00000000 --- a/lam-0.4/lib/createntlm.pl +++ /dev/null @@ -1,499 +0,0 @@ -#! /usr/bin/perl -# File Modified from Tilo Lutz, TiloLutz@gmx.de to fit better -# in lam, LDAP Account Manager -# added last two lines and changed from package to normal perl-programm - -# -# Samba LM/NT Hash Generating Library. -# -# Usage: -# use Crypt::SmbHash; -# ( $lmhash, $nthash ) = ntlmgen($pass); -# or -# ntlmgen $pass, $lmhash, $nthash; -# -# 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. -# -# -# Copyright(C) 2001 Benjamin Kuit -# - -#package Crypt::SmbHash; -use 5.005; -use strict; -use Exporter; -use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION); -@ISA = qw(Exporter); -$VERSION = '0.02'; -@EXPORT = qw( ntlmgen ); - -# The mdfour function is available for exporting if they really want -# it =) -@EXPORT_OK = qw( lmhash nthash ntlmgen mdfour ); - -# Works out if local system has the module Digest::MD4, and uses it -# if it does, otherwise uses ported version of the md4 algorithm -# Performance is alot better with Digest::MD4, so its recommended to -# get Digest::MD4 installed if you intend to generate alot of hashes -# in a small amount of time. -my $HaveDigestMD4; - -BEGIN { - $HaveDigestMD4 = 0; - if ( eval "require 'Digest/MD4.pm';" ) { - $HaveDigestMD4 = 1; - } -} - -# lmhash PASSWORD -# Generates lanman password hash for a given password, returns the hash -# -# Extracted and ported from SAMBA/source/libsmb/smbencrypt.c:nt_lm_owf_gen -sub lmhash($) { - my ( $pass ) = @_; - my ( @p16 ); - - $pass = substr($pass||"",0,129); - $pass =~ tr/a-z/A-Z/; - $pass = substr($pass,0,14); - @p16 = E_P16($pass); - return join("", map {sprintf("%02X",$_);} @p16); -} - -# nthash PASSWORD -# Generates nt md4 password hash for a given password, returns the hash -# -# Extracted and ported from SAMBA/source/libsmb/smbencrypt.c:nt_lm_owf_gen -sub nthash($) { - my ( $pass ) = @_; - my ( $hex ); - my ( $digest ); - $pass = substr($pass||"",0,128); - $pass =~ s/(.)/$1\000/sg; - $hex = ""; - if ( $HaveDigestMD4 ) { - eval { - $digest = new Digest::MD4; - $digest->reset(); - $digest->add($pass); - $hex = $digest->hexdigest(); - $hex =~ tr/a-z/A-Z/; - }; - $HaveDigestMD4 = 0 unless ( $hex ); - } - $hex = sprintf("%02X"x16,mdfour($pass)) unless ( $hex ); - return $hex; -} - -# ntlmgen PASSWORD, LMHASH, NTHASH -# Generate lanman and nt md4 password hash for given password, and assigns -# values to arguments. Combined function of lmhash and nthash -sub ntlmgen { - my ( $nthash, $lmhash ); - $nthash = nthash($_[0]); - $lmhash = lmhash($_[0]); - if ( $#_ == 2 ) { - $_[1] = $lmhash; - $_[2] = $nthash; - } - return ( $lmhash, $nthash ); -} - -# Support functions -# Ported from SAMBA/source/lib/md4.c:F,G and H respectfully -sub F { my ( $X, $Y, $Z ) = @_; return ($X&$Y) | ((~$X)&$Z); } -sub G { my ( $X, $Y, $Z) = @_; return ($X&$Y) | ($X&$Z) | ($Y&$Z); } -sub H { my ($X, $Y, $Z) = @_; return $X^$Y^$Z; } - -# Needed? because perl seems to choke on overflowing when doing bitwise -# operations on numbers larger than 32 bits. Well, it did on my machine =) -sub add32 { - my ( @v ) = @_; - my ( $ret, @sum ); - foreach ( @v ) { - $_ = [ ($_&0xffff0000)>>16, ($_&0xffff) ]; - } - @sum = (); - foreach ( @v ) { - $sum[0] += $_->[0]; - $sum[1] += $_->[1]; - } - $sum[0] += ($sum[1]&0xffff0000)>>16; - $sum[1] &= 0xffff; - $sum[0] &= 0xffff; - $ret = ($sum[0]<<16) | $sum[1]; - return $ret; -} -# Ported from SAMBA/source/lib/md4.c:lshift -# Renamed to prevent clash with SAMBA/source/libsmb/smbdes.c:lshift -sub md4lshift { - my ($x, $s) = @_; - $x &= 0xFFFFFFFF; - return (($x<<$s)&0xFFFFFFFF) | ($x>>(32-$s)); -} -# Ported from SAMBA/source/lib/md4.c:ROUND1 -sub ROUND1 { - my($a,$b,$c,$d,$k,$s,@X) = @_; - $_[0] = md4lshift(add32($a,F($b,$c,$d),$X[$k]), $s); - return $_[0]; -} -# Ported from SAMBA/source/lib/md4.c:ROUND2 -sub ROUND2 { - my ($a,$b,$c,$d,$k,$s,@X) = @_; - $_[0] = md4lshift(add32($a,G($b,$c,$d),$X[$k],0x5A827999), $s); - return $_[0]; -} -# Ported from SAMBA/source/lib/md4.c:ROUND3 -sub ROUND3 { - my ($a,$b,$c,$d,$k,$s,@X) = @_; - $_[0] = md4lshift(add32($a,H($b,$c,$d),$X[$k],0x6ED9EBA1), $s); - return $_[0]; -} -# Ported from SAMBA/source/lib/md4.c:mdfour64 -sub mdfour64 { - my ( $A, $B, $C, $D, @M ) = @_; - my ( $AA, $BB, $CC, $DD ); - my ( @X ); - @X = (map { $_?$_:0 } @M)[0..15]; - $AA=$A; $BB=$B; $CC=$C; $DD=$D; - ROUND1($A,$B,$C,$D, 0, 3, @X); ROUND1($D,$A,$B,$C, 1, 7, @X); - ROUND1($C,$D,$A,$B, 2, 11, @X); ROUND1($B,$C,$D,$A, 3, 19, @X); - ROUND1($A,$B,$C,$D, 4, 3, @X); ROUND1($D,$A,$B,$C, 5, 7, @X); - ROUND1($C,$D,$A,$B, 6, 11, @X); ROUND1($B,$C,$D,$A, 7, 19, @X); - ROUND1($A,$B,$C,$D, 8, 3, @X); ROUND1($D,$A,$B,$C, 9, 7, @X); - ROUND1($C,$D,$A,$B, 10, 11, @X); ROUND1($B,$C,$D,$A, 11, 19, @X); - ROUND1($A,$B,$C,$D, 12, 3, @X); ROUND1($D,$A,$B,$C, 13, 7, @X); - ROUND1($C,$D,$A,$B, 14, 11, @X); ROUND1($B,$C,$D,$A, 15, 19, @X); - ROUND2($A,$B,$C,$D, 0, 3, @X); ROUND2($D,$A,$B,$C, 4, 5, @X); - ROUND2($C,$D,$A,$B, 8, 9, @X); ROUND2($B,$C,$D,$A, 12, 13, @X); - ROUND2($A,$B,$C,$D, 1, 3, @X); ROUND2($D,$A,$B,$C, 5, 5, @X); - ROUND2($C,$D,$A,$B, 9, 9, @X); ROUND2($B,$C,$D,$A, 13, 13, @X); - ROUND2($A,$B,$C,$D, 2, 3, @X); ROUND2($D,$A,$B,$C, 6, 5, @X); - ROUND2($C,$D,$A,$B, 10, 9, @X); ROUND2($B,$C,$D,$A, 14, 13, @X); - ROUND2($A,$B,$C,$D, 3, 3, @X); ROUND2($D,$A,$B,$C, 7, 5, @X); - ROUND2($C,$D,$A,$B, 11, 9, @X); ROUND2($B,$C,$D,$A, 15, 13, @X); - ROUND3($A,$B,$C,$D, 0, 3, @X); ROUND3($D,$A,$B,$C, 8, 9, @X); - ROUND3($C,$D,$A,$B, 4, 11, @X); ROUND3($B,$C,$D,$A, 12, 15, @X); - ROUND3($A,$B,$C,$D, 2, 3, @X); ROUND3($D,$A,$B,$C, 10, 9, @X); - ROUND3($C,$D,$A,$B, 6, 11, @X); ROUND3($B,$C,$D,$A, 14, 15, @X); - ROUND3($A,$B,$C,$D, 1, 3, @X); ROUND3($D,$A,$B,$C, 9, 9, @X); - ROUND3($C,$D,$A,$B, 5, 11, @X); ROUND3($B,$C,$D,$A, 13, 15, @X); - ROUND3($A,$B,$C,$D, 3, 3, @X); ROUND3($D,$A,$B,$C, 11, 9, @X); - ROUND3($C,$D,$A,$B, 7, 11, @X); ROUND3($B,$C,$D,$A, 15, 15, @X); - # We want to change the arguments, so assign them to $_[0] markers - # rather than to $A..$D - $_[0] = add32($A,$AA); $_[1] = add32($B,$BB); - $_[2] = add32($C,$CC); $_[3] = add32($D,$DD); - @X = map { 0 } (1..16); -} - -# Ported from SAMBA/source/lib/md4.c:copy64 -sub copy64 { - my ( @in ) = @_; - my ( $i, @M ); - for $i ( 0..15 ) { - $M[$i] = ($in[$i*4+3]<<24) | ($in[$i*4+2]<<16) | - ($in[$i*4+1]<<8) | ($in[$i*4+0]<<0); - } - return @M; -} -# Ported from SAMBA/source/lib/md4.c:copy4 -sub copy4 { - my ( $x ) = @_; - my ( @out ); - $out[0] = $x&0xFF; - $out[1] = ($x>>8)&0xFF; - $out[2] = ($x>>16)&0xFF; - $out[3] = ($x>>24)&0xFF; - @out = map { $_?$_:0 } @out; - return @out; -} -# Ported from SAMBA/source/lib/md4.c:mdfour -sub mdfour { - my ( @in ) = unpack("C*",$_[0]); - my ( $b, @A, @M, @buf, @out ); - $b = scalar @in * 8; - @A = ( 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476 ); - while (scalar @in > 64 ) { - @M = copy64( @in ); - mdfour64( @A, @M ); - @in = @in[64..$#in]; - } - @buf = ( @in, 0x80, map {0} (1..128) )[0..127]; - if ( scalar @in <= 55 ) { - @buf[56..59] = copy4( $b ); - @M = copy64( @buf ); - mdfour64( @A, @M ); - } - else { - @buf[120..123] = copy4( $b ); - @M = copy64( @buf ); - mdfour64( @A, @M ); - @M = copy64( @buf[64..$#buf] ); - mdfour64( @A, @M ); - } - @out[0..3] = copy4($A[0]); - @out[4..7] = copy4($A[1]); - @out[8..11] = copy4($A[2]); - @out[12..15] = copy4($A[3]); - return @out; -} -# Contants used in lanlam hash calculations -# Ported from SAMBA/source/libsmb/smbdes.c:perm1[56] -my @perm1 = (57, 49, 41, 33, 25, 17, 9, - 1, 58, 50, 42, 34, 26, 18, - 10, 2, 59, 51, 43, 35, 27, - 19, 11, 3, 60, 52, 44, 36, - 63, 55, 47, 39, 31, 23, 15, - 7, 62, 54, 46, 38, 30, 22, - 14, 6, 61, 53, 45, 37, 29, - 21, 13, 5, 28, 20, 12, 4); -# Ported from SAMBA/source/libsmb/smbdes.c:perm2[48] -my @perm2 = (14, 17, 11, 24, 1, 5, - 3, 28, 15, 6, 21, 10, - 23, 19, 12, 4, 26, 8, - 16, 7, 27, 20, 13, 2, - 41, 52, 31, 37, 47, 55, - 30, 40, 51, 45, 33, 48, - 44, 49, 39, 56, 34, 53, - 46, 42, 50, 36, 29, 32); -# Ported from SAMBA/source/libsmb/smbdes.c:perm3[64] -my @perm3 = (58, 50, 42, 34, 26, 18, 10, 2, - 60, 52, 44, 36, 28, 20, 12, 4, - 62, 54, 46, 38, 30, 22, 14, 6, - 64, 56, 48, 40, 32, 24, 16, 8, - 57, 49, 41, 33, 25, 17, 9, 1, - 59, 51, 43, 35, 27, 19, 11, 3, - 61, 53, 45, 37, 29, 21, 13, 5, - 63, 55, 47, 39, 31, 23, 15, 7); -# Ported from SAMBA/source/libsmb/smbdes.c:perm4[48] -my @perm4 = ( 32, 1, 2, 3, 4, 5, - 4, 5, 6, 7, 8, 9, - 8, 9, 10, 11, 12, 13, - 12, 13, 14, 15, 16, 17, - 16, 17, 18, 19, 20, 21, - 20, 21, 22, 23, 24, 25, - 24, 25, 26, 27, 28, 29, - 28, 29, 30, 31, 32, 1); -# Ported from SAMBA/source/libsmb/smbdes.c:perm5[32] -my @perm5 = ( 16, 7, 20, 21, - 29, 12, 28, 17, - 1, 15, 23, 26, - 5, 18, 31, 10, - 2, 8, 24, 14, - 32, 27, 3, 9, - 19, 13, 30, 6, - 22, 11, 4, 25); -# Ported from SAMBA/source/libsmb/smbdes.c:perm6[64] -my @perm6 =( 40, 8, 48, 16, 56, 24, 64, 32, - 39, 7, 47, 15, 55, 23, 63, 31, - 38, 6, 46, 14, 54, 22, 62, 30, - 37, 5, 45, 13, 53, 21, 61, 29, - 36, 4, 44, 12, 52, 20, 60, 28, - 35, 3, 43, 11, 51, 19, 59, 27, - 34, 2, 42, 10, 50, 18, 58, 26, - 33, 1, 41, 9, 49, 17, 57, 25); -# Ported from SAMBA/source/libsmb/smbdes.c:sc[16] -my @sc = (1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1); -# Ported from SAMBA/source/libsmb/smbdes.c:sbox[8][4][16] -# Side note, I used cut and paste for all these numbers, I did NOT -# type them all in =) -my @sbox = ([[14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7], - [ 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8], - [ 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0], - [15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13]], - [[15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10], - [ 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5], - [ 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15], - [13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9]], - [[10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8], - [13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1], - [13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7], - [ 1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12]], - [[ 7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15], - [13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9], - [10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4], - [ 3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14]], - [[ 2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9], - [14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6], - [ 4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14], - [11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3]], - [[12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11], - [10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8], - [ 9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6], - [ 4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13]], - [[ 4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1], - [13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6], - [ 1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2], - [ 6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12]], - [[13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7], - [ 1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2], - [ 7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8], - [ 2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11]]); - -# Ported from SAMBA/source/libsmb/smbdes.c:xor -# Hack: Split arguments in half and then xor's first half of arguments to -# second half of arguments. Probably proper way of doing this would -# be to used referenced variables -sub mxor { - my ( @in ) = @_; - my ( $i, $off, @ret ); - $off = int($#in/2); - for $i ( 0..$off ) { - $ret[$i] = $in[$i] ^ $in[$i+$off+1]; - } - return @ret; -} - -# Ported from SAMBA/source/libsmb/smbdes.c:str_to_key -sub str_to_key { - my ( @str ) = @_; - my ( $i, @key ); - @str = map { $_?$_:0 } @str; - $key[0] = $str[0]>>1; - $key[1] = (($str[0]&0x01)<<6) | ($str[1]>>2); - $key[2] = (($str[1]&0x03)<<5) | ($str[2]>>3); - $key[3] = (($str[2]&0x07)<<4) | ($str[3]>>4); - $key[4] = (($str[3]&0x0F)<<3) | ($str[4]>>5); - $key[5] = (($str[4]&0x1F)<<2) | ($str[5]>>6); - $key[6] = (($str[5]&0x3F)<<1) | ($str[6]>>7); - $key[7] = $str[6]&0x7F; - for $i (0..7) { - $key[$i] = ($key[$i]<<1); - } - return @key; -} -# Ported from SAMBA/source/libsmb/smbdes.c:permute -# Would probably be better to pass in by reference -sub permute { - my ( @a ) = @_; - my ( $i, $n, @in, @p, @out ); - - # Last argument is the count of the perm values - $n = $a[$#a]; - @in = @a[0..($#a-$n-1)]; - @p = @_[($#a-$n)..($#a-1)]; - - for $i ( 0..($n-1) ) { - $out[$i] = $in[$p[$i]-1]?1:0; - } - return @out; -} - -# Ported from SAMBA/source/libsmb/smbdes.c:lshift -# Lazy shifting =) -sub lshift { - my ( $count, @d ) = @_; - $count %= ($#d+1); - @d = (@d,@d)[$count..($#d+$count)]; - return @d; -} - -# Ported from SAMBA/source/libsmb/smbdes.c:dohash -sub dohash { - my ( @a ) = @_; - my ( @in, @key, $forw, @pk1, @c, @d, @ki, @cd, $i, @pd1, @l, @r, @rl, @out ); - - @in = @a[0..63]; - @key = @a[64..($#_-1)]; - $forw = $a[$#a]; - - @pk1 = permute( @key, @perm1, 56 ); - - @c = @pk1[0..27]; - @d = @pk1[28..55]; - - for $i ( 0..15 ) { - @c = lshift( $sc[$i], @c ); - @d = lshift( $sc[$i], @d ); - - @cd = map { $_?1:0 } ( @c, @d ); - $ki[$i] = [ permute( @cd, @perm2, 48 ) ]; - } - - @pd1 = permute( @in, @perm3, 64 ); - - @l = @pd1[0..31]; - @r = @pd1[32..63]; - - for $i ( 0..15 ) { - my ( $j, $k, @b, @er, @erk, @cb, @pcb, @r2 ); - @er = permute( @r, @perm4, 48 ); - @erk = mxor(@er, @{ @ki[$forw?$i:(15-$i)] }); - - for $j ( 0..7 ) { - for $k ( 0..5 ) { - $b[$j][$k] = $erk[$j*6 + $k]; - } - } - for $j ( 0..7 ) { - my ( $m, $n ); - $m = ($b[$j][0]<<1) | $b[$j][5]; - $n = ($b[$j][1]<<3) | ($b[$j][2]<<2) | ($b[$j][3]<<1) | $b[$j][4]; - - for $k ( 0..3 ) { - $b[$j][$k]=($sbox[$j][$m][$n] & (1<<(3-$k)))?1:0; - } - } - for $j ( 0..7 ) { - for $k ( 0..3 ) { - $cb[$j*4+$k]=$b[$j][$k]; - } - } - @pcb = permute( @cb, @perm5, 32); - @r2 = mxor(@l,@pcb); - @l = @r[0..31]; - @r = @r2[0..31]; - } - @rl = ( @r, @l ); - @out = permute( @rl, @perm6, 64 ); - return @out; -} - -# Ported from SAMBA/source/libsmb/smbdes.c:smbhash -sub smbhash{ - my ( @in, @key, $forw, @outb, @out, @inb, @keyb, @key2, $i ); - @in = @_[0..7]; - @key = @_[8..14]; - $forw = $_[$#_]; - - @key2 = str_to_key(@key); - - for $i ( 0..63 ) { - $inb[$i] = ( $in[$i/8] & (1<<(7-($i%8)))) ? 1:0; - $keyb[$i] = ( $key2[$i/8] & (1<<(7-($i%8)))) ? 1:0; - $outb[$i] = 0; - } - @outb = dohash(@inb,@keyb,$forw); - for $i ( 0..7 ) { - $out[$i] = 0; - } - for $i ( 0..64 ) { - if ( $outb[$i] ) { - $out[$i/8] |= (1<<(7-($i%8))); - } - } - return @out; -} - -# Ported from SAMBA/source/libsmb/smbdes.c:E_P16 -sub E_P16 { - my ( @p16, @p14, @sp8 ); - @p16 = map { 0 } (1..16); - @p14 = unpack("C*",$_[0]); - @sp8 = ( 0x4b, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25 ); - @p16 = (smbhash(@sp8,@p14[0..6],1),smbhash(@sp8,@p14[7..13],1)); - return @p16; -} - -if ($ARGV[0] eq 'nt') { print nthash($ARGV[1])."\n"; } -if ($ARGV[0] eq 'lm') { print lmhash($ARGV[1])."\n"; } - diff --git a/lam-0.4/lib/font/courier.php b/lam-0.4/lib/font/courier.php deleted file mode 100644 index 4c009f39..00000000 --- a/lam-0.4/lib/font/courier.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/lam-0.4/lib/font/helvetica.php b/lam-0.4/lib/font/helvetica.php deleted file mode 100644 index 8fa7683e..00000000 --- a/lam-0.4/lib/font/helvetica.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, - 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, - chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, - chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/lam-0.4/lib/font/helveticab.php b/lam-0.4/lib/font/helveticab.php deleted file mode 100644 index a8473c94..00000000 --- a/lam-0.4/lib/font/helveticab.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, - 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, - 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, - chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, - chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); -?> diff --git a/lam-0.4/lib/font/helveticabi.php b/lam-0.4/lib/font/helveticabi.php deleted file mode 100644 index 41379537..00000000 --- a/lam-0.4/lib/font/helveticabi.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, - 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, - 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, - chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, - chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); -?> diff --git a/lam-0.4/lib/font/helveticai.php b/lam-0.4/lib/font/helveticai.php deleted file mode 100644 index d5bb6e09..00000000 --- a/lam-0.4/lib/font/helveticai.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, - 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, - chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, - chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/lam-0.4/lib/font/symbol.php b/lam-0.4/lib/font/symbol.php deleted file mode 100644 index b556ed84..00000000 --- a/lam-0.4/lib/font/symbol.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, - ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, - 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, - 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, - 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, - chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, - chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, - chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, - chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, - chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, - chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); -?> diff --git a/lam-0.4/lib/font/times.php b/lam-0.4/lib/font/times.php deleted file mode 100644 index b9be1b21..00000000 --- a/lam-0.4/lib/font/times.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, - 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, - 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, - 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, - chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); -?> diff --git a/lam-0.4/lib/font/timesb.php b/lam-0.4/lib/font/timesb.php deleted file mode 100644 index c3eb9fa7..00000000 --- a/lam-0.4/lib/font/timesb.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, - 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, - 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, - chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/lam-0.4/lib/font/timesbi.php b/lam-0.4/lib/font/timesbi.php deleted file mode 100644 index 161f6302..00000000 --- a/lam-0.4/lib/font/timesbi.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, - 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, - 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, - 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, - chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); -?> diff --git a/lam-0.4/lib/font/timesi.php b/lam-0.4/lib/font/timesi.php deleted file mode 100644 index de171fd1..00000000 --- a/lam-0.4/lib/font/timesi.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, - 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, - 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, - 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, - chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, - chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, - chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); -?> diff --git a/lam-0.4/lib/font/zapfdingbats.php b/lam-0.4/lib/font/zapfdingbats.php deleted file mode 100644 index f2bdfd5c..00000000 --- a/lam-0.4/lib/font/zapfdingbats.php +++ /dev/null @@ -1,15 +0,0 @@ -0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, - chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, - ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, - 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, - 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, - 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, - chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, - chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, - chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, - chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, - chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, - chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); -?> diff --git a/lam-0.4/lib/fpdf.php b/lam-0.4/lib/fpdf.php deleted file mode 100644 index c307b7ba..00000000 --- a/lam-0.4/lib/fpdf.php +++ /dev/null @@ -1,1618 +0,0 @@ -_dochecks(); - //Initialization of properties - $this->page=0; - $this->n=2; - $this->buffer=''; - $this->pages=array(); - $this->OrientationChanges=array(); - $this->state=0; - $this->fonts=array(); - $this->FontFiles=array(); - $this->diffs=array(); - $this->images=array(); - $this->links=array(); - $this->InFooter=false; - $this->lasth=0; - $this->FontFamily=''; - $this->FontStyle=''; - $this->FontSizePt=12; - $this->underline=false; - $this->DrawColor='0 G'; - $this->FillColor='0 g'; - $this->TextColor='0 g'; - $this->ColorFlag=false; - $this->ws=0; - //Standard fonts - $this->CoreFonts=array('courier'=>'Courier','courierB'=>'Courier-Bold','courierI'=>'Courier-Oblique','courierBI'=>'Courier-BoldOblique', - 'helvetica'=>'Helvetica','helveticaB'=>'Helvetica-Bold','helveticaI'=>'Helvetica-Oblique','helveticaBI'=>'Helvetica-BoldOblique', - 'times'=>'Times-Roman','timesB'=>'Times-Bold','timesI'=>'Times-Italic','timesBI'=>'Times-BoldItalic', - 'symbol'=>'Symbol','zapfdingbats'=>'ZapfDingbats'); - //Scale factor - if($unit=='pt') - $this->k=1; - elseif($unit=='mm') - $this->k=72/25.4; - elseif($unit=='cm') - $this->k=72/2.54; - elseif($unit=='in') - $this->k=72; - else - $this->Error('Incorrect unit: '.$unit); - //Page format - if(is_string($format)) - { - $format=strtolower($format); - if($format=='a3') - $format=array(841.89,1190.55); - elseif($format=='a4') - $format=array(595.28,841.89); - elseif($format=='a5') - $format=array(420.94,595.28); - elseif($format=='letter') - $format=array(612,792); - elseif($format=='legal') - $format=array(612,1008); - else - $this->Error('Unknown page format: '.$format); - $this->fwPt=$format[0]; - $this->fhPt=$format[1]; - } - else - { - $this->fwPt=$format[0]*$this->k; - $this->fhPt=$format[1]*$this->k; - } - $this->fw=$this->fwPt/$this->k; - $this->fh=$this->fhPt/$this->k; - //Page orientation - $orientation=strtolower($orientation); - if($orientation=='p' or $orientation=='portrait') - { - $this->DefOrientation='P'; - $this->wPt=$this->fwPt; - $this->hPt=$this->fhPt; - } - elseif($orientation=='l' or $orientation=='landscape') - { - $this->DefOrientation='L'; - $this->wPt=$this->fhPt; - $this->hPt=$this->fwPt; - } - else - $this->Error('Incorrect orientation: '.$orientation); - $this->CurOrientation=$this->DefOrientation; - $this->w=$this->wPt/$this->k; - $this->h=$this->hPt/$this->k; - //Page margins (1 cm) - $margin=28.35/$this->k; - $this->SetMargins($margin,$margin); - //Interior cell margin (1 mm) - $this->cMargin=$margin/10; - //Line width (0.2 mm) - $this->LineWidth=.567/$this->k; - //Automatic page break - $this->SetAutoPageBreak(true,2*$margin); - //Full width display mode - $this->SetDisplayMode('fullwidth'); - //Compression - $this->SetCompression(true); -} - -function SetMargins($left,$top,$right=-1) -{ - //Set left, top and right margins - $this->lMargin=$left; - $this->tMargin=$top; - if($right==-1) - $right=$left; - $this->rMargin=$right; -} - -function SetLeftMargin($margin) -{ - //Set left margin - $this->lMargin=$margin; - if($this->page>0 and $this->x<$margin) - $this->x=$margin; -} - -function SetTopMargin($margin) -{ - //Set top margin - $this->tMargin=$margin; -} - -function SetRightMargin($margin) -{ - //Set right margin - $this->rMargin=$margin; -} - -function SetAutoPageBreak($auto,$margin=0) -{ - //Set auto page break mode and triggering margin - $this->AutoPageBreak=$auto; - $this->bMargin=$margin; - $this->PageBreakTrigger=$this->h-$margin; -} - -function SetDisplayMode($zoom,$layout='continuous') -{ - //Set display mode in viewer - if($zoom=='fullpage' or $zoom=='fullwidth' or $zoom=='real' or $zoom=='default' or !is_string($zoom)) - $this->ZoomMode=$zoom; - else - $this->Error('Incorrect zoom display mode: '.$zoom); - if($layout=='single' or $layout=='continuous' or $layout=='two' or $layout=='default') - $this->LayoutMode=$layout; - else - $this->Error('Incorrect layout display mode: '.$layout); -} - -function SetCompression($compress) -{ - //Set page compression - if(function_exists('gzcompress')) - $this->compress=$compress; - else - $this->compress=false; -} - -function SetTitle($title) -{ - //Title of document - $this->title=$title; -} - -function SetSubject($subject) -{ - //Subject of document - $this->subject=$subject; -} - -function SetAuthor($author) -{ - //Author of document - $this->author=$author; -} - -function SetKeywords($keywords) -{ - //Keywords of document - $this->keywords=$keywords; -} - -function SetCreator($creator) -{ - //Creator of document - $this->creator=$creator; -} - -function AliasNbPages($alias='{nb}') -{ - //Define an alias for total number of pages - $this->AliasNbPages=$alias; -} - -function Error($msg) -{ - //Fatal error - die('FPDF error: '.$msg); -} - -function Open() -{ - //Begin document - if($this->state==0) - $this->_begindoc(); -} - -function Close() -{ - //Terminate document - if($this->state==3) - return; - if($this->page==0) - $this->AddPage(); - //Page footer - $this->InFooter=true; - $this->Footer(); - $this->InFooter=false; - //Close page - $this->_endpage(); - //Close document - $this->_enddoc(); -} - -function AddPage($orientation='') -{ - //Start a new page - if($this->state==0) - $this->Open(); - $family=$this->FontFamily; - $style=$this->FontStyle.($this->underline ? 'U' : ''); - $size=$this->FontSizePt; - $lw=$this->LineWidth; - $dc=$this->DrawColor; - $fc=$this->FillColor; - $tc=$this->TextColor; - $cf=$this->ColorFlag; - if($this->page>0) - { - //Page footer - $this->InFooter=true; - $this->Footer(); - $this->InFooter=false; - //Close page - $this->_endpage(); - } - //Start new page - $this->_beginpage($orientation); - //Set line cap style to square - $this->_out('2 J'); - //Set line width - $this->LineWidth=$lw; - $this->_out(sprintf('%.2f w',$lw*$this->k)); - //Set font - if($family) - $this->SetFont($family,$style,$size); - //Set colors - $this->DrawColor=$dc; - if($dc!='0 G') - $this->_out($dc); - $this->FillColor=$fc; - if($fc!='0 g') - $this->_out($fc); - $this->TextColor=$tc; - $this->ColorFlag=$cf; - //Page header - $this->Header(); - //Restore line width - if($this->LineWidth!=$lw) - { - $this->LineWidth=$lw; - $this->_out(sprintf('%.2f w',$lw*$this->k)); - } - //Restore font - if($family) - $this->SetFont($family,$style,$size); - //Restore colors - if($this->DrawColor!=$dc) - { - $this->DrawColor=$dc; - $this->_out($dc); - } - if($this->FillColor!=$fc) - { - $this->FillColor=$fc; - $this->_out($fc); - } - $this->TextColor=$tc; - $this->ColorFlag=$cf; -} - -function Header() -{ - //To be implemented in your own inherited class -} - -function Footer() -{ - //To be implemented in your own inherited class -} - -function PageNo() -{ - //Get current page number - return $this->page; -} - -function SetDrawColor($r,$g=-1,$b=-1) -{ - //Set color for all stroking operations - if(($r==0 and $g==0 and $b==0) or $g==-1) - $this->DrawColor=sprintf('%.3f G',$r/255); - else - $this->DrawColor=sprintf('%.3f %.3f %.3f RG',$r/255,$g/255,$b/255); - if($this->page>0) - $this->_out($this->DrawColor); -} - -function SetFillColor($r,$g=-1,$b=-1) -{ - //Set color for all filling operations - if(($r==0 and $g==0 and $b==0) or $g==-1) - $this->FillColor=sprintf('%.3f g',$r/255); - else - $this->FillColor=sprintf('%.3f %.3f %.3f rg',$r/255,$g/255,$b/255); - $this->ColorFlag=($this->FillColor!=$this->TextColor); - if($this->page>0) - $this->_out($this->FillColor); -} - -function SetTextColor($r,$g=-1,$b=-1) -{ - //Set color for text - if(($r==0 and $g==0 and $b==0) or $g==-1) - $this->TextColor=sprintf('%.3f g',$r/255); - else - $this->TextColor=sprintf('%.3f %.3f %.3f rg',$r/255,$g/255,$b/255); - $this->ColorFlag=($this->FillColor!=$this->TextColor); -} - -function GetStringWidth($s) -{ - //Get width of a string in the current font - $s=(string)$s; - $cw=&$this->CurrentFont['cw']; - $w=0; - $l=strlen($s); - for($i=0;$i<$l;$i++) - $w+=$cw[$s{$i}]; - return $w*$this->FontSize/1000; -} - -function SetLineWidth($width) -{ - //Set line width - $this->LineWidth=$width; - if($this->page>0) - $this->_out(sprintf('%.2f w',$width*$this->k)); -} - -function Line($x1,$y1,$x2,$y2) -{ - //Draw a line - $this->_out(sprintf('%.2f %.2f m %.2f %.2f l S',$x1*$this->k,($this->h-$y1)*$this->k,$x2*$this->k,($this->h-$y2)*$this->k)); -} - -function Rect($x,$y,$w,$h,$style='') -{ - //Draw a rectangle - if($style=='F') - $op='f'; - elseif($style=='FD' or $style=='DF') - $op='B'; - else - $op='S'; - $this->_out(sprintf('%.2f %.2f %.2f %.2f re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); -} - -function AddFont($family,$style='',$file='') -{ - //Add a TrueType or Type1 font - $family=strtolower($family); - if($family=='arial') - $family='helvetica'; - $style=strtoupper($style); - if($style=='IB') - $style='BI'; - if(isset($this->fonts[$family.$style])) - $this->Error('Font already added: '.$family.' '.$style); - if($file=='') - $file=str_replace(' ','',$family).strtolower($style).'.php'; - if(defined('FPDF_FONTPATH')) - $file=FPDF_FONTPATH.$file; - include($file); - if(!isset($name)) - $this->Error('Could not include font definition file'); - $i=count($this->fonts)+1; - $this->fonts[$family.$style]=array('i'=>$i,'type'=>$type,'name'=>$name,'desc'=>$desc,'up'=>$up,'ut'=>$ut,'cw'=>$cw,'enc'=>$enc,'file'=>$file); - if($diff) - { - //Search existing encodings - $d=0; - $nb=count($this->diffs); - for($i=1;$i<=$nb;$i++) - if($this->diffs[$i]==$diff) - { - $d=$i; - break; - } - if($d==0) - { - $d=$nb+1; - $this->diffs[$d]=$diff; - } - $this->fonts[$family.$style]['diff']=$d; - } - if($file) - { - if($type=='TrueType') - $this->FontFiles[$file]=array('length1'=>$originalsize); - else - $this->FontFiles[$file]=array('length1'=>$size1,'length2'=>$size2); - } -} - -function SetFont($family,$style='',$size=0) -{ - //Select a font; size given in points - global $fpdf_charwidths; - - $family=strtolower($family); - if($family=='') - $family=$this->FontFamily; - if($family=='arial') - $family='helvetica'; - elseif($family=='symbol' or $family=='zapfdingbats') - $style=''; - $style=strtoupper($style); - if(is_int(strpos($style,'U'))) - { - $this->underline=true; - $style=str_replace('U','',$style); - } - else - $this->underline=false; - if($style=='IB') - $style='BI'; - if($size==0) - $size=$this->FontSizePt; - //Test if font is already selected - if($this->FontFamily==$family and $this->FontStyle==$style and $this->FontSizePt==$size) - return; - //Test if used for the first time - $fontkey=$family.$style; - if(!isset($this->fonts[$fontkey])) - { - //Check if one of the standard fonts - if(isset($this->CoreFonts[$fontkey])) - { - if(!isset($fpdf_charwidths[$fontkey])) - { - //Load metric file - $file=$family; - if($family=='times' or $family=='helvetica') - $file.=strtolower($style); - $file.='.php'; - if(defined('FPDF_FONTPATH')) - $file=FPDF_FONTPATH.$file; - include($file); - if(!isset($fpdf_charwidths[$fontkey])) - $this->Error('Could not include font metric file'); - } - $i=count($this->fonts)+1; - $this->fonts[$fontkey]=array('i'=>$i,'type'=>'core','name'=>$this->CoreFonts[$fontkey],'up'=>-100,'ut'=>50,'cw'=>$fpdf_charwidths[$fontkey]); - } - else - $this->Error('Undefined font: '.$family.' '.$style); - } - //Select it - $this->FontFamily=$family; - $this->FontStyle=$style; - $this->FontSizePt=$size; - $this->FontSize=$size/$this->k; - $this->CurrentFont=&$this->fonts[$fontkey]; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2f Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function SetFontSize($size) -{ - //Set font size in points - if($this->FontSizePt==$size) - return; - $this->FontSizePt=$size; - $this->FontSize=$size/$this->k; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2f Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function AddLink() -{ - //Create a new internal link - $n=count($this->links)+1; - $this->links[$n]=array(0,0); - return $n; -} - -function SetLink($link,$y=0,$page=-1) -{ - //Set destination of internal link - if($y==-1) - $y=$this->y; - if($page==-1) - $page=$this->page; - $this->links[$link]=array($page,$y); -} - -function Link($x,$y,$w,$h,$link) -{ - //Put a link on the page - $this->PageLinks[$this->page][]=array($x*$this->k,$this->hPt-$y*$this->k,$w*$this->k,$h*$this->k,$link); -} - -function Text($x,$y,$txt) -{ - //Output a string - $s=sprintf('BT %.2f %.2f Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt)); - if($this->underline and $txt!='') - $s.=' '.$this->_dounderline($x,$y,$txt); - if($this->ColorFlag) - $s='q '.$this->TextColor.' '.$s.' Q'; - $this->_out($s); -} - -function AcceptPageBreak() -{ - //Accept automatic page break or not - return $this->AutoPageBreak; -} - -function Cell($w,$h=0,$txt='',$border=0,$ln=0,$align='',$fill=0,$link='') -{ - //Output a cell - $k=$this->k; - if($this->y+$h>$this->PageBreakTrigger and !$this->InFooter and $this->AcceptPageBreak()) - { - //Automatic page break - $x=$this->x; - $ws=$this->ws; - if($ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->AddPage($this->CurOrientation); - $this->x=$x; - if($ws>0) - { - $this->ws=$ws; - $this->_out(sprintf('%.3f Tw',$ws*$k)); - } - } - if($w==0) - $w=$this->w-$this->rMargin-$this->x; - $s=''; - if($fill==1 or $border==1) - { - if($fill==1) - $op=($border==1) ? 'B' : 'f'; - else - $op='S'; - $s=sprintf('%.2f %.2f %.2f %.2f re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op); - } - if(is_string($border)) - { - $x=$this->x; - $y=$this->y; - if(is_int(strpos($border,'L'))) - $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); - if(is_int(strpos($border,'T'))) - $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); - if(is_int(strpos($border,'R'))) - $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - if(is_int(strpos($border,'B'))) - $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - } - if($txt!='') - { - if($align=='R') - $dx=$w-$this->cMargin-$this->GetStringWidth($txt); - elseif($align=='C') - $dx=($w-$this->GetStringWidth($txt))/2; - else - $dx=$this->cMargin; - if($this->ColorFlag) - $s.='q '.$this->TextColor.' '; - $txt2=str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$txt))); - $s.=sprintf('BT %.2f %.2f Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->FontSize))*$k,$txt2); - if($this->underline) - $s.=' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt); - if($this->ColorFlag) - $s.=' Q'; - if($link) - $this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->FontSize,$link); - } - if($s) - $this->_out($s); - $this->lasth=$h; - if($ln>0) - { - //Go to next line - $this->y+=$h; - if($ln==1) - $this->x=$this->lMargin; - } - else - $this->x+=$w; -} - -function MultiCell($w,$h,$txt,$border=0,$align='J',$fill=0) -{ - //Output text with automatic or explicit line breaks - $cw=&$this->CurrentFont['cw']; - if($w==0) - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $s=str_replace("\r",'',$txt); - $nb=strlen($s); - if($nb>0 and $s[$nb-1]=="\n") - $nb--; - $b=0; - if($border) - { - if($border==1) - { - $border='LTRB'; - $b='LRT'; - $b2='LR'; - } - else - { - $b2=''; - if(is_int(strpos($border,'L'))) - $b2.='L'; - if(is_int(strpos($border,'R'))) - $b2.='R'; - $b=is_int(strpos($border,'T')) ? $b2.'T' : $b2; - } - } - $sep=-1; - $i=0; - $j=0; - $l=0; - $ns=0; - $nl=1; - while($i<$nb) - { - //Get next character - $c=$s{$i}; - if($c=="\n") - { - //Explicit line break - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $i++; - $sep=-1; - $j=$i; - $l=0; - $ns=0; - $nl++; - if($border and $nl==2) - $b=$b2; - continue; - } - if($c==' ') - { - $sep=$i; - $ls=$l; - $ns++; - } - $l+=$cw[$c]; - if($l>$wmax) - { - //Automatic line break - if($sep==-1) - { - if($i==$j) - $i++; - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - } - else - { - if($align=='J') - { - $this->ws=($ns>1) ? ($wmax-$ls)/1000*$this->FontSize/($ns-1) : 0; - $this->_out(sprintf('%.3f Tw',$this->ws*$this->k)); - } - $this->Cell($w,$h,substr($s,$j,$sep-$j),$b,2,$align,$fill); - $i=$sep+1; - } - $sep=-1; - $j=$i; - $l=0; - $ns=0; - $nl++; - if($border and $nl==2) - $b=$b2; - } - else - $i++; - } - //Last chunk - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - if($border and is_int(strpos($border,'B'))) - $b.='B'; - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $this->x=$this->lMargin; -} - -function Write($h,$txt,$link='') -{ - //Output text in flowing mode - $cw=&$this->CurrentFont['cw']; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $s=str_replace("\r",'',$txt); - $nb=strlen($s); - $sep=-1; - $i=0; - $j=0; - $l=0; - $nl=1; - while($i<$nb) - { - //Get next character - $c=$s{$i}; - if($c=="\n") - { - //Explicit line break - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - $i++; - $sep=-1; - $j=$i; - $l=0; - if($nl==1) - { - $this->x=$this->lMargin; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - continue; - } - if($c==' ') - $sep=$i; - $l+=$cw[$c]; - if($l>$wmax) - { - //Automatic line break - if($sep==-1) - { - if($this->x>$this->lMargin) - { - //Move to next line - $this->x=$this->lMargin; - $this->y+=$h; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $i++; - $nl++; - continue; - } - if($i==$j) - $i++; - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - } - else - { - $this->Cell($w,$h,substr($s,$j,$sep-$j),0,2,'',0,$link); - $i=$sep+1; - } - $sep=-1; - $j=$i; - $l=0; - if($nl==1) - { - $this->x=$this->lMargin; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - } - else - $i++; - } - //Last chunk - if($i!=$j) - $this->Cell($l/1000*$this->FontSize,$h,substr($s,$j),0,0,'',0,$link); -} - -function Image($file,$x,$y,$w=0,$h=0,$type='',$link='') -{ - //Put an image on the page - if(!isset($this->images[$file])) - { - //First use of image, get info - if($type=='') - { - $pos=strrpos($file,'.'); - if(!$pos) - $this->Error('Image file has no extension and no type was specified: '.$file); - $type=substr($file,$pos+1); - } - $type=strtolower($type); - $mqr=get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - if($type=='jpg' or $type=='jpeg') - $info=$this->_parsejpg($file); - elseif($type=='png') - $info=$this->_parsepng($file); - else - { - //Allow for additional formats - $mtd='_parse'.$type; - if(!method_exists($this,$mtd)) - $this->Error('Unsupported image type: '.$type); - $info=$this->$mtd($file); - } - set_magic_quotes_runtime($mqr); - $info['i']=count($this->images)+1; - $this->images[$file]=$info; - } - else - $info=$this->images[$file]; - //Automatic width and height calculation if needed - if($w==0 and $h==0) - { - //Put image at 72 dpi - $w=$info['w']/$this->k; - $h=$info['h']/$this->k; - } - if($w==0) - $w=$h*$info['w']/$info['h']; - if($h==0) - $h=$w*$info['h']/$info['w']; - $this->_out(sprintf('q %.2f 0 0 %.2f %.2f %.2f cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i'])); - if($link) - $this->Link($x,$y,$w,$h,$link); -} - -function Ln($h='') -{ - //Line feed; default value is last cell height - $this->x=$this->lMargin; - if(is_string($h)) - $this->y+=$this->lasth; - else - $this->y+=$h; -} - -function GetX() -{ - //Get x position - return $this->x; -} - -function SetX($x) -{ - //Set x position - if($x>=0) - $this->x=$x; - else - $this->x=$this->w+$x; -} - -function GetY() -{ - //Get y position - return $this->y; -} - -function SetY($y) -{ - //Set y position and reset x - $this->x=$this->lMargin; - if($y>=0) - $this->y=$y; - else - $this->y=$this->h+$y; -} - -function SetXY($x,$y) -{ - //Set x and y positions - $this->SetY($y); - $this->SetX($x); -} - -function Output($name='',$dest='') -{ - //Output PDF to some destination - global $HTTP_SERVER_VARS; - - //Finish document if necessary - if($this->state<3) - $this->Close(); - //Normalize parameters - if(is_bool($dest)) - $dest=$dest ? 'D' : 'F'; - $dest=strtoupper($dest); - if($dest=='') - { - if($name=='') - { - $name='doc.pdf'; - $dest='I'; - } - else - $dest='F'; - } - switch($dest) - { - case 'I': - //Send to standard output - if(isset($HTTP_SERVER_VARS['SERVER_NAME'])) - { - //We send to a browser - Header('Content-Type: application/pdf'); - if(headers_sent()) - $this->Error('Some data has already been output to browser, can\'t send PDF file'); - Header('Content-Length: '.strlen($this->buffer)); - Header('Content-disposition: inline; filename='.$name); - } - echo $this->buffer; - break; - case 'D': - //Download file - if(isset($HTTP_SERVER_VARS['HTTP_USER_AGENT']) and strpos($HTTP_SERVER_VARS['HTTP_USER_AGENT'],'MSIE')) - Header('Content-Type: application/force-download'); - else - Header('Content-Type: application/octet-stream'); - if(headers_sent()) - $this->Error('Some data has already been output to browser, can\'t send PDF file'); - Header('Content-Length: '.strlen($this->buffer)); - Header('Content-disposition: attachment; filename='.$name); - echo $this->buffer; - break; - case 'F': - //Save to local file - $f=fopen($name,'wb'); - if(!$f) - $this->Error('Unable to create output file: '.$name); - fwrite($f,$this->buffer,strlen($this->buffer)); - fclose($f); - break; - case 'S': - //Return as a string - return $this->buffer; - default: - $this->Error('Incorrect output destination: '.$dest); - } - return ''; -} - -/******************************************************************************* -* * -* Protected methods * -* * -*******************************************************************************/ -function _dochecks() -{ - //Check for locale-related bug - if(1.1==1) - $this->Error('Don\'t alter the locale before including class file'); - //Check for decimal separator - if(sprintf('%.1f',1.0)!='1.0') - setlocale(LC_NUMERIC,'C'); -} - -function _begindoc() -{ - //Start document - $this->state=1; - $this->_out('%PDF-1.3'); -} - -function _putpages() -{ - $nb=$this->page; - if(!empty($this->AliasNbPages)) - { - //Replace number of pages - for($n=1;$n<=$nb;$n++) - $this->pages[$n]=str_replace($this->AliasNbPages,$nb,$this->pages[$n]); - } - if($this->DefOrientation=='P') - { - $wPt=$this->fwPt; - $hPt=$this->fhPt; - } - else - { - $wPt=$this->fhPt; - $hPt=$this->fwPt; - } - $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; - for($n=1;$n<=$nb;$n++) - { - //Page - $this->_newobj(); - $this->_out('<_out('/Parent 1 0 R'); - if(isset($this->OrientationChanges[$n])) - $this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$hPt,$wPt)); - $this->_out('/Resources 2 0 R'); - if(isset($this->PageLinks[$n])) - { - //Links - $annots='/Annots ['; - foreach($this->PageLinks[$n] as $pl) - { - $rect=sprintf('%.2f %.2f %.2f %.2f',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); - $annots.='<_textstring($pl[4]).'>>>>'; - else - { - $l=$this->links[$pl[4]]; - $h=isset($this->OrientationChanges[$l[0]]) ? $wPt : $hPt; - $annots.=sprintf('/Dest [%d 0 R /XYZ 0 %.2f null]>>',1+2*$l[0],$h-$l[1]*$this->k); - } - } - $this->_out($annots.']'); - } - $this->_out('/Contents '.($this->n+1).' 0 R>>'); - $this->_out('endobj'); - //Page content - $p=($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; - $this->_newobj(); - $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); - $this->_putstream($p); - $this->_out('endobj'); - } - //Pages root - $this->offsets[1]=strlen($this->buffer); - $this->_out('1 0 obj'); - $this->_out('<_out($kids.']'); - $this->_out('/Count '.$nb); - $this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$wPt,$hPt)); - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putfonts() -{ - $nf=$this->n; - foreach($this->diffs as $diff) - { - //Encodings - $this->_newobj(); - $this->_out('<>'); - $this->_out('endobj'); - } - $mqr=get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - foreach($this->FontFiles as $file=>$info) - { - //Font file embedding - $this->_newobj(); - $this->FontFiles[$file]['n']=$this->n; - if(defined('FPDF_FONTPATH')) - $file=FPDF_FONTPATH.$file; - $size=filesize($file); - if(!$size) - $this->Error('Font file not found'); - $this->_out('<_out('/Filter /FlateDecode'); - $this->_out('/Length1 '.$info['length1']); - if(isset($info['length2'])) - $this->_out('/Length2 '.$info['length2'].' /Length3 0'); - $this->_out('>>'); - $f=fopen($file,'rb'); - $this->_putstream(fread($f,$size)); - fclose($f); - $this->_out('endobj'); - } - set_magic_quotes_runtime($mqr); - foreach($this->fonts as $k=>$font) - { - //Font objects - $this->fonts[$k]['n']=$this->n+1; - $type=$font['type']; - $name=$font['name']; - if($type=='core') - { - //Standard font - $this->_newobj(); - $this->_out('<_out('/BaseFont /'.$name); - $this->_out('/Subtype /Type1'); - if($name!='Symbol' and $name!='ZapfDingbats') - $this->_out('/Encoding /WinAnsiEncoding'); - $this->_out('>>'); - $this->_out('endobj'); - } - elseif($type=='Type1' or $type=='TrueType') - { - //Additional Type1 or TrueType font - $this->_newobj(); - $this->_out('<_out('/BaseFont /'.$name); - $this->_out('/Subtype /'.$type); - $this->_out('/FirstChar 32 /LastChar 255'); - $this->_out('/Widths '.($this->n+1).' 0 R'); - $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); - if($font['enc']) - { - if(isset($font['diff'])) - $this->_out('/Encoding '.($nf+$font['diff']).' 0 R'); - else - $this->_out('/Encoding /WinAnsiEncoding'); - } - $this->_out('>>'); - $this->_out('endobj'); - //Widths - $this->_newobj(); - $cw=&$font['cw']; - $s='['; - for($i=32;$i<=255;$i++) - $s.=$cw[chr($i)].' '; - $this->_out($s.']'); - $this->_out('endobj'); - //Descriptor - $this->_newobj(); - $s='<$v) - $s.=' /'.$k.' '.$v; - $file=$font['file']; - if($file) - $s.=' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$file]['n'].' 0 R'; - $this->_out($s.'>>'); - $this->_out('endobj'); - } - else - { - //Allow for additional types - $mtd='_put'.strtolower($type); - if(!method_exists($this,$mtd)) - $this->Error('Unsupported font type: '.$type); - $this->$mtd($font); - } - } -} - -function _putimages() -{ - $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; - reset($this->images); - while(list($file,$info)=each($this->images)) - { - $this->_newobj(); - $this->images[$file]['n']=$this->n; - $this->_out('<_out('/Subtype /Image'); - $this->_out('/Width '.$info['w']); - $this->_out('/Height '.$info['h']); - if($info['cs']=='Indexed') - $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); - else - { - $this->_out('/ColorSpace /'.$info['cs']); - if($info['cs']=='DeviceCMYK') - $this->_out('/Decode [1 0 1 0 1 0 1 0]'); - } - $this->_out('/BitsPerComponent '.$info['bpc']); - $this->_out('/Filter /'.$info['f']); - if(isset($info['parms'])) - $this->_out($info['parms']); - if(isset($info['trns']) and is_array($info['trns'])) - { - $trns=''; - for($i=0;$i_out('/Mask ['.$trns.']'); - } - $this->_out('/Length '.strlen($info['data']).'>>'); - $this->_putstream($info['data']); - unset($this->images[$file]['data']); - $this->_out('endobj'); - //Palette - if($info['cs']=='Indexed') - { - $this->_newobj(); - $pal=($this->compress) ? gzcompress($info['pal']) : $info['pal']; - $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); - $this->_putstream($pal); - $this->_out('endobj'); - } - } -} - -function _putresources() -{ - $this->_putfonts(); - $this->_putimages(); - //Resource dictionary - $this->offsets[2]=strlen($this->buffer); - $this->_out('2 0 obj'); - $this->_out('<_out('/Font <<'); - foreach($this->fonts as $font) - $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); - $this->_out('>>'); - if(count($this->images)) - { - $this->_out('/XObject <<'); - foreach($this->images as $image) - $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); - $this->_out('>>'); - } - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putinfo() -{ - $this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION)); - if(!empty($this->title)) - $this->_out('/Title '.$this->_textstring($this->title)); - if(!empty($this->subject)) - $this->_out('/Subject '.$this->_textstring($this->subject)); - if(!empty($this->author)) - $this->_out('/Author '.$this->_textstring($this->author)); - if(!empty($this->keywords)) - $this->_out('/Keywords '.$this->_textstring($this->keywords)); - if(!empty($this->creator)) - $this->_out('/Creator '.$this->_textstring($this->creator)); - $this->_out('/CreationDate '.$this->_textstring('D:'.date('YmdHis'))); -} - -function _putcatalog() -{ - $this->_out('/Type /Catalog'); - $this->_out('/Pages 1 0 R'); - if($this->ZoomMode=='fullpage') - $this->_out('/OpenAction [3 0 R /Fit]'); - elseif($this->ZoomMode=='fullwidth') - $this->_out('/OpenAction [3 0 R /FitH null]'); - elseif($this->ZoomMode=='real') - $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); - elseif(!is_string($this->ZoomMode)) - $this->_out('/OpenAction [3 0 R /XYZ null null '.($this->ZoomMode/100).']'); - if($this->LayoutMode=='single') - $this->_out('/PageLayout /SinglePage'); - elseif($this->LayoutMode=='continuous') - $this->_out('/PageLayout /OneColumn'); - elseif($this->LayoutMode=='two') - $this->_out('/PageLayout /TwoColumnLeft'); -} - -function _puttrailer() -{ - $this->_out('/Size '.($this->n+1)); - $this->_out('/Root '.$this->n.' 0 R'); - $this->_out('/Info '.($this->n-1).' 0 R'); -} - -function _enddoc() -{ - $this->_putpages(); - $this->_putresources(); - //Info - $this->_newobj(); - $this->_out('<<'); - $this->_putinfo(); - $this->_out('>>'); - $this->_out('endobj'); - //Catalog - $this->_newobj(); - $this->_out('<<'); - $this->_putcatalog(); - $this->_out('>>'); - $this->_out('endobj'); - //Cross-ref - $o=strlen($this->buffer); - $this->_out('xref'); - $this->_out('0 '.($this->n+1)); - $this->_out('0000000000 65535 f '); - for($i=1;$i<=$this->n;$i++) - $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); - //Trailer - $this->_out('trailer'); - $this->_out('<<'); - $this->_puttrailer(); - $this->_out('>>'); - $this->_out('startxref'); - $this->_out($o); - $this->_out('%%EOF'); - $this->state=3; -} - -function _beginpage($orientation) -{ - $this->page++; - $this->pages[$this->page]=''; - $this->state=2; - $this->x=$this->lMargin; - $this->y=$this->tMargin; - $this->FontFamily=''; - //Page orientation - if(!$orientation) - $orientation=$this->DefOrientation; - else - { - $orientation=strtoupper($orientation{0}); - if($orientation!=$this->DefOrientation) - $this->OrientationChanges[$this->page]=true; - } - if($orientation!=$this->CurOrientation) - { - //Change orientation - if($orientation=='P') - { - $this->wPt=$this->fwPt; - $this->hPt=$this->fhPt; - $this->w=$this->fw; - $this->h=$this->fh; - } - else - { - $this->wPt=$this->fhPt; - $this->hPt=$this->fwPt; - $this->w=$this->fh; - $this->h=$this->fw; - } - $this->PageBreakTrigger=$this->h-$this->bMargin; - $this->CurOrientation=$orientation; - } -} - -function _endpage() -{ - //End of page contents - $this->state=1; -} - -function _newobj() -{ - //Begin a new object - $this->n++; - $this->offsets[$this->n]=strlen($this->buffer); - $this->_out($this->n.' 0 obj'); -} - -function _dounderline($x,$y,$txt) -{ - //Underline text - $up=$this->CurrentFont['up']; - $ut=$this->CurrentFont['ut']; - $w=$this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); - return sprintf('%.2f %.2f %.2f %.2f re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); -} - -function _parsejpg($file) -{ - //Extract info from a JPEG file - $a=GetImageSize($file); - if(!$a) - $this->Error('Missing or incorrect image file: '.$file); - if($a[2]!=2) - $this->Error('Not a JPEG file: '.$file); - if(!isset($a['channels']) or $a['channels']==3) - $colspace='DeviceRGB'; - elseif($a['channels']==4) - $colspace='DeviceCMYK'; - else - $colspace='DeviceGray'; - $bpc=isset($a['bits']) ? $a['bits'] : 8; - //Read whole file - $f=fopen($file,'rb'); - $data=''; - while(!feof($f)) - $data.=fread($f,4096); - fclose($f); - return array('w'=>$a[0],'h'=>$a[1],'cs'=>$colspace,'bpc'=>$bpc,'f'=>'DCTDecode','data'=>$data); -} - -function _parsepng($file) -{ - //Extract info from a PNG file - $f=fopen($file,'rb'); - if(!$f) - $this->Error('Can\'t open image file: '.$file); - //Check signature - if(fread($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) - $this->Error('Not a PNG file: '.$file); - //Read header chunk - fread($f,4); - if(fread($f,4)!='IHDR') - $this->Error('Incorrect PNG file: '.$file); - $w=$this->_freadint($f); - $h=$this->_freadint($f); - $bpc=ord(fread($f,1)); - if($bpc>8) - $this->Error('16-bit depth not supported: '.$file); - $ct=ord(fread($f,1)); - if($ct==0) - $colspace='DeviceGray'; - elseif($ct==2) - $colspace='DeviceRGB'; - elseif($ct==3) - $colspace='Indexed'; - else - $this->Error('Alpha channel not supported: '.$file); - if(ord(fread($f,1))!=0) - $this->Error('Unknown compression method: '.$file); - if(ord(fread($f,1))!=0) - $this->Error('Unknown filter method: '.$file); - if(ord(fread($f,1))!=0) - $this->Error('Interlacing not supported: '.$file); - fread($f,4); - $parms='/DecodeParms <>'; - //Scan chunks looking for palette, transparency and image data - $pal=''; - $trns=''; - $data=''; - do - { - $n=$this->_freadint($f); - $type=fread($f,4); - if($type=='PLTE') - { - //Read palette - $pal=fread($f,$n); - fread($f,4); - } - elseif($type=='tRNS') - { - //Read transparency info - $t=fread($f,$n); - if($ct==0) - $trns=array(ord(substr($t,1,1))); - elseif($ct==2) - $trns=array(ord(substr($t,1,1)),ord(substr($t,3,1)),ord(substr($t,5,1))); - else - { - $pos=strpos($t,chr(0)); - if(is_int($pos)) - $trns=array($pos); - } - fread($f,4); - } - elseif($type=='IDAT') - { - //Read image data block - $data.=fread($f,$n); - fread($f,4); - } - elseif($type=='IEND') - break; - else - fread($f,$n+4); - } - while($n); - if($colspace=='Indexed' and empty($pal)) - $this->Error('Missing palette in '.$file); - fclose($f); - return array('w'=>$w,'h'=>$h,'cs'=>$colspace,'bpc'=>$bpc,'f'=>'FlateDecode','parms'=>$parms,'pal'=>$pal,'trns'=>$trns,'data'=>$data); -} - -function _freadint($f) -{ - //Read a 4-byte integer from file - $i=ord(fread($f,1))<<24; - $i+=ord(fread($f,1))<<16; - $i+=ord(fread($f,1))<<8; - $i+=ord(fread($f,1)); - return $i; -} - -function _textstring($s) -{ - //Format a text string - return '('.$this->_escape($s).')'; -} - -function _escape($s) -{ - //Add \ before \, ( and ) - return str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$s))); -} - -function _putstream($s) -{ - $this->_out('stream'); - $this->_out($s); - $this->_out('endstream'); -} - -function _out($s) -{ - //Add a line to the document - if($this->state==2) - $this->pages[$this->page].=$s."\n"; - else - $this->buffer.=$s."\n"; -} -//End of class -} - -//Handle special IE contype request -if(isset($HTTP_SERVER_VARS['HTTP_USER_AGENT']) and $HTTP_SERVER_VARS['HTTP_USER_AGENT']=='contype') -{ - Header('Content-Type: application/pdf'); - exit; -} - -} -?> diff --git a/lam-0.4/lib/functions.js b/lam-0.4/lib/functions.js deleted file mode 100644 index fd118d1d..00000000 --- a/lam-0.4/lib/functions.js +++ /dev/null @@ -1,130 +0,0 @@ -/* -$Id$ - - This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - Copyright (C) 2003 Roland Gruber - - 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 - -*/ - - -// functions for row checking and mouseOver effects - -// mouseOver function -function user_over(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','userlist-over', 0); -} - -// mouseOut function -function user_out(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','userlist', 0); -} - -// onClick function -function user_click(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == true) { - cbox.checked = false; - list.setAttribute('class','userlist-over', 0); - } - else { - cbox.checked = true; - list.setAttribute('class','userlist-checked', 0); - } -} - - - -// mouseOver function -function group_over(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','grouplist-over', 0); -} - -// mouseOut function -function group_out(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','grouplist', 0); -} - -// onClick function -function group_click(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == true) { - cbox.checked = false; - list.setAttribute('class','grouplist-over', 0); - } - else { - cbox.checked = true; - list.setAttribute('class','grouplist-checked', 0); - } -} - - - -// mouseOver function -function host_over(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','hostlist-over', 0); -} - -// mouseOut function -function host_out(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','hostlist', 0); -} - -// onClick function -function host_click(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == true) { - cbox.checked = false; - list.setAttribute('class','hostlist-over', 0); - } - else { - cbox.checked = true; - list.setAttribute('class','hostlist-checked', 0); - } -} - - - -// mouseOver function -function domain_over(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','domainlist-over', 0); -} - -// mouseOut function -function domain_out(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == false) list.setAttribute('class','domainlist', 0); -} - -// onClick function -function domain_click(list, box) { - cbox = document.getElementsByName(box)[0]; - if (cbox.checked == true) { - cbox.checked = false; - list.setAttribute('class','domainlist-over', 0); - } - else { - cbox.checked = true; - list.setAttribute('class','domainlist-checked', 0); - } -} diff --git a/lam-0.4/lib/lamdaemon.pl b/lam-0.4/lib/lamdaemon.pl deleted file mode 100755 index 8669f832..00000000 --- a/lam-0.4/lib/lamdaemon.pl +++ /dev/null @@ -1,232 +0,0 @@ -#! /usr/bin/perl - -# $Id$ -# -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) -# Copyright (C) 2003 Tilo Lutz -# -# 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 daemon to create and delete homedirecotries and quotas - - -#use strict; # Use strict for security reasons - -@quota_grp; -@quota_usr; # Filesystems with enabled userquotas - # vals = DN, PAssword, user, home, (add|rem), - # quota, (set|get),(u|g), (mountpoint,blocksoft,blockhard,filesoft,filehard)+ - # chown options -$|=1; # Disable buffering - -sub get_fs { # Load mountpoints from mtab if enabled quotas - Quota::setmntent(); - my $i=0; - my @args; - while (my @temp = Quota::getmntent()) { - $args[$i][0] = $temp[0]; - $args[$i][1] = $temp[1]; - $args[$i][2] = $temp[2]; - $args[$i][3] = $temp[3]; - $i++; - } - Quota::endmntent(); - my $j=0; my $k=0; $i=0; - while ($args[$i][0]) { - if ( $args[$i][3] =~ m/usrquota/ ) { - $quota_usr[$j][0] = $args[$i][0]; - $quota_usr[$j][1] = $args[$i][1]; - $quota_usr[$j][2] = $args[$i][2]; - $quota_usr[$j][3] = $args[$i][3]; - $j++; - } - if ( $args[$i][3] =~ m/grpquota/ ) { - $quota_grp[$k][0] = $args[$i][0]; - $quota_grp[$k][1] = $args[$i][1]; - $quota_grp[$k][2] = $args[$i][2]; - $quota_grp[$k][3] = $args[$i][3]; - $k++; - } - $i++; - } - } - -# ***************** Check values -if ($( == 0 ) { # we are root - # Drop root Previleges - ($<, $>) = ($>, $<); - if ($ARGV[0] eq "*test") { - use Quota; # Needed to get and set quotas - print "Perl quota module successfully installed.\n"; - print "If you haven't seen any errors lamdaemon.pl was set up successfully.\n"; - } - else { - # loop for every transmitted user - my $string = do {local $/;}; - @input = split ("\n", $string ); - for ($i=0; $i<=$#input; $i++) { - $return = ""; - @vals = split (' ', $input[$i]); - switch: { - # Get user information - if (($vals[3] eq 'user') || ($vals[1] eq 'home')) { @user = getpwnam($vals[0]); } - else { @user = getgrnam($vals[0]); } - $vals[1] eq 'home' && do { - switch2: { - $vals[2] eq 'add' && do { - # split homedir to set all directories below the last dir. to 755 - my $path = $user[7]; - $path =~ s,/(?:[^/]*)$,,; - ($<, $>) = ($>, $<); # Get root privileges - if (! -e $path) { - system 'mkdir', '-m 755', '-p', $path; # Create paths to homedir - } - if (! -e $user[7]) { - system 'mkdir', '-m 755', $user[7]; # Create himdir itself - system "cp -a /etc/skel/* /etc/skel/.[^.]* $user[7]"; # Copy /etc/sekl into homedir - system 'chown', '-R', "$user[2]:$user[3]" , $user[7]; # Change owner to new user - if (-e '/usr/sbin/useradd.local') { - system '/usr/sbin/useradd.local', $user[0]; # run useradd-script - } - } - ($<, $>) = ($>, $<); # Give up root previleges - last switch2; - }; - $vals[2] eq 'rem' && do { - ($<, $>) = ($>, $<); # Get root previliges - if (-d $user[7]) { - system 'rm', '-R', $user[7]; # Delete Homedirectory - if (-e '/usr/sbin/userdel.local') { - system '/usr/sbin/userdel.local', $user[0]; - } - } - ($<, $>) = ($>, $<); # Give up root previleges - last switch2; - }; - } - last switch; - }; - $vals[1] eq 'quota' && do { - use Quota; # Needed to get and set quotas - get_fs(); # Load list of devices with enabled quotas - # Store quota information in array - @quota_temp1 = split (':', $vals[4]); - $group=0; - $i=0; - while ($quota_temp1[$i]) { - $j=0; - @temp = split (',', $quota_temp1[$i]); - while ($temp[$j]) { - $quota[$i][$j] = $temp[$j]; - $j++; - } - $i++; - } - if ($vals[3] eq 'user') { $group=false; } - else { - $group=1; - @quota_usr = @quota_grp; - } - switch2: { - $vals[2] eq 'rem' && do { - $i=0; - ($<, $>) = ($>, $<); # Get root privileges - while ($quota_usr[$i][0]) { - $dev = Quota::getqcarg($quota_usr[$i][1]); - $return = Quota::setqlim($dev,$user[2],0,0,0,0,1,$group); - $i++; - } - ($<, $>) = ($>, $<); # Give up root previleges - last switch2; - }; - $vals[2] eq 'set' && do { - $i=0; - ($<, $>) = ($>, $<); # Get root privileges - while ($quota_usr[$i][0]) { - $dev = Quota::getqcarg($quota[$i][0]); - $return = Quota::setqlim($dev,$user[2],$quota[$i][1],$quota[$i][2],$quota[$i][3],$quota[$i][4],1,$group); - $i++; - } - ($<, $>) = ($>, $<); # Give up root previleges - last switch2; - }; - $vals[2] eq 'get' && do { - $i=0; - ($<, $>) = ($>, $<); # Get root privileges - while ($quota_usr[$i][0]) { - if ($vals[0]ne'+') { - $dev = Quota::getqcarg($quota_usr[$i][1]); - @temp = Quota::query($dev,$user[2],$group); - if ($temp[0]ne'') { - $return = "$quota_usr[$i][1],$temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$temp[6],$temp[7]:$return"; - } - else { $return = "$quota_usr[$i][1],0,0,0,0,0,0,0,0:$return"; } - } - else { $return = "$quota_usr[$i][1],0,0,0,0,0,0,0,0:$return"; } - $i++; - } - ($<, $>) = ($>, $<); # Give up root previleges - last switch2; - }; - } - }; - last switch; - }; - print "$return\n"; - } - } - } -else { - $hostname = shift @ARGV; - $remotepath = shift @ARGV; - use Net::SSH::Perl; - if ($ARGV[2] eq "*test") { print "Net::SSH::Perl successfully installed.\n"; } - if (($ARGV[0] eq "-") and ($ARGV[1] eq "-")) { # user+passwd are in STDIN - $username = ; - chop($username); - @username = split (',', $username); - $username[0] =~ s/uid=//; - $username[0] =~ s/cn=//; - $username = $username[0]; - $password = ; - chop($password); - } - else { - @username = split (',', $ARGV[0]); - $username[0] =~ s/uid=//; - $username[0] =~ s/cn=//; - $username = $username[0]; - $password = $ARGV[1]; - } - my $ssh = Net::SSH::Perl->new($hostname, options=>[ - "UserKnownHostsFile /dev/null"], - protocol => "2,1" ); - $ssh->login($username, $password); - # Put all transfered lines in one string - if ($ARGV[2] ne "*test") { - $string = do {local $/;}; - @string2 = split ("\n", $string); - for ($i=0; $i<=$#string2; $i++) { - ($stdout2, $stderr, $exit) = $ssh->cmd("sudo $remotepath $argv", $string2[$i]); - $stdout .= $stdout2; - } - print $stdout; - } - else { - ($stdout, $stderr, $exit) = $ssh->cmd("sudo $remotepath *test"); - print $stdout; - } -} diff --git a/lam-0.4/lib/ldap.inc b/lam-0.4/lib/ldap.inc deleted file mode 100644 index 14e9b63d..00000000 --- a/lam-0.4/lib/ldap.inc +++ /dev/null @@ -1,601 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -include_once("config.inc"); -include_once("blowfish.inc"); - -// converts a HEX string to a binary value -function hex2bin($value) { - return pack("H*", $value); -} - -// returns the hash value of a plain text password -// the hash algorithm depends on the configuration file -// $password: the password string -// $enabled: marks the hash as enabled/disabled (e.g. by prefixing "!") -function pwd_hash($password, $enabled=true) { - // check for empty password - if (! $password || ($password == "")) { - return ""; - } - // calculate new random number - $_SESSION['ldap']->new_rand(); - // hash password with algorithm from config file - $hash = ""; - switch ($_SESSION['config']->get_pwdhash()) { - case 'CRYPT': - $hash = "{CRYPT}" . crypt($password); - break; - case 'MD5': - $hash = "{MD5}" . base64_encode(hex2bin(md5($password))); - break; - case 'SMD5': - $salt0 = substr(pack("h*", md5($_SESSION['ldap']->rand)), 0, 8); - $salt = substr(pack("H*", md5($salt0 . $password)), 0, 4); - $hash = "{SMD5}" . base64_encode(hex2bin(md5($password . $salt)) . $salt); - break; - case 'SHA': - // PHP 4.3+ can use sha1() function - if (function_exists(sha1)) { - $hash = "{SHA}" . base64_encode(hex2bin(sha1($password))); - } - // otherwise use MHash - elseif (function_exists(mHash)) { - $hash = "{SHA}" . base64_encode(mHash(MHASH_SHA1, $password)); - } - // if SHA1 is not possible use crypt() - else { - $hash = "{CRYPT}" . crypt($password); - } - break; - case 'SSHA': - // PHP 4.3+ can use sha1() function - if (function_exists(sha1)) { - $salt0 = substr(pack("h*", md5($_SESSION['ldap']->rand)), 0, 8); - $salt = substr(pack("H*", sha1($salt0 . $password)), 0, 4); - $hash = "{SSHA}" . base64_encode(hex2bin(sha1($password . $salt)) . $salt); - } - // otherwise use MHash - elseif (function_exists(mHash)) { - $salt = mhash_keygen_s2k(MHASH_SHA1, $password, substr(pack("h*", md5($_SESSION['ldap']->rand)), 0, 8), 4); - $hash = base64_encode(mHash(MHASH_SHA1, $password . $salt) . $salt); - $hash = "{SSHA}" . $hash; - } - // if SSHA is not possible use crypt() - else { - $hash = "{CRYPT}" . crypt($password); - } - break; - case 'PLAIN': - $hash = $password; - break; - // use SSHA if the setting is invalid - default: - // PHP 4.3+ can use sha1() function - if (function_exists(sha1)) { - $salt0 = substr(pack("h*", md5($_SESSION['ldap']->rand)), 0, 8); - $salt = substr(pack("H*", sha1($salt0 . $password)), 0, 4); - $hash = "{SSHA}" . base64_encode(hex2bin(sha1($password . $salt)) . $salt); - } - // otherwise use MHash - elseif (function_exists(mHash)) { - $salt = mhash_keygen_s2k(MHASH_SHA1, $password, substr(pack("h*", md5($_SESSION['ldap']->rand)), 0, 8), 4); - $hash = base64_encode(mHash(MHASH_SHA1, $password . $salt) . $salt); - $hash = "{SSHA}" . $hash; - } - // if SSHA is not possible use crypt() - else { - $hash = "{CRYPT}" . crypt($password); - } - break; - } - // enable/disable password - if (! $enabled) return pwd_disable($hash); - else return $hash; -} - - -// marks an password hash as enabled -// and returns the new hash string -// hash: hash value to enable -function pwd_enable($hash) { - // check if password is disabled (old wrong LAM method) - if ((substr($hash, 0, 2) == "!{") || ((substr($hash, 0, 2) == "*{"))) { - return substr($hash, 1, strlen($hash)); - } - // check for "!" or "*" at beginning of password hash - else { - if (substr($hash, 0, 1) == "{") { - $pos = strpos($hash, "}"); - if ((substr($hash, $pos + 1, 1) == "!") || (substr($hash, $pos + 1, 1) == "*")) { - // enable hash - return substr($hash, 0, $pos + 1) . substr($hash, $pos + 2, strlen($hash)); - } - else return $hash; // not disabled - } - else return $hash; // password is plain text - } -} - -// marks an password hash as disabled -// and returns the new hash string -// hash: hash value to disable -function pwd_disable($hash) { - // check if password is disabled (old wrong LAM method) - if ((substr($hash, 0, 2) == "!{") || ((substr($hash, 0, 2) == "*{"))) { - return $hash; - } - // check for "!" or "*" at beginning of password hash - else { - if (substr($hash, 0, 1) == "{") { - $pos = strpos($hash, "}"); - if ((substr($hash, $pos + 1, 1) == "!") || (substr($hash, $pos + 1, 1) == "*")) { - // hash already disabled - return $hash; - } - else return substr($hash, 0, $pos + 1) . "!" . substr($hash, $pos + 1, strlen($hash)); // not disabled - } - else return $hash; // password is plain text - } -} - -// checks if a password hash is enabled/disabled -// returns true if the password is marked as enabled -function pwd_is_enabled($hash) { - // disabled passwords have a "!" or "*" at the beginning (old wrong LAM method) - if ((substr($hash, 0, 2) == "!{") || ((substr($hash, 0, 2) == "*{"))) return false; - if (substr($hash, 0, 1) == "{") { - $pos = strrpos($hash, "}"); - // check if hash starts with "!" or "*" - if ((substr($hash, $pos + 1, 1) == "!") || (substr($hash, $pos + 1, 1) == "*")) return false; - else return true; - } - else return true; -} - - -// manages connection to LDAP and several helper functions -class Ldap{ - - // object of Config to access preferences - var $conf; - - // server handle - var $server; - - // LDAP username and password used for bind - var $username; - var $password; - - // Arrays that contain LDAP attributes and their descriptions which are translated - var $ldapUserAttributes; - var $ldapGroupAttributes; - var $ldapHostAttributes; - - // array with all objectClass strings from the LDAP server - var $objectClasses; - - // capabilities of the LDAP server - var $supports_unix_hosts=false; // host attribute in inetOrgPerson - var $supports_samba2_schema=false; // objectClass sambaAccount - var $supports_samba3_schema=false; // objectClass sambaSamAccount - - // random number (changes on every page request) - var $rand; - - // constructor - // $config: an object of Config (../config/config.php) - function Ldap($config) { - setlanguage(); - if (is_object($config)) $this->conf = $config; - else return false; - // construct arrays with known LDAP attributes - $this->ldapUserAttributes = array ( - "uid" => _("User ID"), - "uidnumber" => _("UID number"), - "gidnumber" => _("GID number"), - "cn" => _("Username"), - "host" => _("Allowed hosts"), - "givenname" => _("First name"), - "sn" => _("Last name"), - "homedirectory" => _("Home directory"), - "loginshell" => _("Login shell"), - "mail" => _("E-Mail"), - "gecos" => _("Description") - ); - $this->ldapGroupAttributes = array ( - "cn" => _("Group name"), - "gidnumber" => _("GID number"), - "memberuid" => _("Group members"), - "member" => _("Group member DNs"), - "description" => _("Group description") - ); - $this->ldapHostAttributes = array ( - "uid" => _("Host username"), - "cn" => _("Host name"), - "rid" => _("RID (Windows UID)"), - "description" => _("Host description"), - "uidnumber" => _("UID number"), - "gidnumber" => _("GID number") - ); - mt_srand((double)microtime()*1000000); - $this->rand = mt_rand(); - return true; - } - - // connects to the server using the given username and password - // if connect succeeds the server handle is returned - // $user: user name - // $passwd: password - function connect($user, $passwd) { - // close any prior connection - @$this->close(); - // do not allow anonymous bind - if ((!$user)||($user == "")||(!$passwd)) { - return false; - } - // save password und username encrypted - $this->encrypt_login($user, $passwd); - $this->server = @ldap_connect($this->conf->get_ServerURL()); - if ($this->server) { - // use LDAPv3 - ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3); - // start TLS if possible - if (function_exists('ldap_start_tls')) { - @ldap_start_tls($this->server); - // connect without TLS if it failed - if (ldap_errno($this->server) != 0) { - @ldap_close($this->server); - $this->server = @ldap_connect($this->conf->get_ServerURL()); - ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3); - } - } - $bind = @ldap_bind($this->server, $user, $passwd); - if ($bind) { - // read objectClasses from server and update capabilities if needed - if (! $this->objectClasses) { - $this->updateClasses(); - $this->updateCapabilities(); - } - // return success number - return ldap_errno($this->server); - } - // return error number - else return ldap_errno($this->server); - } - else return false; - } - - // closes connection to server - function close() { - @ldap_close($this->server); - } - - // searches LDAP for a specific user name - // and returns its DN entry - // $name: user name - function search_username($name) { - $filter = "(uid=$name)"; - $attrs = array(); - $sr = @ldap_search($this->server, $this->conf->get_UserSuffix(), $filter, $attrs); - if ($sr) { - $info = ldap_get_entries($this->server, $sr); - // return only first DN entry - $ret = $info[0]["dn"]; - ldap_free_result($sr); - return $ret; - } - } - - // returns an array with all organizational units under the given suffix - // $suffix: search suffix - function search_units($suffix) { - $ret = array(); - $sr = @ldap_search($this->server(), $suffix, "objectClass=organizationalunit", array("DN")); - if ($sr) { - $units = ldap_get_entries($this->server, $sr); - // extract Dns - for ($i = 0; $i < sizeof($units); $i++) { - if ($units[$i]['dn']) $ret[] = $units[$i]['dn']; - } - } - // add root suffix if needed - $found = false; - for ($i = 0; $i < sizeof($ret); $i++) { // search suffix case-intensitive - if (strtolower($suffix) == strtolower($ret[$i])) { - $found = true; - break; - } - } - if (!$found) { - $ret[] = $suffix; - } - usort($ret, array($this,"cmp_array")); - return $ret; - } - - // returns an array with all Samba 3 domain entries under the given suffix - // $suffix: search suffix - function search_domains($suffix) { - $ret = array(); - $attr = array("DN", "sambaDomainName", "sambaSID", "sambaNextRid", "sambaNextGroupRid", - "sambaNextUserRid", "sambaAlgorithmicRidBase"); - $sr = @ldap_search($this->server(), $suffix, "objectClass=sambaDomain", $attr); - if ($sr) { - $units = ldap_get_entries($this->server, $sr); - // delete count entry - array_shift($units); - // extract attributes - for ($i = 0; $i < sizeof($units); $i++) { - $ret[$i] = new samba3domain(); - $ret[$i]->dn = $units[$i]['dn']; - $ret[$i]->name = $units[$i]['sambadomainname'][0]; - $ret[$i]->SID = $units[$i]['sambasid'][0]; - $ret[$i]->nextRID = $units[$i]['sambanextrid'][0]; - $ret[$i]->nextGroupRID = $units[$i]['sambanextgrouprid'][0]; - $ret[$i]->nextUserRID = $units[$i]['sambanextuserrid'][0]; - if (isset($units[$i]['sambaalgorithmicridbase'][0])) $ret[$i]->RIDbase = $units[$i]['sambaalgorithmicridbase'][0]; - } - // sort array by domain name - usort($ret, array($this,"cmp_domain")); - } - return $ret; - } - - // reads the array of objectClasses from the LDAP server - function updateClasses() { - // read from default cn - $sr = @ldap_read($this->server, 'cn=subschema', '(objectClass=*)', array('objectclasses')); - // if default was not correct check different cn - if (!$sr) $sr = @ldap_read($this->server, 'cn=schema', '(objectClass=*)', array('objectclasses')); - if ($sr) { - // get search result and save it - $info = @ldap_get_entries($this->server,$sr); - if ($info) { - $this->objectClasses = $info[0]['objectclasses']; - array_shift($this->objectClasses); - return true; - } - } - // if search failed save empty result - $this->objectClasses = array(); - } - - // updates the capabilities values (var $supports_*) - function updateCapabilities() { - for ($i = 0; $i < sizeof($this->objectClasses); $i++) { - $line = $this->objectClasses[$i]; - // search keywords - if (strpos($line, "NAME 'inetOrgPerson'") && strpos($line, " host ")) $this->supports_unix_hosts = true; - if (strpos($line, "NAME 'sambaAccount'")) $this->supports_samba2_schema = true; - if (strpos($line, "NAME 'sambaSamAccount'")) $this->supports_samba3_schema = true; - } - } - - // returns the LDAP connection handle - function server() { - return $this->server; - } - - // closes connection to LDAP server before serialization - function __sleep() { - $this->close(); - // define which attributes to save - return array("conf", "username", "password", "ldapUserAttributes", "ldapGroupAttributes", - "ldapHostAttributes", "objectClasses", "supports_unix_hosts", "supports_samba2_schema", - "supports_samba3_schema", "rand"); - } - - // reconnects to LDAP server when deserialized - function __wakeup() { - $data = $this->decrypt_login(); - $this->connect($data[0], $data[1]); - // change random number - mt_srand($this->rand + (microtime() * 1000000)); - $this->rand = mt_rand(); - // delete PDF files which are older than 10 min - if (isset($_SESSION['lampath'])) { - $relpath = $_SESSION['lampath'] . 'tmp/'; - $time = time(); - $dir = @opendir($relpath); - while ($file = @readdir($dir)) { - if (substr($file, -4) == '.pdf') { - $path = $relpath . $file; - if ($time - filemtime($path) > 600) { - @unlink($path); - } - } - } - @closedir($h); - } - } - - // calculates a new value for rand - function new_rand() { - // change random number - mt_srand($this->rand + (microtime() * 1000000)); - $this->rand = mt_rand(); - } - - // encrypts a string - // $data: string to encrypt - // return: encrypted string - function encrypt($data) { - // use MCrypt if available - if (function_exists(mcrypt_create_iv)) { - // read key and iv from cookie - $iv = base64_decode($_COOKIE["IV"]); - $key = base64_decode($_COOKIE["Key"]); - // encrypt string - return mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $data, MCRYPT_MODE_ECB, $iv); - } - // use Blowfish if MCrypt is not available - else { - // read key and iv from cookie - $iv = base64_decode($_COOKIE["IV"]); - $key = base64_decode($_COOKIE["Key"]); - $b_key = $iv . $key; - // encrypt string - $b_fish = new Cipher_blowfish(); - return $b_fish->encrypt($data, $b_key); - } - } - - // decrypts a string - // $data: string to decrypt - // return: decrypted string - function decrypt($data) { - // use MCrypt if available - if (function_exists(mcrypt_create_iv)) { - // read key and iv from cookie - $iv = base64_decode($_COOKIE["IV"]); - $key = base64_decode($_COOKIE["Key"]); - // decrypt string - $ret = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $data, MCRYPT_MODE_ECB, $iv); - $ret = str_replace(chr(00), "", $ret); - return $ret; - } - // use Blowfish if MCrypt is not available - else { - // read key and iv from cookie - $iv = base64_decode($_COOKIE["IV"]); - $key = base64_decode($_COOKIE["Key"]); - $b_key = $iv . $key; - // decrypt string - $b_fish = new Cipher_blowfish(); - return $b_fish->decrypt($data, $b_key); - } - } - - // encrypts username and password - // $username: LDAP user name - // $password: LDAP password - function encrypt_login($username, $password) { - // encrypt username and password - $this->username = base64_encode($this->encrypt($username)); - $this->password = base64_encode($this->encrypt($password)); - } - - // decrypts username and password - // returns an array - // return[0]: user name - // return[1]: password - function decrypt_login() { - // decrypt username and password - $username = $this->decrypt(base64_decode($this->username)); - $password = $this->decrypt(base64_decode($this->password)); - $ret = array($username, $password); - return $ret; - } - - // closes connection to LDAP server and deletes encrypted username/password - function destroy() { - $this->close(); - $this->username="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; - $this->password="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; - } - - // returns an array that contains LDAP attribute names and their description - function attributeUserArray() { - return $this->ldapUserAttributes; - } - - // returns an array that contains LDAP attribute names and their description - function attributeGroupArray() { - return $this->ldapGroupAttributes; - } - - // returns an array that contains LDAP attribute names and their description - function attributeHostArray() { - return $this->ldapHostAttributes; - } - - - // helper function to sort the unit DNs - function cmp_array($a, $b) { - // split DNs - $array_a = explode(",", $a); - $array_b = explode(",", $b); - $len_a = sizeof($array_a); - $len_b = sizeof($array_b); - // check how many parts to compare - $len = min($len_a, $len_b); - // compare from last part on - for ($i = 0; $i < $len; $i++) { - // get parts to compare - $part_a = strtolower($array_a[$len_a - $i - 1]); - $part_b = strtolower($array_b[$len_b - $i - 1]); - // compare parts - if ($part_a == $part_b) { // part is identical - if ($i == ($len - 1)) { - if ($len_a > $len_b) return 1; - elseif ($len_a < $len_b) return -1; - else return 0; // DNs are identical - } - } - elseif ($part_a == max($part_a, $part_b)) return 1; - else return -1; - } - } - - // helper function to sort the domains - function cmp_domain($a, $b) { - if ($a->name == $b->name) return 0; - elseif ($a->name == max($a->name, $b->name)) return 1; - else return -1; - } - - -} - -// represents a Samba 3 domain entry -class samba3domain { - - // DN - var $dn; - - // domain name - var $name; - - // domain SID - var $SID; - - // next RID - var $nextRID; - - // next user RID - var $nextUserRID; - - // next group RID - var $nextGroupRID; - - // RID base to calculate RIDs, default 1000 - var $RIDbase=1000; -} - -?> diff --git a/lam-0.4/lib/pdf.inc b/lam-0.4/lib/pdf.inc deleted file mode 100644 index aed997f3..00000000 --- a/lam-0.4/lib/pdf.inc +++ /dev/null @@ -1,577 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -define('FPDF_FONTPATH', 'font/'); -include_once("fpdf.php"); - - -function createUserPDF($accounts) { -// The decimal separator must be a dot in order to write pdf-files - setlocale(LC_NUMERIC, "C"); -// Start PDF file - $pdfFile = new lamPDF(); - $pdfFile->Open(); -// Write some information into the PDF file - $pdfFile->setFont("arial","",12); - $pdfFile->setTitle("LDAP Account Manager"); - $pdfFile->setSubject(_("User information page")); - $pdfFile->setAuthor("LDAP Account Manager Devel-Team -Michael Duergner-"); - $pdfFile->setCreator("LDAP Account Manager (pdf.inc)"); -// Loop for every sumbitted account and print its values on a extra page - foreach ($accounts as $account) { - $pdfFile->addPage(); - // Load string with additional information from session - $info_string = $_SESSION['config']->pdftext; - // Print individuall text. - // Get all allowed vairables from account-object - $values = get_object_vars($account); - $values = array_keys($values); - // Replace $varstring in string with variable - foreach ($values as $value) { - // replace string - if (is_string($account->$value)) $info_string = str_replace('$'.$value, $account->$value, $info_string); - // replace object - else if (is_object($account->$value)) { - $values2 = get_object_vars($account->$value); - $values2 = array_keys($values2); - foreach ($values2 as $value2) { - $info_string = str_replace('$'.$value.'->'.$value2, $account->$value->$value2, $info_string); - } - } - // replace array - else if (is_array($account->$value)) { - foreach ($account->$value as $sub_array2) $sub_array .= $sub_array2.", "; - $sub_array = substr($sub_array, 0, -2); - $info_string = str_replace('$'.$value, $sub_array, $info_string); - } - } - // Split string in array - $info_array = explode("\n", $info_string); - $pdfFile->setFont("times","",10); - foreach ($info_array as $info) - $pdfFile->Cell(50,5,$info,0,1,"L",0); - $pdfFile->Ln(6); -// Print Personal settings - $pdfFile->setFont("arial","B",12); - $pdfFile->Write(5,"- " . _("Personal User Infos") . ":"); - $pdfFile->Ln(6); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Job title") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_title,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Surname") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_surname,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Given name") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_givenname,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Street") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_street,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Postal code") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_postalCode,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Postal address") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_postalAddress,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("E-Mail") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_mail,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Phone") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_telephoneNumber,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Cellular phone") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_mobileTelephoneNumber,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Facsimile") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->personal_facsimileTelephoneNumber,0,1,"L",0); - $pdfFile->setFont("times","",10); -// Print Unix settings - $pdfFile->Ln(9); - $pdfFile->setFont("arial","B",12); - $pdfFile->Write(5,"- " . _("Unix User Settings") . ":"); - $pdfFile->Ln(6); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Username") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_username,0,1,"L",0); - if($account->unix_password_no == "1") { - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Unix password") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,_("Unix password disabled!"),0,1,"L",0); - } - elseif($account->unix_password == "") { - } - else { - $account->unix_password = $_SESSION['ldap']->decrypt(base64_decode($account->unix_password)); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Unix password") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->unix_password,0,1,"L",0); - } - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Group(s)") . ":",0,0,"R",0); - if ($account->general_group != -1) { - $text = $account->general_group; - if (sizeof($account->general_groupadd) > 0) $text .= ", " . implode(", ", $account->general_groupadd); - } - else { - $text = ""; - if (sizeof($account->general_groupadd) > 0) $text = implode(", ", $account->general_groupadd); - } - $pdfFile->setFont("times","",10); - $pdfFile->MultiCell(0,5,$text,0,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Home Directory") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_homedir,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Login Shell") . ":",0,0,"R",0); - $text = ""; - $shells = $account->general_shell; - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_shell,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Password expire") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,date('j. F Y' ,$account->unix_pwdexpire),0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Login at host(s)") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->MultiCell(0,5,implode(", ",explode(",",$account->unix_host)),0,1,"L",0); -// Print Samba settings - $pdfFile->Ln(9); - $pdfFile->setFont("arial","B",12); - $pdfFile->Write(5,"- " . _("Windows User Settings") . ":"); - $pdfFile->Ln(6); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Username") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->general_username,0,1,"L",0); - if($account->smb_flags['N']) { - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Windows password") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,_("Windows password disabled!"),0,1,"L",0); - } - elseif($account->smb_useunixpwd == "1") { - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Windows password") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,_("Windows password set to unix password."),0,1,"L",0); - } - elseif($account->smb_password == "") { - } - else { - $account->smb_password = $_SESSION['ldap']->decrypt(base64_decode($account->smb_password)); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Windows password") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->smb_password,0,1,"L",0); - } - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Home drive") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->smb_homedrive,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Logon script") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->smb_scriptPath,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Profile path") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->smb_profilePath,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Login at workstation(s)") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->MultiCell(0,5,implode(", ",explode(",",$account->smb_smbuserworkstations)),0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Windows home directory") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $pdfFile->Cell(50,5,$account->smb_smbhome,0,1,"L",0); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("Windows Domain") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - if($_SESSION['config']->get_samba3() == "yes") $pdfFile->Cell(50,5,$account->smb_domain->name,0,1,"L",0); - else $pdfFile->Cell(50,5,$account->smb_domain,0,1,"L",0); -// Print Quota settings - $pdfFile->Ln(9); - $pdfFile->setFont("arial","B",12); - $pdfFile->Write(5,"- " . _("Quota Settings") . ":"); - $pdfFile->Ln(6); - $pdfFile->setFont("times","B",10); - $pdfFile->Cell(50,5,_("User quota(s)") . ":",0,0,"R",0); - $pdfFile->setFont("times","",10); - $quotas = $account->quota; - if(count($quotas)>0) { - $pdfFile->Cell(30,5,_("Mountpoint"),0,0,"L",0); - $pdfFile->Cell(30,5,_("Soft block"),0,0,"L",0); - $pdfFile->Cell(30,5,_("Soft inode"),0,0,"L",0); - $pdfFile->Cell(30,5,_("Hard block"),0,0,"L",0); - $pdfFile->Cell(30,5,_("Hard inode"),0,1,"L",0); - for($j=0;$jCell(50,5,"",0,0,"R",0); - $pdfFile->Cell(30,5,$quotas[$j][0],0,0,"L",0); - $pdfFile->Cell(30,5,$quotas[$j][2],0,0,"L",0); - $pdfFile->Cell(30,5,$quotas[$j][6],0,0,"L",0); - $pdfFile->Cell(30,5,$quotas[$j][3],0,0,"L",0); - $pdfFile->Cell(30,5,$quotas[$j][7],0,1,"L",0); - } - } - else { - $pdfFile->Cell(50,5,_("No user quotas defined or no quota support by filesystem."),0,1,"L",0); - } - $pdfFile->Ln(9); - } - // Close PDF - $pdfFile->Close(); - // Get relative url path - $fullpath = realpath('.'); - $subdirs = explode('/', str_replace($_SESSION['lampath'], '', $fullpath)); - for ($i=0; $irand . time() .'.pdf'; - // Save PDF - $pdfFile->Output($filename); - // Output meta refresh to pdf-file - metaRefresh($filename); - // Return relative path of pdf-file - return $filename; -} - -// creates a PDF with host accounts -// $accounts: array of account -function createHostPDF($accounts) { - // The decimal separator must be a dot in order to write pdf-files - setlocale(LC_NUMERIC, "C"); - // Start PDF file - $pdfFile = new lamHostPDF(); - $pdfFile->Open(); - // Write some information into the PDF file - $pdfFile->setFont("arial","",12); - $pdfFile->setTitle("LDAP Account Manager"); - $pdfFile->setSubject(_("Samba-Host information page")); - $pdfFile->setAuthor("LDAP Account Manager Devel-Team -Roland Gruber-"); - $pdfFile->setCreator("LDAP Account Manager (pdf.inc)"); - // print host accounts - $pdfFile->addPage(); - $k = 0; // used to count the already printed accounts per page - for($i = 0; $i < count($accounts); $i++) { - $k++; - $account = $accounts[$i]; - $ypos = $pdfFile->GetY(); - $pdfFile->setFont("times","B",16); - $pdfFile->Write(5,$account->general_username); - $pdfFile->Ln(8); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Description") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_gecos); - $pdfFile->Ln(5); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("UID") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_uidNumber); - $pdfFile->Ln(5); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Primary group") . ": "); - $pdfFile->setFont("times","",10); - if ($account->general_group != -1) $pdfFile->Write(5,$account->general_group); - $pdfFile->Ln(5); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Domain") . ": "); - $pdfFile->setFont("times","",10); - unset($domain); - if (is_string($account->smb_domain)) { - $domain = $account->smb_domain; - } - else { - $domain = $account->smb_domain->name; - } - $pdfFile->Write(5,$domain); - $pdfFile->Ln(5); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("DN") . ": "); - $pdfFile->setFont("times","",9); - $pdfFile->Write(5,$account->general_dn); - // print second column - if ($accounts[$i+1]) { - $k++; - $i++; - $account = $accounts[$i]; - $pdfFile->SetY($ypos); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",16); - $pdfFile->Write(5,$account->general_username); - $pdfFile->Ln(7); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Description") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_gecos); - $pdfFile->Ln(5); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("UID") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_uidNumber); - $pdfFile->Ln(5); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Primary group") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_group); - $pdfFile->Ln(5); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Domain") . ": "); - $pdfFile->setFont("times","",10); - unset($domain); - if (is_string($account->smb_domain)) { - $domain = $account->smb_domain; - } - else { - $domain = $account->smb_domain->name; - } - $pdfFile->Write(5,$domain); - $pdfFile->Ln(5); - $pdfFile->SetX(115); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("DN") . ": "); - $pdfFile->setFont("times","",9); - $pdfFile->Write(5,$account->general_dn); - } - // space between two rows - if ($i < count($accounts) - 1) { - $pdfFile->Ln(12); - } - // new page after twelve accounts - if ($k == 12) { - $k = 0; - $pdfFile->addPage(); - } - } - - // Close PDF - $pdfFile->Close(); - // Get relative url path - $fullpath = realpath('.'); - $subdirs = explode('/', str_replace($_SESSION['lampath'], '', $fullpath)); - for ($i=0; $irand . time() .'.pdf'; - // Save PDF - $pdfFile->Output($filename); - // Output meta refresh to pdf-file - metaRefresh($filename); - // Return relative path of pdf-file - return $filename; -} - -// creates a PDF with groups -// $accounts: array of account -function createGroupPDF($accounts) { - // The decimal separator must be a dot in order to write pdf-files - setlocale(LC_NUMERIC, "C"); - // Start PDF file - $pdfFile = new lamGroupPDF(); - $pdfFile->Open(); - // Write some information into the PDF file - $pdfFile->setFont("arial","",12); - $pdfFile->setTitle("LDAP Account Manager"); - $pdfFile->setSubject(_("Group information page")); - $pdfFile->setAuthor("LDAP Account Manager Devel-Team -Roland Gruber-"); - $pdfFile->setCreator("LDAP Account Manager (pdf.inc)"); - // print group accounts - $pdfFile->addPage(); - for($i = 0; $i < count($accounts); $i++) { - $account = $accounts[$i]; - $ypos = $pdfFile->GetY(); - if ($ypos > 260) $pdfFile->addPage(); - $pdfFile->setFont("times","B",16); - $pdfFile->Write(5,$account->general_username); - $pdfFile->Ln(8); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Description") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_gecos); - $pdfFile->Ln(5); - if ($account->smb_displayname) { - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Display name") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->smb_displayname); - $pdfFile->Ln(5); - } - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("GID") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->general_uidNumber); - $pdfFile->Ln(5); - if ($account->domain) { - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Domain") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,$account->domain->name); - $pdfFile->Ln(5); - } - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("DN") . ": "); - $pdfFile->setFont("times","",9); - $pdfFile->Write(5,$account->general_dn); - if (is_array($account->unix_memberUid)) { - $pdfFile->Ln(5); - $pdfFile->setFont("times","B",10); - $pdfFile->Write(5,_("Members") . ": "); - $pdfFile->setFont("times","",10); - $pdfFile->Write(5,implode(", ", $account->unix_memberUid)); - } - - // space between two rows - if ($i < count($accounts) - 1) { - $pdfFile->Ln(12); - } - } - - // Close PDF - $pdfFile->Close(); - // Get relative url path - $fullpath = realpath('.'); - $subdirs = explode('/', str_replace($_SESSION['lampath'], '', $fullpath)); - for ($i=0; $irand . time() .'.pdf'; - // Save PDF - $pdfFile->Output($filename); - // Output meta refresh to pdf-file - metaRefresh($filename); - // Return relative path of pdf-file - return $filename; -} - - -// lamPDF class || For defining own a Header and Footer -class lamPDF extends FPDF { - // Print page header - function header() { - $imageFile = substr(__FILE__,0,strlen(__FILE__)- 11) . "graphics/printLogo.jpg"; - $this->Image($imageFile,10,10,50,20,"JPG"); - $this->SetFont("arial","B",22); - $this->Cell(170,5,"LDAP Account Manager",0,1,"R",0); - $this->Ln(3); - $this->SetFont("times","",14); - $this->Cell(170,5,"- " . _("User information page") . " -",0,0,"R",0); - $this->SetLineWidth(0.8); - $this->Line(10,40,200,40); - $this->Line(10,42,200,42); - $this->SetY(50); - } - - // Print page footer - function footer() { - $this->SetLineWidth(0.8); - $this->Line(10,280,200,280); - $this->Line(10,282,200,282); - $this->SetY(285); - $this->Cell(0,5,_("This document was automatically created by LDAP Account Manager"),0,0,"C",0); - } -} - - -// lamHostPDF class || For defining own a Header and Footer -class lamHostPDF extends FPDF { - // Print page header - function header() { - $imageFile = substr(__FILE__,0,strlen(__FILE__)- 11) . "graphics/printLogo.jpg"; - $this->Image($imageFile,10,10,50,20,"JPG"); - $this->SetFont("arial","B",22); - $this->Cell(170,5,"LDAP Account Manager",0,1,"R",0); - $this->Ln(3); - $this->SetFont("times","",14); - $this->Cell(170,5,"- " . _("Samba-Host information page") . " -",0,0,"R",0); - $this->SetLineWidth(0.8); - $this->Line(10,35,200,35); - $this->Line(10,37,200,37); - $this->SetY(45); - } - - // Print page footer - function footer() { - $this->SetLineWidth(0.8); - $this->Line(10,280,200,280); - $this->Line(10,282,200,282); - $this->SetY(285); - $this->SetFont("arial","B",12); - $this->Cell(0,5,_("This document was automatically created by LDAP Account Manager"),0,0,"C",0); - $this->SetFont("arial","",12); - $this->Cell(0,5,$this->PageNo(),0,1,"R",0); - } -} - - -// lamGroupPDF class || For defining own Header and Footer -class lamGroupPDF extends FPDF { - // Print page header - function header() { - $imageFile = substr(__FILE__,0,strlen(__FILE__)- 11) . "graphics/printLogo.jpg"; - $this->Image($imageFile,10,10,50,20,"JPG"); - $this->SetFont("arial","B",22); - $this->Cell(170,5,"LDAP Account Manager",0,1,"R",0); - $this->Ln(3); - $this->SetFont("times","",14); - $this->Cell(170,5,"- " . _("Group information page") . " -",0,0,"R",0); - $this->SetLineWidth(0.8); - $this->Line(10,35,200,35); - $this->Line(10,37,200,37); - $this->SetY(45); - } - - // Print page footer - function footer() { - $this->SetLineWidth(0.8); - $this->Line(10,280,200,280); - $this->Line(10,282,200,282); - $this->SetY(285); - $this->SetFont("arial","B",12); - $this->Cell(0,5,_("This document was automatically created by LDAP Account Manager"),0,0,"C",0); - $this->SetFont("arial","",12); - $this->Cell(0,5,$this->PageNo(),0,1,"R",0); - } -} - diff --git a/lam-0.4/lib/profiles.inc b/lam-0.4/lib/profiles.inc deleted file mode 100644 index 9037a09a..00000000 --- a/lam-0.4/lib/profiles.inc +++ /dev/null @@ -1,553 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -include_once("config.inc"); -include_once("account.inc"); -include_once("ldap.inc"); - - -// returns an array of String with all available user profiles (without .pru) -function getUserProfiles() { - $dir = @dir(substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/users"); - $ret = array(); - $pos = 0; - if ($dir) { - while ($entry = $dir->read()){ - $ext = substr($entry, strlen($entry)-4, 4); - $name = substr($entry, 0, strlen($entry)-4); - if ($ext == ".pru") { - $ret[$pos] = $name; - $pos ++; - } - } - } - return $ret; -} - -// returns an array of String with all available group profiles (without .prg) -function getGroupProfiles() { - $dir = @dir(substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/groups"); - $ret = array(); - $pos = 0; - if ($dir) { - while ($entry = $dir->read()){ - $ext = substr($entry, strlen($entry)-4, 4); - $name = substr($entry, 0, strlen($entry)-4); - if ($ext == ".prg") { - $ret[$pos] = $name; - $pos ++; - } - } - } - return $ret; -} - -// returns an array of String with all available host profiles (without .prh) -function getHostProfiles() { - $dir = @dir(substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/hosts"); - $ret = array(); - $pos = 0; - if ($dir) { - while ($entry = $dir->read()){ - $ext = substr($entry, strlen($entry)-4, 4); - $name = substr($entry, 0, strlen($entry)-4); - if ($ext == ".prh") { - $ret[$pos] = $name; - $pos ++; - } - } - } - return $ret; -} - -// loads an user profile -// $profile: name of the profile (without .pru) -// the return value is an account object -function loadUserProfile($profile) { - if (!eregi("^[0-9a-z_\\-]+$", $profile)) return false; - $acc = new account(); - $file = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/users/" . $profile . ".pru"; - if (is_file($file) == True) { - $file = @fopen($file, "r"); - if ($file) { - while (!feof($file)) { - $line = fgets($file, 1024); - if (($line == "\n")||($line[0] == "#")) continue; // ignore comments - // search keywords - if (substr($line, 0, 15) == "general_group: ") { - $acc->general_group = chop(substr($line, 15, strlen($line)-15)); - continue; - } - if (substr($line, 0, 18) == "general_groupadd: ") { - $acc->general_groupadd = explode(";", chop(substr($line, 18, strlen($line)-18))); - continue; - } - if (substr($line, 0, 17) == "general_homedir: ") { - $acc->general_homedir = chop(substr($line, 17, strlen($line)-17)); - continue; - } - if (substr($line, 0, 15) == "general_shell: ") { - $acc->general_shell = chop(substr($line, 15, strlen($line)-15)); - continue; - } - if (substr($line, 0, 18) == "unix_password_no: ") { - $acc->unix_password_no = chop(substr($line, 18, strlen($line)-18)); - continue; - } - if (substr($line, 0, 14) == "unix_pwdwarn: ") { - $acc->unix_pwdwarn = chop(substr($line, 14, strlen($line)-14)); - continue; - } - if (substr($line, 0, 20) == "unix_pwdallowlogin: ") { - $acc->unix_pwdallowlogin = chop(substr($line, 20, strlen($line)-20)); - continue; - } - if (substr($line, 0, 16) == "unix_pwdminage: ") { - $acc->unix_pwdminage = chop(substr($line, 16, strlen($line)-16)); - continue; - } - if (substr($line, 0, 16) == "unix_pwdmaxage: ") { - $acc->unix_pwdmaxage = chop(substr($line, 16, strlen($line)-16)); - continue; - } - if (substr($line, 0, 16) == "unix_pwdexpire: ") { - $acc->unix_pwdexpire = chop(substr($line, 16, strlen($line)-16)); - continue; - } - if (substr($line, 0, 18) == "unix_deactivated: ") { - $acc->unix_deactivated = chop(substr($line, 18, strlen($line)-18)); - continue; - } - if (substr($line, 0, 11) == "unix_host: ") { - $acc->unix_host = chop(substr($line, 11, strlen($line)-11)); - continue; - } - if (substr($line, 0, 17) == "smb_password_no: ") { - $acc->smb_flags['N'] = chop(substr($line, 17, strlen($line)-17)); - continue; - } - if (substr($line, 0, 16) == "smb_useunixpwd: ") { - $acc->smb_useunixpwd = chop(substr($line, 16, strlen($line)-16)); - continue; - } - if (substr($line, 0, 12) == "smb_flagsD: ") { - $acc->smb_flags['D'] = chop(substr($line, 12, strlen($line)-12)); - continue; - } - if (substr($line, 0, 12) == "smb_flagsX: ") { - $acc->smb_flags['X'] = chop(substr($line, 12, strlen($line)-12)); - continue; - } - if (substr($line, 0, 15) == "smb_homedrive: ") { - $acc->smb_homedrive = chop(substr($line, 15, strlen($line)-15)); - continue; - } - if (substr($line, 0, 16) == "smb_scriptPath: ") { - $acc->smb_scriptPath = chop(substr($line, 16, strlen($line)-16)); - continue; - } - if (substr($line, 0, 17) == "smb_profilePath: ") { - $acc->smb_profilePath = chop(substr($line, 17, strlen($line)-17)); - continue; - } - if (substr($line, 0, 25) == "smb_smbuserworkstations: ") { - $acc->smb_smbuserworkstations = chop(substr($line, 25, strlen($line)-25)); - continue; - } - if (substr($line, 0, 13) == "smb_smbhome: ") { - $acc->smb_smbhome = chop(substr($line, 13, strlen($line)-13)); - continue; - } - if (substr($line, 0, 12) == "smb_domain: ") { - if ($_SESSION['config']->is_samba3()) { - $dn = chop(substr($line, 12, strlen($line)-12)); - if (! stristr($dn, "sambaDomainName=")) { // Samba 3 and Samba 2 profile - // get domain list - $doms = $_SESSION['ldap']->search_domains($_SESSION['config']->get_domainSuffix()); - // search domain name - for ($d = 0; $d < sizeof($doms); $d++) { - if (strtolower($doms[$d]->name) == strtolower($dn)) { - $acc->smb_domain = $doms[$d]; - break; - } - } - } - else { // Samba 3 and Samba 3 profile - // load domain object - $dom = new samba3domain(); - $sr = @ldap_search($_SESSION['ldap']->server, $dn, "objectClass=sambaDomain"); - if ($sr) { - $info = @ldap_get_entries($_SESSION['ldap']->server, $sr); - if ($info) { - // get domain attributes - @array_shift($info); - $dom->dn = $dn; - $dom->name = $info[0]['sambadomainname'][0]; - $dom->SID = $info[0]['sambasid'][0]; - $dom->nextRID = $info[0]['sambanextrid'][0]; - $dom->nextUserRID = $info[0]['sambanextuserrid'][0]; - $dom->nextGroupRID = $info[0]['sambanextgrouprid'][0]; - if (isset($dom->RIDbase)) $dom->RIDbase = $info[0]['sambaalgorithmicridbase'][0]; - } - } - $acc->smb_domain = $dom; - } - } - else { - $dom_name = chop(substr($line, 12, strlen($line)-12)); - if (substr($dom_name, 0, 16) == "sambaDomainName=") { // Samba 2 and Samba 3 profile - // extract domain name from DN - $dom_name = substr($dom_name, 16, strlen($dom_name) - 16); - $pos = strpos($dom_name, ","); - $dom_name = substr($dom_name, 0, $pos); - $acc->smb_domain = $dom_name; - } - else { // Samba 2 and Samba 2 profile - $acc->smb_domain = $dom_name; - } - } - continue; - } - if (substr($line, 0, 7) == "quota: ") { - $acc->quota = chop(substr($line, 7, strlen($line)-7)); - // split mountpoints - $acc->quota = explode(";", $acc->quota); - // split attributes - for ($i = 0; $i < sizeof($acc->quota); $i++) { - $temp = explode(",", $acc->quota[$i]); - $acc->quota[$i] = array(); - $acc->quota[$i][0] = $temp[0]; - $acc->quota[$i][2] = $temp[1]; - $acc->quota[$i][3] = $temp[2]; - $acc->quota[$i][6] = $temp[3]; - $acc->quota[$i][7] = $temp[4]; - } - } - } - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - return $acc; -} - -// loads an group profile -// $profile: name of the group profile (without .prg) -// the return value is an account object -function loadGroupProfile($profile) { - if (!eregi("^[0-9a-z_\\-]+$", $profile)) return false; - $acc = new account(); - $file = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/groups/" . $profile . ".prg"; - if (is_file($file) == True) { - $file = @fopen($file, "r"); - if ($file) { - while (!feof($file)) { - $line = fgets($file, 1024); - if (($line == "\n")||($line[0] == "#")) continue; // ignore comments - // search keywords - if (substr($line, 0, 12) == "smb_domain: ") { - if ($_SESSION['config']->is_samba3()) { - $dn = chop(substr($line, 12, strlen($line)-12)); - // load domain object - $dom = new samba3domain(); - $sr = @ldap_search($_SESSION['ldap']->server, $dn, "objectClass=sambaDomain"); - if ($sr) { - $info = @ldap_get_entries($_SESSION['ldap']->server, $sr); - if ($info) { - // get domain attributes - @array_shift($info); - $dom->dn = $dn; - $dom->name = $info[0]['sambadomainname'][0]; - $dom->SID = $info[0]['sambasid'][0]; - $dom->nextRID = $info[0]['sambanextrid'][0]; - $dom->nextUserRID = $info[0]['sambanextuserrid'][0]; - $dom->nextGroupRID = $info[0]['sambanextgrouprid'][0]; - if (isset($dom->RIDbase)) $dom->RIDbase = $info[0]['sambaalgorithmicridbase'][0]; - } - } - $acc->smb_domain = $dom; - } - } - if (substr($line, 0, 7) == "quota: ") { - if ($_SESSION['config']->get_scriptPath()) { - $acc->quota = chop(substr($line, 7, strlen($line)-7)); - // split mountpoints - $acc->quota = explode(";", $acc->quota); - // split attributes - for ($i = 0; $i < sizeof($acc->quota); $i++) { - $temp = explode(",", $acc->quota[$i]); - $acc->quota[$i] = array(); - $acc->quota[$i][0] = $temp[0]; - $acc->quota[$i][2] = $temp[1]; - $acc->quota[$i][3] = $temp[2]; - $acc->quota[$i][6] = $temp[3]; - $acc->quota[$i][7] = $temp[4]; - } - } - } - } - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - return $acc; -} - -// loads an host profile -// $profile: name of the host profile (without .prh) -// the return value is an account object -function loadHostProfile($profile) { - if (!eregi("^[0-9a-z_\\-]+$", $profile)) return false; - $acc = new account(); - $file = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/hosts/" . $profile . ".prh"; - if (is_file($file) == True) { - $file = @fopen($file, "r"); - if ($file) { - while (!feof($file)) { - $line = fgets($file, 1024); - if (($line == "\n")||($line[0] == "#")) continue; // ignore comments - // search keywords - if (substr($line, 0, 15) == "general_group: ") { - $acc->general_group = chop(substr($line, 15, strlen($line)-15)); - continue; - } - if (substr($line, 0, 12) == "smb_domain: ") { - if ($_SESSION['config']->is_samba3()) { - $dn = chop(substr($line, 12, strlen($line)-12)); - // load domain object - $dom = new samba3domain(); - $sr = @ldap_search($_SESSION['ldap']->server, $dn, "objectClass=sambaDomain"); - if ($sr) { - $info = @ldap_get_entries($_SESSION['ldap']->server, $sr); - if ($info) { - // get domain attributes - @array_shift($info); - $dom->dn = $dn; - $dom->name = $info[0]['sambadomainname'][0]; - $dom->SID = $info[0]['sambasid'][0]; - $dom->nextRID = $info[0]['sambanextrid'][0]; - $dom->nextUserRID = $info[0]['sambanextuserrid'][0]; - $dom->nextGroupRID = $info[0]['sambanextgrouprid'][0]; - if (isset($dom->RIDbase)) $dom->RIDbase = $info[0]['sambaalgorithmicridbase'][0]; - } - } - $acc->smb_domain = $dom; - } - else $acc->smb_domain = chop(substr($line, 12, strlen($line)-12)); - continue; - } - } - fclose($file); - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - } - else { - StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file); - } - return $acc; -} - -// saves an account object to an user profile -// file is created, if needed -// $profile: name of the user profile (without .pru) -// $account: account object which is saved -function saveUserProfile($account, $profile) { - if (!$_SESSION['loggedIn'] == true) return false; - // check profile name - if (!eregi("^[0-9a-z\\-_]+$", $profile)) return false; - if (!is_object($account)) { - StatusMessage("ERROR", "", _("saveUserProfile: account has wrong type!")); - return false; - } - $path = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/users/" . $profile . ".pru"; - $file = @fopen($path, "w"); - if ($file) { - // replace user and group names - $homedir = $account->general_homedir; - $profpath = $account->smb_profilePath; - $scriptPath = $account->smb_scriptPath; - $smbhome = $account->smb_smbhome; - if ($account->general_username) { - $homedir = str_replace($account->general_username, "\$user", $homedir); - $profpath = str_replace($account->general_username, "\$user", $profpath); - $scriptPath = str_replace($account->general_username, "\$user", $scriptPath); - $smbhome = str_replace($account->general_username, "\$user", $smbhome); - } - if ($account->general_group) { - $homedir = str_replace($account->general_group, "\$group", $homedir); - $profpath = str_replace($account->general_group, "\$group", $profpath); - $scriptPath = str_replace($account->general_group, "\$group", $scriptPath); - $smbhome = str_replace($account->general_group, "\$group", $smbhome); - } - // write attributes - if (isset($account->general_group)) fputs($file, "general_group: " . $account->general_group . "\n"); - if (isset($account->general_groupadd)) fputs($file, "general_groupadd: " . implode(";", $account->general_groupadd) . "\n"); - if (isset($account->general_homedir)) fputs($file, "general_homedir: " . $homedir . "\n"); - if (isset($account->general_shell)) fputs($file, "general_shell: " . $account->general_shell . "\n"); - if (isset($account->unix_password_no)) fputs($file, "unix_password_no: " . $account->unix_password_no . "\n"); - if (isset($account->unix_pwdwarn)) fputs($file, "unix_pwdwarn: " . $account->unix_pwdwarn . "\n"); - if (isset($account->unix_pwdallowlogin)) fputs($file, "unix_pwdallowlogin: " . $account->unix_pwdallowlogin . "\n"); - if (isset($account->unix_pwdminage)) fputs($file, "unix_pwdminage: " . $account->unix_pwdminage . "\n"); - if (isset($account->unix_pwdmaxage)) fputs($file, "unix_pwdmaxage: " . $account->unix_pwdmaxage . "\n"); - if (isset($account->unix_pwdexpire)) fputs($file, "unix_pwdexpire: " . $account->unix_pwdexpire . "\n"); - if (isset($account->unix_deactivated)) fputs($file, "unix_deactivated: " . $account->unix_deactivated . "\n"); - if (isset($account->unix_host)) fputs($file, "unix_host: " . $account->unix_host . "\n"); - if (isset($account->smb_flags['N'])) fputs($file, "smb_password_no: " . $account->smb_flags['N'] . "\n"); - if (isset($account->smb_useunixpwd)) fputs($file, "smb_useunixpwd: " . $account->smb_useunixpwd . "\n"); - if (isset($account->smb_flags['D'])) fputs($file, "smb_flagsD: " . $account->smb_flags['D'] . "\n"); - if (isset($account->smb_flags['X'])) fputs($file, "smb_flagsX: " . $account->smb_flags['X'] . "\n"); - if (isset($account->smb_homedrive)) fputs($file, "smb_homedrive: " . $account->smb_homedrive . "\n"); - if (isset($account->smb_scriptPath)) fputs($file, "smb_scriptPath: " . $scriptPath . "\n"); - if (isset($account->smb_profilePath)) fputs($file, "smb_profilePath: " . $profpath . "\n"); - if (isset($account->smb_smbuserworkstations)) fputs($file, "smb_smbuserworkstations: " . $account->smb_smbuserworkstations . "\n"); - if (isset($account->smb_smbhome)) fputs($file, "smb_smbhome: " . $smbhome . "\n"); - if (isset($account->smb_domain)) fputs($file, "smb_domain: " . $account->smb_domain . "\n"); - if (isset($account->quota)) { - // convert array to string - for ($i = 0; $i < sizeof($account->quota); $i++) { - $account->quota[$i] = implode(",", $account->quota[$i]); - } - $temp = implode(";", $account->quota); - fputs($file, "quota: " . $temp . "\n"); - } - // close file - fclose($file); - } - else { - StatusMessage("ERROR", _("Unable to save profile!"), $path); - return false; - } - return true; -} - -// saves an account object to an group profile -// file is created, if needed -// $profile: name of the group profile (without .prg) -// $account: account object which is saved -function saveGroupProfile($account, $profile) { - if (!$_SESSION['loggedIn'] == true) return false; - // check profile name - if (!eregi("^[0-9a-z\\-_]+$", $profile)) return false; - if (!is_object($account)) { - StatusMessage("ERROR", "", _("saveGroupProfile: account has wrong type!")); - return false; - } - $path = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/groups/" . $profile . ".prg"; - $file = @fopen($path, "w"); - if ($file) { - // write attributes - if (isset($account->smb_domain)) fputs($file, "smb_domain: " . $account->smb_domain . "\n"); - if (isset($account->quota)) { - // convert array to string - for ($i = 0; $i < sizeof($account->quota); $i++) { - $account->quota[$i] = implode(",", $account->quota[$i]); - } - $temp = implode(";", $account->quota); - fputs($file, "quota: " . $temp . "\n"); - } - // close file - fclose($file); - } - else { - StatusMessage("ERROR", _("Unable to save profile!"), $path); - return false; - } - return true; -} - -// saves an account object to an host profile -// file is created, if needed -// $profile: name of the host profile (without .prh) -// $account: account object which is saved -function saveHostProfile($account, $profile) { - if (!$_SESSION['loggedIn'] == true) return false; - // check profile name - if (!eregi("^[0-9a-z\\-_]+$", $profile)) return false; - if (!is_object($account)) { - StatusMessage ("ERROR", "", _("saveHostProfile: account has wrong type!")); - return false; - } - $path = substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/hosts/" . $profile . ".prh"; - $file = @fopen($path, "w"); - if ($file) { - // write attributes - if (isset($account->general_group)) fputs($file, "general_group: " . $account->general_group . "\n"); - if (isset($account->smb_domain)) fputs($file, "smb_domain: " . $account->smb_domain . "\n"); - // close file - fclose($file); - } - else { - StatusMessage("ERROR", _("Unable to save profile!"), $path); - return false; - } - return true; -} - -// deletes a user profile -function delUserProfile($file) { - if (!$_SESSION['loggedIn'] == true) return false; - if (!eregi("^[0-9a-z\\-_]+$", $file)) return false; - $prof = substr(__FILE__, 0, strlen(__FILE__) - 16) . "config/profiles/users/".$file.".pru"; - if (is_file($prof)) { - return @unlink($prof); - } -} - -// deletes a group profile -function delGroupProfile($file) { - if (!$_SESSION['loggedIn'] == true) return false; - if (!eregi("^[0-9a-z\\-_]+$", $file)) return false; - $prof = substr(__FILE__, 0, strlen(__FILE__) - 16) . "config/profiles/groups/".$file.".prg"; - if (is_file($prof)) { - return @unlink($prof); - } -} - -// deletes a host profile -function delHostProfile($file) { - if (!$_SESSION['loggedIn'] == true) return false; - if (!eregi("^[0-9a-z\\-_]+$", $file)) return false; - $prof = substr(__FILE__, 0, strlen(__FILE__) - 16) . "config/profiles/hosts/".$file.".prh"; - if (is_file($prof)) { - return @unlink($prof); - } -} - -?> diff --git a/lam-0.4/lib/status.inc b/lam-0.4/lib/status.inc deleted file mode 100644 index 7b860c04..00000000 --- a/lam-0.4/lib/status.inc +++ /dev/null @@ -1,95 +0,0 @@ -= "5" ) ini_set( "zend.ze1_compatibility_mode", 1 ); - -function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariables = array()) { - /* Setting CSS-StyleSheet class depending on the $MessageTyp and rewriting $MessageTyp with a readable string. */ - if($MessageTyp == "INFO") { - $class = "class=\"statusInfo\""; - } - elseif($MessageTyp == "WARN") { - $class = "class=\"statusWarn\""; - } - elseif($MessageTyp == "ERROR") { - $class = "class=\"statusError\""; - } - /* Set output-message, when none or false $MessageTyp is submitted. */ - else { - $class = "class=\"statusError\""; - $MessageTyp = _("LAM Internal Error"); - $MessageHeadline = _("Invalid/Missing Message type"); - $MessageText = _("Please report this error to the Bug-Tracker at {link=http://lam.sf.net}LDAP Account Manager Development Team{endlink}. The error number is {bold}0001:Invalid/Missing Message type.{endbold} Thank you."); - } - - $MessageHeadline = parseMessageString($MessageHeadline); - $MessageText = parseMessageString($MessageText); - - if (is_file("../graphics/error.png")) { - $MessageTyp = "\"""; - } - else { - $MessageTyp = "\"""; - } - - $MessageHeadline = "

" . $MessageHeadline . "

"; // Format $MessageHeadline - $MessageText = "

" . $MessageText . "

"; // Format $MessageText - $format = "
\n
\n\n\n\n\n\n
" . $MessageTyp . "" . $MessageHeadline . $MessageText . "
\n
\n
\n"; - if (is_array($MessageVariables)) { - array_unshift($MessageVariables, $format); - call_user_func_array('printf',$MessageVariables); - } - else { - printf($format, $MessageVariables); - } -} - -/* Use the three replace functions on the submitted Text. */ -function parseMessageString($MessageString) { - return linkText(colorText(boldText($MessageString))); -} - -/* Replace {bold} and {endbold} with and HTML-Tags. */ -function boldText($text) { - $pattern = "/\{bold\}([^{]*)\{endbold\}/"; // Regular expression matching {bold}[Text]{endbold} - $replace = "\\1"; // Replace pattern - return preg_replace($pattern,$replace,$text); -} - -/* Replace {color=#[HEX-Value]} or {color=[HEX-Value]} and {endcolor} with and HTML-Tags. */ -function colorText($text) { - $pattern = "/\{color=#?([0-9,a-f,A-F]{6})\}([^{]*)\{endcolor\}/"; // Regular expression matching {color=#[HEX-Value]}[Text]{endcolor} or {color=[HEX-Value]}[Text]{endcolor} - $replace = "\\2"; // Replace pattern - return preg_replace($pattern,$replace,$text); -} - -/* Replace {link=[Link-Target]} and {endlink} with and HTML-Tags. */ -function linkText($text) { - $pattern = "/\{link=([^}]*)\}([^{]*)\{endlink\}/"; // Regular expression matching {link=[Link-Target]}[Text]{endlink} - $replace = "\\2"; //Replace pattern - return preg_replace($pattern,$replace,$text); -} -?> diff --git a/lam-0.4/locale/de_DE/LC_MESSAGES/messages.mo b/lam-0.4/locale/de_DE/LC_MESSAGES/messages.mo deleted file mode 100644 index 78875fa7..00000000 Binary files a/lam-0.4/locale/de_DE/LC_MESSAGES/messages.mo and /dev/null differ diff --git a/lam-0.4/locale/de_DE/LC_MESSAGES/messages.po b/lam-0.4/locale/de_DE/LC_MESSAGES/messages.po deleted file mode 100644 index 06d1c850..00000000 --- a/lam-0.4/locale/de_DE/LC_MESSAGES/messages.po +++ /dev/null @@ -1,4087 +0,0 @@ -# translation of messages.po to Deutsch -# $Id$ -# -# -# LDAP Account Manager -# Roland Gruber , 2004. -# -msgid "" -msgstr "" -"Project-Id-Version: LDAP Account Manager 0.4.6\n" -"Report-Msgid-Bugs-To: post@rolandgruber.de \n" -"POT-Creation-Date: 2004-01-14 17:45+0200\n" -"PO-Revision-Date: 2004-05-19 19:02+0200\n" -"Last-Translator: Roland Gruber \n" -"Language-Team: Deutsch \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.3.1\n" - -#: ../help/help.inc:147 - -msgid "$%s and $%s are replaced with username or primary groupname." -msgstr "$%s und $%s werden durch Benutzer- und Gruppenname ersetzt." - -#: ../lib/account.inc:722 ../lib/account.inc:727 -#, php-format -msgid "%s already exists!" -msgstr "%s besteht schon!" - -#: ../templates/confwiz/ldaptest.php:345 ../templates/confwiz/ldaptest.php:353 -#: ../templates/confwiz/ldaptest.php:361 -msgid "(optional)" -msgstr "(optional)" - -#: ../templates/ou_edit.php:95 ../templates/ou_edit.php:160 -#: ../templates/ou_edit.php:225 ../templates/ou_edit.php:290 -#: ../templates/config/confmain.php:369 -#: ../templates/profedit/profiledelete.php:98 -#: ../templates/profedit/profiledelete.php:110 -#: ../templates/profedit/profiledelete.php:122 -#: ../templates/profedit/profilegroup.php:153 -#: ../templates/profedit/profilehost.php:122 -#: ../templates/profedit/profilemain.php:262 -#: ../templates/profedit/profileuser.php:430 -msgid "Abort" -msgstr "Abbrechen" - -#: ../templates/account/useredit.php:1118 ../help/help.inc:197 -msgid "Account deactivated" -msgstr "Account ist deaktiviert" - -#: ../help/help.inc:180 -msgid "Account expire date. Format: DD-MM-YYYY" -msgstr "Account-Ablaufdatum im Format: TT-MM-JJJJ" - -#: ../templates/profedit/profileuser.php:180 -msgid "Account expires on" -msgstr "Account läuft ab am" - -#: ../templates/account/useredit.php:1249 -#: ../templates/profedit/profileuser.php:218 -#: ../templates/profedit/profileuser.php:267 ../help/help.inc:207 -msgid "Account is deactivated" -msgstr "Account deaktiviert" - -#: ../templates/config/profmanage.php:155 ../help/help.inc:109 -msgid "Add profile" -msgstr "Neues Profil" - -#: ../templates/account/hostedit.php:131 -msgid "Added $ to hostname." -msgstr "$-Zeichen zum Hostnamen hinzugefügt." - -#: ../templates/account/groupedit.php:535 -msgid "Additional group members" -msgstr "Zusätzliche Gruppenmitglieder" - -#: ../templates/account/useredit.php:878 ../templates/account/useredit.php:977 -#: ../templates/profedit/profileuser.php:105 ../help/help.inc:144 -msgid "Additional groups" -msgstr "Zusätzliche Gruppen" - -#: ../templates/domain.php:136 ../templates/confwiz/ldaptest.php:372 -#: ../help/help.inc:305 -msgid "Algorithmic RID Base" -msgstr "RID-Basisnummer" - -#: ../templates/domain.php:242 ../templates/confwiz/ldaptest.php:252 -msgid "Algorithmic RID base is not a number!" -msgstr "RID-Basisnummer ist keine Zahl!" - -#: ../templates/masscreate.php:261 -msgid "All Users have been created" -msgstr "Alle Benutzeraccounts wurden erstellt." - -#: ../templates/massdetail.php:72 -msgid "All changes were reseted" -msgstr "Alle Änderungen wurden zurückgesetzt." - -#: ../templates/initsuff.php:149 -msgid "All changes were successful." -msgstr "Alle Änderungen waren erfolgreich." - -#: ../lib/ldap.inc:220 -msgid "Allowed hosts" -msgstr "Erlaubte PCs" - -#: ../templates/account/useredit.php:811 -msgid "Allowed workstations" -msgstr "Erlaubte PCs" - -#: ../templates/massdetail.php:274 ../templates/lists/listusers.php:360 -msgid "Apply" -msgstr "Ok" - -#: ../templates/config/confmain.php:237 ../templates/confwiz/o_lists.php:131 -#: ../lib/config.inc:286 -msgid "Attributes in Group List" -msgstr "Attributnamen in der Gruppenliste" - -#: ../templates/config/confmain.php:242 ../templates/confwiz/o_lists.php:136 -#: ../lib/config.inc:287 -msgid "Attributes in Host List" -msgstr "Attributnamen in der Hostliste" - -#: ../templates/config/confmain.php:232 ../templates/confwiz/o_lists.php:126 -#: ../lib/config.inc:285 -msgid "Attributes in User List" -msgstr "Attributnamen in der Benutzerliste" - -#: ../templates/confwiz/server2.php:225 -msgid "Attributes in list views" -msgstr "Attributnamen in der Listenansicht" - -#: ../templates/account/useredit.php:896 -msgid "Available groups" -msgstr "Verfügbare Gruppen" - -#: ../templates/account/groupedit.php:553 -msgid "Available users" -msgstr "Verfügbare Benutzer" - -#: ../templates/account/useredit.php:826 -msgid "Available workstations" -msgstr "Verfügbare PCs" - -#: ../templates/account/useredit.php:835 ../templates/account/useredit.php:908 -#: ../templates/masscreate.php:330 ../templates/confwiz/server2.php:235 -msgid "Back" -msgstr "Zurück" - -#: ../templates/logout.php:63 ../templates/config/conflogin.php:143 -#: ../templates/config/confsave.php:222 ../templates/confwiz/final.php:55 -msgid "Back to Login" -msgstr "Zurück zum Login" - -#: ../templates/ou_edit.php:309 ../templates/ou_edit.php:313 -msgid "Back to OU-Editor" -msgstr "Zurück zum OU-Editor" - -#: ../templates/profedit/profilecreate.php:65 -#: ../templates/profedit/profilecreate.php:76 -#: ../templates/profedit/profilecreate.php:84 -#: ../templates/profedit/profilecreate.php:92 -#: ../templates/profedit/profilecreate.php:100 -#: ../templates/profedit/profilecreate.php:108 -#: ../templates/profedit/profilecreate.php:116 -#: ../templates/profedit/profilecreate.php:124 -#: ../templates/profedit/profilecreate.php:132 -#: ../templates/profedit/profilecreate.php:140 -#: ../templates/profedit/profilecreate.php:148 -#: ../templates/profedit/profilecreate.php:156 -#: ../templates/profedit/profilecreate.php:164 -#: ../templates/profedit/profilecreate.php:172 -#: ../templates/profedit/profilecreate.php:180 -#: ../templates/profedit/profilecreate.php:188 -#: ../templates/profedit/profilecreate.php:197 -#: ../templates/profedit/profilecreate.php:207 -#: ../templates/profedit/profilecreate.php:216 -#: ../templates/profedit/profilecreate.php:224 -#: ../templates/profedit/profilecreate.php:232 -#: ../templates/profedit/profilecreate.php:248 -#: ../templates/profedit/profilecreate.php:253 -#: ../templates/profedit/profilecreate.php:258 -#: ../templates/profedit/profilecreate.php:263 -#: ../templates/profedit/profilecreate.php:275 -#: ../templates/profedit/profilecreate.php:285 -#: ../templates/profedit/profilecreate.php:298 -#: ../templates/profedit/profilecreate.php:313 -#: ../templates/profedit/profilecreate.php:318 -#: ../templates/profedit/profilecreate.php:323 -#: ../templates/profedit/profilecreate.php:328 -#: ../templates/profedit/profilecreate.php:340 -#: ../templates/profedit/profilecreate.php:350 -#: ../templates/profedit/profilecreate.php:363 -#: ../templates/profedit/profilecreate.php:371 -#: ../templates/profedit/profilecreate.php:379 -#: ../templates/profedit/profilecreate.php:387 -#: ../templates/profedit/profiledelete.php:75 -#: ../templates/profedit/profiledelete.php:83 -#: ../templates/profedit/profiledelete.php:131 -msgid "Back to Profile Editor" -msgstr "Zurück zum Profileditor" - -#: ../templates/domain.php:280 ../templates/domain.php:307 -msgid "Back to domain list" -msgstr "Zurück zur Domänenliste" - -#: ../templates/account/groupedit.php:857 ../templates/delete.php:210 -#: ../templates/delete.php:246 ../templates/lists/userlink.php:56 -msgid "Back to group list" -msgstr "Zurück zur Gruppenliste" - -#: ../templates/account/hostedit.php:471 ../templates/delete.php:213 -#: ../templates/delete.php:238 -msgid "Back to host list" -msgstr "Zurück zur Hostliste" - -#: ../templates/account/hostedit.php:100 -msgid "Back to hostlist" -msgstr "Zurück zur Hostliste" - -#: ../templates/confwiz/o_daemon.php:79 -msgid "Back to lamdaemon and PDF settings" -msgstr "Zurück zu den lamdaemon- und PDF-Einstellungen" - -#: ../templates/confwiz/o_lang.php:76 -msgid "Back to language and admin settings." -msgstr "Zurück zu den Spach- und Administratoreinstellungen" - -#: ../templates/confwiz/server2.php:88 ../templates/confwiz/server.php:85 -msgid "Back to last page" -msgstr "Zurück zur letzten Seite" - -#: ../templates/confwiz/o_lists.php:79 -msgid "Back to list settings" -msgstr "Zurück zu den Listeneinstellungen" - -#: ../templates/config/confsave.php:84 ../templates/config/confsave.php:90 -#: ../templates/config/confsave.php:95 ../templates/config/confsave.php:100 -#: ../templates/config/confsave.php:105 ../templates/config/confsave.php:110 -#: ../templates/config/confsave.php:115 ../templates/config/confsave.php:120 -#: ../templates/config/confsave.php:125 ../templates/config/confsave.php:130 -#: ../templates/config/confsave.php:135 ../templates/config/confsave.php:140 -#: ../templates/config/confsave.php:145 ../templates/config/confsave.php:150 -#: ../templates/config/confsave.php:155 ../templates/config/confsave.php:160 -#: ../templates/config/confsave.php:165 ../templates/config/confsave.php:170 -#: ../templates/config/confsave.php:176 ../templates/config/confsave.php:182 -#: ../templates/config/confsave.php:188 ../templates/config/confsave.php:194 -#: ../templates/config/confsave.php:200 -msgid "Back to preferences..." -msgstr "Zurück zu den Einstellungen" - -#: ../templates/config/profmanage.php:365 ../templates/confwiz/start.php:77 -msgid "Back to profile login" -msgstr "Zurück zum Konfigurationslogin" - -#: ../templates/confwiz/o_ranges.php:88 -msgid "Back to range settings" -msgstr "Zurück zu den Bereichseinstellungen" - -#: ../templates/confwiz/ldaptest.php:182 ../templates/confwiz/ldaptest.php:292 -#: ../templates/confwiz/ldaptest.php:568 -msgid "Back to server settings" -msgstr "Zurück zu den Servereinstellungen" - -#: ../templates/account/useredit.php:1578 ../templates/delete.php:207 -#: ../templates/delete.php:230 -msgid "Back to user list" -msgstr "Zurück zur Benutzerliste" - -#: ../templates/account/useredit.php:109 -msgid "Back to userlist" -msgstr "Zurück zur Benutzerliste" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:252 -#: ../templates/profedit/profilecreate.php:317 -msgid "Block hard quota" -msgstr "hartes Block-Quota" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:252 -#: ../templates/profedit/profilecreate.php:317 -msgid "" -"Block hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Hartes Block-Quota enthält ungültige Zeichen. Nur natürliche Zahlen sind " -"erlaubt" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:247 -#: ../templates/profedit/profilecreate.php:312 -msgid "Block soft quota" -msgstr "weiches Block-Quota" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:247 -#: ../templates/profedit/profilecreate.php:312 -msgid "" -"Block soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Weiches Block-Quota enthält ungültige Zeichen. Nur natürliche Zahlen sind " -"erlaubt" - -#: ../templates/config/confmain.php:163 ../templates/confwiz/server2.php:202 -#: ../help/help.inc:103 ../lib/config.inc:273 -msgid "Cache timeout" -msgstr "Cache Zeitbegrenzung" - -#: ../templates/config/confsave.php:94 ../templates/confwiz/server2.php:74 -msgid "Cache timeout is invalid!" -msgstr "Cache Zeitbegrenzung ist ungültig!" - -#: ../help/help.inc:145 ../help/help.inc:172 ../help/help.inc:174 -#: ../help/help.inc:176 ../help/help.inc:178 ../help/help.inc:212 -#: ../help/help.inc:215 ../help/help.inc:218 ../help/help.inc:220 -#: ../help/help.inc:223 ../help/help.inc:271 ../help/help.inc:281 -#: ../help/help.inc:283 ../help/help.inc:285 -msgid "Can be left empty." -msgstr "Kann leer bleiben." - -#: ../templates/account/hostedit.php:99 -msgid "Can not create any hosts." -msgstr "Kann keine Hosts anlegen." - -#: ../templates/account/useredit.php:108 -msgid "Can not create any users." -msgstr "Kann keine Benutzer erstellen." - -#: ../templates/delete.php:111 ../templates/domain.php:178 -#: ../templates/domain.php:209 ../templates/initsuff.php:199 -#: ../templates/masscreate.php:120 ../templates/masscreate.php:248 -#: ../templates/masscreate.php:331 ../templates/confwiz/o_ranges.php:153 -#: ../templates/confwiz/o_daemon.php:142 ../templates/confwiz/ldaptest.php:209 -#: ../templates/confwiz/ldaptest.php:402 ../templates/confwiz/ldaptest.php:491 -#: ../templates/confwiz/server2.php:236 ../templates/confwiz/o_lang.php:163 -#: ../templates/confwiz/server.php:197 ../templates/confwiz/o_lists.php:148 -#: ../templates/confwiz/start.php:182 -msgid "Cancel" -msgstr "Abbrechen" - -#: ../templates/login.php:311 ../templates/login.php:316 -#: ../templates/confwiz/server.php:68 ../templates/confwiz/server.php:69 -msgid "Cannot connect to specified LDAP-Server. Please try again." -msgstr "Kann keine Verbindung zum LDAP-Server aufbauen. Bitte erneut versuchen." - -#: ../lib/config.inc:263 ../lib/config.inc:777 -msgid "Cannot open config file!" -msgstr "Kann Konfigurationsdatei nicht öffnen!" - -#: ../lib/pdf.inc:113 -msgid "Cellular phone" -msgstr "Mobiltelefon" - -#: ../templates/account/groupedit.php:832 -msgid "Change GID-Number of all users in group to new value" -msgstr "Ändere die GID-Nummern aller Benutzer auf den neuen Wert" - -#: ../templates/login.php:262 -msgid "Change Profile" -msgstr "Profil ändern" - -#: ../templates/lists/listdomains.php:194 -#: ../templates/lists/listgroups.php:307 ../templates/lists/listhosts.php:295 -#: ../templates/lists/listusers.php:348 -msgid "Change Suffix" -msgstr "Suffix wechseln" - -#: ../templates/config/profmanage.php:302 ../help/help.inc:117 -msgid "Change default profile" -msgstr "Standardprofil wechseln" - -#: ../templates/config/profmanage.php:322 ../help/help.inc:119 -msgid "Change master password" -msgstr "Hauptpasswort ändern" - -#: ../help/help.inc:96 -msgid "Change password" -msgstr "Passwort ändern" - -#: ../templates/massdetail.php:189 ../templates/massdetail.php:194 -msgid "Check values." -msgstr "Werte überprüfen." - -#: ../templates/masscreate.php:246 ../lib/config.inc:70 -msgid "Click here if you are not directed to the next page." -msgstr "Hier klicken wenn Sie nicht zur nächsten Seite weitergeleitet werden." - -#: ../help/help.inc:281 -msgid "Comma separated list of unix workstations the user is allowed to login." -msgstr "" -"Kommagetrennte Liste der Unix-Arbeitsstationen, auf welchen sich der " -"Benutzer anmelden darf." - -#: ../templates/delete.php:110 -msgid "Commit" -msgstr "Ok" - -#: ../templates/login.php:119 -msgid "Configuration Login" -msgstr "Login für die Einstellungen" - -#: ../help/help.inc:36 ../help/help.inc:38 ../help/help.inc:50 -#: ../help/help.inc:56 ../help/help.inc:58 ../help/help.inc:60 -#: ../help/help.inc:62 ../help/help.inc:77 ../help/help.inc:82 -#: ../help/help.inc:84 ../help/help.inc:86 ../help/help.inc:91 -#: ../help/help.inc:96 ../help/help.inc:98 ../help/help.inc:103 -#: ../help/help.inc:105 ../help/help.inc:107 -msgid "Configuration Wizard" -msgstr "Einstellungen" - -#: ../templates/login.php:245 -msgid "Configuration profile" -msgstr "Einstellungsprofil" - -#: ../templates/confwiz/start.php:135 -msgid "" -"Configuration profiles are protected with a password from unauthorised " -"access. Please enter it here." -msgstr "" -"Konfigurationsprofile sind durch ein Passwort vor unerlaubten Zugriff " -"geschützt. Bitte geben Sie es hier ein." - -#: ../templates/config/conflogin.php:130 ../templates/confwiz/final.php:46 -#: ../templates/confwiz/o_ranges.php:82 ../templates/confwiz/o_ranges.php:98 -#: ../templates/confwiz/o_daemon.php:73 ../templates/confwiz/o_daemon.php:89 -#: ../templates/confwiz/ldaptest.php:168 ../templates/confwiz/ldaptest.php:191 -#: ../templates/confwiz/ldaptest.php:278 ../templates/confwiz/ldaptest.php:302 -#: ../templates/confwiz/ldaptest.php:469 ../templates/confwiz/ldaptest.php:554 -#: ../templates/confwiz/server2.php:82 ../templates/confwiz/server2.php:107 -#: ../templates/confwiz/o_lang.php:70 ../templates/confwiz/o_lang.php:86 -#: ../templates/confwiz/server.php:81 ../templates/confwiz/server.php:106 -#: ../templates/confwiz/o_lists.php:73 ../templates/confwiz/o_lists.php:89 -#: ../templates/confwiz/start.php:73 ../templates/confwiz/start.php:95 -msgid "Configuration wizard" -msgstr "Einstellungsassistent" - -#: ../templates/masscreate.php:281 -msgid "Confirm List" -msgstr "Liste bestätigen" - -#: ../templates/masscreate.php:122 -msgid "Contiune" -msgstr "Weiter" - -#: ../templates/masscreate.php:206 -msgid "Could not create group!" -msgstr "Konnte Gruppe nicht erstellen!" - -#: ../templates/masscreate.php:236 -msgid "Could not create user!" -msgstr "Konnte Benutzer nicht erstellen!" - -#: ../templates/delete.php:185 -msgid "Could not delete group. Still users in group:" -msgstr "Konnte Gruppe nicht löschen. Es befinden sich noch Benutzer in der Gruppe:" - -#: ../templates/delete.php:193 -msgid "Could not delete group:" -msgstr "Konnte folgende Gruppe nicht löschen:" - -#: ../templates/delete.php:169 -msgid "Could not delete host:" -msgstr "Konnte folgenden Host nicht löschen:" - -#: ../templates/delete.php:164 -msgid "Could not delete user:" -msgstr "Konnte folgenden Benutzer nicht löschen:" - -#: ../templates/config/profmanage.php:90 -msgid "Could not rename file!" -msgstr "Konnte Datei nicht umbenennen!" - -#: ../templates/account/groupedit.php:823 -#: ../templates/account/hostedit.php:433 -#: ../templates/account/useredit.php:1555 ../templates/initsuff.php:198 -#: ../templates/masscreate.php:328 ../templates/confwiz/ldaptest.php:208 -#: ../templates/confwiz/ldaptest.php:401 ../templates/confwiz/ldaptest.php:489 -msgid "Create" -msgstr "Erstellen" - -#: ../templates/account/groupedit.php:837 -#: ../templates/account/hostedit.php:442 -#: ../templates/account/useredit.php:1559 -msgid "Create Account" -msgstr "Account erstellen" - -#: ../templates/account/groupedit.php:856 -#: ../templates/account/hostedit.php:470 -#: ../templates/account/useredit.php:1577 ../templates/masscreate.php:264 -msgid "Create PDF file" -msgstr "PDF-Datei erstellen" - -#: ../templates/lists/listgroups.php:319 -msgid "Create PDF for all groups" -msgstr "PDF-Datei für alle Gruppen erstellen" - -#: ../templates/lists/listhosts.php:308 -msgid "Create PDF for all hosts" -msgstr "PDF-Datei für alle Hosts erstellen" - -#: ../templates/lists/listusers.php:374 -msgid "Create PDF for all users" -msgstr "PDF-Datei für alle Benutzer erstellen" - -#: ../templates/lists/listgroups.php:317 -msgid "Create PDF for selected group(s)" -msgstr "PDF-Datei für ausgewählte Gruppe(n) erstellen" - -#: ../templates/lists/listhosts.php:306 -msgid "Create PDF for selected host(s)" -msgstr "PDF-Datei für ausgewählte(n) Host(s) erstellen" - -#: ../templates/lists/listusers.php:372 -msgid "Create PDF for selected user(s)" -msgstr "PDF-Datei für ausgewählte(n) Benutzer erstellen" - -#: ../templates/profedit/profilemain.php:180 -msgid "Create a new Group Profile" -msgstr "Neues Gruppenprofil erstellen" - -#: ../templates/profedit/profilemain.php:226 -msgid "Create a new Samba Host Profile" -msgstr "Neues Samba-Hostprofil erstellen" - -#: ../templates/profedit/profilemain.php:136 -msgid "Create a new User Profile" -msgstr "Neues Benutzerprofil erstellen" - -#: ../templates/account/groupedit.php:854 -msgid "Create another group" -msgstr "Weitere Gruppe anlegen" - -#: ../templates/account/hostedit.php:468 -msgid "Create another host" -msgstr "Weiteren Host anlegen" - -#: ../templates/account/useredit.php:1575 -msgid "Create another user" -msgstr "Weiteren Benutzer anlegen" - -#: ../templates/account/groupedit.php:451 ../templates/account/hostedit.php:92 -#: ../templates/account/hostedit.php:310 ../templates/account/useredit.php:101 -#: ../templates/account/useredit.php:741 -msgid "Create new Account" -msgstr "Neuen Account anlegen" - -#: ../templates/masscreate.php:110 ../templates/masscreate.php:133 -msgid "Create new Accounts" -msgstr "Neue Accounts erstellen" - -#: ../templates/massdetail.php:163 -msgid "Create new accounts" -msgstr "Neue Accounts anlegen" - -#: ../templates/masscreate.php:201 -#, php-format -msgid "Created group %s." -msgstr "Gruppe %s wurde angelegt." - -#: ../templates/config/profmanage.php:75 -msgid "Created new profile." -msgstr "Neues Profil wurde erstellt." - -#: ../templates/masscreate.php:231 -#, php-format -msgid "Created user %s." -msgstr "Benutzer %s wurde angelegt." - -#: ../templates/masscreate.php:156 -msgid "Creating users. Please stand by ...." -msgstr "Erstelle Benutzer. Bitte haben Sie ein wenig Geduld." - -#: ../lib/pdf.inc:327 ../lib/pdf.inc:373 ../lib/pdf.inc:452 -msgid "DN" -msgstr "DN" - -#: ../help/help.inc:204 -msgid "Date after the user is able to change his password. Format: DD-MM-YYYY" -msgstr "Datum, nach dem der Benutzer sein Passwort ändern kann. Format: TT-MM-JJJJ" - -#: ../help/help.inc:206 -msgid "Date after the user must change his password. Format: DD-MM-YYYY" -msgstr "Datum, nach dem der Benutzer sein Passwort ändern muss. Format: TT-MM-JJJJ" - -#: ../help/help.inc:172 -msgid "" -"Days before password is to expire that user is warned of pending password " -"expiration. If set value must be 0<." -msgstr "" -"Anzahl Tage, die der Benutzer gewarnt wird bevor sein Passwort abläuft. Wert " -"muss größer 0 sein." - -#: ../templates/config/confmain.php:270 ../templates/confwiz/o_lang.php:108 -#: ../help/help.inc:84 ../lib/config.inc:289 -msgid "Default language" -msgstr "Standardsprache" - -#: ../templates/domain.php:208 -msgid "Delete" -msgstr "Löschen" - -#: ../templates/delete.php:57 -msgid "Delete Account" -msgstr "Lösche Account" - -#: ../templates/lists/listdomains.php:201 -msgid "Delete Domain(s)" -msgstr "Lösche Domain(s)" - -#: ../templates/profedit/profilemain.php:205 -msgid "Delete Group Profile" -msgstr "Lösche Gruppenprofil" - -#: ../templates/lists/listgroups.php:314 -msgid "Delete Group(s)" -msgstr "Lösche Gruppe(n)" - -#: ../templates/lists/listhosts.php:303 -msgid "Delete Host(s)" -msgstr "Lösche Host(s)" - -#: ../templates/profedit/profilemain.php:250 -msgid "Delete Samba Host Profile" -msgstr "Samba-Hostprofil löschen" - -#: ../templates/profedit/profiledelete.php:44 -#: ../templates/profedit/profilemain.php:160 -msgid "Delete User Profile" -msgstr "Benutzerprofil löschen" - -#: ../templates/delete.php:102 -msgid "Delete also Homedirectories" -msgstr "Heimatverzeichnisse mitlöschen" - -#: ../templates/domain.php:199 -msgid "Delete domain(s)" -msgstr "Lösche Domäne(n)" - -#: ../templates/delete.php:86 -msgid "Delete group(s)" -msgstr "Lösche Gruppe(n)" - -#: ../templates/delete.php:80 -msgid "Delete host(s)" -msgstr "Lösche Host(s)" - -#: ../templates/profedit/profiledelete.php:82 -msgid "Delete operation canceled." -msgstr "Löschoperation abgebrochen." - -#: ../templates/ou_edit.php:357 ../templates/ou_edit.php:390 -#: ../templates/ou_edit.php:423 ../templates/ou_edit.php:457 -#: ../help/help.inc:291 -msgid "Delete organizational unit" -msgstr "Organizational Unit löschen" - -#: ../templates/config/profmanage.php:231 ../help/help.inc:113 -msgid "Delete profile" -msgstr "Lösche Profil" - -#: ../templates/delete.php:74 ../templates/lists/listusers.php:369 -msgid "Delete user(s)" -msgstr "Lösche Benutzer" - -#: ../templates/profedit/profiledelete.php:55 -#: ../templates/profedit/profiledelete.php:62 -#: ../templates/profedit/profiledelete.php:69 -msgid "Deleted profile:" -msgstr "Gelöschtes Profil:" - -#: ../templates/delete.php:242 -msgid "Deleting group(s) canceled." -msgstr "Löschoperation abgebrochen." - -#: ../templates/delete.php:131 -msgid "Deleting group(s)..." -msgstr "Lösche Gruppe(n)..." - -#: ../templates/delete.php:234 -msgid "Deleting host(s) canceled." -msgstr "Löschoperation abgebrochen." - -#: ../templates/delete.php:126 -msgid "Deleting host(s)..." -msgstr "Lösche Host(s)..." - -#: ../templates/delete.php:226 -msgid "Deleting user(s) canceled." -msgstr "Löschoperation abgebrochen." - -#: ../templates/delete.php:121 -msgid "Deleting user(s)..." -msgstr "Lösche Benutzer..." - -#: ../templates/account/groupedit.php:604 ../lib/ldap.inc:226 -#: ../lib/pdf.inc:300 ../lib/pdf.inc:342 ../lib/pdf.inc:428 -msgid "Description" -msgstr "Beschreibung" - -#: ../templates/masscreate.php:284 -msgid "Details" -msgstr "Details" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/groupedit.php:661 -#: ../templates/account/useredit.php:453 -#: ../templates/account/useredit.php:1180 ../help/help.inc:183 -#: ../lib/pdf.inc:434 -msgid "Display name" -msgstr "Anzeigename" - -#: ../templates/domain.php:200 -msgid "Do you really want to delete domain(s):" -msgstr "Soll(en) diese Domäne(n) wirklich gelöscht werden?" - -#: ../templates/delete.php:88 -msgid "Do you really want to delete group(s):" -msgstr "Soll(en) diese Gruppe(n) wirklich gelöscht werden?" - -#: ../templates/delete.php:82 -msgid "Do you really want to delete host(s):" -msgstr "Soll(en) diese(r) Host(s) wirklich gelöscht werden?" - -#: ../templates/ou_edit.php:87 ../templates/ou_edit.php:152 -#: ../templates/ou_edit.php:217 ../templates/ou_edit.php:282 -msgid "Do you really want to delete this OU?" -msgstr "Soll diese OU gelöscht werden?" - -#: ../templates/profedit/profiledelete.php:93 -#: ../templates/profedit/profiledelete.php:105 -#: ../templates/profedit/profiledelete.php:117 -msgid "Do you really want to delete this profile?" -msgstr "Soll dieses Profil gelöscht werden?" - -#: ../templates/delete.php:76 -msgid "Do you really want to delete user(s):" -msgstr "Soll(en) diese(r) Benutzer wirklich gelöscht werden?" - -#: ../templates/account/groupedit.php:708 -#: ../templates/account/hostedit.php:397 -#: ../templates/account/useredit.php:1365 -#: ../templates/profedit/profilegroup.php:72 -#: ../templates/profedit/profilehost.php:83 -#: ../templates/profedit/profileuser.php:345 ../help/help.inc:222 -#: ../help/help.inc:282 ../lib/pdf.inc:315 ../lib/pdf.inc:360 -#: ../lib/pdf.inc:446 -msgid "Domain" -msgstr "Domäne" - -#: ../templates/account/groupedit.php:238 -#: ../templates/account/groupedit.php:698 -#: ../templates/account/groupedit.php:702 -#: ../templates/account/useredit.php:393 ../templates/account/useredit.php:408 -#: ../templates/account/useredit.php:1316 -#: ../templates/account/useredit.php:1320 -#: ../templates/account/useredit.php:1354 -#: ../templates/account/useredit.php:1358 -msgid "Domain Admins" -msgstr "Domänenadministratoren" - -#: ../templates/account/groupedit.php:236 -#: ../templates/account/groupedit.php:680 -#: ../templates/account/groupedit.php:684 -#: ../templates/account/useredit.php:391 ../templates/account/useredit.php:406 -#: ../templates/account/useredit.php:1298 -#: ../templates/account/useredit.php:1302 -#: ../templates/account/useredit.php:1336 -#: ../templates/account/useredit.php:1340 -msgid "Domain Guests" -msgstr "Domänengäste" - -#: ../templates/domain.php:94 ../templates/lists/listdomains.php:86 -#: ../templates/confwiz/ldaptest.php:333 ../help/help.inc:297 -msgid "Domain SID" -msgstr "Domänen-SID" - -#: ../templates/domain.php:73 ../templates/confwiz/ldaptest.php:315 -msgid "Domain Settings" -msgstr "Domäneneinstellungen" - -#: ../templates/account/groupedit.php:237 -#: ../templates/account/groupedit.php:689 -#: ../templates/account/groupedit.php:693 -#: ../templates/account/useredit.php:392 ../templates/account/useredit.php:407 -#: ../templates/account/useredit.php:1307 -#: ../templates/account/useredit.php:1311 -#: ../templates/account/useredit.php:1345 -#: ../templates/account/useredit.php:1349 -msgid "Domain Users" -msgstr "Domänenbenutzer" - -#: ../templates/domain.php:303 -msgid "Domain deleted successfully." -msgstr "Domäne erfolgreich gelöscht." - -#: ../templates/domain.php:259 -msgid "Domain has been modified." -msgstr "Domäne wurde geändert." - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -#: ../templates/domain.php:78 ../templates/lists/listdomains.php:85 -#: ../templates/confwiz/ldaptest.php:320 ../help/help.inc:293 -msgid "Domain name" -msgstr "Domänenname" - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -msgid "" -"Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and -." -msgstr "" -"Domänenname enthält ungültige Zeichen. Gültige Zeichen sind: a-z, A-Z, 0-9 " -"und -." - -#: ../templates/domain.php:232 ../templates/profedit/profilecreate.php:231 -#: ../templates/profedit/profilecreate.php:297 -#: ../templates/profedit/profilecreate.php:370 -#: ../templates/confwiz/ldaptest.php:235 -msgid "Domain name is invalid!" -msgstr "Domänenname ist ungültig!" - -#: ../templates/config/confmain.php:138 ../templates/confwiz/server2.php:156 -#: ../lib/config.inc:278 -msgid "DomainSuffix" -msgstr "DomänenSuffix" - -#: ../templates/config/confsave.php:119 ../templates/confwiz/server2.php:68 -msgid "DomainSuffix is invalid!" -msgstr "Domänensuffix ist ungültig!" - -#: ../templates/main_header.php:72 ../templates/ou_edit.php:439 -msgid "Domains" -msgstr "Domänen" - -#: ../help/help.inc:210 -msgid "Driveletter assigned on windows workstations as homedirectory." -msgstr "Laufwerksbuchstabe, der als Heimatverzeichnis zugewiesen wird." - -#: ../lib/ldap.inc:225 ../lib/pdf.inc:105 -msgid "E-Mail" -msgstr "E-Mail" - -#: ../templates/lists/listdomains.php:155 -#: ../templates/lists/listgroups.php:239 ../templates/lists/listhosts.php:243 -#: ../templates/lists/listusers.php:297 -msgid "Edit" -msgstr "Editieren" - -#: ../templates/profedit/profilemain.php:193 -msgid "Edit Group Profile" -msgstr "Gruppenprofil ändern" - -#: ../templates/profedit/profilemain.php:238 -msgid "Edit Samba Host Profile" -msgstr "Hostprofil ändern" - -#: ../templates/profedit/profilemain.php:148 -msgid "Edit User Profile" -msgstr "Benutzerprofil ändern" - -#: ../templates/account/useredit.php:978 -msgid "Edit groups" -msgstr "Gruppen ändern" - -#: ../templates/account/useredit.php:1278 -msgid "Edit workstations" -msgstr "Arbeitsstationen ändern" - -#: ../templates/account/useredit.php:496 -#: ../templates/account/useredit.php:1472 ../templates/masscreate.php:377 -#: ../templates/masscreate.php:575 ../templates/massdetail.php:142 -#: ../templates/massdetail.php:226 ../help/help.inc:250 -msgid "Employee type" -msgstr "Angestelltentyp" - -#: ../help/help.inc:251 -msgid "Employee type: Contractor, Employee, Intern, Temp, External, ..." -msgstr "Angestelltentyp: Angestellter, Extern, Aushilfskraft, ..." - -#: ../templates/login.php:287 -msgid "Empty Password submitted. Try again." -msgstr "Das Passwort war leer. Bitte erneut eingeben." - -#: ../templates/login.php:139 -msgid "Enter Username and Password for Account" -msgstr "Geben Sie Benutzernamen und Passwort ein" - -#: ../templates/masscreate.php:284 -msgid "Errors" -msgstr "Fehler" - -#: ../templates/confwiz/o_lang.php:147 ../templates/confwiz/o_lists.php:109 -#: ../help/help.inc:65 ../help/help.inc:80 -msgid "Example" -msgstr "Beispiel" - -#: ../templates/confwiz/server.php:124 ../help/help.inc:41 ../help/help.inc:53 -msgid "Examples" -msgstr "Beispiele" - -#: ../templates/masscreate.php:402 ../help/help.inc:187 -msgid "Expand suffix with primary groupname" -msgstr "Suffix um primäre Gruppe erweitern" - -#: ../templates/account/useredit.php:1099 ../help/help.inc:179 -msgid "Expire date" -msgstr "Ablaufdatum" - -#: ../lib/pdf.inc:117 -msgid "Facsimile" -msgstr "Fax" - -#: ../templates/domain.php:277 ../templates/confwiz/ldaptest.php:267 -msgid "Failed to add domain!" -msgstr "Konnte Domäne nicht erstellen!" - -#: ../templates/initsuff.php:141 ../templates/confwiz/ldaptest.php:179 -msgid "Failed to create entry!" -msgstr "Konnte Eintrag nicht erstellen!" - -#: ../templates/domain.php:260 -msgid "Failed to modify domain!" -msgstr "Konnte Domäne nicht ändern!" - -#: ../templates/account/useredit.php:491 -#: ../templates/account/useredit.php:1508 ../templates/masscreate.php:369 -#: ../templates/masscreate.php:570 ../templates/massdetail.php:154 -#: ../templates/massdetail.php:262 ../help/help.inc:262 ../help/help.inc:263 -msgid "Fax number" -msgstr "Faxnummer" - -#: ../templates/main_header.php:58 ../templates/masscreate.php:347 -msgid "File Upload" -msgstr "Dateiupload" - -#: ../help/help.inc:212 -#, php-format -msgid "" -"Filename and -path relative to netlogon-share which should be executed on " -"logon. $%s and $%s are replaced with user- and groupname." -msgstr "" -"Dateiname und -pfad relativ zur Netlogon-Freigabe des Scripts, das beim " -"Login ausgeführt wird. $%s und $%s werden mit Benutzer- und Gruppenname " -"ersetzt." - -#: ../templates/lists/listgroups.php:208 ../templates/lists/listhosts.php:212 -#: ../templates/lists/listusers.php:254 -msgid "Filter" -msgstr "Filtern" - -#: ../templates/account/groupedit.php:525 -#: ../templates/account/groupedit.php:582 -#: ../templates/account/groupedit.php:649 -#: ../templates/account/groupedit.php:745 -#: ../templates/account/groupedit.php:802 -#: ../templates/account/useredit.php:796 ../templates/account/useredit.php:866 -#: ../templates/account/useredit.php:928 -#: ../templates/account/useredit.php:1049 -#: ../templates/account/useredit.php:1166 -#: ../templates/account/useredit.php:1405 -#: ../templates/account/useredit.php:1454 -#: ../templates/account/useredit.php:1534 -msgid "Final" -msgstr "Abschluss" - -#: ../templates/account/useredit.php:954 ../lib/ldap.inc:221 -msgid "First name" -msgstr "Vorname" - -#: ../lib/pdf.inc:440 -msgid "GID" -msgstr "Gruppen ID" - -#: ../templates/account/groupedit.php:600 ../help/help.inc:58 -#: ../help/help.inc:157 ../lib/ldap.inc:218 ../lib/ldap.inc:230 -#: ../lib/ldap.inc:241 -msgid "GID number" -msgstr "GID Nummer" - -#: ../templates/account/groupedit.php:334 -msgid "" -"GID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"GID-Nummer hat sich geändert. Sie müssen folgenden Befehl als root " -"ausführen, um die Dateirechte zu ändern:" - -#: ../templates/account/groupedit.php:171 -#: ../templates/account/hostedit.php:186 ../templates/account/hostedit.php:385 -#: ../templates/account/useredit.php:241 ../templates/account/useredit.php:987 -#: ../templates/masscreate.php:555 ../help/help.inc:149 ../help/help.inc:160 -#: ../help/help.inc:169 -msgid "Gecos" -msgstr "Beschreibung" - -#: ../templates/account/groupedit.php:517 -#: ../templates/account/groupedit.php:574 -#: ../templates/account/groupedit.php:644 -#: ../templates/account/groupedit.php:738 -#: ../templates/account/groupedit.php:795 -#: ../templates/account/useredit.php:790 ../templates/account/useredit.php:860 -#: ../templates/account/useredit.php:922 -#: ../templates/account/useredit.php:1043 -#: ../templates/account/useredit.php:1160 -#: ../templates/account/useredit.php:1400 -#: ../templates/account/useredit.php:1448 -#: ../templates/account/useredit.php:1528 -msgid "General" -msgstr "Allgemein" - -#: ../templates/account/groupedit.php:594 -#: ../templates/account/hostedit.php:362 ../templates/account/useredit.php:940 -msgid "General properties" -msgstr "Allgemeine Eigenschaften" - -#: ../templates/account/useredit.php:1066 -msgid "Generate password" -msgstr "Passwort generieren" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:355 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 ../templates/massdetail.php:208 -#: ../help/help.inc:193 ../lib/pdf.inc:89 -msgid "Given name" -msgstr "Vorname" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 -msgid "Given name contains invalid characters" -msgstr "Vorname enthält ungültige Zeichen" - -#: ../help/help.inc:194 -msgid "Given name of user. Only letters, - and spaces are allowed." -msgstr "Vorname des Benutzers. Es sind nur Buchstaben, - und Leerzeichen erlaubt." - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 ../help/help.inc:234 -msgid "Grace block period" -msgstr "Block-Frist" - -#: ../help/help.inc:235 -msgid "Grace block period. Most filesystems use a fixed maximum value of 7 days." -msgstr "Block-Frist. Viele Dateisysteme verwenden ein festes Maximum von 7 Tagen." - -#: ../help/help.inc:246 -msgid "" -"Grace inode (files) period. Most filesystems use a fixed maximum value of 7 " -"days." -msgstr "Inode-Frist. Viele Dateisysteme verwenden ein festes Maximum von 7 Tagen." - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 ../help/help.inc:245 -msgid "Grace inode period" -msgstr "Inode-Frist" - -#: ../templates/masscreate.php:279 -msgid "Group" -msgstr "Gruppe" - -#: ../templates/account/groupedit.php:850 -#, php-format -msgid "Group %s has been created." -msgstr "Gruppe %s wurde erstellt." - -#: ../templates/account/groupedit.php:847 -#, php-format -msgid "Group %s has been modified." -msgstr "Gruppe %s wurde geändert." - -#: ../templates/profedit/profilemain.php:172 -msgid "Group Profiles" -msgstr "Gruppenprofile" - -#: ../templates/confwiz/ldaptest.php:484 -msgid "Group SID" -msgstr "Gruppen-SID" - -#: ../lib/ldap.inc:233 -msgid "Group description" -msgstr "Gruppenbeschreibung" - -#: ../help/help.inc:161 -msgid "Group description. If left empty group name will be used." -msgstr "Gruppenbeschreibung. Falls leer wird der Gruppename verwendet." - -#: ../lib/pdf.inc:415 ../lib/pdf.inc:555 -msgid "Group information page" -msgstr "Gruppeninformationen" - -#: ../templates/config/confsave.php:159 ../templates/confwiz/o_lists.php:57 -msgid "Group list attributes are invalid!" -msgstr "Attribute der Gruppenliste sind ungültig!" - -#: ../lib/ldap.inc:232 -msgid "Group member DNs" -msgstr "DNs der Gruppenmitglieder" - -#: ../templates/account/groupedit.php:538 ../help/help.inc:181 -#: ../help/help.inc:284 ../lib/ldap.inc:231 -msgid "Group members" -msgstr "Gruppenmitglieder" - -#: ../lib/ldap.inc:229 -msgid "Group name" -msgstr "Gruppenname" - -#: ../help/help.inc:156 -msgid "" -"Group name of the group which should be created. Valid characters are: a-z,0-" -"9, .-_. Lam does not allow a number as first character because groupadd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. If groupname is already used groupname will be " -"expanded with a number. The next free number will be used." -msgstr "" -"Gruppenname der zu erstellenden Gruppe. Gültige Zeichen sind: a-z, 0-9 und .-" -"_. LAM erlaubt keine Zahlen als erstes Zeichen weil es groupadd auch nicht " -"erlaubt. Großbuchstaben am Anfang können Probleme verursachen und sind " -"ebenfalls nicht erlaubt. Sollte der Gruppenname schon in Verwendung sein " -"wird eine Zahl angehängt." - -#: ../templates/masscreate.php:406 ../help/help.inc:189 -msgid "Group suffix" -msgstr "Gruppensuffix" - -#: ../lib/pdf.inc:146 -msgid "Group(s)" -msgstr "Gruppe(n)" - -#: ../templates/lists/listgroups.php:353 -msgid "Group(s) found" -msgstr "Gruppe(n) gefunden" - -#: ../templates/config/confmain.php:128 ../templates/confwiz/server2.php:139 -#: ../lib/config.inc:276 -msgid "GroupSuffix" -msgstr "Gruppensuffix" - -#: ../templates/config/confsave.php:109 ../templates/confwiz/server2.php:62 -msgid "GroupSuffix is invalid!" -msgstr "GruppenSuffix ist ungültig!" - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/groupedit.php:168 -#: ../templates/account/groupedit.php:208 -#: ../templates/account/groupedit.php:596 ../help/help.inc:155 -msgid "Groupname" -msgstr "Gruppenname" - -#: ../templates/account/groupedit.php:208 -msgid "Groupname already in use. Selected next free groupname." -msgstr "" -"Gruppenname wird bereits verwendet. Nächster freier Gruppenname wurde " -"ausgewählt." - -#: ../templates/account/groupedit.php:168 -msgid "" -"Groupname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Gruppenname enthält ungültige Zeichen. Gültige Zeichen sind: a-z, A-Z, 0-" -"9, ., - und _!" - -#: ../templates/main_header.php:74 ../templates/main_header.php:79 -#: ../templates/ou_edit.php:372 ../templates/confwiz/o_lists.php:115 -#: ../help/help.inc:72 -msgid "Groups" -msgstr "Gruppen" - -#: ../lib/pdf.inc:243 -msgid "Hard block" -msgstr "hartes Block-Limit" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:101 -#: ../templates/profedit/profileuser.php:378 ../help/help.inc:231 -#: ../help/help.inc:232 -msgid "Hard block limit" -msgstr "hartes Block-Limit" - -#: ../lib/pdf.inc:244 -msgid "Hard inode" -msgstr "hartes Inode-Limit" - -#: ../help/help.inc:243 -msgid "Hard inode (files) limit" -msgstr "Hartes Inode-Limit (Datein)" - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 -#: ../templates/profedit/profilegroup.php:103 -#: ../templates/profedit/profileuser.php:380 ../help/help.inc:242 -msgid "Hard inode limit" -msgstr "hartes Inode-Limit" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "Have to add objectClass posixAccount." -msgstr "ObjectClass posixAccount muss hinzugefügt werden." - -#: ../templates/account/groupedit.php:330 -msgid "Have to add objectClass posixGroup." -msgstr "ObjectClass posixGroup muss hinzugefügt werden." - -#: ../templates/account/hostedit.php:226 -msgid "" -"Have to add objectClass sambaAccount. Host with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"Objektklasse sambaAccount muss hinzugefügt werden. Der Hostaccount wird von " -"sambaSamAccount auf sambaAccount zurückgesetzt." - -#: ../templates/account/useredit.php:594 -msgid "" -"Have to add objectClass sambaAccount. User with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"Objektklasse sambaAccount muss hinzugefügt werden. Der Benutzer wird von " -"sambaSamAccount zurückgesetzt." - -#: ../templates/account/groupedit.php:328 -msgid "Have to add objectClass sambaGroupMapping." -msgstr "ObjectClass sambaGroupMapping muss hinzugefügt werden." - -#: ../templates/account/hostedit.php:224 -msgid "" -"Have to add objectClass sambaSamAccount. Host with sambaAccount will be " -"updated." -msgstr "" -"Objektklasse sambaSamAccount muss hinzugefügt werden. Der Host wird auf " -"sambaSamAccount aktualisiert." - -#: ../templates/account/useredit.php:590 -msgid "" -"Have to add objectClass sambaSamAccount. User with sambaAccount will be " -"updated." -msgstr "" -"Objektklasse sambaSamAccount muss hinzugefügt werden. Der Benutzer wird von " -"sambaAccount auf sambaSamAccount aktualisiert." - -#: ../templates/account/useredit.php:587 -msgid "Have to add objectClass shadowAccount." -msgstr "ObjectClass shadowAccount muss hinzugefügt werden." - -#: ../templates/account/groupedit.php:551 -#: ../templates/account/groupedit.php:599 -#: ../templates/account/groupedit.php:602 -#: ../templates/account/groupedit.php:606 -#: ../templates/account/groupedit.php:617 -#: ../templates/account/groupedit.php:631 -#: ../templates/account/groupedit.php:664 -#: ../templates/account/groupedit.php:706 -#: ../templates/account/groupedit.php:723 -#: ../templates/account/groupedit.php:762 -#: ../templates/account/groupedit.php:763 -#: ../templates/account/groupedit.php:764 -#: ../templates/account/groupedit.php:765 -#: ../templates/account/groupedit.php:766 -#: ../templates/account/groupedit.php:819 -#: ../templates/account/hostedit.php:358 ../templates/account/hostedit.php:368 -#: ../templates/account/hostedit.php:374 ../templates/account/hostedit.php:383 -#: ../templates/account/hostedit.php:388 ../templates/account/hostedit.php:415 -#: ../templates/account/hostedit.php:426 ../templates/account/hostedit.php:452 -#: ../templates/account/useredit.php:824 ../templates/account/useredit.php:894 -#: ../templates/account/useredit.php:946 ../templates/account/useredit.php:952 -#: ../templates/account/useredit.php:958 ../templates/account/useredit.php:964 -#: ../templates/account/useredit.php:974 ../templates/account/useredit.php:980 -#: ../templates/account/useredit.php:985 ../templates/account/useredit.php:990 -#: ../templates/account/useredit.php:999 -#: ../templates/account/useredit.php:1011 -#: ../templates/account/useredit.php:1025 -#: ../templates/account/useredit.php:1077 -#: ../templates/account/useredit.php:1082 -#: ../templates/account/useredit.php:1087 -#: ../templates/account/useredit.php:1092 -#: ../templates/account/useredit.php:1097 -#: ../templates/account/useredit.php:1116 -#: ../templates/account/useredit.php:1122 -#: ../templates/account/useredit.php:1130 -#: ../templates/account/useredit.php:1183 -#: ../templates/account/useredit.php:1197 -#: ../templates/account/useredit.php:1203 -#: ../templates/account/useredit.php:1209 -#: ../templates/account/useredit.php:1228 -#: ../templates/account/useredit.php:1247 -#: ../templates/account/useredit.php:1253 -#: ../templates/account/useredit.php:1260 -#: ../templates/account/useredit.php:1265 -#: ../templates/account/useredit.php:1270 -#: ../templates/account/useredit.php:1275 -#: ../templates/account/useredit.php:1280 -#: ../templates/account/useredit.php:1363 -#: ../templates/account/useredit.php:1384 -#: ../templates/account/useredit.php:1421 -#: ../templates/account/useredit.php:1422 -#: ../templates/account/useredit.php:1423 -#: ../templates/account/useredit.php:1424 -#: ../templates/account/useredit.php:1425 -#: ../templates/account/useredit.php:1470 -#: ../templates/account/useredit.php:1476 -#: ../templates/account/useredit.php:1482 -#: ../templates/account/useredit.php:1488 -#: ../templates/account/useredit.php:1494 -#: ../templates/account/useredit.php:1500 -#: ../templates/account/useredit.php:1506 -#: ../templates/account/useredit.php:1512 -#: ../templates/account/useredit.php:1518 -#: ../templates/account/useredit.php:1551 ../templates/domain.php:86 -#: ../templates/domain.php:102 ../templates/domain.php:113 -#: ../templates/domain.php:121 ../templates/domain.php:129 -#: ../templates/domain.php:141 ../templates/domain.php:159 -#: ../templates/masscreate.php:395 ../templates/masscreate.php:400 -#: ../templates/masscreate.php:405 ../templates/masscreate.php:410 -#: ../templates/masscreate.php:418 ../templates/massdetail.php:206 -#: ../templates/massdetail.php:212 ../templates/massdetail.php:218 -#: ../templates/massdetail.php:224 ../templates/massdetail.php:230 -#: ../templates/massdetail.php:236 ../templates/massdetail.php:242 -#: ../templates/massdetail.php:248 ../templates/massdetail.php:254 -#: ../templates/massdetail.php:260 ../templates/massdetail.php:266 -#: ../templates/massdetail.php:272 ../templates/ou_edit.php:352 -#: ../templates/ou_edit.php:365 ../templates/ou_edit.php:385 -#: ../templates/ou_edit.php:398 ../templates/ou_edit.php:418 -#: ../templates/ou_edit.php:431 ../templates/ou_edit.php:452 -#: ../templates/ou_edit.php:465 ../templates/config/conflogin.php:119 -#: ../templates/config/confmain.php:116 ../templates/config/confmain.php:125 -#: ../templates/config/confmain.php:130 ../templates/config/confmain.php:135 -#: ../templates/config/confmain.php:140 ../templates/config/confmain.php:156 -#: ../templates/config/confmain.php:172 ../templates/config/confmain.php:186 -#: ../templates/config/confmain.php:203 ../templates/config/confmain.php:212 -#: ../templates/config/confmain.php:221 ../templates/config/confmain.php:234 -#: ../templates/config/confmain.php:239 ../templates/config/confmain.php:244 -#: ../templates/config/confmain.php:259 ../templates/config/confmain.php:299 -#: ../templates/config/confmain.php:313 ../templates/config/confmain.php:317 -#: ../templates/config/confmain.php:331 ../templates/config/confmain.php:345 -#: ../templates/config/confmain.php:353 ../templates/config/profmanage.php:163 -#: ../templates/config/profmanage.php:210 -#: ../templates/config/profmanage.php:235 -#: ../templates/config/profmanage.php:264 -#: ../templates/config/profmanage.php:307 -#: ../templates/config/profmanage.php:330 -#: ../templates/config/profmanage.php:358 -#: ../templates/profedit/profilegroup.php:84 -#: ../templates/profedit/profilegroup.php:106 -#: ../templates/profedit/profilegroup.php:107 -#: ../templates/profedit/profilegroup.php:108 -#: ../templates/profedit/profilegroup.php:109 -#: ../templates/profedit/profilegroup.php:110 -#: ../templates/profedit/profilegroup.php:145 -#: ../templates/profedit/profilehost.php:75 -#: ../templates/profedit/profilehost.php:100 -#: ../templates/profedit/profilehost.php:114 -#: ../templates/profedit/profileuser.php:100 -#: ../templates/profedit/profileuser.php:112 -#: ../templates/profedit/profileuser.php:122 -#: ../templates/profedit/profileuser.php:134 -#: ../templates/profedit/profileuser.php:147 -#: ../templates/profedit/profileuser.php:154 -#: ../templates/profedit/profileuser.php:161 -#: ../templates/profedit/profileuser.php:168 -#: ../templates/profedit/profileuser.php:175 -#: ../templates/profedit/profileuser.php:200 -#: ../templates/profedit/profileuser.php:210 -#: ../templates/profedit/profileuser.php:223 -#: ../templates/profedit/profileuser.php:242 -#: ../templates/profedit/profileuser.php:252 -#: ../templates/profedit/profileuser.php:262 -#: ../templates/profedit/profileuser.php:272 -#: ../templates/profedit/profileuser.php:306 -#: ../templates/profedit/profileuser.php:313 -#: ../templates/profedit/profileuser.php:320 -#: ../templates/profedit/profileuser.php:327 -#: ../templates/profedit/profileuser.php:337 -#: ../templates/profedit/profileuser.php:362 -#: ../templates/profedit/profileuser.php:383 -#: ../templates/profedit/profileuser.php:384 -#: ../templates/profedit/profileuser.php:385 -#: ../templates/profedit/profileuser.php:386 -#: ../templates/profedit/profileuser.php:387 -#: ../templates/profedit/profileuser.php:422 -#: ../templates/confwiz/o_ranges.php:125 ../templates/confwiz/o_ranges.php:134 -#: ../templates/confwiz/o_ranges.php:143 ../templates/confwiz/ldaptest.php:325 -#: ../templates/confwiz/ldaptest.php:338 ../templates/confwiz/ldaptest.php:349 -#: ../templates/confwiz/ldaptest.php:357 ../templates/confwiz/ldaptest.php:365 -#: ../templates/confwiz/ldaptest.php:376 ../templates/confwiz/ldaptest.php:393 -msgid "Help" -msgstr "Hilfe" - -#: ../help/help.inc:145 -msgid "Hold the CTRL-key to (de)select multiple groups." -msgstr "Halten Sie Strg gedrückt um mehrere Gruppen zu markieren." - -#: ../templates/profedit/profileuser.php:120 ../lib/pdf.inc:158 -msgid "Home Directory" -msgstr "Home Verzeichnis" - -#: ../templates/account/useredit.php:562 -msgid "" -"Home Directory has changed. You have to run the following command as root in " -"order to change the existing homedirectory:" -msgstr "" -"Heimatverzeichnis wurde geändert. Sie müssen folgendes Kommando als root-" -"Benutzer ausführen um das alte Verzeichnis zu ändern:" - -#: ../templates/account/useredit.php:296 ../templates/account/useredit.php:298 -#: ../templates/account/useredit.php:982 ../help/help.inc:146 -#: ../lib/ldap.inc:223 -msgid "Home directory" -msgstr "Heimatverzeichnis" - -#: ../templates/account/useredit.php:1255 -#: ../templates/profedit/profileuser.php:280 ../help/help.inc:209 -#: ../lib/pdf.inc:206 -msgid "Home drive" -msgstr "Heimatlaufwerk" - -#: ../templates/account/useredit.php:438 ../templates/account/useredit.php:440 -#: ../templates/account/useredit.php:1262 -#: ../templates/profedit/profileuser.php:311 ../help/help.inc:219 -msgid "Home path" -msgstr "Heimatverzeichnis" - -#: ../templates/account/useredit.php:440 -msgid "Home path is invalid." -msgstr "Heimatverzeichnis ist ungültig." - -#: ../templates/profedit/profilecreate.php:75 -msgid "Homedir is invalid!" -msgstr "Heimatverzeichnis ist ungültig!" - -#: ../templates/account/useredit.php:298 -msgid "Homedirectory contains invalid characters." -msgstr "Heimatverzeichnis enthält ungültige Zeichen." - -#: ../templates/account/hostedit.php:464 -#, php-format -msgid "Host %s has been created." -msgstr "Host %s wurde erstellt." - -#: ../templates/account/hostedit.php:461 -#, php-format -msgid "Host %s has been modified." -msgstr "Host %s wurde geändert." - -#: ../templates/profedit/profilehost.php:63 -msgid "Host attributes" -msgstr "Hostattribute" - -#: ../lib/ldap.inc:239 -msgid "Host description" -msgstr "Hostbeschreibung" - -#: ../help/help.inc:170 -msgid "Host description. If left empty host name will be used." -msgstr "Hostbeschreibung. Falls leer wird der Hostname verwendet." - -#: ../templates/config/confsave.php:164 ../templates/confwiz/o_lists.php:60 -msgid "Host list attributes are invalid!" -msgstr "Attribute der Hostliste sind ungültig!" - -#: ../templates/account/hostedit.php:131 ../templates/account/hostedit.php:137 -#: ../templates/account/hostedit.php:177 ../templates/account/hostedit.php:364 -#: ../help/help.inc:162 ../lib/ldap.inc:237 -msgid "Host name" -msgstr "Hostname" - -#: ../help/help.inc:163 -msgid "" -"Host name of the host which should be created. Valid characters are: a-z,0-" -"9, .-_$. Lam does not allow a number as first character because useradd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. Hostnames are always ending with $. If last " -"character is not $ it will be added. If hostname is already used hostname " -"will be expanded with a number. The next free number will be used." -msgstr "" -"Hostname des zu erstellenden Hosts. Gültige Zeichen sind: a-z, 0-9 und .-_$. " -"LAM erlaubt keine Zahlen als erstes Zeichen weil es useradd auch nicht " -"erlaubt. Großbuchstaben am Anfang können Probleme verursachen und sind " -"ebenfalls nicht erlaubt. Sollte der Hostname schon in Verwendung sein wird " -"eine Zahl angehängt." - -#: ../lib/ldap.inc:236 -msgid "Host username" -msgstr "Host Benutzername" - -#: ../templates/config/confmain.php:133 ../templates/confwiz/server2.php:147 -#: ../lib/config.inc:277 -msgid "HostSuffix" -msgstr "HostSuffix" - -#: ../templates/config/confsave.php:114 ../templates/confwiz/server2.php:65 -msgid "HostSuffix is invalid!" -msgstr "Hostsuffix ist ungültig!" - -#: ../templates/account/hostedit.php:120 -msgid "Hostname" -msgstr "Hostname" - -#: ../templates/account/hostedit.php:177 -msgid "Hostname already in use. Selected next free hostname." -msgstr "Hostname wird bereits verwendet. Nächster freier Hostname wurde ausgewählt." - -#: ../templates/account/hostedit.php:137 -msgid "" -"Hostname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Hostname enthält ungültige Zeichen. Gültige Zeichen sind: a-z, A-Z, 0-9 " -"und .-_." - -#: ../templates/main_header.php:75 ../templates/main_header.php:80 -#: ../templates/confwiz/o_lists.php:118 ../help/help.inc:75 -msgid "Hosts" -msgstr "Hosts" - -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID is already in use" -msgstr "ID wird bereits verwendet" - -#: ../lib/account.inc:878 ../lib/account.inc:879 ../lib/account.inc:890 -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID-Number" -msgstr "ID-Nummer" - -#: ../templates/masscreate.php:383 -msgid "If Primary group does not exist it will be created." -msgstr "Falls die primäre Gruppe nicht existiert wird sie erstellt." - -#: ../templates/masscreate.php:381 -msgid "If Primary group is not given it'll used from profile." -msgstr "Falls die primäre Gruppe nicht angegeben ist wird die im Profil verwendet." - -#: ../help/help.inc:190 -msgid "" -"If a not yet existing group is defined in csv-file, a new group in the " -"selected group suffix will be created." -msgstr "" -"Wenn in der CSV-Datei eine Gruppe, die noch nicht existiert, vorkommt wird " -"sie im gewählten Gruppensuffix erstellt." - -#: ../help/help.inc:269 -msgid "" -"If a not yet existing group is defined in csv-file, a new group with the " -"selected group profile will be created." -msgstr "" -"Wenn in der CSV-Datei eine Gruppe, die noch nicht existiert, vorkommt wird " -"sie mit dem gewählten Gruppenprofil erstellt." - -#: ../help/help.inc:198 -msgid "" -"If checked account will be deactivated by putting a ! before the encrypted " -"password." -msgstr "" -"Falls aktiviert wird der Account deaktiviert indem ein ! vor das " -"verschlüsselte Passwort gesetzt wird." - -#: ../help/help.inc:208 -msgid "If checked account will be deactivated. (Setting D-Flag)" -msgstr "Falls angekreuzt wird der Account deaktiviert. (D-Flag wird gesetzt)" - -#: ../help/help.inc:196 -msgid "If checked no password will be used." -msgstr "Falls angekreuzt wird kein Passwort verwendet." - -#: ../help/help.inc:202 -msgid "If checked password does not expire. (Setting X-Flag)" -msgstr "Falls angekreuzt läuft das Passwort nicht aus. (X-Flag wird gesetzt)" - -#: ../help/help.inc:200 -msgid "If checked unix password will also be used as samba password." -msgstr "Falls aktiviert wird das Unix-Passwort auch als Samba-Passwort verwendet." - -#: ../help/help.inc:158 -#, php-format -msgid "" -"If empty GID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"Falls leer wird die GID-Nummer automatisch generiert. Gültige Werte liegen " -"zwischen %s und %s." - -#: ../help/help.inc:142 ../help/help.inc:165 -#, php-format -msgid "" -"If empty UID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"Falls leer wird die UID-Nummer automatisch generiert. Gültige Werte liegen " -"zwischen %s und %s." - -#: ../help/help.inc:188 -msgid "" -"If selected users will be added with OUs expanded with their primary group. " -"E.g. if a user is in group admin the user suffix will be ou=admin,+user " -"suffix." -msgstr "" -"Diese Option erweitert die OU der Benutzer um die primäre Gruppe. Wenn z.B. " -"ein Benutzer in der Gruppe Administratoren ist wird der Benutzersuffix " -"ou=Administratoren,+Benutzersuffix sein." - -#: ../help/help.inc:127 -msgid "If set to \"yes\" the Windows password will be the same as the Unix one." -msgstr "Bei \"ja\" wird das Unix-Passwort auch als Windows-Passwort verwendet." - -#: ../help/help.inc:131 -msgid "If set to \"yes\" the user will be able to change his Windows password." -msgstr "Bei \"ja\" kann der Benutzer sein Passwort ändern." - -#: ../help/help.inc:129 ../help/help.inc:133 -msgid "If unsure say \"yes\" here." -msgstr "Wenn Sie unsicher sind wählen Sie \"ja\"." - -#: ../help/help.inc:99 -msgid "" -"If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise " -"\"no\"." -msgstr "" -"Wenn Sie Samba 3.x mit dem neuen LDAP-Schema verwenden wählen Sie \"ja\", " -"sonst \"nein\"." - -#: ../templates/confwiz/o_lang.php:146 -msgid "" -"If you want more than one user to login to LAM please enter its DN(s) here. " -"Multiple entries are seperated by semicolons." -msgstr "" -"Wenn sich mehr als ein Benutzer bei LAM anmelden soll, geben Sie bitte hier " -"den/die DN(s) an. Mehrere Einträge werden durch Strichpunkte getrennt." - -#: ../help/help.inc:97 -msgid "If you want to change the current preferences password, please enter it here." -msgstr "Wenn Sie das aktuelle Profilpasswort ändern wollen, geben Sie es hier ein." - -#: ../help/help.inc:120 -msgid "" -"If you want to change your master configuration password, please enter it " -"here." -msgstr "Wenn Sie das aktuelle Hauptpasswort ändern wollen, geben Sie es hier ein." - -#: ../templates/confwiz/o_lists.php:106 -msgid "" -"If you want to input your own description it would look like this: " -"\"attribute:description\"." -msgstr "" -"Wenn Sie ihre eigene Beschreibung angeben wollen würde das so aussehen: " -"\"Attribut:Beschreibung\"." - -#: ../templates/confwiz/o_daemon.php:105 -msgid "" -"If you want to manage quotas and homedirectories with LAM you need to setup " -"lamdaemon.pl." -msgstr "" -"Wenn Sie LAM für die Verwaltung von Quotas und Heimatverzeichnissen " -"verwenden wollen müssen Sie lamdaemon.pl einrichten." - -#: ../help/help.inc:279 -msgid "If you want to use a well known RID you can selcet a well known group." -msgstr "" -"Wenn Sie eine vordefinierte RID verwenden wollen, wählen Sie eine der " -"vordefinierten Gruppen." - -#: ../templates/confwiz/ldaptest.php:490 -msgid "Ignore" -msgstr "Ignorieren" - -#: ../templates/masscreate.php:284 -msgid "Infos" -msgstr "Informationen" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:262 -#: ../templates/profedit/profilecreate.php:327 -msgid "Inode hard quota" -msgstr "hartes Inode-Quota" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:262 -#: ../templates/profedit/profilecreate.php:327 -msgid "" -"Inode hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Hartes Inode-Limit enthält ungültige Zeichen. Nur natürliche Zahlen sind " -"erlaubt" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:257 -#: ../templates/profedit/profilecreate.php:322 -msgid "Inode soft quota" -msgstr "weiches Inode-Quota" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:257 -#: ../templates/profedit/profilecreate.php:322 -msgid "" -"Inode soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Weiches Inode-Limit enthält ungültige Zeichen. Nur natürliche Zahlen sind " -"erlaubt" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/useredit.php:453 -msgid "Inserted gecos-field as display name." -msgstr "Beschreibung wurde als Anzeigename eingefügt." - -#: ../templates/account/groupedit.php:171 -msgid "Inserted groupname in gecos-field." -msgstr "Gruppenname wurde in Beschreibung eingefügt." - -#: ../templates/account/hostedit.php:186 -msgid "Inserted hostname in gecos-field." -msgstr "Hostname wurde in Beschreibung eingefügt." - -#: ../templates/account/useredit.php:241 ../templates/masscreate.php:555 -msgid "Inserted sur- and given name in gecos-field." -msgstr "Vor- und Nachname wurden in Beschreibung eingefügt." - -#: ../templates/account/useredit.php:438 -msgid "Inserted user- or groupname in HomePath." -msgstr "Benutzer- oder Gruppenname wurde in Heimatverzeichnis eingefügt." - -#: ../templates/account/useredit.php:435 -msgid "Inserted user- or groupname in profilepath." -msgstr "Benutzer- oder Gruppenname wurde in Profilpfad eingefügt." - -#: ../templates/account/useredit.php:432 -msgid "Inserted user- or groupname in scriptpath." -msgstr "Benutzer- oder Gruppenname wurde in Scriptpfad eingefügt." - -#: ../templates/massdetail.php:184 -msgid "Invalid Value!" -msgstr "Ungültiger Wert!" - -#: ../templates/profedit/profilecreate.php:274 -#: ../templates/profedit/profilecreate.php:339 -#: ../templates/profedit/profilecreate.php:378 -msgid "Invalid profile name!" -msgstr "Ungültiger Profilname!" - -#: ../lib/status.inc:41 -msgid "Invalid/Missing Message type" -msgstr "Ungültiger/Fehlender Nachrichtentyp" - -#: ../lib/account.inc:879 -msgid "" -"It is possible that this ID-number is reused. This can cause several " -"problems because files with old permissions might still exist. To avoid this " -"warning set maxUID to a higher value." -msgstr "" -"Es ist möglich, dass die ID-Nummer wiederverwendet wird. Das kann einige " -"Probleme verursachen weil Dateien mit alten Zugriffsrechten existieren " -"können. Zur Vermeidung dieser Warnung können Sie die maximale UID-Nummer in " -"den Optionen erhöhen." - -#: ../templates/masscreate.php:279 -msgid "It will be created." -msgstr "Sie wird erstellt." - -#: ../templates/account/useredit.php:495 -#: ../templates/account/useredit.php:1466 ../templates/masscreate.php:361 -#: ../templates/masscreate.php:574 ../templates/massdetail.php:140 -#: ../templates/massdetail.php:220 ../help/help.inc:248 -msgid "Job title" -msgstr "Berufsbezeichnung" - -#: ../help/help.inc:249 -msgid "Job title of user, Vice President, ..." -msgstr "Berufsbezeichnung des Benutzers (Präsident, Abteilungsleiter, etc.)." - -#: ../lib/status.inc:40 -msgid "LAM Internal Error" -msgstr "LAM interner Fehler" - -#: ../templates/confwiz/server2.php:196 -msgid "" -"LAM caches its LDAP searches, you can set the cache time here. Shorter times " -"will stress LDAP more but decrease the possibility that changes are not " -"identified." -msgstr "" -"Dies ist die Zeit in Minuten die LAM LDAP-Suchen zwischenspeichert. Kürzere " -"Zeiten belasten den LDAP-Server mehr, verringern aber die Gefahr, dass " -"Änderungen nicht erkannt werden." - -#: ../templates/confwiz/ldaptest.php:479 -msgid "LAM can create them for you or you have to create them manually later." -msgstr "" -"LAM kann sie für Sie erstellen oder Sie müssen sie später per Hand " -"einrichten." - -#: ../templates/confwiz/ldaptest.php:478 -msgid "" -"LAM detected that one or more essential Samba groups are missing. They are " -"listed below." -msgstr "" -"Es fehlen eine oder mehrere nötige Samba-Gruppen. Sie werden nachfolgend " -"aufgeführt." - -#: ../templates/confwiz/server2.php:170 ../help/help.inc:106 -msgid "" -"LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an " -"user password. SSHA and CRYPT are the most common but CRYPT does not support " -"passwords greater than 8 letters. We do not recommend to use plain text " -"passwords." -msgstr "" -"LAM unterstützt die Verfahren CRYPT, SHA, SSHA, MD5 und SMD5 um die Passwort-" -"Hashes zu generieren. SSHA und CRYPT sind am weitesten verbreitet aber CRYPT " -"unterstützt maximal 8 Zeichen. Wir raten davon ab Klartextpasswörter zu " -"verwenden." - -#: ../help/help.inc:101 -msgid "LAM will not work if version is wrong!" -msgstr "LAM funktioniert nicht bei falscher Version!" - -#: ../templates/config/confmain.php:99 ../templates/config/confsave.php:74 -msgid "LDAP Account Manager Configuration" -msgstr "LDAP Account Manager Einstellungen" - -#: ../templates/config/confmain.php:227 -msgid "LDAP List settings" -msgstr "LDAP Listeneinstellungen" - -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listgroups.php:175 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listusers.php:218 -msgid "LDAP Search failed! Please check your preferences." -msgstr "LDAP Suche fehlgeschlagen! Bitte überprüfen Sie die Einstellungen." - -#: ../templates/confwiz/server.php:150 -msgid "LDAP admin DN" -msgstr "LDAP Administrator-DN" - -#: ../templates/login.php:326 ../templates/confwiz/server.php:71 -msgid "LDAP error, server says:" -msgstr "LDAP-Fehler, der Server meldet:" - -#: ../templates/login.php:237 -msgid "LDAP server" -msgstr "LDAP-Server" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "LDAP sizelimit exceeded, not all entries are shown." -msgstr "" -"LDAP Größenbeschränkung überschritten, es werden nicht alle Einträge " -"angezeigt." - -#: ../templates/confwiz/server2.php:227 -msgid "Lamdaemon settings and PDF text" -msgstr "Lamdaemon-Einstellungen und PDF-Text" - -#: ../templates/confwiz/server2.php:226 -msgid "Language and additional admin users" -msgstr "Sprache und zusätzliche Administratoren" - -#: ../templates/config/confsave.php:175 ../templates/confwiz/o_lang.php:54 -msgid "Language is not defined!" -msgstr "Sprache ist nicht definiert!" - -#: ../lib/config.inc:39 -msgid "Language not defined in session!" -msgstr "Sprache ist nicht in Session gespeichert!" - -#: ../templates/config/confmain.php:265 -msgid "Language settings" -msgstr "Spacheinstellungen" - -#: ../templates/account/useredit.php:960 ../lib/ldap.inc:222 -msgid "Last name" -msgstr "Nachname" - -#: ../help/help.inc:62 -msgid "List attributes" -msgstr "Attribute der Listen" - -#: ../templates/config/confsave.php:99 ../templates/confwiz/o_lang.php:57 -msgid "List of admin users is empty or invalid!" -msgstr "Liste der berechtigten Benutzer ist ungültig!" - -#: ../help/help.inc:218 -msgid "" -"List of samba workstations the user is allowed to login. Empty means every " -"workstation." -msgstr "" -"Liste der Samba-Arbeitsstationen, auf welchen sich der Benutzer anmelden " -"darf. Leer heißt jede Arbeitsstation." - -#: ../templates/config/confmain.php:343 ../templates/confwiz/o_lang.php:152 -#: ../lib/config.inc:292 -msgid "List of valid users" -msgstr "Liste der berechtigten Benutzer" - -#: ../templates/account/groupedit.php:629 -#: ../templates/account/hostedit.php:356 -#: ../templates/account/useredit.php:1023 -msgid "Load Profile" -msgstr "Profil laden" - -#: ../templates/account/groupedit.php:624 -#: ../templates/account/hostedit.php:278 ../templates/account/hostedit.php:351 -#: ../templates/account/useredit.php:1018 ../help/help.inc:185 -msgid "Load profile" -msgstr "Profil laden" - -#: ../templates/login.php:220 ../templates/config/conflogin.php:72 -#: ../help/help.inc:36 -msgid "Login" -msgstr "Login" - -#: ../lib/pdf.inc:162 -msgid "Login Shell" -msgstr "Login Shell" - -#: ../lib/pdf.inc:172 -msgid "Login at host(s)" -msgstr "Login für Host(s)" - -#: ../lib/pdf.inc:218 -msgid "Login at workstation(s)" -msgstr "Login auf Arbeitsstation(en)" - -#: ../templates/account/useredit.php:992 -#: ../templates/profedit/profileuser.php:127 ../help/help.inc:151 -#: ../lib/ldap.inc:224 -msgid "Login shell" -msgstr "Login Shell" - -#: ../templates/account/useredit.php:432 ../templates/account/useredit.php:444 -#: ../templates/account/useredit.php:1272 -#: ../templates/profedit/profileuser.php:325 ../help/help.inc:211 -#: ../lib/pdf.inc:210 -msgid "Logon script" -msgstr "Anmeldeskript" - -#: ../templates/account/useredit.php:444 ../templates/config/confsave.php:181 -#: ../templates/profedit/profilecreate.php:215 -msgid "Logon script is invalid!" -msgstr "Anmeldeskript ist ungültig!" - -#: ../templates/logout.php:52 ../templates/main_header.php:51 -msgid "Logout" -msgstr "Abmelden" - -#: ../help/help.inc:60 -msgid "Machine number" -msgstr "Maschinennummer" - -#: ../templates/config/conflogin.php:127 -msgid "Manage profiles" -msgstr "Profile verwalten" - -#: ../templates/config/profmanage.php:351 -msgid "Master Password:" -msgstr "Hauptpasswort:" - -#: ../templates/confwiz/start.php:168 ../help/help.inc:121 -msgid "Master password" -msgstr "Hauptpasswort" - -#: ../templates/config/profmanage.php:59 ../templates/confwiz/start.php:45 -msgid "Master password is wrong!" -msgstr "Hauptpasswort ist falsch!" - -#: ../templates/config/profmanage.php:119 -msgid "Master passwords are different or empty!" -msgstr "Die Passwörter stimmen nicht überein!" - -#: ../templates/masscreate.php:117 -msgid "Max 400 users allowed. Ignored additional users." -msgstr "Maximal 400 Benutzer erlaubt. Zusätzliche Benutzer werden ignoriert." - -#: ../templates/config/confsave.php:169 -msgid "Max list entries is invalid!" -msgstr "Maximale Listeneinträge ist ungültig!" - -#: ../templates/config/confmain.php:209 ../templates/confwiz/o_ranges.php:131 -#: ../lib/config.inc:282 -msgid "Maximum GID number" -msgstr "Maximale GID-Nummer" - -#: ../templates/config/confsave.php:139 ../templates/confwiz/o_ranges.php:63 -msgid "Maximum GID number is invalid!" -msgstr "Maximale GID-Nummer ist ungültig!" - -#: ../templates/config/confmain.php:218 ../templates/confwiz/o_ranges.php:140 -#: ../lib/config.inc:284 -msgid "Maximum Machine number" -msgstr "Maximale Maschinen-Nummer" - -#: ../templates/config/confsave.php:149 ../templates/confwiz/o_ranges.php:69 -msgid "Maximum Machine number is invalid!" -msgstr "Maximale Maschinen-Nummer ist ungültig!" - -#: ../templates/config/confmain.php:200 ../templates/confwiz/o_ranges.php:122 -#: ../lib/config.inc:280 -msgid "Maximum UID number" -msgstr "Maximale UID-Nummer" - -#: ../templates/config/confsave.php:129 ../templates/confwiz/o_ranges.php:57 -msgid "Maximum UID number is invalid!" -msgstr "Maximale UID-Nummer ist ungültig!" - -#: ../templates/config/confmain.php:250 ../help/help.inc:82 -#: ../lib/config.inc:288 -msgid "Maximum list entries" -msgstr "Maximale Listeneinträge" - -#: ../templates/account/useredit.php:1089 -#: ../templates/profedit/profileuser.php:166 ../help/help.inc:175 -msgid "Maximum password age" -msgstr "Maximales Passwortalter" - -#: ../templates/account/groupedit.php:518 -#: ../templates/account/groupedit.php:575 -#: ../templates/account/groupedit.php:645 -#: ../templates/account/groupedit.php:739 -#: ../templates/account/groupedit.php:796 ../lib/pdf.inc:458 -msgid "Members" -msgstr "Mitglieder" - -#: ../templates/config/confmain.php:206 ../templates/confwiz/o_ranges.php:128 -#: ../lib/config.inc:281 -msgid "Minimum GID number" -msgstr "Minimale GID-Nummer" - -#: ../templates/config/confsave.php:134 ../templates/confwiz/o_ranges.php:60 -msgid "Minimum GID number is invalid!" -msgstr "Minimale GID-Nummer ist ungültig!" - -#: ../templates/config/confmain.php:215 ../templates/confwiz/o_ranges.php:137 -#: ../lib/config.inc:283 -msgid "Minimum Machine number" -msgstr "Minimale Maschinen-Nummer" - -#: ../templates/config/confsave.php:144 ../templates/confwiz/o_ranges.php:66 -msgid "Minimum Machine number is invalid!" -msgstr "Minimale Maschinen-Nummer ist ungültig!" - -#: ../templates/config/confmain.php:197 ../templates/confwiz/o_ranges.php:119 -#: ../lib/config.inc:279 -msgid "Minimum UID number" -msgstr "Minimale UID-Nummer" - -#: ../templates/config/confsave.php:124 ../templates/confwiz/o_ranges.php:54 -msgid "Minimum UID number is invalid!" -msgstr "Minimale UID-Nummer ist ungültig!" - -#: ../templates/account/useredit.php:1094 -#: ../templates/profedit/profileuser.php:173 ../help/help.inc:177 -msgid "Minimum password age" -msgstr "Minimales Passwortalter" - -#: ../templates/account/useredit.php:490 -#: ../templates/account/useredit.php:1502 ../templates/masscreate.php:367 -#: ../templates/masscreate.php:569 ../templates/massdetail.php:152 -#: ../templates/massdetail.php:256 ../help/help.inc:260 ../help/help.inc:261 -msgid "Mobile number" -msgstr "Mobil" - -#: ../templates/account/groupedit.php:822 -#: ../templates/account/hostedit.php:432 -#: ../templates/account/useredit.php:1554 -msgid "Modify" -msgstr "Ändern" - -#: ../templates/account/groupedit.php:836 -#: ../templates/account/hostedit.php:441 -#: ../templates/account/useredit.php:1558 -msgid "Modify Account" -msgstr "Account ändern" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 -#: ../templates/profedit/profilegroup.php:99 -#: ../templates/profedit/profileuser.php:376 ../help/help.inc:224 -#: ../lib/pdf.inc:240 -msgid "Mountpoint" -msgstr "Mountpunkt" - -#: ../help/help.inc:225 -msgid "Mountpoint of device with enabled quotas." -msgstr "Mountpunkt des Dateisystems mit aktivierten Quota." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:179 ../templates/account/hostedit.php:182 -#: ../templates/account/useredit.php:305 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:563 ../templates/masscreate.php:566 -#: ../templates/massdetail.php:90 -msgid "Name" -msgstr "Name" - -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:182 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:566 ../templates/massdetail.php:90 -msgid "Name contains invalid characters. First character must be a letter." -msgstr "Name enthält ungültige Zeichen. Das erste Zeichen muss ein Buchstabe sein." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/hostedit.php:179 ../templates/account/useredit.php:305 -#: ../templates/masscreate.php:563 -msgid "Name must contain between 3 and 20 characters." -msgstr "Name muss zwischen 3 und 20 Zeichen enthalten." - -#: ../help/help.inc:135 -msgid "" -"Name under which the profile will be saved. If a profile with the same name " -"exists, it will be overwritten." -msgstr "" -"Name, unter dem das Profil gespeichert wird. Falls ein Profil mit diesem " -"Namen existiert wird es überschrieben." - -#: ../templates/lists/listdomains.php:200 -msgid "New Domain" -msgstr "Neue Domäne" - -#: ../templates/lists/listgroups.php:312 -msgid "New Group" -msgstr "Neue Gruppe" - -#: ../templates/lists/listhosts.php:301 -msgid "New Host" -msgstr "Neuer Host" - -#: ../templates/ou_edit.php:52 ../templates/ou_edit.php:117 -#: ../templates/ou_edit.php:182 ../templates/ou_edit.php:247 -msgid "New OU created successfully." -msgstr "Neue OU erfolgreich erstellt." - -#: ../templates/config/confmain.php:351 -msgid "New Password" -msgstr "Neues Passwort" - -#: ../templates/config/profmanage.php:126 -msgid "New default profile set successfully." -msgstr "Neues Standardprofil wurde erfolgreich gesetzt." - -#: ../templates/config/profmanage.php:326 -msgid "New master password" -msgstr "Neues Hauptpasswort" - -#: ../templates/config/profmanage.php:117 -msgid "New master password set successfully." -msgstr "Neues Hauptpasswort wurde erfolgreich gesetzt." - -#: ../templates/ou_edit.php:344 ../templates/ou_edit.php:377 -#: ../templates/ou_edit.php:410 ../templates/ou_edit.php:444 -#: ../help/help.inc:289 -msgid "New organizational unit" -msgstr "Neue Organizational Unit" - -#: ../templates/config/profmanage.php:107 -msgid "New password set successfully." -msgstr "Neues Passwort wurde erfolgreich gesetzt." - -#: ../templates/account/groupedit.php:435 -#: ../templates/account/hostedit.php:288 ../templates/account/useredit.php:719 -msgid "New profile created." -msgstr "Neues Profil wurde erstellt." - -#: ../templates/lists/listusers.php:367 -msgid "New user" -msgstr "Neuer Benutzer" - -#: ../templates/masscreate.php:422 ../templates/confwiz/o_ranges.php:152 -#: ../templates/confwiz/o_daemon.php:141 ../templates/confwiz/server2.php:234 -#: ../templates/confwiz/o_lang.php:162 ../templates/confwiz/server.php:196 -#: ../templates/confwiz/o_lists.php:147 ../templates/confwiz/start.php:181 -msgid "Next" -msgstr "Vor" - -#: ../templates/domain.php:125 ../templates/confwiz/ldaptest.php:361 -#: ../help/help.inc:303 -msgid "Next Group RID" -msgstr "Nächste Gruppen-RID" - -#: ../templates/domain.php:109 ../templates/confwiz/ldaptest.php:345 -#: ../help/help.inc:299 -msgid "Next RID" -msgstr "Nächste RID" - -#: ../templates/domain.php:239 ../templates/confwiz/ldaptest.php:243 -msgid "Next RID is not a number!" -msgstr "Nächste RID ist keine Zahl!" - -#: ../help/help.inc:300 -msgid "Next RID to use when creating accounts." -msgstr "Nächste RID für neue Accounts." - -#: ../help/help.inc:304 -msgid "Next RID to use when creating groups." -msgstr "Nächste RID für neue Gruppen." - -#: ../help/help.inc:302 -msgid "Next RID to use when creating user accounts." -msgstr "Nächste RID für neue Benutzer." - -#: ../templates/domain.php:117 ../templates/confwiz/ldaptest.php:353 -#: ../help/help.inc:301 -msgid "Next User RID" -msgstr "Nächste Benutzer-RID" - -#: ../templates/domain.php:241 ../templates/confwiz/ldaptest.php:249 -msgid "Next group RID is not a number!" -msgstr "Nächste Gruppen-RID ist keine Zahl!" - -#: ../templates/domain.php:240 ../templates/confwiz/ldaptest.php:246 -msgid "Next user RID is not a number!" -msgstr "Nächste Benutzer-RID ist keine Zahl!" - -#: ../templates/lists/listgroups.php:166 ../templates/lists/listgroups.php:175 -#: ../templates/lists/listgroups.php:179 -msgid "No Groups found!" -msgstr "Keine Gruppen gefunden!" - -#: ../templates/lists/listdomains.php:106 -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listdomains.php:116 -msgid "No Samba Domains found!" -msgstr "Keine Samba Domänen gefunden!" - -#: ../templates/lists/listhosts.php:170 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listhosts.php:183 -msgid "No Samba Hosts found!" -msgstr "Keine Samba Hosts gefunden!" - -#: ../templates/lists/listusers.php:208 ../templates/lists/listusers.php:219 -msgid "No Users found!" -msgstr "Keine Benutzer gefunden!" - -#: ../templates/initsuff.php:170 -msgid "No changes were made." -msgstr "Keine Änderungen vorgenommen." - -#: ../templates/initsuff.php:154 ../templates/main.php:64 -#: ../templates/confwiz/ldaptest.php:311 -msgid "No domains found, please create one." -msgstr "Keine Domänen gefunden, bitte erstellen Sie eine." - -#: ../lib/account.inc:878 -msgid "No free ID-Number!" -msgstr "Keine ID-Nummer mehr frei!" - -#: ../templates/delete.php:244 -msgid "No group(s) were deleted" -msgstr "Es wurde nichts gelöscht" - -#: ../templates/delete.php:236 -msgid "No host(s) were deleted" -msgstr "Es wurde nichts gelöscht" - -#: ../templates/config/confmain.php:82 -msgid "No password was entered!" -msgstr "Passwort leer!" - -#: ../templates/account/useredit.php:243 ../templates/masscreate.php:558 -msgid "No primary group defined!" -msgstr "Keine primäre Gruppe angegeben!" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/hostedit.php:285 ../templates/account/useredit.php:716 -msgid "No profilename given." -msgstr "Kein Profilname angegeben." - -#: ../templates/profedit/profilecreate.php:391 -msgid "No type specified!" -msgstr "Kein Typ angegeben!" - -#: ../lib/pdf.inc:255 -msgid "No user quotas defined or no quota support by filesystem." -msgstr "Keine Benutzerquotas definiert oder keine Quotaunterstützung aktiviert." - -#: ../templates/delete.php:228 -msgid "No user(s) were deleted" -msgstr "Kein Benutzer wurde gelöscht" - -#: ../templates/account/groupedit.php:845 -#: ../templates/account/hostedit.php:459 -#: ../templates/account/useredit.php:1566 ../help/help.inc:47 -msgid "Note" -msgstr "Hinweis" - -#: ../help/help.inc:174 -msgid "Number of days a user can login even his password has expired. -1=always." -msgstr "" -"Anzahl der Tage, in denen sich ein Benutzer anmelden kann, obwohl sein " -"Passwort bereits abgelaufen ist. -1 = immer." - -#: ../help/help.inc:178 -msgid "" -"Number of days a user has to wait until he\\'s allowed to change his " -"password again. If set value must be 0<." -msgstr "" -"Anzahl Tage, die ein Benutzer warten muss bevor er sein Passwort ändern " -"darf. Wert muss >0 sein." - -#: ../help/help.inc:176 -msgid "" -"Number of days after a user has to change his password again. If set value " -"must be 0<." -msgstr "" -"Anzahl Tage, nach denen der Benutzer sein Passwort ändern muss. Wert muss >0 " -"sein." - -#: ../templates/ou_edit.php:58 ../templates/ou_edit.php:123 -#: ../templates/ou_edit.php:188 ../templates/ou_edit.php:253 -msgid "OU already exists!" -msgstr "OU besteht schon!" - -#: ../templates/ou_edit.php:69 ../templates/ou_edit.php:134 -#: ../templates/ou_edit.php:199 ../templates/ou_edit.php:264 -msgid "OU deleted successfully." -msgstr "OU erfolgreich gelöscht." - -#: ../templates/ou_edit.php:62 ../templates/ou_edit.php:127 -#: ../templates/ou_edit.php:192 ../templates/ou_edit.php:257 -msgid "OU is invalid!" -msgstr "OU ist ungültig!" - -#: ../templates/ou_edit.php:99 ../templates/ou_edit.php:164 -#: ../templates/ou_edit.php:229 ../templates/ou_edit.php:294 -msgid "OU is not empty or invalid!" -msgstr "OU ist nicht leer oder ungültig!" - -#: ../templates/main_header.php:54 ../help/help.inc:289 ../help/help.inc:291 -msgid "OU-Editor" -msgstr "OU-Editor" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "ObjectClass posixAccount not found." -msgstr "ObjectClass posixAccount wurde nicht gefunden." - -#: ../templates/account/groupedit.php:330 -msgid "ObjectClass posixGroup not found." -msgstr "ObjectClass posixGroup wurde nicht gefunden." - -#: ../templates/account/hostedit.php:226 ../templates/account/useredit.php:594 -msgid "ObjectClass sambaAccount not found." -msgstr "ObjectClass sambaAccount wurde nicht gefunden." - -#: ../templates/account/groupedit.php:328 -msgid "ObjectClass sambaGroupMapping not found." -msgstr "ObjectClass sambaGroupMapping wurde nicht gefunden." - -#: ../templates/account/hostedit.php:224 ../templates/account/useredit.php:590 -msgid "ObjectClass sambaSamAccount not found." -msgstr "ObjectClass sambaSamAccount wurde nicht gefunden." - -#: ../templates/account/useredit.php:587 -msgid "ObjectClass shadowAccount not found." -msgstr "ObjectClass shadowAccount wurde nicht gefunden." - -#: ../templates/config/conflogin.php:118 -msgid "Ok" -msgstr "Ok" - -#: ../templates/confwiz/server2.php:221 -msgid "Optional settings" -msgstr "Optionale Einstellungen" - -#: ../templates/config/confmain.php:325 -msgid "PDF settings" -msgstr "PDF-Einstellungen" - -#: ../templates/confwiz/o_daemon.php:126 -msgid "PDF text" -msgstr "PDF-Text" - -#: ../templates/account/hostedit.php:390 ../templates/account/useredit.php:316 -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:418 -#: ../templates/account/useredit.php:442 -#: ../templates/account/useredit.php:1061 ../templates/login.php:169 -#: ../templates/confwiz/server.php:159 ../templates/confwiz/start.php:141 -msgid "Password" -msgstr "Passwort" - -#: ../templates/account/useredit.php:351 -msgid "Password Expire" -msgstr "Passwortablauf" - -#: ../templates/config/confsave.php:214 -msgid "Password changed!" -msgstr "Passwort geändert!" - -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:442 -msgid "" -"Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and #*,.;:_-+!$%&/|?{[()]}= !" -msgstr "" -"Passwort enthält ungültige Zeichen. Gültige Zeichen sind: a-z, A-Z, 0-9 und " -"#*,.;:_-+!$%&/|?{[()]}= !" - -#: ../templates/account/useredit.php:1205 -#: ../templates/profedit/profileuser.php:257 ../help/help.inc:201 -msgid "Password does not expire" -msgstr "Passwort läuft nicht ab" - -#: ../templates/account/useredit.php:1084 ../help/help.inc:173 -#: ../lib/pdf.inc:168 -msgid "Password expire" -msgstr "Passwortablauf" - -#: ../templates/account/useredit.php:351 -msgid "Password expire must be are natural number or -1." -msgstr "Passwortablauf muss eine natürliche Zahl oder -1 sein." - -#: ../templates/profedit/profileuser.php:159 -msgid "Password expiry" -msgstr "Passwortablauf" - -#: ../templates/profedit/profilecreate.php:147 -msgid "Password expiry is not numeric!" -msgstr "Passwortablauf ist keine Zahl!" - -#: ../templates/config/confsave.php:193 ../templates/confwiz/server2.php:71 -msgid "Password hash is invalid!" -msgstr "Passwort-Hash ist ungültig!" - -#: ../templates/config/confmain.php:147 ../templates/confwiz/server2.php:176 -#: ../help/help.inc:105 ../lib/config.inc:272 -msgid "Password hash type" -msgstr "Passwort-Hash" - -#: ../templates/account/useredit.php:348 ../templates/account/useredit.php:349 -msgid "Password maxage" -msgstr "Maximales Passwortalter" - -#: ../templates/account/useredit.php:349 -msgid "Password maxage must be are natural number." -msgstr "Maximales Passwortalter muss eine natürliche Zahl sein." - -#: ../templates/account/useredit.php:348 -msgid "Password maxage must bigger as Password Minage." -msgstr "Maximales Passwortalter muss größer als minimales Passwortalter sein." - -#: ../templates/profedit/profilecreate.php:115 -msgid "Password maximum age is not numeric!" -msgstr "Maximales Passwortalter ist keine Zahl!" - -#: ../templates/account/useredit.php:347 -msgid "Password minage" -msgstr "Minimales Passwortalter" - -#: ../templates/account/useredit.php:347 -msgid "Password minage must be are natural number." -msgstr "Minimales Passwortalter muss eine natürliche Zahl sein." - -#: ../templates/profedit/profilecreate.php:107 -msgid "Password minimum age is not numeric!" -msgstr "Minimales Passwortalter ist keine Zahl!" - -#: ../templates/account/useredit.php:352 -#: ../templates/account/useredit.php:1079 ../help/help.inc:171 -msgid "Password warn" -msgstr "Passwortwarnung" - -#: ../templates/account/useredit.php:352 -msgid "Password warn must be are natural number." -msgstr "Passwortwarnung muss eine natürliche Zahl sein." - -#: ../templates/profedit/profileuser.php:152 -msgid "Password warning" -msgstr "Passwortwarnung" - -#: ../templates/config/confsave.php:208 -msgid "Passwords are different!" -msgstr "Die Passwörter stimmen nicht überein!" - -#: ../help/help.inc:215 -#, php-format -msgid "" -"Path of the userprofile. Can be a local absolute path or a UNC-path (\\" -"\\server\\share). $%s and $%s are replaced with user- and groupname." -msgstr "" -"Pfad zum Benutzerprofil. Kann ein lokaler Pfad oder UNC-Pfad (\\\\Server" -"\\Freigabe) sein. $%s und $%s werden durch Benutzer- und Gruppenname ersetzt." - -#: ../templates/config/confmain.php:315 ../templates/confwiz/o_daemon.php:117 -#: ../lib/config.inc:290 -msgid "Path to external script" -msgstr "Pfad zum externen Script" - -#: ../templates/account/useredit.php:795 ../templates/account/useredit.php:865 -#: ../templates/account/useredit.php:927 -#: ../templates/account/useredit.php:1048 -#: ../templates/account/useredit.php:1165 -#: ../templates/account/useredit.php:1404 -#: ../templates/account/useredit.php:1453 -#: ../templates/account/useredit.php:1533 -msgid "Personal" -msgstr "Persönlich" - -#: ../lib/pdf.inc:78 -msgid "Personal User Infos" -msgstr "Persönliche Informationen" - -#: ../templates/account/useredit.php:1464 -msgid "Personal properties" -msgstr "Persönliche Einstellungen" - -#: ../lib/pdf.inc:109 -msgid "Phone" -msgstr "Telefon" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Please check settings on samba page." -msgstr "Bitte überprüfen Sie die Samba-Einstellungen." - -#: ../templates/account/hostedit.php:99 ../templates/account/useredit.php:108 -msgid "Please create a group first." -msgstr "Bitte legen Sie zuerst eine Gruppe an." - -#: ../templates/confwiz/start.php:117 -msgid "" -"Please enter a name for the new profile. The name may contain letters, " -"digits and -_." -msgstr "" -"Bitte geben Sie den Namen des neuen Profils an. Profilnamen dürfen " -"Buchstaben, Zahlen und -/_ enthalten." - -#: ../templates/account/useredit.php:492 ../templates/masscreate.php:571 -#: ../templates/massdetail.php:156 -msgid "Please enter a valid eMail address!" -msgstr "Bitte geben Sie eine gültige e-mail Adresse ein!" - -#: ../templates/account/useredit.php:496 ../templates/masscreate.php:575 -#: ../templates/massdetail.php:142 -msgid "Please enter a valid employee type!" -msgstr "Bitte geben Sie einen gültigen Angestelltentyp ein!" - -#: ../templates/account/useredit.php:491 ../templates/masscreate.php:570 -#: ../templates/massdetail.php:154 -msgid "Please enter a valid fax number!" -msgstr "Bitte geben Sie eine gültige Faxnummer ein!" - -#: ../templates/account/useredit.php:495 ../templates/masscreate.php:574 -#: ../templates/massdetail.php:140 -msgid "Please enter a valid job title!" -msgstr "Bitte geben Sie eine gültige Berufsbezeichnung ein!" - -#: ../templates/account/useredit.php:490 ../templates/masscreate.php:569 -#: ../templates/massdetail.php:152 -msgid "Please enter a valid mobile number!" -msgstr "Bitte geben Sie eine gültige Mobiltelefonnummer ein!" - -#: ../templates/account/useredit.php:494 ../templates/masscreate.php:573 -#: ../templates/massdetail.php:148 -msgid "Please enter a valid postal address!" -msgstr "Bitte geben Sie eine gültige Anschrift ein!" - -#: ../templates/account/useredit.php:497 ../templates/masscreate.php:576 -#: ../templates/massdetail.php:146 -msgid "Please enter a valid postal code!" -msgstr "Bitte geben Sie eine gültige Postleitzahl ein!" - -#: ../templates/account/useredit.php:493 ../templates/masscreate.php:572 -#: ../templates/massdetail.php:144 -msgid "Please enter a valid street name!" -msgstr "Bitte geben Sie einen gültigen Straßennamen ein!" - -#: ../templates/account/useredit.php:489 ../templates/masscreate.php:568 -#: ../templates/massdetail.php:150 -msgid "Please enter a valid telephone number!" -msgstr "Bitte geben Sie eine gültige Telefonnummer ein!" - -#: ../lib/account.inc:890 -#, php-format -msgid "Please enter a value between %s and %s!" -msgstr "Bitte geben Sie einen Wert zwischen %s und %s ein!" - -#: ../templates/config/conflogin.php:91 -msgid "Please enter password to change preferences:" -msgstr "Bitte Profilpasswort eingeben:" - -#: ../templates/confwiz/o_ranges.php:112 -msgid "Please enter the UID/GID ranges for your accounts:" -msgstr "Bitte geben Sie die UID/GID-Bereiche für ihre Accounts ein:" - -#: ../templates/confwiz/server.php:123 -msgid "Please enter the URL of your LDAP server." -msgstr "Bitte geben Sie die URL ihres LDAP-Servers an." - -#: ../help/help.inc:37 -msgid "" -"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\"." -msgstr "" -"Bitte geben Sie das Konfigurationspasswort ein. Das ist NICHT ihr LDAP-" -"Passwort. Es befindet sich in ihrer .conf-Datei. Wenn Sie sich zum ersten " -"Mal anmelden geben Sie \"lam\" ein." - -#: ../help/help.inc:122 -msgid "" -"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\"." -msgstr "" -"Bitte geben Sie das Hauptpasswort ein. Das ist NICHT ihr LDAP-Passwort. Es " -"befindet sich in ihrer config.cfg-Datei. Wenn Sie sich zum ersten Mal " -"anmelden geben Sie \"lam\" ein." - -#: ../help/help.inc:110 -msgid "" -"Please enter the name of the new profile and the password to change its " -"settings. Profile names may contain letters, numbers and -/_." -msgstr "" -"Bitte geben Sie den Namen des neuen Profils und das Passwort an um es zu " -"erstellen. Profilnamen dürfen Buchstaben, Zahlen und -/_ enthalten." - -#: ../help/help.inc:112 -msgid "" -"Please enter the new name of the profile. The name may contain letters, " -"numbers and -/_." -msgstr "" -"Bitte geben Sie den neuen Namen des Profils an. Profilnamen dürfen " -"Buchstaben, Zahlen und -/_ enthalten." - -#: ../templates/account/useredit.php:316 ../templates/account/useredit.php:418 -msgid "Please enter the same password in both password-fields." -msgstr "Bitte geben Sie das selbe Passwort in beide Felder ein." - -#: ../templates/confwiz/server2.php:125 -msgid "" -"Please enter the suffixes of your LDAP tree where LAM should store the " -"accounts." -msgstr "" -"Bitte geben Sie die Suffixe an, unter welchen LAM die Accounts speichern " -"soll." - -#: ../templates/confwiz/o_lists.php:103 -msgid "Please enter which attributes should be displayed in the list views." -msgstr "" -"Bitte geben Sie an, welche Attribute in den Listenansichten gespeichert " -"werden sollen." - -#: ../templates/confwiz/start.php:162 -msgid "" -"Please enter your configuration master password. This password is \"lam\" by " -"default." -msgstr "" -"Bitte geben Sie ihr Hauptpasswort für die Konfiguration ein. Dieses Passwort " -"ist standardmäßig \"lam\"." - -#: ../templates/masscreate.php:349 -msgid "" -"Please provide a csv-file with the following syntax. Values with * are " -"required:" -msgstr "" -"Bitte übergeben Sie eine CSV-Datei mit folgender Syntax, Werte mit * sind " -"erforderlich:" - -#: ../lib/status.inc:42 -msgid "" -"Please report this error to the Bug-Tracker at {link=http://lam.sf.net}LDAP " -"Account Manager Development Team{endlink}. The error number is {bold}0001:" -"Invalid/Missing Message type.{endbold} Thank you." -msgstr "" -"Bitte melden Sie dieses Problem an den Bug-Tracker des {link=http://lam.sf." -"net}LDAP Account Manager Entwickler-Teams{endlink}. Die Fehlernummer ist " -"{bold}0001:Fehlerhafter/Fehlender Nachrichtentyp.{endbold} Danke." - -#: ../templates/confwiz/server2.php:222 -msgid "" -"Please select here if you want to make additional changes to your " -"configuration profile or if LAM should use default values." -msgstr "" -"Bitte wählen Sie ob Sie noch weitere Änderungen an ihrem " -"Konfigurationsprofil vornehmen möchten oder ob LAM Standardwerte einsetzen " -"soll." - -#: ../templates/account/groupedit.php:515 -#: ../templates/account/groupedit.php:572 -#: ../templates/account/groupedit.php:642 -#: ../templates/account/groupedit.php:736 -#: ../templates/account/groupedit.php:793 -#: ../templates/account/useredit.php:788 ../templates/account/useredit.php:858 -#: ../templates/account/useredit.php:920 -#: ../templates/account/useredit.php:1041 -#: ../templates/account/useredit.php:1158 -#: ../templates/account/useredit.php:1398 -#: ../templates/account/useredit.php:1446 -#: ../templates/account/useredit.php:1526 ../templates/masscreate.php:325 -msgid "Please select page:" -msgstr "Bitte Seite wählen:" - -#: ../templates/confwiz/o_lang.php:101 -msgid "Please select your prefered language." -msgstr "Bitte wählen Sie ihre gewünschte Sprache." - -#: ../help/help.inc:275 -msgid "Position in ldap-tree where the group should be created." -msgstr "Position im LDAP-Baum, wo die Gruppe erstellt werden soll." - -#: ../help/help.inc:277 -msgid "Position in ldap-tree where the host should be created." -msgstr "Position im LDAP-Baum, wo der Host erstellt werden soll." - -#: ../help/help.inc:273 -msgid "Position in ldap-tree where the user should be created." -msgstr "Position im LDAP-Baum, wo der Benutzer erstellt werden soll." - -#: ../templates/account/useredit.php:494 -#: ../templates/account/useredit.php:1490 ../templates/masscreate.php:375 -#: ../templates/masscreate.php:573 ../templates/massdetail.php:148 -#: ../templates/massdetail.php:244 ../help/help.inc:256 ../lib/pdf.inc:101 -msgid "Postal address" -msgstr "Anschrift" - -#: ../help/help.inc:257 -msgid "Postal address, city" -msgstr "Bitte geben Sie hier die Anschrift ein." - -#: ../templates/account/useredit.php:497 -#: ../templates/account/useredit.php:1484 ../templates/masscreate.php:373 -#: ../templates/masscreate.php:576 ../templates/massdetail.php:146 -#: ../templates/massdetail.php:238 ../help/help.inc:254 ../help/help.inc:255 -#: ../lib/pdf.inc:97 -msgid "Postal code" -msgstr "Postleitzahl" - -#: ../templates/confwiz/o_lists.php:105 -msgid "Predefined attributes are of type \"#attribute\"." -msgstr "Vordefinierte Attribute haben diesen Aufbau: \"#Attribut\"." - -#: ../templates/confwiz/o_lists.php:111 ../help/help.inc:67 -msgid "Predefined values" -msgstr "Vordefinierte Werte" - -#: ../templates/account/hostedit.php:376 ../templates/account/useredit.php:243 -#: ../templates/account/useredit.php:966 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:359 ../templates/masscreate.php:558 -#: ../templates/profedit/profilehost.php:68 -#: ../templates/profedit/profileuser.php:93 ../help/help.inc:153 -#: ../help/help.inc:167 ../lib/pdf.inc:310 ../lib/pdf.inc:354 -msgid "Primary group" -msgstr "Primäre Gruppe" - -#: ../templates/account/useredit.php:559 -msgid "" -"Primary group has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"Die primäre Gruppe hat sich geändert. Sie müssen folgenden Befehl als root " -"ausführen, um die Dateirechte zu ändern:" - -#: ../templates/profedit/profilecreate.php:64 -#: ../templates/profedit/profilecreate.php:362 -msgid "Primary group name is invalid!" -msgstr "Primäre Gruppe ist ungültig!" - -#: ../templates/main_header.php:43 ../help/help.inc:126 ../help/help.inc:130 -#: ../help/help.inc:134 -msgid "Profile Editor" -msgstr "Profileditor" - -#: ../templates/config/profmanage.php:97 -msgid "Profile deleted." -msgstr "Profil gelöscht." - -#: ../templates/account/hostedit.php:278 -msgid "Profile loaded." -msgstr "Profil wurde geladen." - -#: ../templates/config/profmanage.php:41 -#: ../templates/config/profmanage.php:144 ../help/help.inc:109 -#: ../help/help.inc:111 ../help/help.inc:113 ../help/help.inc:115 -#: ../help/help.inc:117 ../help/help.inc:119 ../help/help.inc:121 -msgid "Profile management" -msgstr "Profilverwaltung" - -#: ../templates/config/profmanage.php:159 -#: ../templates/config/profmanage.php:206 -#: ../templates/profedit/profilegroup.php:143 -#: ../templates/profedit/profilehost.php:112 -#: ../templates/profedit/profileuser.php:420 -#: ../templates/confwiz/start.php:123 ../help/help.inc:134 -msgid "Profile name" -msgstr "Profilname" - -#: ../templates/config/profmanage.php:81 ../templates/config/profmanage.php:92 -#: ../templates/confwiz/start.php:65 -msgid "Profile name is invalid!" -msgstr "Profilname ist ungültig!" - -#: ../templates/config/profmanage.php:170 -#: ../templates/config/profmanage.php:260 -msgid "Profile password" -msgstr "Profilpasswort" - -#: ../templates/config/profmanage.php:79 -#: ../templates/config/profmanage.php:109 ../templates/confwiz/start.php:67 -msgid "Profile passwords are different or empty!" -msgstr "Die Passwörter stimmen nicht überein!" - -#: ../templates/account/useredit.php:435 ../templates/account/useredit.php:447 -#: ../templates/account/useredit.php:1267 -#: ../templates/profedit/profileuser.php:318 ../help/help.inc:214 -#: ../lib/pdf.inc:214 -msgid "Profile path" -msgstr "Profilpfad" - -#: ../templates/account/useredit.php:447 -#: ../templates/profedit/profilecreate.php:206 -msgid "Profile path is invalid!" -msgstr "Profilpfad ist ungültig!" - -#: ../templates/profedit/profilecreate.php:281 -#: ../templates/profedit/profilecreate.php:346 -#: ../templates/profedit/profilecreate.php:384 -msgid "Profile was saved." -msgstr "Profil wurde gespeichert." - -#: ../templates/account/groupedit.php:524 -#: ../templates/account/groupedit.php:581 -#: ../templates/account/groupedit.php:648 -#: ../templates/account/groupedit.php:744 -#: ../templates/account/groupedit.php:801 -#: ../templates/account/useredit.php:794 ../templates/account/useredit.php:864 -#: ../templates/account/useredit.php:926 -#: ../templates/account/useredit.php:1047 -#: ../templates/account/useredit.php:1164 -#: ../templates/account/useredit.php:1403 -#: ../templates/account/useredit.php:1452 -#: ../templates/account/useredit.php:1532 -msgid "Quota" -msgstr "Quota" - -#: ../lib/pdf.inc:233 -msgid "Quota Settings" -msgstr "Quota-Einstellungen" - -#: ../templates/account/groupedit.php:756 -#: ../templates/account/useredit.php:1415 -#: ../templates/profedit/profilegroup.php:95 -#: ../templates/profedit/profileuser.php:372 -msgid "Quota properties" -msgstr "Quota-Einstellungen" - -#: ../lib/ldap.inc:238 -msgid "RID (Windows UID)" -msgstr "RID (Windows UID)" - -#: ../templates/config/confmain.php:192 -msgid "Ranges" -msgstr "Bereiche" - -#: ../templates/confwiz/server2.php:224 -msgid "Ranges for UID and GID numbers" -msgstr "Bereiche für UID- und GID-Nummern" - -#: ../templates/config/confmain.php:356 ../templates/confwiz/start.php:149 -msgid "Reenter Password" -msgstr "Passwort nochmal eingeben" - -#: ../templates/config/profmanage.php:337 -msgid "Reenter new master password" -msgstr "Neues Hauptpasswort erneut eingeben" - -#: ../templates/config/profmanage.php:179 -#: ../templates/config/profmanage.php:271 -msgid "Reenter profile password" -msgstr "Profilpasswort erneut eingeben" - -#: ../templates/masscreate.php:332 ../templates/lists/listdomains.php:220 -#: ../templates/lists/listgroups.php:340 ../templates/lists/listhosts.php:329 -#: ../templates/lists/listusers.php:398 -msgid "Refresh" -msgstr "Aktualisieren" - -#: ../templates/config/profmanage.php:202 ../help/help.inc:111 -msgid "Rename profile" -msgstr "Profil umbenennen" - -#: ../templates/config/profmanage.php:88 -msgid "Renamed profile." -msgstr "Profil umbenannt." - -#: ../templates/account/useredit.php:1067 -#: ../templates/account/useredit.php:1187 -msgid "Repeat password" -msgstr "Passwort wiederholen" - -#: ../templates/account/useredit.php:296 -#, php-format -msgid "Replaced $%s or $%s in homedir." -msgstr "$%s und $%s wurden im Heimatverzeichnis ersetzt." - -#: ../templates/domain.php:177 ../templates/config/confmain.php:368 -#: ../templates/profedit/profilegroup.php:152 -#: ../templates/profedit/profilehost.php:121 -#: ../templates/profedit/profileuser.php:429 -msgid "Reset" -msgstr "Zurücksetzen" - -#: ../templates/account/groupedit.php:529 -#: ../templates/account/groupedit.php:586 -#: ../templates/account/groupedit.php:653 -#: ../templates/account/groupedit.php:749 -#: ../templates/account/groupedit.php:806 -#: ../templates/account/useredit.php:800 ../templates/account/useredit.php:870 -#: ../templates/account/useredit.php:932 -#: ../templates/account/useredit.php:1053 -#: ../templates/account/useredit.php:1170 -#: ../templates/account/useredit.php:1409 -#: ../templates/account/useredit.php:1458 -#: ../templates/account/useredit.php:1538 -msgid "Reset all changes." -msgstr "Alle Änderungen zurücksetzen." - -#: ../templates/account/hostedit.php:394 -msgid "Reset password" -msgstr "Passwort zurücksetzen" - -#: ../templates/account/groupedit.php:521 -#: ../templates/account/groupedit.php:578 -#: ../templates/account/groupedit.php:646 -#: ../templates/account/groupedit.php:742 -#: ../templates/account/groupedit.php:798 -#: ../templates/account/useredit.php:792 ../templates/account/useredit.php:862 -#: ../templates/account/useredit.php:924 -#: ../templates/account/useredit.php:1045 -#: ../templates/account/useredit.php:1162 -#: ../templates/account/useredit.php:1402 -#: ../templates/account/useredit.php:1450 -#: ../templates/account/useredit.php:1530 -#: ../templates/profedit/profilegroup.php:67 -msgid "Samba" -msgstr "Samba" - -#: ../templates/domain.php:234 ../templates/confwiz/ldaptest.php:239 -msgid "Samba 3 domain SID is invalid!" -msgstr "Samba 3 Domänen-SID ist ungültig!" - -#: ../templates/config/confmain.php:183 ../lib/config.inc:274 -msgid "Samba 3.x schema" -msgstr "Samba 3.x Schema" - -#: ../templates/lists/listdomains.php:233 -msgid "Samba Domain(s) found" -msgstr "Samba-Domäne(n) gefunden" - -#: ../templates/profedit/profilemain.php:218 -msgid "Samba Host Profiles" -msgstr "Samba-Hostprofile" - -#: ../templates/lists/listhosts.php:342 -msgid "Samba Host(s) found" -msgstr "Samba Host(s) gefunden" - -#: ../templates/ou_edit.php:405 -msgid "Samba Hosts" -msgstr "Samba Hosts" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Samba Options not set!" -msgstr "Samba-Optionen wurden nicht gesetzt!" - -#: ../templates/profedit/profileuser.php:232 -msgid "Samba account" -msgstr "Samba Account" - -#: ../templates/profedit/profilecreate.php:196 -msgid "Samba home directory is invalid!" -msgstr "Samba-Heimatverzeichnis ist ungültig!" - -#: ../templates/account/useredit.php:1184 -msgid "Samba password" -msgstr "Samba-Passwort" - -#: ../templates/account/groupedit.php:659 -#: ../templates/account/useredit.php:1178 -msgid "Samba properties" -msgstr "Samba-Einstellungen" - -#: ../templates/config/confmain.php:178 -msgid "Samba settings" -msgstr "Samba-Einstellungen" - -#: ../templates/confwiz/server.php:179 ../help/help.inc:98 -msgid "Samba version" -msgstr "Samba-Version" - -#: ../templates/config/confsave.php:83 -msgid "Samba version is not defined!" -msgstr "Samba-Version ist nicht definiert!" - -#: ../templates/account/useredit.php:1277 ../help/help.inc:217 -msgid "Samba workstations" -msgstr "Samba PCs" - -#: ../templates/profedit/profilecreate.php:223 -msgid "Samba workstations are invalid!" -msgstr "Samba-Arbeitsstationen sind ungültig!" - -#: ../lib/pdf.inc:286 ../lib/pdf.inc:524 -msgid "Samba-Host information page" -msgstr "Samba-Host-Informationen" - -#: ../templates/profedit/profilegroup.php:151 -#: ../templates/profedit/profilehost.php:120 -#: ../templates/profedit/profileuser.php:428 -msgid "Save" -msgstr "Speichern" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/groupedit.php:435 -#: ../templates/account/groupedit.php:436 -#: ../templates/account/groupedit.php:814 -#: ../templates/account/groupedit.php:818 -#: ../templates/account/hostedit.php:285 ../templates/account/hostedit.php:288 -#: ../templates/account/hostedit.php:289 ../templates/account/hostedit.php:447 -#: ../templates/account/hostedit.php:451 ../templates/account/useredit.php:716 -#: ../templates/account/useredit.php:719 ../templates/account/useredit.php:720 -#: ../templates/account/useredit.php:1546 -#: ../templates/account/useredit.php:1550 ../help/help.inc:266 -msgid "Save profile" -msgstr "Profil speichern" - -#: ../templates/config/confsave.php:199 ../templates/confwiz/o_daemon.php:60 -msgid "Saving PDF text failed!" -msgstr "Speichern des Text für Benutzer-PDF fehlgeschlagen!" - -#: ../help/help.inc:86 -msgid "Script path" -msgstr "Scriptpfad" - -#: ../templates/confwiz/o_daemon.php:54 -msgid "Script path is invalid!" -msgstr "Scriptpfad ist ungültig!" - -#: ../help/help.inc:91 -msgid "Script server" -msgstr "Scriptserver" - -#: ../templates/config/confsave.php:187 ../templates/confwiz/o_daemon.php:57 -msgid "Script server is invalid!" -msgstr "Scriptserver ist ungültig!" - -#: ../templates/config/confmain.php:307 -msgid "Script settings" -msgstr "Scripteinstellungen" - -#: ../templates/config/confmain.php:339 -msgid "Security settings" -msgstr "Sicherheitseinstellungen" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "See README.openldap.txt to solve this problem." -msgstr "Bitte lesen Sie README.openldap.txt um dieses Problem zu lösen." - -#: ../templates/help.php:90 -msgid "See also" -msgstr "Siehe auch" - -#: ../templates/lists/listgroups.php:280 ../templates/lists/listhosts.php:267 -#: ../templates/lists/listusers.php:322 -msgid "Select all" -msgstr "Alle auswählen" - -#: ../templates/masscreate.php:420 -msgid "Select file:" -msgstr "Datei wählen:" - -#: ../templates/masscreate.php:412 ../help/help.inc:268 -msgid "Select group profile" -msgstr "Gruppenprofil wählen" - -#: ../templates/masscreate.php:386 -msgid "Select settings" -msgstr "Einstellungen wählen" - -#: ../templates/masscreate.php:389 -msgid "Select user profile:" -msgstr "Benutzerprofil wählen:" - -#: ../templates/account/useredit.php:808 -msgid "Select workstations" -msgstr "PCs wählen" - -#: ../templates/account/useredit.php:881 -msgid "Selected groups" -msgstr "Gewählte Gruppen" - -#: ../templates/config/confsave.php:89 ../templates/confwiz/server.php:74 -msgid "Server Address is empty!" -msgstr "Die Server Addresse ist nicht gesetzt!" - -#: ../templates/config/confmain.php:112 ../templates/confwiz/server.php:130 -#: ../help/help.inc:38 ../lib/config.inc:271 -msgid "Server address" -msgstr "Serveraddresse" - -#: ../templates/config/confmain.php:311 ../templates/confwiz/o_daemon.php:113 -#: ../lib/config.inc:291 -msgid "Server of external script" -msgstr "Server mit externem Script" - -#: ../templates/config/confmain.php:109 -msgid "Server settings" -msgstr "Servereinstellungen" - -#: ../templates/profedit/profileuser.php:237 -msgid "Set Samba password" -msgstr "Samba-Passwort setzen" - -#: ../templates/profedit/profileuser.php:142 -msgid "Set Unix Password" -msgstr "Unix-Passwort setzen" - -#: ../templates/profedit/profileuser.php:247 ../help/help.inc:126 -msgid "Set Unix password for Samba" -msgstr "Unix-Passwort für Samba setzen" - -#: ../templates/config/profmanage.php:256 ../help/help.inc:115 -msgid "Set profile password" -msgstr "Profilpasswort setzen" - -#: ../templates/profedit/profilecreate.php:83 -msgid "Shell is invalid!" -msgstr "Shell ist ungültig!" - -#: ../templates/masscreate.php:292 -msgid "Show Details." -msgstr "Details anzeigen." - -#: ../templates/masscreate.php:309 -msgid "Show Errors." -msgstr "Fehler zeigen." - -#: ../templates/masscreate.php:297 -msgid "Show Infos." -msgstr "Informationen zeigen." - -#: ../templates/masscreate.php:303 -msgid "Show Warnings." -msgstr "Warnungen zeigen." - -#: ../lib/pdf.inc:241 -msgid "Soft block" -msgstr "weiches Block-Limit" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:100 -#: ../templates/profedit/profileuser.php:377 ../help/help.inc:228 -msgid "Soft block limit" -msgstr "weiches Block-Limit" - -#: ../help/help.inc:229 -msgid "Soft block limit." -msgstr "weiches Block-Limit" - -#: ../lib/pdf.inc:242 -msgid "Soft inode" -msgstr "weiches Inode-Limit" - -#: ../help/help.inc:240 -msgid "Soft inode (files) limit." -msgstr "Weiches Inode-Limit (Dateien)." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 -#: ../templates/profedit/profilegroup.php:102 -#: ../templates/profedit/profileuser.php:379 ../help/help.inc:239 -msgid "Soft inode limit" -msgstr "weiches Inode-Limit" - -#: ../templates/help.php:65 -msgid "Sorry no help number submitted." -msgstr "Leider wurde keine Hilfenummer angegeben." - -#: ../templates/help.php:75 -#, php-format -msgid "Sorry this help number ({bold}%d{endbold}) is not available." -msgstr "Diese Hilfenummer ist leider nicht verfügbar: {bold}%d{endbold}" - -#: ../templates/account/useredit.php:493 -#: ../templates/account/useredit.php:1478 ../templates/masscreate.php:371 -#: ../templates/masscreate.php:572 ../templates/massdetail.php:144 -#: ../templates/massdetail.php:232 ../help/help.inc:252 ../help/help.inc:253 -#: ../lib/pdf.inc:93 -msgid "Street" -msgstr "Straße" - -#: ../templates/domain.php:176 ../templates/ou_edit.php:94 -#: ../templates/ou_edit.php:159 ../templates/ou_edit.php:224 -#: ../templates/ou_edit.php:289 ../templates/ou_edit.php:472 -#: ../templates/config/confmain.php:367 ../templates/config/profmanage.php:356 -#: ../templates/profedit/profiledelete.php:97 -#: ../templates/profedit/profiledelete.php:109 -#: ../templates/profedit/profiledelete.php:121 -#: ../templates/profedit/profilemain.php:261 -msgid "Submit" -msgstr "Abschicken" - -#: ../templates/account/groupedit.php:607 -#: ../templates/account/hostedit.php:417 -#: ../templates/account/useredit.php:1001 ../templates/domain.php:149 -#: ../templates/lists/listdomains.php:187 -#: ../templates/lists/listgroups.php:300 ../templates/lists/listhosts.php:288 -#: ../templates/lists/listusers.php:341 ../templates/confwiz/ldaptest.php:384 -#: ../help/help.inc:272 ../help/help.inc:274 ../help/help.inc:276 -#: ../help/help.inc:295 -msgid "Suffix" -msgstr "Suffix" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:353 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 ../templates/massdetail.php:202 -#: ../help/help.inc:191 ../lib/pdf.inc:85 -msgid "Surname" -msgstr "Nachname" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 -msgid "Surname contains invalid characters" -msgstr "Nachname enthält ungültige Zeichen" - -#: ../help/help.inc:192 -msgid "Surname of user. Only letters, - and spaces are allowed." -msgstr "Nachname des Benutzers. Es sind nur Buchstaben, - und Leerzeichen erlaubt." - -#: ../templates/account/useredit.php:489 -#: ../templates/account/useredit.php:1496 ../templates/masscreate.php:365 -#: ../templates/masscreate.php:568 ../templates/massdetail.php:150 -#: ../templates/massdetail.php:250 ../help/help.inc:258 ../help/help.inc:259 -msgid "Telephone number" -msgstr "Telefonnummer" - -#: ../templates/config/confmain.php:329 ../help/help.inc:107 -#: ../lib/config.inc:293 -msgid "Text for user PDF" -msgstr "Text für Benutzer-PDF" - -#: ../help/help.inc:154 -msgid "The Primary Group the user should be member of." -msgstr "Die primäre Gruppe des Benutzers." - -#: ../help/help.inc:168 -msgid "The Primary group the host should be member of." -msgstr "Die primäre Gruppe des Hosts." - -#: ../help/help.inc:298 -msgid "The SID of your Samba server. Get it with \"net getlocalsid\"." -msgstr "Die Domänen-SID des Samba-Servers. Auszulesen mit \"net getlocalsid\"." - -#: ../help/help.inc:296 -msgid "The domain entry will be saved under this suffix." -msgstr "Der Domäneneintrag wird unter diesem Suffix gespeichert." - -#: ../templates/confwiz/o_lists.php:107 -msgid "The entries are separated by semicolons." -msgstr "Die Einträge werden durch Strichpunkte getrennt." - -#: ../templates/config/confsave.php:220 ../templates/confwiz/final.php:52 -msgid "The following settings were saved to profile:" -msgstr "Die folgenden Einstellungen wurden gespeichert:" - -#: ../templates/initsuff.php:189 -msgid "The following suffix(es) are missing in LDAP. LAM can create them for you." -msgstr "Folgende Suffixe fehlen in LDAP. LAM kann sie für Sie erstellen." - -#: ../templates/confwiz/ldaptest.php:200 -msgid "The following suffix(es) are missing in LDAP. LAM will create them for you." -msgstr "Folgende Suffixe fehlen in LDAP. LAM wird sie für Sie erstellen." - -#: ../help/help.inc:294 -msgid "The name of your Windows domain or workgroup." -msgstr "Der Name ihrer Windows-Domäne oder Arbeitsgruppe." - -#: ../templates/config/confmain.php:92 -msgid "The password is invalid! Please try again." -msgstr "Das Passwort ist falsch! Bitte erneut eingeben." - -#: ../templates/masscreate.php:321 -msgid "There are some errors." -msgstr "Es gab einige Fehler." - -#: ../templates/masscreate.php:322 -msgid "There are some warnings." -msgstr "Es gab einige Warnungen." - -#: ../help/help.inc:59 -msgid "" -"These are the minimum and maximum numbers to use for group IDs when creating " -"new group accounts. New group accounts will always get the highest number in " -"use plus one." -msgstr "" -"Das sind die minimalen und maximalen Nummern für Gruppen-IDs wenn neue " -"Gruppen erstellt werden. Neue Gruppen bekommen die immer die höchste " -"verwendete Zahl plus 1." - -#: ../help/help.inc:61 -msgid "" -"These are the minimum and maximum numbers to use for machine IDs when " -"creating new accounts for Samba hosts. The range should be different from " -"that of users. New host accounts will always get the highest number in use " -"plus one." -msgstr "" -"Das sind die minimalen und maximalen Nummern für Host-IDs wenn neue Hosts " -"erstellt werden. Der Bereich sollte sich von dem der Benutzer unterscheiden. " -"Neue Hosts bekommen die immer die höchste verwendete Zahl plus 1." - -#: ../help/help.inc:57 -msgid "" -"These are the minimum and maximum numbers to use for user IDs when creating " -"new user accounts. The range should be different from that of machines. New " -"user accounts will always get the highest number in use plus one." -msgstr "" -"Das sind die minimalen und maximalen Nummern für Benutzer-IDs wenn neue " -"Benutzer erstellt werden. Der Bereich sollte sich von dem der Hosts " -"unterscheiden. Neue Benutzer bekommen die immer die höchste verwendete Zahl " -"plus 1." - -#: ../templates/domain.php:237 ../templates/confwiz/ldaptest.php:231 -msgid "This Samba 3 domain is already present!" -msgstr "Diese Samba3-Domäne ist bereits vorhanden!" - -#: ../templates/confwiz/o_lists.php:104 -msgid "" -"This can be a list of predefined attributes which have a description and are " -"translated or you can write your own description." -msgstr "" -"Dies kann eine Liste von vordefinierten Attributen mit zugehöriger " -"Beschreibung und Übersetzung sein oder Sie schreiben ihre eigene " -"Beschreibung." - -#: ../help/help.inc:116 -msgid "This changes the password of the selected profile." -msgstr "Damit ändern Sie das Passwort des gewählten Profils." - -#: ../help/help.inc:118 -msgid "This changes the profile which is selected by default at login." -msgstr "Damit ändern Sie das Standardprofil am Login." - -#: ../templates/confwiz/o_lang.php:102 ../help/help.inc:85 -msgid "" -"This defines the language of the login window and sets this language as the " -"default language. Users can change the language at login." -msgstr "" -"Bestimmt die Sprache des Logins und setzt diese Sprache als Standard. " -"Benutzer können die Sprache beim Login ändern." - -#: ../lib/pdf.inc:509 ../lib/pdf.inc:538 ../lib/pdf.inc:569 -msgid "This document was automatically created by LDAP Account Manager" -msgstr "Dieses Dokument wurde von LDAP Account Manager erstellt." - -#: ../help/help.inc:78 -msgid "" -"This is a list of valid DN entries of all users that are allowed to login to " -"LDAP Account Manager. The user names have to be separated by semicolons." -msgstr "" -"Das ist eine Liste von DN-Einträgen aller Benutzer, die sich bei LDAP " -"Account Manager anmelden dürfen. Die Benutzernamen müssen mit Strichpunkten " -"getrennt sein." - -#: ../help/help.inc:87 -msgid "" -"This is the absolute path to an external script for setting quotas and " -"creating home directories." -msgstr "" -"Das ist der absolute Pfad zu einem externen Script, das Quotas und " -"Heimatverzeichnisse verwaltet." - -#: ../help/help.inc:63 -msgid "" -"This is the list of attributes to show in the user/group/host list. The " -"entries can either be predefined values, \"#attribute\", or individual ones, " -"\"attribute:description\". Several entries are seperated by semicolons." -msgstr "" -"Das ist eine Liste von Attributen, die in den Benutzer/Gruppen/Host-Listen " -"angezeigt wird. Die Einträge können entweder vordefinierte Werte \"#Wert\" " -"oder eigne Werte \"#Wert:Beschreibung\" sein. Mehrere Werte werden durch " -"Strichpunkte getrennt." - -#: ../help/help.inc:83 -msgid "" -"This is the number of rows to show in the user/group/host list. If more " -"entries are found the list will be split into several pages." -msgstr "" -"Das ist die Anzahl von Zeilen, die in den Benutzer/Gruppen/Host-Listen " -"angezeigt wird. Wenn mehr Einträge gefunden werden, wird die Liste auf " -"mehrere Seiten aufgeteilt." - -#: ../help/help.inc:39 -msgid "" -"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." -msgstr "" -"Das ist die Serveradresse ihres LDAP-Servers. Verwenden Sie ldap:// für " -"normale LDAP-Verbindungen und ldaps:// für verschlüsselte Verbindungen " -"(benötigt Serverzertifikat). Die Portnummer ist optional." - -#: ../templates/confwiz/o_daemon.php:107 -msgid "" -"This is the server and path where the lamdaemon.pl script is stored. LDAP " -"Account Manager will make a SSH connection to this server with username and " -"password provided at login." -msgstr "" -"Das ist der Server und der Pfad zum lamdaemon-Script. LDAP Account Manager " -"wird eine SSH-Verbindung zu diesem Serer aufbauen, dabei werden Benutzername " -"und Passwort vom Login verwendet." - -#: ../help/help.inc:92 -msgid "" -"This is the server where the lamdaemon script is stored. LDAP Account " -"Manager will make a SSH connection to this server with username and password " -"provided at login." -msgstr "" -"Das ist der Server auf dem das lamdaemon-Script liegt. LDAP Account Manager " -"wird eine SSH-Verbindung zu diesem Serer aufbauen, dabei werden Benutzername " -"und Passwort vom Login verwendet." - -#: ../help/help.inc:51 -msgid "" -"This is the suffix of the LDAP tree from where to search for user/group/host " -"entries. Only entries in these subtrees will be displayed in the user/group/" -"host list. When creating a new accont this will be the DN where it is saved." -msgstr "" -"Das ist der Suffix im LDAP-Baum in dem nach Benutzern/Gruppen/Hosts gesucht " -"wird. Nur Einträge in diesen Teilbäumen werden in den Listen angezeigt. Neue " -"Accounts werden werden unter diesem DN gespeichert." - -#: ../help/help.inc:104 -msgid "" -"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." -msgstr "" -"Dies ist die Zeit in Minuten die LAM LDAP-Suchen zwischenspeichert. Kürzere " -"Zeiten belasten den LDAP-Server mehr, verringern aber die Gefahr, dass " -"Änderungen nicht erkannt werden." - -#: ../templates/confwiz/o_daemon.php:127 ../help/help.inc:108 -msgid "This text will appear on top of every user PDF file." -msgstr "Dieser Text erscheint am Anfang jedes Benutzer-PDFs." - -#: ../templates/lists/userlink.php:54 -msgid "This user was not found!" -msgstr "Dieser Benutzer wurde nicht gefunden!" - -#: ../help/help.inc:290 -msgid "This will create a new organizational unit under the selected one." -msgstr "Dies erzeugt eine neue Organizational Unit unterhalb der markierten." - -#: ../help/help.inc:292 -msgid "This will delete the selected organizational unit. The OU has to be empty." -msgstr "Dies löscht die markierte Organizational Unit. Die OU muss leer sein." - -#: ../help/help.inc:114 -msgid "This will delete the selected profile." -msgstr "Dies löscht das markierte Profil." - -#: ../help/help.inc:267 -msgid "" -"This will make a profile of the current account. The saved values are the " -"same as in the profile editor. Profile names may contain the letters a-z, 0-" -"9 and -_." -msgstr "" -"Damit erstellen Sie ein Profil aus dem aktuellen Account. Es werden die " -"selben Werte wie im Profileditor gespeichert. Profilnamen dürfen die " -"Buchstaben a-z, 0-9 und -_ enthalten." - -#: ../lib/pdf.inc:81 -msgid "Title" -msgstr "Titel" - -#: ../templates/confwiz/server.php:144 -msgid "" -"To connect to your LDAP server please enter now the DN of your " -"administrative user and the password." -msgstr "" -"Bitte geben Sie den DN und das Passwort des administrativen Benutzers ein " -"damit sich LAM mit ihrem LDAP-Server verbinden kann." - -#: ../help/help.inc:152 -msgid "" -"To disable login use /bin/false. List of shells is read from lam/config/" -"shells" -msgstr "" -"Verwenden Sie /bin/false um den Login zu deaktivieren. Die Shellliste wird " -"von lam/config/shells gelesen." - -#: ../templates/lists/listusers.php:355 -msgid "Translate GID number to group name" -msgstr "GID-Nummer als Gruppenname darstellen" - -#: ../lib/pdf.inc:305 ../lib/pdf.inc:348 -msgid "UID" -msgstr "Benutzer ID" - -#: ../templates/account/hostedit.php:370 ../templates/account/useredit.php:948 -#: ../help/help.inc:56 ../help/help.inc:141 ../help/help.inc:164 -#: ../lib/ldap.inc:217 ../lib/ldap.inc:240 -msgid "UID number" -msgstr "UID Nummer" - -#: ../templates/account/useredit.php:556 -msgid "" -"UID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"Die UID-Nummer hat sich geändert. Sie müssen folgenden Befehl als root " -"ausführen um die existierenden Dateirechte zu ändern:" - -#: ../help/help.inc:220 -#, php-format -msgid "" -"UNC-path (\\\\server\\share) of homedirectory. $%s and $%s are replaced with " -"user- and groupname." -msgstr "" -"UNC-Pfad (\\\\Server\\Freigabe) des Heimatverzeichnisses. $%s und $%s werden " -"durch Benutzer- und Gruppenname ersetzt." - -#: ../templates/ou_edit.php:55 ../templates/ou_edit.php:120 -#: ../templates/ou_edit.php:185 ../templates/ou_edit.php:250 -msgid "Unable to create new OU!" -msgstr "Kann neue OU nicht erstellen!" - -#: ../templates/config/profmanage.php:77 ../templates/confwiz/start.php:63 -msgid "Unable to create new profile!" -msgstr "Kann das Profil nicht erstellen!" - -#: ../templates/ou_edit.php:72 ../templates/ou_edit.php:137 -#: ../templates/ou_edit.php:202 ../templates/ou_edit.php:267 -msgid "Unable to delete OU!" -msgstr "Kann OU nicht löschen!" - -#: ../templates/domain.php:304 -msgid "Unable to delete domain!" -msgstr "Kann Domäne nicht löschen!" - -#: ../templates/config/profmanage.php:99 -#: ../templates/profedit/profiledelete.php:53 -#: ../templates/profedit/profiledelete.php:60 -#: ../templates/profedit/profiledelete.php:67 -msgid "Unable to delete profile!" -msgstr "Kann das Profil nicht löschen!" - -#: ../templates/login.php:100 ../templates/config/confmain.php:296 -#: ../templates/confwiz/o_lang.php:134 -msgid "" -"Unable to load available languages. Setting English as default language. For " -"further instructions please contact the Admin of this site." -msgstr "" -"Konnte verfügbare Sprachen nicht laden. Englisch wurde als Standardsprache " -"gesetzt. Für weitere Anweisungen wenden Sie sich bitte an den Administrator " -"dieser Seite." - -#: ../lib/config.inc:184 ../lib/config.inc:735 -msgid "Unable to load configuration!" -msgstr "Kann Konfiguration nicht laden!" - -#: ../lib/profiles.inc:252 ../lib/profiles.inc:256 ../lib/profiles.inc:319 -#: ../lib/profiles.inc:323 ../lib/profiles.inc:375 ../lib/profiles.inc:379 -msgid "Unable to load profile!" -msgstr "Kann das Profil nicht laden!" - -#: ../templates/profedit/profilecreate.php:283 -#: ../templates/profedit/profilecreate.php:348 -#: ../templates/profedit/profilecreate.php:386 ../lib/profiles.inc:451 -#: ../lib/profiles.inc:486 ../lib/profiles.inc:514 -msgid "Unable to save profile!" -msgstr "Kann das Profil nicht speichern!" - -#: ../templates/account/groupedit.php:531 -#: ../templates/account/groupedit.php:588 -#: ../templates/account/groupedit.php:655 -#: ../templates/account/groupedit.php:751 -#: ../templates/account/groupedit.php:808 -#: ../templates/account/useredit.php:802 ../templates/account/useredit.php:872 -#: ../templates/account/useredit.php:934 -#: ../templates/account/useredit.php:1055 -#: ../templates/account/useredit.php:1172 -#: ../templates/account/useredit.php:1411 -#: ../templates/account/useredit.php:1460 -#: ../templates/account/useredit.php:1540 ../templates/massdetail.php:72 -#: ../templates/massdetail.php:275 -msgid "Undo" -msgstr "Rückgängig" - -#: ../templates/account/hostedit.php:437 -msgid "Undo changes" -msgstr "Änderungen zurücksetzen" - -#: ../templates/account/useredit.php:791 ../templates/account/useredit.php:861 -#: ../templates/account/useredit.php:923 -#: ../templates/account/useredit.php:1044 -#: ../templates/account/useredit.php:1161 -#: ../templates/account/useredit.php:1401 -#: ../templates/account/useredit.php:1449 -#: ../templates/account/useredit.php:1529 -msgid "Unix" -msgstr "Unix" - -#: ../lib/pdf.inc:124 -msgid "Unix User Settings" -msgstr "Unix-Einstellungen" - -#: ../templates/profedit/profileuser.php:88 -msgid "Unix account" -msgstr "Unix-Account" - -#: ../templates/confwiz/ldaptest.php:483 -msgid "Unix group name" -msgstr "Unix-Gruppenname" - -#: ../lib/pdf.inc:132 ../lib/pdf.inc:141 -msgid "Unix password" -msgstr "Unix-Passwort" - -#: ../lib/pdf.inc:134 -msgid "Unix password disabled!" -msgstr "Unix-Passwort deaktiviert!" - -#: ../templates/account/useredit.php:1059 -msgid "Unix properties" -msgstr "Unix-Einstellungen" - -#: ../templates/account/useredit.php:354 -#: ../templates/account/useredit.php:1127 -#: ../templates/profedit/profileuser.php:208 ../help/help.inc:280 -msgid "Unix workstations" -msgstr "Arbeitsstationen" - -#: ../templates/profedit/profilecreate.php:131 -msgid "Unix workstations are invalid!" -msgstr "Unix-Arbeitsstationen sind ungültig!" - -#: ../templates/account/useredit.php:354 -msgid "Unix workstations is invalid." -msgstr "Unix-Arbeitsstationen sind ungültig." - -#: ../templates/confwiz/o_daemon.php:108 ../help/help.inc:89 -#: ../help/help.inc:94 -msgid "" -"Use it at your own risk and read the documentation for lamdaemon before you " -"use it!" -msgstr "" -"Verwendung auf eigene Gefahr. Lesen Sie die Dokumentation für lamdaemon " -"bevor Sie es benutzen!" - -#: ../templates/account/useredit.php:1073 -#: ../templates/account/useredit.php:1199 ../help/help.inc:195 -msgid "Use no password" -msgstr "Kein Passwort setzen" - -#: ../templates/account/useredit.php:1193 ../help/help.inc:199 -msgid "Use unix password" -msgstr "Unix-Passwort verwenden" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 ../help/help.inc:226 -msgid "Used blocks" -msgstr "Benutzte Blöcke" - -#: ../help/help.inc:227 -msgid "Used blocks. 1000 blocks are usually 1MB" -msgstr "Verwendete Blöcke. 1000 Blöcke sind normalerweise 1 MB." - -#: ../help/help.inc:306 -msgid "Used for calculating RIDs from UID/GID. Do not change if unsure." -msgstr "" -"Wird für die Berechnung der RIDs aus UID/GID verwendet. Nicht ändern, wenn " -"Sie nicht sicher sind." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 ../help/help.inc:237 -msgid "Used inodes" -msgstr "benutzte Inodes" - -#: ../help/help.inc:238 -msgid "Used inodes (files)" -msgstr "Benutze Inodes (Dateien)" - -#: ../templates/account/useredit.php:1571 -#, php-format -msgid "User %s has been created." -msgstr "Benutzer %s wurde erstellt." - -#: ../templates/account/useredit.php:1568 -#, php-format -msgid "User %s has been modified." -msgstr "Benutzer %s wurde geändert." - -#: ../lib/ldap.inc:216 -msgid "User ID" -msgstr "Benutzer ID" - -#: ../templates/profedit/profilemain.php:128 -msgid "User Profiles" -msgstr "Benutzerprofile" - -#: ../templates/account/useredit.php:1211 ../help/help.inc:130 -#: ../help/help.inc:203 -msgid "User can change password" -msgstr "Benutzer kann Passwort ändern" - -#: ../help/help.inc:150 -msgid "User description. If left empty sur- and give name will be used." -msgstr "Benutzerbeschreibung, falls leer wird Vor- und Nachname verwendet." - -#: ../lib/pdf.inc:39 ../lib/pdf.inc:496 -msgid "User information page" -msgstr "Benutzerinformationen" - -#: ../templates/initsuff.php:144 ../templates/initsuff.php:157 -#: ../templates/initsuff.php:163 ../templates/initsuff.php:172 -#: ../templates/masscreate.php:263 -msgid "User list" -msgstr "Benutzerliste" - -#: ../templates/config/confsave.php:154 ../templates/confwiz/o_lists.php:54 -msgid "User list attributes are invalid!" -msgstr "Attribute der Benutzerliste sind ungültig!" - -#: ../templates/account/useredit.php:1230 ../help/help.inc:205 -msgid "User must change password" -msgstr "Benutzer muss Passwort ändern" - -#: ../templates/masscreate.php:283 -msgid "User name" -msgstr "Benutzername" - -#: ../lib/pdf.inc:236 -msgid "User quota(s)" -msgstr "Benutzer Quota" - -#: ../templates/masscreate.php:396 -msgid "User suffix" -msgstr "Benutzersuffix" - -#: ../templates/lists/listusers.php:411 -msgid "User(s) found" -msgstr "Benutzer gefunden" - -#: ../help/help.inc:50 -msgid "User/Group/Host suffix" -msgstr "Benutzer-/Gruppen-/Hostsuffix" - -#: ../templates/config/confmain.php:123 ../templates/confwiz/server2.php:131 -#: ../lib/config.inc:275 -msgid "UserSuffix" -msgstr "Benutzersuffix" - -#: ../templates/config/confsave.php:104 ../templates/confwiz/server2.php:59 -msgid "UserSuffix is invalid!" -msgstr "UserSuffix ist ungültig!" - -#: ../templates/account/useredit.php:224 ../templates/account/useredit.php:246 -#: ../templates/account/useredit.php:291 ../templates/account/useredit.php:942 -#: ../templates/login.php:148 ../templates/masscreate.php:357 -#: ../templates/masscreate.php:545 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 ../templates/massdetail.php:136 -#: ../templates/massdetail.php:214 ../help/help.inc:139 ../lib/ldap.inc:219 -#: ../lib/pdf.inc:127 ../lib/pdf.inc:181 -msgid "Username" -msgstr "Benutzername" - -#: ../templates/account/useredit.php:246 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 -msgid "" -"Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Benutzername enthält ungültige Zeichen. Gültige Zeichen sind: a-z, A-Z, 0-9 " -"und .-_ !" - -#: ../templates/account/useredit.php:291 ../templates/masscreate.php:545 -#: ../templates/massdetail.php:136 -msgid "Username in use. Selected next free username." -msgstr "" -"Der Benutzername ist bereits vorhanden, der nächste freie Name wurde " -"ausgewählt." - -#: ../help/help.inc:140 -msgid "" -"Username of the user who should be created. Valid characters are: a-z,0-9, .-" -"_. Lam does not allow a number as first character because useradd also does " -"not allow it. Lam does not allow capital letters A-Z because it can cause " -"several problems. If username is already used username will be expanded with " -"a number. The next free number will be used. Warning: Older systems have " -"problems with usernames longer than 8 characters. You can not log in to " -"Windows if username is longer than 16 characters." -msgstr "" -"Benutzername des zu erstellenden Benutzers. Gültige Zeichen sind: a-z, 0-9 " -"und .-_. LAM erlaubt keine Zahlen als erstes Zeichen weil es useradd auch " -"nicht erlaubt. Großbuchstaben am Anfang können Probleme verursachen und sind " -"ebenfalls nicht erlaubt. Sollte der Benutzername schon in Verwendung sein " -"wird eine Zahl angehängt. Achtung! Ältere Systeme haben Probleme mit mehr " -"als 8 Zeichen. Sie können sich bei Windows nicht anmelden wenn Sie mehr als " -"16 Zeichen verwenden." - -#: ../templates/main_header.php:73 ../templates/main_header.php:78 -#: ../templates/ou_edit.php:339 ../templates/confwiz/o_lists.php:112 -#: ../help/help.inc:69 -msgid "Users" -msgstr "Benutzer" - -#: ../help/help.inc:285 -msgid "Users also being member of the current group." -msgstr "Benutzer die Mitglieder der Gruppe sind." - -#: ../help/help.inc:182 -msgid "Users wich are also members of group." -msgstr "Benutzer die Mitglieder der Gruppe sind." - -#: ../templates/confwiz/o_lang.php:145 ../help/help.inc:77 -msgid "Valid users" -msgstr "Berechtigte Benutzer" - -#: ../templates/account/groupedit.php:619 -#: ../templates/account/hostedit.php:428 -#: ../templates/account/useredit.php:1013 -#: ../templates/account/useredit.php:1134 -msgid "Values with * are required" -msgstr "Felder mit * müssen ausgefüllt werden" - -#: ../templates/masscreate.php:284 -msgid "Warnings" -msgstr "Warnungen" - -#: ../templates/masscreate.php:206 ../templates/masscreate.php:236 -#, php-format -msgid "Was unable to create %s." -msgstr "Konnte %s nicht erstellen." - -#: ../templates/confwiz/start.php:107 -msgid "Welcome to LAM Configuration wizard." -msgstr "Willkommen zum LAM-Einstellungsassistent." - -#: ../help/help.inc:49 -msgid "" -"When using ldaps:// be sure to use exactly the same IP/domain name as in " -"your certificate!" -msgstr "" -"Wenn Sie ldaps:// verwenden stellen Sie sicher, dass Sie genau die selbe IP/" -"Domäne wie in ihrem Zertifikat verwenden!" - -#: ../templates/confwiz/server.php:173 -msgid "Which Samba version do you use?" -msgstr "Welche Samba-Version verwenden Sie?" - -#: ../lib/pdf.inc:226 -msgid "Windows Domain" -msgstr "Windows-Domäne" - -#: ../lib/pdf.inc:178 -msgid "Windows User Settings" -msgstr "Windows-Einstellungen" - -#: ../help/help.inc:184 -msgid "Windows clients will show display name as group description." -msgstr "Der Anzeigename wird von Windows als Gruppenbeschreibung angezeigt." - -#: ../help/help.inc:270 -msgid "Windows domain" -msgstr "Windows-Domäne" - -#: ../help/help.inc:271 -msgid "Windows domain of host." -msgstr "Windows-Domäne des Hosts." - -#: ../templates/confwiz/ldaptest.php:482 -msgid "Windows group name" -msgstr "Windows-Gruppenname" - -#: ../templates/account/groupedit.php:665 -#: ../templates/account/useredit.php:1282 ../help/help.inc:278 -msgid "Windows groupname" -msgstr "Windows-Gruppenname" - -#: ../lib/pdf.inc:222 -msgid "Windows home directory" -msgstr "Windows-Heimatverzeichnis" - -#: ../lib/pdf.inc:186 ../lib/pdf.inc:192 ../lib/pdf.inc:201 -msgid "Windows password" -msgstr "Windows-Passwort" - -#: ../lib/pdf.inc:188 -msgid "Windows password disabled!" -msgstr "Windows-Passwort deaktiviert!" - -#: ../lib/pdf.inc:194 -msgid "Windows password set to unix password." -msgstr "Unix-Passwort für Windows verwenden" - -#: ../help/help.inc:283 -msgid "Windows-Domain of group." -msgstr "Windows-Domäne der Gruppe." - -#: ../help/help.inc:223 -msgid "Windows-Domain of user." -msgstr "Windows-Domäne des Benutzers." - -#: ../templates/profedit/profileuser.php:335 -msgid "Workstations" -msgstr "Arbeitsstationen" - -#: ../templates/login.php:321 ../templates/confwiz/server.php:70 -msgid "Wrong Password/Username combination. Try again." -msgstr "Falsche Benutzername/Passwort-Kombination. Bitte erneut eingeben." - -#: ../templates/profedit/profiledelete.php:73 -#: ../templates/profedit/profiledelete.php:130 -msgid "Wrong or missing type!" -msgstr "Falscher oder fehlender Typ!" - -#: ../templates/profedit/profilecreate.php:171 -msgid "Wrong parameter for Samba option: Account does not expire!" -msgstr "Falscher Parameter für Samba-Option: Account läuft nicht ab" - -#: ../templates/profedit/profilecreate.php:179 -msgid "Wrong parameter for Samba option: Account is disabled!" -msgstr "Falscher Parameter für Samba-Option: Account ist deaktiviert" - -#: ../templates/profedit/profilecreate.php:155 -msgid "Wrong parameter for Samba option: Set Samba Password!" -msgstr "Falscher Parameter für Samba-Option: Samba-Passwort setzen" - -#: ../templates/profedit/profilecreate.php:163 -msgid "Wrong parameter for Samba option: Set Unix Password for Samba!" -msgstr "Falscher Parameter für Samba-Option: Unix-Passwort für Samba setzen" - -#: ../templates/profedit/profilecreate.php:187 -msgid "Wrong parameter for Samba option: home drive!" -msgstr "Falscher Parameter für Samba-Option: Heimatlaufwerk" - -#: ../templates/profedit/profilecreate.php:139 -msgid "Wrong parameter for Unix account activation!" -msgstr "Falscher Parameter für Unix-Account Aktivierung" - -#: ../templates/profedit/profilecreate.php:123 -msgid "Wrong parameter for Unix password expiry!" -msgstr "Falscher Parameter für Unix-Passwortablauf" - -#: ../templates/profedit/profilecreate.php:99 -msgid "Wrong parameter for Unix password warning!" -msgstr "Falscher Parameter für Unix-Passwortwarnung" - -#: ../templates/profedit/profilecreate.php:91 -msgid "Wrong parameter for login disable!" -msgstr "Falscher Parameter für deaktivierten Login!" - -#: ../templates/account/groupedit.php:436 -#: ../templates/account/hostedit.php:289 ../templates/account/useredit.php:720 -msgid "Wrong profilename given." -msgstr "Falscher Profilname angegeben." - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/hostedit.php:120 ../templates/account/useredit.php:224 -msgid "" -"You are using a capital letters. This can cause problems because not all " -"programs are case-sensitive." -msgstr "" -"Sie verwenden Großbuchstaben, das kann Probleme verursachen, da nicht alle " -"Programme Groß-/Kleinschreibung unterscheiden." - -#: ../help/help.inc:186 -msgid "" -"You can select a previous defined profile here. This will set all fields to " -"the profile values." -msgstr "" -"Sie können hier ein vordefiniertes Profil wählen. Das überschreibt alle " -"Felder mit den Profilwerten." - -#: ../templates/logout.php:62 -msgid "You have been logged off from LDAP Account Manager." -msgstr "Sie wurden vom LDAP Account Manager abgemeldet." - -#: ../templates/login.php:192 -msgid "Your Language" -msgstr "Sprache" - -#: ../templates/delete.php:200 -msgid "deleted" -msgstr "gelöscht" - -#: ../templates/account/useredit.php:492 -#: ../templates/account/useredit.php:1514 ../templates/masscreate.php:363 -#: ../templates/masscreate.php:571 ../templates/massdetail.php:156 -#: ../templates/massdetail.php:268 ../help/help.inc:264 ../help/help.inc:265 -msgid "eMail address" -msgstr "E-Mail Adresse" - -#: ../lib/account.inc:276 ../lib/account.inc:278 -msgid "hours" -msgstr "Stunden" - -#: ../help/help.inc:43 -msgid "" -"ldap://localhost:389 connects to localhost using a standard LDAP connection " -"on port 389" -msgstr "ldaps://141.40.146.133 baut eine einfache Verbindung zu 141.40.146.133 auf." - -#: ../help/help.inc:45 -msgid "" -"ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP " -"connection." -msgstr "" -"ldaps://141.40.146.133 baut eine verschlüsselte Verbindung zu 141.40.146.133 " -"auf." - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "no" -msgstr "nein" - -#: ../templates/masscreate.php:279 -msgid "not found!" -msgstr "nicht gefunden!" - -#: ../help/help.inc:55 -msgid "" -"ou=People,dc=yourcompany,dc=com will read and store all accounts in this " -"subtree." -msgstr "" -"ou=People,dc=yourcompany,dc=com liest und speichert alle Accounts in diesem " -"Unterzweig." - -#: ../templates/config/confmain.php:377 -msgid "required" -msgstr "erforderlich" - -#: ../templates/config/confmain.php:378 -msgid "required for Samba 3 schema" -msgstr "erforderlich für Samba 3 Schema" - -#: ../templates/masscreate.php:283 -msgid "row" -msgstr "Reihe" - -#: ../lib/profiles.inc:466 -msgid "saveGroupProfile: account has wrong type!" -msgstr "saveGroupProfile: account ist vom falschen Typ!" - -#: ../lib/profiles.inc:501 -msgid "saveHostProfile: account has wrong type!" -msgstr "saveHostProfile: account ist vom falschen Typ!" - -#: ../lib/profiles.inc:393 -msgid "saveUserProfile: account has wrong type!" -msgstr "saveUserProfile: account ist vom falschen Typ!" - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "yes" -msgstr "ja" - - diff --git a/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.mo b/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.mo deleted file mode 100644 index 907609b4..00000000 Binary files a/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.mo and /dev/null differ diff --git a/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.po b/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.po deleted file mode 100644 index 9ec8b798..00000000 --- a/lam-0.4/locale/fr_FR/LC_MESSAGES/messages.po +++ /dev/null @@ -1,4126 +0,0 @@ -# translation of messages.po to Française -# $Id$ -# -# -# LDAP Account Manager -# Poirier , 2004. -# Emmanuel Seyman , 2004. -# -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: post@rolandgruber.de \n" -"POT-Creation-Date: 2004-01-14 17:45+0200\n" -"PO-Revision-Date: 2004-03-19 12:46+0100\n" -"Last-Translator: Xavier Poirier \n" -"Language-Team: French \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.0.2\n" - -#: ../help/help.inc:147 -#, php-format -msgid "$%s and $%s are replaced with username or primary groupname." -msgstr "$%s et $%s seront remplacés avec les noms utilisateurs et groupe." - -#: ../lib/account.inc:722 ../lib/account.inc:727 -#, php-format -msgid "%s already exists!" -msgstr "%s existe déjà !" - -#: ../templates/confwiz/ldaptest.php:345 ../templates/confwiz/ldaptest.php:353 -#: ../templates/confwiz/ldaptest.php:361 -msgid "(optional)" -msgstr "(falcultatif)" - -#: ../templates/ou_edit.php:95 ../templates/ou_edit.php:160 -#: ../templates/ou_edit.php:225 ../templates/ou_edit.php:290 -#: ../templates/config/confmain.php:369 -#: ../templates/profedit/profiledelete.php:98 -#: ../templates/profedit/profiledelete.php:110 -#: ../templates/profedit/profiledelete.php:122 -#: ../templates/profedit/profilegroup.php:153 -#: ../templates/profedit/profilehost.php:122 -#: ../templates/profedit/profilemain.php:262 -#: ../templates/profedit/profileuser.php:430 -msgid "Abort" -msgstr "Abandon" - -#: ../templates/account/useredit.php:1118 ../help/help.inc:197 -msgid "Account deactivated" -msgstr "Compte désactivé" - -#: ../help/help.inc:180 -msgid "Account expire date. Format: DD-MM-YYYY" -msgstr "Date d'expiration du compte. Format: JJ-MM-AAAA" - -#: ../templates/profedit/profileuser.php:180 -msgid "Account expires on" -msgstr "Compte expirant le" - -#: ../templates/account/useredit.php:1249 -#: ../templates/profedit/profileuser.php:218 -#: ../templates/profedit/profileuser.php:267 ../help/help.inc:207 -msgid "Account is deactivated" -msgstr "Le compte est desactivé" - -#: ../templates/config/profmanage.php:155 ../help/help.inc:109 -msgid "Add profile" -msgstr "Ajouter un profil" - -#: ../templates/account/hostedit.php:131 -msgid "Added $ to hostname." -msgstr "Ajout de $ au nom de machine." - -#: ../templates/account/groupedit.php:535 -msgid "Additional group members" -msgstr "Membres du groupe supplémentaire" - -#: ../templates/account/useredit.php:878 ../templates/account/useredit.php:977 -#: ../templates/profedit/profileuser.php:105 ../help/help.inc:144 -msgid "Additional groups" -msgstr "Groupes supplémentaires" - -#: ../templates/domain.php:136 ../templates/confwiz/ldaptest.php:372 -#: ../help/help.inc:305 -msgid "Algorithmic RID Base" -msgstr "Base Algorithmique du RID" - -#: ../templates/domain.php:242 ../templates/confwiz/ldaptest.php:252 -msgid "Algorithmic RID base is not a number!" -msgstr "La base algorithmique du RID n'est pas un nombre !" - -#: ../templates/masscreate.php:261 -msgid "All Users have been created" -msgstr "Tous les utilisateurs ont été crées." - -#: ../templates/massdetail.php:72 -msgid "All changes were reseted" -msgstr "Toutes les modifications ont été annulées." - -#: ../templates/initsuff.php:149 -msgid "All changes were successful." -msgstr "Toutes les modifications ont été faites." - -#: ../lib/ldap.inc:197 -msgid "Allowed hosts" -msgstr "Machines autorisés" - -#: ../templates/account/useredit.php:811 -msgid "Allowed workstations" -msgstr "Stations autorisées" - -#: ../templates/massdetail.php:274 ../templates/lists/listusers.php:360 -msgid "Apply" -msgstr "Appliquer" - -#: ../templates/config/confmain.php:237 ../templates/confwiz/o_lists.php:131 -#: ../lib/config.inc:286 -msgid "Attributes in Group List" -msgstr "Attributs dans la liste Groupes" - -#: ../templates/config/confmain.php:242 ../templates/confwiz/o_lists.php:136 -#: ../lib/config.inc:287 -msgid "Attributes in Host List" -msgstr "Attributs dans la liste Machines" - -#: ../templates/config/confmain.php:232 ../templates/confwiz/o_lists.php:126 -#: ../lib/config.inc:285 -msgid "Attributes in User List" -msgstr "Attributs dans la liste Utilisateurs" - -#: ../templates/confwiz/server2.php:225 -msgid "Attributes in list views" -msgstr "Attributs dans la liste des vues" - -#: ../templates/account/useredit.php:896 -msgid "Available groups" -msgstr "Groupes disponibles" - -#: ../templates/account/groupedit.php:553 -msgid "Available users" -msgstr "Utilisateurs disponibles" - -#: ../templates/account/useredit.php:826 -msgid "Available workstations" -msgstr "Stations disponibles" - -#: ../templates/account/useredit.php:835 ../templates/account/useredit.php:908 -#: ../templates/masscreate.php:330 ../templates/confwiz/server2.php:235 -msgid "Back" -msgstr "Retour" - -#: ../templates/logout.php:63 ../templates/config/conflogin.php:143 -#: ../templates/config/confsave.php:222 ../templates/confwiz/final.php:55 -msgid "Back to Login" -msgstr "Retour vers Connection" - -#: ../templates/ou_edit.php:309 ../templates/ou_edit.php:313 -msgid "Back to OU-Editor" -msgstr "Retour à l'éditeur OU" - -#: ../templates/profedit/profilecreate.php:65 -#: ../templates/profedit/profilecreate.php:76 -#: ../templates/profedit/profilecreate.php:84 -#: ../templates/profedit/profilecreate.php:92 -#: ../templates/profedit/profilecreate.php:100 -#: ../templates/profedit/profilecreate.php:108 -#: ../templates/profedit/profilecreate.php:116 -#: ../templates/profedit/profilecreate.php:124 -#: ../templates/profedit/profilecreate.php:132 -#: ../templates/profedit/profilecreate.php:140 -#: ../templates/profedit/profilecreate.php:148 -#: ../templates/profedit/profilecreate.php:156 -#: ../templates/profedit/profilecreate.php:164 -#: ../templates/profedit/profilecreate.php:172 -#: ../templates/profedit/profilecreate.php:180 -#: ../templates/profedit/profilecreate.php:188 -#: ../templates/profedit/profilecreate.php:197 -#: ../templates/profedit/profilecreate.php:206 -#: ../templates/profedit/profilecreate.php:215 -#: ../templates/profedit/profilecreate.php:223 -#: ../templates/profedit/profilecreate.php:231 -#: ../templates/profedit/profilecreate.php:247 -#: ../templates/profedit/profilecreate.php:252 -#: ../templates/profedit/profilecreate.php:257 -#: ../templates/profedit/profilecreate.php:262 -#: ../templates/profedit/profilecreate.php:274 -#: ../templates/profedit/profilecreate.php:284 -#: ../templates/profedit/profilecreate.php:297 -#: ../templates/profedit/profilecreate.php:312 -#: ../templates/profedit/profilecreate.php:317 -#: ../templates/profedit/profilecreate.php:322 -#: ../templates/profedit/profilecreate.php:327 -#: ../templates/profedit/profilecreate.php:339 -#: ../templates/profedit/profilecreate.php:349 -#: ../templates/profedit/profilecreate.php:362 -#: ../templates/profedit/profilecreate.php:370 -#: ../templates/profedit/profilecreate.php:378 -#: ../templates/profedit/profilecreate.php:386 -#: ../templates/profedit/profiledelete.php:75 -#: ../templates/profedit/profiledelete.php:83 -#: ../templates/profedit/profiledelete.php:131 -msgid "Back to Profile Editor" -msgstr "Retour à l'éditeur de profils" - -#: ../templates/domain.php:280 ../templates/domain.php:307 -msgid "Back to domain list" -msgstr "Retour à la liste des domaines" - -#: ../templates/account/groupedit.php:857 ../templates/delete.php:210 -#: ../templates/delete.php:246 ../templates/lists/userlink.php:56 -msgid "Back to group list" -msgstr "Retour à la liste des groupes" - -#: ../templates/account/hostedit.php:471 ../templates/delete.php:213 -#: ../templates/delete.php:238 -msgid "Back to host list" -msgstr "Retour à la liste des machines" - -#: ../templates/account/hostedit.php:100 -msgid "Back to hostlist" -msgstr "Retour vers hostlist" - -#: ../templates/confwiz/o_daemon.php:79 -msgid "Back to lamdaemon and PDF settings" -msgstr "Retour vers lamdaemon et les paramétres PDF" - -#: ../templates/confwiz/o_lang.php:76 -msgid "Back to language and admin settings." -msgstr "Retour vers les paramètres langue et admin" - -#: ../templates/confwiz/server2.php:88 ../templates/confwiz/server.php:85 -msgid "Back to last page" -msgstr "Retour vers la dernière page" - -#: ../templates/confwiz/o_lists.php:79 -msgid "Back to list settings" -msgstr "Retour vers les paramètres de liste" - -#: ../templates/config/confsave.php:84 ../templates/config/confsave.php:90 -#: ../templates/config/confsave.php:95 ../templates/config/confsave.php:100 -#: ../templates/config/confsave.php:105 ../templates/config/confsave.php:110 -#: ../templates/config/confsave.php:115 ../templates/config/confsave.php:120 -#: ../templates/config/confsave.php:125 ../templates/config/confsave.php:130 -#: ../templates/config/confsave.php:135 ../templates/config/confsave.php:140 -#: ../templates/config/confsave.php:145 ../templates/config/confsave.php:150 -#: ../templates/config/confsave.php:155 ../templates/config/confsave.php:160 -#: ../templates/config/confsave.php:165 ../templates/config/confsave.php:170 -#: ../templates/config/confsave.php:176 ../templates/config/confsave.php:182 -#: ../templates/config/confsave.php:188 ../templates/config/confsave.php:194 -#: ../templates/config/confsave.php:200 -msgid "Back to preferences..." -msgstr "Retour vers les préférences..." - -#: ../templates/config/profmanage.php:365 ../templates/confwiz/start.php:77 -msgid "Back to profile login" -msgstr "Retour vers le login de profil" - -#: ../templates/confwiz/o_ranges.php:88 -msgid "Back to range settings" -msgstr "Retour vers les paramètres de plage" - -#: ../templates/confwiz/ldaptest.php:182 ../templates/confwiz/ldaptest.php:292 -#: ../templates/confwiz/ldaptest.php:568 -msgid "Back to server settings" -msgstr "Retour vers les paramètres serveurs" - -#: ../templates/account/useredit.php:1578 ../templates/delete.php:207 -#: ../templates/delete.php:230 -msgid "Back to user list" -msgstr "Retour vers la liste d'utilisateurs" - -#: ../templates/account/useredit.php:109 -msgid "Back to userlist" -msgstr "Retour vers listeutil" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "Block hard quota" -msgstr "Bloquer le quota dur" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "" -"Block hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Bloquer le quota dur contient des caratères invalides. Seuls les nombres " -"naturels sont autorisés" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "Block soft quota" -msgstr "Bloquer le quota souple" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "" -"Block soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Bloquer le quota souple contient des caratères invalides. Seuls les nombres " -"naturels sont autorisés" - -#: ../templates/config/confmain.php:163 ../templates/confwiz/server2.php:202 -#: ../help/help.inc:103 ../lib/config.inc:273 -msgid "Cache timeout" -msgstr "Timeout du cache" - -#: ../templates/config/confsave.php:94 ../templates/confwiz/server2.php:74 -msgid "Cache timeout is invalid!" -msgstr "Le timeout du cache n'est pas valable !" - -#: ../help/help.inc:145 ../help/help.inc:172 ../help/help.inc:174 -#: ../help/help.inc:176 ../help/help.inc:178 ../help/help.inc:212 -#: ../help/help.inc:215 ../help/help.inc:218 ../help/help.inc:220 -#: ../help/help.inc:223 ../help/help.inc:271 ../help/help.inc:281 -#: ../help/help.inc:283 ../help/help.inc:285 -msgid "Can be left empty." -msgstr "Champ vide autorisé." - -#: ../templates/account/hostedit.php:99 -msgid "Can not create any hosts." -msgstr "Ne peut pas créer des machines." - -#: ../templates/account/useredit.php:108 -msgid "Can not create any users." -msgstr "Ne peut pas créer des utilisateurs." - -#: ../templates/delete.php:111 ../templates/domain.php:178 -#: ../templates/domain.php:209 ../templates/initsuff.php:199 -#: ../templates/masscreate.php:120 ../templates/masscreate.php:248 -#: ../templates/masscreate.php:331 ../templates/confwiz/o_ranges.php:153 -#: ../templates/confwiz/o_daemon.php:142 ../templates/confwiz/ldaptest.php:209 -#: ../templates/confwiz/ldaptest.php:402 ../templates/confwiz/ldaptest.php:491 -#: ../templates/confwiz/server2.php:236 ../templates/confwiz/o_lang.php:163 -#: ../templates/confwiz/server.php:197 ../templates/confwiz/o_lists.php:148 -#: ../templates/confwiz/start.php:182 -msgid "Cancel" -msgstr "Annuler" - -#: ../templates/login.php:311 ../templates/login.php:316 -#: ../templates/confwiz/server.php:68 ../templates/confwiz/server.php:69 -msgid "Cannot connect to specified LDAP-Server. Please try again." -msgstr "Impossible de se connecter au serveur LDAP spécifié. Reéssayez." - -#: ../lib/config.inc:263 ../lib/config.inc:777 -msgid "Cannot open config file!" -msgstr "Impossible d'ouvrir le fichier de configuration !" - -#: ../lib/pdf.inc:113 -msgid "Cellular phone" -msgstr "Téléphone mobile" - -#: ../templates/account/groupedit.php:832 -msgid "Change GID-Number of all users in group to new value" -msgstr "" -"Changer le nombre GID de tous les utilisateurs dans le groupe à la nouvelle " -"valeur" - -#: ../templates/login.php:262 -msgid "Change Profile" -msgstr "Changer le profil" - -#: ../templates/lists/listdomains.php:194 -#: ../templates/lists/listgroups.php:307 ../templates/lists/listhosts.php:295 -#: ../templates/lists/listusers.php:348 -msgid "Change Suffix" -msgstr "Changer le suffixe" - -#: ../templates/config/profmanage.php:302 ../help/help.inc:117 -msgid "Change default profile" -msgstr "Changer le profil standard" - -#: ../templates/config/profmanage.php:322 ../help/help.inc:119 -msgid "Change master password" -msgstr "Changer le mot de passe Principal" - -#: ../help/help.inc:96 -msgid "Change password" -msgstr "Changer le mot de passe" - -#: ../templates/massdetail.php:189 ../templates/massdetail.php:194 -msgid "Check values." -msgstr "Vérifier les valeurs." - -#: ../templates/masscreate.php:246 ../lib/config.inc:70 -msgid "Click here if you are not directed to the next page." -msgstr "Cliquer ici si vous n'etes pas dirigés vers la page suivante." - -#: ../help/help.inc:281 -msgid "Comma separated list of unix workstations the user is allowed to login." -msgstr "" -"La liste séparée par des virgules des stations sur lesquelles l'utilisateur " -"peut se connecter" - -#: ../templates/delete.php:110 -msgid "Commit" -msgstr "Valider" - -#: ../templates/login.php:119 -msgid "Configuration Login" -msgstr "Login de Configuration" - -#: ../help/help.inc:36 ../help/help.inc:38 ../help/help.inc:50 -#: ../help/help.inc:56 ../help/help.inc:58 ../help/help.inc:60 -#: ../help/help.inc:62 ../help/help.inc:77 ../help/help.inc:82 -#: ../help/help.inc:84 ../help/help.inc:86 ../help/help.inc:91 -#: ../help/help.inc:96 ../help/help.inc:98 ../help/help.inc:103 -#: ../help/help.inc:105 ../help/help.inc:107 -msgid "Configuration Wizard" -msgstr "Assistant de configuration" - -#: ../templates/login.php:245 -msgid "Configuration profile" -msgstr "Profil de configuration" - -#: ../templates/confwiz/start.php:135 -msgid "" -"Configuration profiles are protected with a password from unauthorised " -"access. Please enter it here." -msgstr "" -"Les profils de configuration sont protégés par un mot de passe contre les " -"accès non autorisé. Entrez le ici." - -#: ../templates/config/conflogin.php:130 ../templates/confwiz/final.php:46 -#: ../templates/confwiz/o_ranges.php:82 ../templates/confwiz/o_ranges.php:98 -#: ../templates/confwiz/o_daemon.php:73 ../templates/confwiz/o_daemon.php:89 -#: ../templates/confwiz/ldaptest.php:168 ../templates/confwiz/ldaptest.php:191 -#: ../templates/confwiz/ldaptest.php:278 ../templates/confwiz/ldaptest.php:302 -#: ../templates/confwiz/ldaptest.php:469 ../templates/confwiz/ldaptest.php:554 -#: ../templates/confwiz/server2.php:82 ../templates/confwiz/server2.php:107 -#: ../templates/confwiz/o_lang.php:70 ../templates/confwiz/o_lang.php:86 -#: ../templates/confwiz/server.php:81 ../templates/confwiz/server.php:106 -#: ../templates/confwiz/o_lists.php:73 ../templates/confwiz/o_lists.php:89 -#: ../templates/confwiz/start.php:73 ../templates/confwiz/start.php:95 -msgid "Configuration wizard" -msgstr "Assistant de configuration" - -#: ../templates/masscreate.php:281 -msgid "Confirm List" -msgstr "Confirmer la liste" - -#: ../templates/masscreate.php:122 -msgid "Contiune" -msgstr "Continuez" - -#: ../templates/masscreate.php:206 -msgid "Could not create group!" -msgstr "Impossible de créer le groupe !" - -#: ../templates/masscreate.php:236 -msgid "Could not create user!" -msgstr "Impossible de créer l'utilisateur !" - -#: ../templates/delete.php:185 -msgid "Could not delete group. Still users in group:" -msgstr "" -"Impossible d' effacer le groupe. Des utilisateurs sont toujours dedans :" - -#: ../templates/delete.php:193 -msgid "Could not delete group:" -msgstr "Impossible d' effacer le groupe :" - -#: ../templates/delete.php:169 -msgid "Could not delete host:" -msgstr "Impossible d' effacer la machine :" - -#: ../templates/delete.php:164 -msgid "Could not delete user:" -msgstr "Impossible d' effacer l'utilisateur :" - -#: ../templates/config/profmanage.php:90 -msgid "Could not rename file!" -msgstr "Impossible de renommer le fichier !" - -#: ../templates/account/groupedit.php:823 -#: ../templates/account/hostedit.php:433 -#: ../templates/account/useredit.php:1555 ../templates/initsuff.php:198 -#: ../templates/masscreate.php:328 ../templates/confwiz/ldaptest.php:208 -#: ../templates/confwiz/ldaptest.php:401 ../templates/confwiz/ldaptest.php:489 -msgid "Create" -msgstr "Créer" - -#: ../templates/account/groupedit.php:837 -#: ../templates/account/hostedit.php:442 -#: ../templates/account/useredit.php:1559 -msgid "Create Account" -msgstr "Créer un compte" - -#: ../templates/account/groupedit.php:856 -#: ../templates/account/hostedit.php:470 -#: ../templates/account/useredit.php:1577 ../templates/masscreate.php:264 -msgid "Create PDF file" -msgstr "Créer un fichier PDF" - -#: ../templates/lists/listgroups.php:319 -msgid "Create PDF for all groups" -msgstr "Créer un PDF pour tout les groupes" - -#: ../templates/lists/listhosts.php:308 -msgid "Create PDF for all hosts" -msgstr "Créer un PDF pour tout les machines" - -#: ../templates/lists/listusers.php:374 -msgid "Create PDF for all users" -msgstr "Créer un PDF pour tout les utilisateurs" - -#: ../templates/lists/listgroups.php:317 -msgid "Create PDF for selected group(s)" -msgstr "Créer un PDF pour le(s) groupe(s) séléctionné(s)" - -#: ../templates/lists/listhosts.php:306 -msgid "Create PDF for selected host(s)" -msgstr "Créer un PDF pour le(s) machines(s) séléctionnée(s)" - -#: ../templates/lists/listusers.php:372 -msgid "Create PDF for selected user(s)" -msgstr "Créer un PDF pour le(s) utilisateur(s) séléctionné(s)" - -#: ../templates/profedit/profilemain.php:180 -msgid "Create a new Group Profile" -msgstr "Créer un nouveau profil de groupe" - -#: ../templates/profedit/profilemain.php:226 -msgid "Create a new Samba Host Profile" -msgstr "Créer un nouveau profil de Machine Samba" - -#: ../templates/profedit/profilemain.php:136 -msgid "Create a new User Profile" -msgstr "Créer un nouveau profil utilisateur" - -#: ../templates/account/groupedit.php:854 -msgid "Create another group" -msgstr "Créer un autre groupe" - -#: ../templates/account/hostedit.php:468 -msgid "Create another host" -msgstr "Créer une autre machine" - -#: ../templates/account/useredit.php:1575 -msgid "Create another user" -msgstr "Créer un autre utilisateur" - -#: ../templates/account/groupedit.php:451 ../templates/account/hostedit.php:92 -#: ../templates/account/hostedit.php:310 ../templates/account/useredit.php:101 -#: ../templates/account/useredit.php:741 -msgid "Create new Account" -msgstr "Créer un nouveau Compte" - -#: ../templates/masscreate.php:110 ../templates/masscreate.php:133 -msgid "Create new Accounts" -msgstr "Créer des nouveaux Comptes" - -#: ../templates/massdetail.php:163 -msgid "Create new accounts" -msgstr "Créer des nouveaux comptes" - -#: ../templates/masscreate.php:201 -#, php-format -msgid "Created group %s." -msgstr "Groupe %s créé." - -#: ../templates/config/profmanage.php:75 -msgid "Created new profile." -msgstr "Nouveau profil créé." - -#: ../templates/masscreate.php:231 -#, php-format -msgid "Created user %s." -msgstr "Utilisateur %s créé." - -#: ../templates/masscreate.php:156 -msgid "Creating users. Please stand by ...." -msgstr "Création d'utilisateurs en cours. Veuillez patienter." - -#: ../lib/pdf.inc:327 ../lib/pdf.inc:373 ../lib/pdf.inc:452 -msgid "DN" -msgstr "DN" - -#: ../help/help.inc:204 -msgid "Date after the user is able to change his password. Format: DD-MM-YYYY" -msgstr "" -"Date après laquelle l'utilisateur sera capable de changer son mot de passe. " -"Format: DD-MM-AAAA" - -#: ../help/help.inc:206 -msgid "Date after the user must change his password. Format: DD-MM-YYYY" -msgstr "" -"Date après laquelle l'utilisateur sera obligé de changer son mot de passe. " -"Format: DD-MM-AAAA" - -#: ../help/help.inc:172 -msgid "" -"Days before password is to expire that user is warned of pending password " -"expiration. If set value must be 0<." -msgstr "" -"Jours avant l'expiration du mot de passe que l'utilisateur en sera averti. " -"Si fixée, la valeur doit étre 0<." - -#: ../templates/config/confmain.php:270 ../templates/confwiz/o_lang.php:108 -#: ../help/help.inc:84 ../lib/config.inc:289 -msgid "Default language" -msgstr "Langue par défaut" - -#: ../templates/domain.php:208 -msgid "Delete" -msgstr "effacer" - -#: ../templates/delete.php:57 -msgid "Delete Account" -msgstr "effacer le compte" - -#: ../templates/lists/listdomains.php:201 -msgid "Delete Domain(s)" -msgstr "effacer le(s) Domaine(s)" - -#: ../templates/profedit/profilemain.php:205 -msgid "Delete Group Profile" -msgstr "effacer le Profil de Groupe" - -#: ../templates/lists/listgroups.php:314 -msgid "Delete Group(s)" -msgstr "effacer le(s) Groupe(s)" - -#: ../templates/lists/listhosts.php:303 -msgid "Delete Host(s)" -msgstr "effacer le(s) Machine(s)" - -#: ../templates/profedit/profilemain.php:250 -msgid "Delete Samba Host Profile" -msgstr "effacer le Profil de la Machine Samba" - -#: ../templates/profedit/profiledelete.php:44 -#: ../templates/profedit/profilemain.php:160 -msgid "Delete User Profile" -msgstr "effacer le Profil de l'Utilisateur" - -#: ../templates/delete.php:102 -msgid "Delete also Homedirectories" -msgstr "effacer aussi les répertoires utilisateurs" - -#: ../templates/domain.php:199 -msgid "Delete domain(s)" -msgstr "effacer le(s) Domaine(s)" - -#: ../templates/delete.php:86 -msgid "Delete group(s)" -msgstr "effacer le(s) Groupe(s)" - -#: ../templates/delete.php:80 -msgid "Delete host(s)" -msgstr "effacer le(s) machines(s)" - -#: ../templates/profedit/profiledelete.php:82 -msgid "Delete operation canceled." -msgstr "Opération de suppresion annulée." - -#: ../templates/ou_edit.php:357 ../templates/ou_edit.php:390 -#: ../templates/ou_edit.php:423 ../templates/ou_edit.php:457 -#: ../help/help.inc:291 -msgid "Delete organizational unit" -msgstr "effacer une unité organisationnelle" - -#: ../templates/config/profmanage.php:231 ../help/help.inc:113 -msgid "Delete profile" -msgstr "effacer un profil" - -#: ../templates/delete.php:74 ../templates/lists/listusers.php:369 -msgid "Delete user(s)" -msgstr "effacer le(s) utilisateur(s)" - -#: ../templates/profedit/profiledelete.php:55 -#: ../templates/profedit/profiledelete.php:62 -#: ../templates/profedit/profiledelete.php:69 -msgid "Deleted profile:" -msgstr "effacer le profil:" - -#: ../templates/delete.php:242 -msgid "Deleting group(s) canceled." -msgstr "Suppression de groupe(s) annulée." - -#: ../templates/delete.php:131 -msgid "Deleting group(s)..." -msgstr "Suppression de groupe(s)..." - -#: ../templates/delete.php:234 -msgid "Deleting host(s) canceled." -msgstr "Suppression de machine(s) annulée." - -#: ../templates/delete.php:126 -msgid "Deleting host(s)..." -msgstr "Suppression de machine(s)..." - -#: ../templates/delete.php:226 -msgid "Deleting user(s) canceled." -msgstr "Suppression de utilisateur(s) annulée." - -#: ../templates/delete.php:121 -msgid "Deleting user(s)..." -msgstr "Suppression d'utilisateur(s)..." - -#: ../templates/account/groupedit.php:604 ../lib/ldap.inc:203 -#: ../lib/pdf.inc:300 ../lib/pdf.inc:342 ../lib/pdf.inc:428 -msgid "Description" -msgstr "Description" - -#: ../templates/masscreate.php:284 -msgid "Details" -msgstr "Détails" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/groupedit.php:661 -#: ../templates/account/useredit.php:453 -#: ../templates/account/useredit.php:1180 ../help/help.inc:183 -#: ../lib/pdf.inc:434 -msgid "Display name" -msgstr "Nom pour l'affichage" - -#: ../templates/domain.php:200 -msgid "Do you really want to delete domain(s):" -msgstr "Voulez vous vraiment effacer le(s) domaine(s) ?" - -#: ../templates/delete.php:88 -msgid "Do you really want to delete group(s):" -msgstr "Voulez vous vraiment effacer le(s) groupe(s) ?" - -#: ../templates/delete.php:82 -msgid "Do you really want to delete host(s):" -msgstr "Voulez vous vraiment effacer le(s) machine(s) ?" - -#: ../templates/ou_edit.php:87 ../templates/ou_edit.php:152 -#: ../templates/ou_edit.php:217 ../templates/ou_edit.php:282 -msgid "Do you really want to delete this OU?" -msgstr "Voulez vous vraiment effacer cette OU ?" - -#: ../templates/profedit/profiledelete.php:93 -#: ../templates/profedit/profiledelete.php:105 -#: ../templates/profedit/profiledelete.php:117 -msgid "Do you really want to delete this profile?" -msgstr "Voulez vous vraiment effacer ce profil ?" - -#: ../templates/delete.php:76 -msgid "Do you really want to delete user(s):" -msgstr "Voulez vous vraiment effacer le(s) utilisateur(s) ?" - -#: ../templates/account/groupedit.php:708 -#: ../templates/account/hostedit.php:397 -#: ../templates/account/useredit.php:1365 -#: ../templates/profedit/profilegroup.php:72 -#: ../templates/profedit/profilehost.php:83 -#: ../templates/profedit/profileuser.php:345 ../help/help.inc:222 -#: ../help/help.inc:282 ../lib/pdf.inc:315 ../lib/pdf.inc:360 -#: ../lib/pdf.inc:446 -msgid "Domain" -msgstr "Domaine" - -#: ../templates/account/groupedit.php:238 -#: ../templates/account/groupedit.php:698 -#: ../templates/account/groupedit.php:702 -#: ../templates/account/useredit.php:393 ../templates/account/useredit.php:408 -#: ../templates/account/useredit.php:1316 -#: ../templates/account/useredit.php:1320 -#: ../templates/account/useredit.php:1354 -#: ../templates/account/useredit.php:1358 -msgid "Domain Admins" -msgstr "Administrateurs du Domaine" - -#: ../templates/account/groupedit.php:236 -#: ../templates/account/groupedit.php:680 -#: ../templates/account/groupedit.php:684 -#: ../templates/account/useredit.php:391 ../templates/account/useredit.php:406 -#: ../templates/account/useredit.php:1298 -#: ../templates/account/useredit.php:1302 -#: ../templates/account/useredit.php:1336 -#: ../templates/account/useredit.php:1340 -msgid "Domain Guests" -msgstr "Invités du Domaine" - -#: ../templates/domain.php:94 ../templates/lists/listdomains.php:86 -#: ../templates/confwiz/ldaptest.php:333 ../help/help.inc:297 -msgid "Domain SID" -msgstr "SID du Domaine" - -#: ../templates/domain.php:73 ../templates/confwiz/ldaptest.php:315 -msgid "Domain Settings" -msgstr "Paramètres du Domaine" - -#: ../templates/account/groupedit.php:237 -#: ../templates/account/groupedit.php:689 -#: ../templates/account/groupedit.php:693 -#: ../templates/account/useredit.php:392 ../templates/account/useredit.php:407 -#: ../templates/account/useredit.php:1307 -#: ../templates/account/useredit.php:1311 -#: ../templates/account/useredit.php:1345 -#: ../templates/account/useredit.php:1349 -msgid "Domain Users" -msgstr "Utilisateurs du Domaine" - -#: ../templates/domain.php:303 -msgid "Domain deleted successfully." -msgstr "OU éffacée avec succes." - -#: ../templates/domain.php:259 -msgid "Domain has been modified." -msgstr "Le Domaine a été modifié" - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -#: ../templates/domain.php:78 ../templates/lists/listdomains.php:85 -#: ../templates/confwiz/ldaptest.php:320 ../help/help.inc:293 -msgid "Domain name" -msgstr "Nom du Domaine" - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -msgid "" -"Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and -." -msgstr "" -"Le nom de domaine contient des caractères non autorisés. Les caractères " -"valides sont a-z, A-Z, 0-9 et -." - -#: ../templates/domain.php:232 ../templates/profedit/profilecreate.php:230 -#: ../templates/profedit/profilecreate.php:296 -#: ../templates/profedit/profilecreate.php:369 -#: ../templates/confwiz/ldaptest.php:235 -msgid "Domain name is invalid!" -msgstr "Le nom de domaine n'est pas valable !" - -#: ../templates/config/confmain.php:138 ../templates/confwiz/server2.php:156 -#: ../lib/config.inc:278 -msgid "DomainSuffix" -msgstr "Suffixe de domaine" - -#: ../templates/config/confsave.php:119 ../templates/confwiz/server2.php:68 -msgid "DomainSuffix is invalid!" -msgstr "Le suffixe de domaine n'est pas valable !" - -#: ../templates/main_header.php:72 ../templates/ou_edit.php:439 -msgid "Domains" -msgstr "Domaines" - -#: ../help/help.inc:210 -msgid "Driveletter assigned on windows workstations as homedirectory." -msgstr "" -"Lettre de lecteur attribuée comme répertoire utilisateur sur les stations " -"Windows." - -#: ../lib/ldap.inc:202 ../lib/pdf.inc:105 -msgid "E-Mail" -msgstr "E-Mail" - -#: ../templates/lists/listdomains.php:155 -#: ../templates/lists/listgroups.php:239 ../templates/lists/listhosts.php:243 -#: ../templates/lists/listusers.php:297 -msgid "Edit" -msgstr "éditer" - -#: ../templates/profedit/profilemain.php:193 -msgid "Edit Group Profile" -msgstr "éditer le Profil de Groupe" - -#: ../templates/profedit/profilemain.php:238 -msgid "Edit Samba Host Profile" -msgstr "éditer le Profil de Machine Samba" - -#: ../templates/profedit/profilemain.php:148 -msgid "Edit User Profile" -msgstr "Editer le Profil Utilisateur" - -#: ../templates/account/useredit.php:978 -msgid "Edit groups" -msgstr "éditer les groupes" - -#: ../templates/account/useredit.php:1278 -msgid "Edit workstations" -msgstr "éditer les machines de travail" - -#: ../templates/account/useredit.php:496 -#: ../templates/account/useredit.php:1472 ../templates/masscreate.php:377 -#: ../templates/masscreate.php:575 ../templates/massdetail.php:142 -#: ../templates/massdetail.php:226 ../help/help.inc:250 -msgid "Employee type" -msgstr "Type d'employé" - -#: ../help/help.inc:251 -msgid "Employee type: worker, student, nurse, ..." -msgstr "Type d'employé: cadre, étudiant, infermier, ..." - -#: ../templates/login.php:287 -msgid "Empty Password submitted. Try again." -msgstr "Mot de passe vide soumis. Essayez encore." - -#: ../templates/login.php:139 -msgid "Enter Username and Password for Account" -msgstr "Entrez le nom d'utilisateur et son mot de passe pour le Compte" - -#: ../templates/masscreate.php:284 -msgid "Errors" -msgstr "Erreurs" - -#: ../templates/confwiz/o_lang.php:147 ../templates/confwiz/o_lists.php:109 -#: ../help/help.inc:65 ../help/help.inc:80 -msgid "Example" -msgstr "Exemple" - -#: ../templates/confwiz/server.php:124 ../help/help.inc:41 ../help/help.inc:53 -msgid "Examples" -msgstr "Exemples" - -#: ../templates/masscreate.php:402 ../help/help.inc:187 -msgid "Expand suffix with primary groupname" -msgstr "Suffix developpé avec le nom de Groupe primaire" - -#: ../templates/account/useredit.php:1099 ../help/help.inc:179 -msgid "Expire date" -msgstr "Date d'expiration" - -#: ../lib/pdf.inc:117 -msgid "Facsimile" -msgstr "Télécopie" - -#: ../templates/domain.php:277 ../templates/confwiz/ldaptest.php:267 -msgid "Failed to add domain!" -msgstr "Echec de l'ajout de domaine !" - -#: ../templates/initsuff.php:141 ../templates/confwiz/ldaptest.php:179 -msgid "Failed to create entry!" -msgstr "Echec de la création d'entrée !" - -#: ../templates/domain.php:260 -msgid "Failed to modify domain!" -msgstr "" - -#: ../templates/account/useredit.php:491 -#: ../templates/account/useredit.php:1508 ../templates/masscreate.php:369 -#: ../templates/masscreate.php:570 ../templates/massdetail.php:154 -#: ../templates/massdetail.php:262 ../help/help.inc:262 ../help/help.inc:263 -msgid "Fax number" -msgstr "Numéro de fax" - -#: ../templates/main_header.php:58 ../templates/masscreate.php:347 -msgid "File Upload" -msgstr "Upload de fichier" - -#: ../help/help.inc:212 -#, php-format -msgid "" -"Filename and -path relative to netlogon-share which should be executed on " -"logon. $%s and $%s are replaced with user- and groupname." -msgstr "" -"Nom de fichier et de chemin relatif au partage netlogon qui doit etreexecuté " -"au login. $%s et $%s seront remplacés avec les noms d'utilisateur et de " -"groupe." - -#: ../templates/lists/listgroups.php:208 ../templates/lists/listhosts.php:212 -#: ../templates/lists/listusers.php:254 -msgid "Filter" -msgstr "Filtre" - -#: ../templates/account/groupedit.php:525 -#: ../templates/account/groupedit.php:582 -#: ../templates/account/groupedit.php:649 -#: ../templates/account/groupedit.php:745 -#: ../templates/account/groupedit.php:802 -#: ../templates/account/useredit.php:796 ../templates/account/useredit.php:866 -#: ../templates/account/useredit.php:928 -#: ../templates/account/useredit.php:1049 -#: ../templates/account/useredit.php:1166 -#: ../templates/account/useredit.php:1405 -#: ../templates/account/useredit.php:1454 -#: ../templates/account/useredit.php:1534 -msgid "Final" -msgstr "Finale" - -#: ../templates/account/useredit.php:954 ../lib/ldap.inc:198 -msgid "First name" -msgstr "Prénom" - -#: ../lib/pdf.inc:440 -msgid "GID" -msgstr "ID Groupe" - -#: ../templates/account/groupedit.php:600 ../help/help.inc:58 -#: ../help/help.inc:157 ../lib/ldap.inc:195 ../lib/ldap.inc:207 -#: ../lib/ldap.inc:218 -msgid "GID number" -msgstr "Nombre GID" - -#: ../templates/account/groupedit.php:334 -msgid "" -"GID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"Le numero GID a changé. Vous devez lancer les commandes suivantes en tant " -"que root afin de changer les droits fichiers existants :" - -#: ../templates/account/groupedit.php:171 -#: ../templates/account/hostedit.php:186 ../templates/account/hostedit.php:385 -#: ../templates/account/useredit.php:241 ../templates/account/useredit.php:987 -#: ../templates/masscreate.php:555 ../help/help.inc:149 ../help/help.inc:160 -#: ../help/help.inc:169 -msgid "Gecos" -msgstr "Gecos" - -#: ../templates/account/groupedit.php:517 -#: ../templates/account/groupedit.php:574 -#: ../templates/account/groupedit.php:644 -#: ../templates/account/groupedit.php:738 -#: ../templates/account/groupedit.php:795 -#: ../templates/account/useredit.php:790 ../templates/account/useredit.php:860 -#: ../templates/account/useredit.php:922 -#: ../templates/account/useredit.php:1043 -#: ../templates/account/useredit.php:1160 -#: ../templates/account/useredit.php:1400 -#: ../templates/account/useredit.php:1448 -#: ../templates/account/useredit.php:1528 -msgid "General" -msgstr "Générale" - -#: ../templates/account/groupedit.php:594 -#: ../templates/account/hostedit.php:362 ../templates/account/useredit.php:940 -msgid "General properties" -msgstr "Propriétés Générales" - -#: ../templates/account/useredit.php:1066 -msgid "Generate password" -msgstr "Générer un mot de passe" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:355 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 ../templates/massdetail.php:208 -#: ../help/help.inc:193 ../lib/pdf.inc:89 -msgid "Given name" -msgstr "Prénom" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 -msgid "Given name contains invalid characters" -msgstr "Prénom contient des caractéres invalides" - -#: ../help/help.inc:194 -msgid "Given name of user. Only letters, - and spaces are allowed." -msgstr "" -"Prénom d'utilisateur. Seules les lettres, - et les espaces sont autorisés." - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 ../help/help.inc:234 -msgid "Grace block period" -msgstr "Periode de grace d'un blocage" - -#: ../help/help.inc:235 -msgid "" -"Grace block period. Most filesystems use a fixed maximum value of 7 days." -msgstr "" -"Periode de grace d'un blocage. La plupart des systémes de fichiers utilisent " -"une valeur fixe de 7 jours." - -#: ../help/help.inc:246 -msgid "" -"Grace inode (files) period. Most filesystems use a fixed maximum value of 7 " -"days." -msgstr "" -"Periode de grace inode (fichiers). La plupart des systèmes de fichiers " -"utilisent une valeur fixe de 7 jours." - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 ../help/help.inc:245 -msgid "Grace inode period" -msgstr "Période de grace inode" - -#: ../templates/masscreate.php:279 -msgid "Group" -msgstr "Groupe" - -#: ../templates/account/groupedit.php:850 -#, php-format -msgid "Group %s has been created." -msgstr "Le groupe %s à été créé" - -#: ../templates/account/groupedit.php:847 -#, php-format -msgid "Group %s has been modified." -msgstr "Le groupe %s à été modifié" - -#: ../templates/profedit/profilemain.php:172 -msgid "Group Profiles" -msgstr "Profils de Groupe" - -#: ../templates/confwiz/ldaptest.php:484 -msgid "Group SID" -msgstr "SID de Groupe" - -#: ../lib/ldap.inc:210 -msgid "Group description" -msgstr "Description de groupe" - -#: ../help/help.inc:161 -msgid "Group description. If left empty group name will be used." -msgstr "Description de groupe. Si laissé vide, un nom vide sera utilisé." - -#: ../lib/pdf.inc:415 ../lib/pdf.inc:555 -msgid "Group information page" -msgstr "Page d'information de groupe" - -#: ../templates/config/confsave.php:159 ../templates/confwiz/o_lists.php:57 -msgid "Group list attributes are invalid!" -msgstr "La liste des attributs de groupe est invalide !" - -#: ../lib/ldap.inc:209 -msgid "Group member DNs" -msgstr "DNs du membre de groupe" - -#: ../templates/account/groupedit.php:538 ../help/help.inc:181 -#: ../help/help.inc:284 ../lib/ldap.inc:208 -msgid "Group members" -msgstr "Membres de groupe" - -#: ../lib/ldap.inc:206 -msgid "Group name" -msgstr "Nom de groupe" - -#: ../help/help.inc:156 -msgid "" -"Group name of the group which should be created. Valid characters are: a-z,0-" -"9, .-_. Lam does not allow a number as first character because groupadd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. If groupname is already used groupname will be " -"expanded with a number. The next free number will be used." -msgstr "" -"Nom de groupe du groupe qui devra etre créée. Les caractères valides sont : " -"a-z, 0-9 et .-_. Lam ne permet pas de mettre une lettre en premier caractère " -"parce que groupadd ne l'autorise pas non plus. Lam n'autorise pas non plus " -"lettres majuscules A-Z parce que cela pose plusieurs problèmes. Si un nom de " -"groupe est déjà utilisé, il sera developpé avec un nombre. Le prochain " -"nombre disponible sera utilsé" - -#: ../templates/masscreate.php:406 ../help/help.inc:189 -msgid "Group suffix" -msgstr "Suffixe de groupe" - -#: ../lib/pdf.inc:146 -msgid "Group(s)" -msgstr "Groupe(s)" - -#: ../templates/lists/listgroups.php:353 -msgid "Group(s) found" -msgstr "Groupe(s) trouvés" - -#: ../templates/config/confmain.php:128 ../templates/confwiz/server2.php:139 -#: ../lib/config.inc:276 -msgid "GroupSuffix" -msgstr "Suffixe de Groupe" - -#: ../templates/config/confsave.php:109 ../templates/confwiz/server2.php:62 -msgid "GroupSuffix is invalid!" -msgstr "Suffixe de Groupe est invalide !" - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/groupedit.php:168 -#: ../templates/account/groupedit.php:208 -#: ../templates/account/groupedit.php:596 ../help/help.inc:155 -msgid "Groupname" -msgstr "Nom de groupe" - -#: ../templates/account/groupedit.php:208 -msgid "Groupname already in use. Selected next free groupname." -msgstr "Nom de groupe déjà utilisé. Nom libre suivant sélectionné." - -#: ../templates/account/groupedit.php:168 -msgid "" -"Groupname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Le nom de groupe contient des caractères invalables. Les caractères valables " -"sont: a-z, A-Z, 0-9 et .-_ !" - -#: ../templates/main_header.php:74 ../templates/main_header.php:79 -#: ../templates/ou_edit.php:372 ../templates/confwiz/o_lists.php:115 -#: ../help/help.inc:72 -msgid "Groups" -msgstr "Groupes" - -#: ../lib/pdf.inc:243 -msgid "Hard block" -msgstr "Bloc dur" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:101 -#: ../templates/profedit/profileuser.php:378 ../help/help.inc:231 -#: ../help/help.inc:232 -msgid "Hard block limit" -msgstr "Limite de bloc dur" - -#: ../lib/pdf.inc:244 -msgid "Hard inode" -msgstr "Inode dur" - -#: ../help/help.inc:243 -msgid "Hard inode (files) limit" -msgstr "Limite d'inode (fichiers) dur" - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 -#: ../templates/profedit/profilegroup.php:103 -#: ../templates/profedit/profileuser.php:380 ../help/help.inc:242 -msgid "Hard inode limit" -msgstr "Limite d'inode dur" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "Have to add objectClass posixAccount." -msgstr "Il faut ajouter un objectClass posixAccount." - -#: ../templates/account/groupedit.php:330 -msgid "Have to add objectClass posixGroup." -msgstr "Il faut ajouter un objectClass posixGroup." - -#: ../templates/account/hostedit.php:226 -msgid "" -"Have to add objectClass sambaAccount. Host with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"Il faut ajouter un objectClass sambaAccount. La machine avec " -"sambaSamAccountsera remis en sambaAccount." - -#: ../templates/account/useredit.php:594 -msgid "" -"Have to add objectClass sambaAccount. User with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"Il faut ajouter un objectClass sambaAccount. L'utilisateur " -"avecsambaSamAccount sera remis en sambaAccount." - -#: ../templates/account/groupedit.php:328 -msgid "Have to add objectClass sambaGroupMapping." -msgstr "Il faut ajouter un objectClass sambaGroupMapping." - -#: ../templates/account/hostedit.php:224 -msgid "" -"Have to add objectClass sambaSamAccount. Host with sambaAccount will be " -"updated." -msgstr "" -"Il faut ajouter un objectClass sambaSamAccount. La machine avecsambaAccount " -"sera mise à jour." - -#: ../templates/account/useredit.php:590 -msgid "" -"Have to add objectClass sambaSamAccount. User with sambaAccount will be " -"updated." -msgstr "" -"Il faut ajouter un objectClass sambaSamAccount. L'utilisateur " -"avecsambaAccount sera mis à jour." - -#: ../templates/account/useredit.php:587 -msgid "Have to add objectClass shadowAccount." -msgstr "Il faut ajouter un ObjectClass shadowAccount." - -#: ../templates/account/groupedit.php:551 -#: ../templates/account/groupedit.php:599 -#: ../templates/account/groupedit.php:602 -#: ../templates/account/groupedit.php:606 -#: ../templates/account/groupedit.php:617 -#: ../templates/account/groupedit.php:631 -#: ../templates/account/groupedit.php:664 -#: ../templates/account/groupedit.php:706 -#: ../templates/account/groupedit.php:723 -#: ../templates/account/groupedit.php:762 -#: ../templates/account/groupedit.php:763 -#: ../templates/account/groupedit.php:764 -#: ../templates/account/groupedit.php:765 -#: ../templates/account/groupedit.php:766 -#: ../templates/account/groupedit.php:819 -#: ../templates/account/hostedit.php:358 ../templates/account/hostedit.php:368 -#: ../templates/account/hostedit.php:374 ../templates/account/hostedit.php:383 -#: ../templates/account/hostedit.php:388 ../templates/account/hostedit.php:415 -#: ../templates/account/hostedit.php:426 ../templates/account/hostedit.php:452 -#: ../templates/account/useredit.php:824 ../templates/account/useredit.php:894 -#: ../templates/account/useredit.php:946 ../templates/account/useredit.php:952 -#: ../templates/account/useredit.php:958 ../templates/account/useredit.php:964 -#: ../templates/account/useredit.php:974 ../templates/account/useredit.php:980 -#: ../templates/account/useredit.php:985 ../templates/account/useredit.php:990 -#: ../templates/account/useredit.php:999 -#: ../templates/account/useredit.php:1011 -#: ../templates/account/useredit.php:1025 -#: ../templates/account/useredit.php:1077 -#: ../templates/account/useredit.php:1082 -#: ../templates/account/useredit.php:1087 -#: ../templates/account/useredit.php:1092 -#: ../templates/account/useredit.php:1097 -#: ../templates/account/useredit.php:1116 -#: ../templates/account/useredit.php:1122 -#: ../templates/account/useredit.php:1130 -#: ../templates/account/useredit.php:1183 -#: ../templates/account/useredit.php:1197 -#: ../templates/account/useredit.php:1203 -#: ../templates/account/useredit.php:1209 -#: ../templates/account/useredit.php:1228 -#: ../templates/account/useredit.php:1247 -#: ../templates/account/useredit.php:1253 -#: ../templates/account/useredit.php:1260 -#: ../templates/account/useredit.php:1265 -#: ../templates/account/useredit.php:1270 -#: ../templates/account/useredit.php:1275 -#: ../templates/account/useredit.php:1280 -#: ../templates/account/useredit.php:1363 -#: ../templates/account/useredit.php:1384 -#: ../templates/account/useredit.php:1421 -#: ../templates/account/useredit.php:1422 -#: ../templates/account/useredit.php:1423 -#: ../templates/account/useredit.php:1424 -#: ../templates/account/useredit.php:1425 -#: ../templates/account/useredit.php:1470 -#: ../templates/account/useredit.php:1476 -#: ../templates/account/useredit.php:1482 -#: ../templates/account/useredit.php:1488 -#: ../templates/account/useredit.php:1494 -#: ../templates/account/useredit.php:1500 -#: ../templates/account/useredit.php:1506 -#: ../templates/account/useredit.php:1512 -#: ../templates/account/useredit.php:1518 -#: ../templates/account/useredit.php:1551 ../templates/domain.php:86 -#: ../templates/domain.php:102 ../templates/domain.php:113 -#: ../templates/domain.php:121 ../templates/domain.php:129 -#: ../templates/domain.php:141 ../templates/domain.php:159 -#: ../templates/masscreate.php:395 ../templates/masscreate.php:400 -#: ../templates/masscreate.php:405 ../templates/masscreate.php:410 -#: ../templates/masscreate.php:418 ../templates/massdetail.php:206 -#: ../templates/massdetail.php:212 ../templates/massdetail.php:218 -#: ../templates/massdetail.php:224 ../templates/massdetail.php:230 -#: ../templates/massdetail.php:236 ../templates/massdetail.php:242 -#: ../templates/massdetail.php:248 ../templates/massdetail.php:254 -#: ../templates/massdetail.php:260 ../templates/massdetail.php:266 -#: ../templates/massdetail.php:272 ../templates/ou_edit.php:352 -#: ../templates/ou_edit.php:365 ../templates/ou_edit.php:385 -#: ../templates/ou_edit.php:398 ../templates/ou_edit.php:418 -#: ../templates/ou_edit.php:431 ../templates/ou_edit.php:452 -#: ../templates/ou_edit.php:465 ../templates/config/conflogin.php:119 -#: ../templates/config/confmain.php:116 ../templates/config/confmain.php:125 -#: ../templates/config/confmain.php:130 ../templates/config/confmain.php:135 -#: ../templates/config/confmain.php:140 ../templates/config/confmain.php:156 -#: ../templates/config/confmain.php:172 ../templates/config/confmain.php:186 -#: ../templates/config/confmain.php:203 ../templates/config/confmain.php:212 -#: ../templates/config/confmain.php:221 ../templates/config/confmain.php:234 -#: ../templates/config/confmain.php:239 ../templates/config/confmain.php:244 -#: ../templates/config/confmain.php:259 ../templates/config/confmain.php:299 -#: ../templates/config/confmain.php:313 ../templates/config/confmain.php:317 -#: ../templates/config/confmain.php:331 ../templates/config/confmain.php:345 -#: ../templates/config/confmain.php:353 ../templates/config/profmanage.php:163 -#: ../templates/config/profmanage.php:210 -#: ../templates/config/profmanage.php:235 -#: ../templates/config/profmanage.php:264 -#: ../templates/config/profmanage.php:307 -#: ../templates/config/profmanage.php:330 -#: ../templates/config/profmanage.php:358 -#: ../templates/profedit/profilegroup.php:84 -#: ../templates/profedit/profilegroup.php:106 -#: ../templates/profedit/profilegroup.php:107 -#: ../templates/profedit/profilegroup.php:108 -#: ../templates/profedit/profilegroup.php:109 -#: ../templates/profedit/profilegroup.php:110 -#: ../templates/profedit/profilegroup.php:145 -#: ../templates/profedit/profilehost.php:75 -#: ../templates/profedit/profilehost.php:100 -#: ../templates/profedit/profilehost.php:114 -#: ../templates/profedit/profileuser.php:100 -#: ../templates/profedit/profileuser.php:112 -#: ../templates/profedit/profileuser.php:122 -#: ../templates/profedit/profileuser.php:134 -#: ../templates/profedit/profileuser.php:147 -#: ../templates/profedit/profileuser.php:154 -#: ../templates/profedit/profileuser.php:161 -#: ../templates/profedit/profileuser.php:168 -#: ../templates/profedit/profileuser.php:175 -#: ../templates/profedit/profileuser.php:200 -#: ../templates/profedit/profileuser.php:210 -#: ../templates/profedit/profileuser.php:223 -#: ../templates/profedit/profileuser.php:242 -#: ../templates/profedit/profileuser.php:252 -#: ../templates/profedit/profileuser.php:262 -#: ../templates/profedit/profileuser.php:272 -#: ../templates/profedit/profileuser.php:306 -#: ../templates/profedit/profileuser.php:313 -#: ../templates/profedit/profileuser.php:320 -#: ../templates/profedit/profileuser.php:327 -#: ../templates/profedit/profileuser.php:337 -#: ../templates/profedit/profileuser.php:362 -#: ../templates/profedit/profileuser.php:383 -#: ../templates/profedit/profileuser.php:384 -#: ../templates/profedit/profileuser.php:385 -#: ../templates/profedit/profileuser.php:386 -#: ../templates/profedit/profileuser.php:387 -#: ../templates/profedit/profileuser.php:422 -#: ../templates/confwiz/o_ranges.php:125 ../templates/confwiz/o_ranges.php:134 -#: ../templates/confwiz/o_ranges.php:143 ../templates/confwiz/ldaptest.php:325 -#: ../templates/confwiz/ldaptest.php:338 ../templates/confwiz/ldaptest.php:349 -#: ../templates/confwiz/ldaptest.php:357 ../templates/confwiz/ldaptest.php:365 -#: ../templates/confwiz/ldaptest.php:376 ../templates/confwiz/ldaptest.php:393 -msgid "Help" -msgstr "Aide" - -#: ../help/help.inc:145 -msgid "Hold the CTRL-key to (de)select multiple groups." -msgstr "" -"Maintenez enfoncée la touche Ctrl pour (dé)selectionner plusieurs groupes." - -#: ../templates/profedit/profileuser.php:120 ../lib/pdf.inc:158 -msgid "Home Directory" -msgstr "Répertoire Utilisateur" - -#: ../templates/account/useredit.php:562 -msgid "" -"Home Directory has changed. You have to run the following command as root in " -"order to change the existing homedirectory:" -msgstr "" -"Le Répertoire Utilisateur a changé. Vous devez lancer la commande suivante " -"en tant que root pour changer le répertoire utilisateur existant :" - -#: ../templates/account/useredit.php:296 ../templates/account/useredit.php:298 -#: ../templates/account/useredit.php:982 ../help/help.inc:146 -#: ../lib/ldap.inc:200 -msgid "Home directory" -msgstr "Répertoire utilisateur" - -#: ../templates/account/useredit.php:1255 -#: ../templates/profedit/profileuser.php:280 ../help/help.inc:209 -#: ../lib/pdf.inc:206 -msgid "Home drive" -msgstr "Lecteur Utilisateur" - -#: ../templates/account/useredit.php:438 ../templates/account/useredit.php:440 -#: ../templates/account/useredit.php:1262 -#: ../templates/profedit/profileuser.php:311 ../help/help.inc:219 -msgid "Home path" -msgstr "Chemin utilisateur" - -#: ../templates/account/useredit.php:440 -msgid "Home path is invalid." -msgstr "Le chemin utilisateur n'est pas valable." - -#: ../templates/profedit/profilecreate.php:75 -msgid "Homedir is invalid!" -msgstr "Le répertoire utilisateur n'est pas valable !" - -#: ../templates/account/useredit.php:298 -msgid "Homedirectory contains invalid characters." -msgstr "Le répertoire utilisateur contient des caractères non valables." - -#: ../templates/account/hostedit.php:464 -#, php-format -msgid "Host %s has been created." -msgstr "La machine %s à été créée" - -#: ../templates/account/hostedit.php:461 -#, php-format -msgid "Host %s has been modified." -msgstr "La machine %s à été modifiée" - -#: ../templates/profedit/profilehost.php:63 -msgid "Host attributes" -msgstr "Attributs Machine" - -#: ../lib/ldap.inc:216 -msgid "Host description" -msgstr "Description Machine" - -#: ../help/help.inc:170 -msgid "Host description. If left empty host name will be used." -msgstr "Description de machine. Si laissé vide, un nom vide sera utilisé." - -#: ../templates/config/confsave.php:164 ../templates/confwiz/o_lists.php:60 -msgid "Host list attributes are invalid!" -msgstr "Les attributs de liste de machines ne sont pas valables !" - -#: ../templates/account/hostedit.php:131 ../templates/account/hostedit.php:137 -#: ../templates/account/hostedit.php:177 ../templates/account/hostedit.php:364 -#: ../help/help.inc:162 ../lib/ldap.inc:214 -msgid "Host name" -msgstr "Nom de machine" - -#: ../help/help.inc:163 -msgid "" -"Host name of the host which should be created. Valid characters are: a-z,0-" -"9, .-_$. Lam does not allow a number as first character because useradd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. Hostnames are always ending with $. If last " -"character is not $ it will be added. If hostname is already used hostname " -"will be expanded with a number. The next free number will be used." -msgstr "" -"Nom de la machine qui doit étre créée. Les caractères valables sont: a-z, 0-" -"9 et .-_$. Lam ne peut pas autoriser les lettres majuscules A-Z parce que " -"cela peut créer plusieurs problèmes. Les noms de machines se terminent " -"toujours avec $. Si le dernier caractère n'est pas $, il sera rajouté. Si le " -"nom de machine est déjà utilisé, il sera developpé avec un chiffre. Le " -"chiffre disponible suivant sera utilisé." - -#: ../lib/ldap.inc:213 -msgid "Host username" -msgstr "Nom d'utiliseur machine" - -#: ../templates/config/confmain.php:133 ../templates/confwiz/server2.php:147 -#: ../lib/config.inc:277 -msgid "HostSuffix" -msgstr "Suffix Machine" - -#: ../templates/config/confsave.php:114 ../templates/confwiz/server2.php:65 -msgid "HostSuffix is invalid!" -msgstr "Suffix Machine n'est pas valable !" - -#: ../templates/account/hostedit.php:120 -msgid "Hostname" -msgstr "Nom de machine" - -#: ../templates/account/hostedit.php:177 -msgid "Hostname already in use. Selected next free hostname." -msgstr "Nom de machine déjà utilisé. Nom libre suivant sélectionné." - -#: ../templates/account/hostedit.php:137 -msgid "" -"Hostname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Le nom de machine contient des caractères non valables. Les caractères " -"valables sont: a-z, A-Z, 0-9 et .-_ !" - -#: ../templates/main_header.php:75 ../templates/main_header.php:80 -#: ../templates/confwiz/o_lists.php:118 ../help/help.inc:75 -msgid "Hosts" -msgstr "Machines" - -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID is already in use" -msgstr "L'ID est déjà utilisé" - -#: ../lib/account.inc:878 ../lib/account.inc:879 ../lib/account.inc:890 -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID-Number" -msgstr "Numéro ID" - -#: ../templates/masscreate.php:383 -msgid "If Primary group does not exist it will be created." -msgstr "Si le nom primaire n'existe pas, il sera créé." - -#: ../templates/masscreate.php:381 -msgid "If Primary group is not given it'll used from profile." -msgstr "Si le groupe primaire n'est pas donné, il sera utilisé du profil." - -#: ../help/help.inc:190 -msgid "" -"If a not yet existing group is defined in csv-file, a new group in the " -"selected group suffix will be created." -msgstr "" -"Si un groupe qui n'existe pas encore est défini dans le fichier csv, un " -"nouveau groupe dans le suffixe groupe sera créé." - -#: ../help/help.inc:269 -msgid "" -"If a not yet existing group is defined in csv-file, a new group with the " -"selected group profile will be created." -msgstr "" -"Si un groupe qui n'existe pas encore est défini dans le fichier csv, " -"unnouveau groupe avec le profil groupe sélectionné sera créé." - -#: ../help/help.inc:198 -msgid "" -"If checked account will be deactivated by putting a ! before the encrypted " -"password." -msgstr "" -"Si sélectionné, le compte sera desactivé en mettant un ! avant le mot de " -"passe crypté." - -#: ../help/help.inc:208 -msgid "If checked account will be deactivated. (Setting D-Flag)" -msgstr "Si sélectionné, le compte sera desactivé. (paramètre D-Flag)" - -#: ../help/help.inc:196 -msgid "If checked no password will be used." -msgstr "Si sélectionné, aucun mot de passe sera utilisé." - -#: ../help/help.inc:202 -msgid "If checked password does not expire. (Setting X-Flag)" -msgstr "Si sélectionné, le mot de passe n'expirera pas (paramètre X-Flag)" - -#: ../help/help.inc:200 -msgid "If checked unix password will also be used as samba password." -msgstr "" -"Si sélectionné, le mot de passe unix sera aussi utilisé comme mot de passe " -"samba." - -#: ../help/help.inc:158 -#, php-format -msgid "" -"If empty GID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"Si vide, le numéro GID sera généré automatiquement. Les valeurs valables " -"sont entre %s et %s." - -#: ../help/help.inc:142 ../help/help.inc:165 -#, php-format -msgid "" -"If empty UID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"Si vide, le numéro UID sera généré automatiquement. Les valeurs valides sont " -"entre %s et %s." - -#: ../help/help.inc:188 -msgid "" -"If selected users will be added with OUs expanded with their primary group. " -"E.g. if a user is in group admin the user suffix will be ou=admin,+user " -"suffix." -msgstr "" -"Si sélectionné, les utilisateurs seront ajoutés avec les OUs développés avec " -"leurs groupes primaires. E.g. si un utilisateur est dans le groupe admin, " -"son suffixe utilisateur sera ou=admin,+ suffixe utilisateur." - -#: ../help/help.inc:127 -msgid "" -"If set to \"yes\" the Windows password will be the same as the Unix one." -msgstr "" -"Si mis à \"oui\" le mot de passe Windows sera identique au mot de passe Unix." - -#: ../help/help.inc:131 -msgid "If set to \"yes\" the user will be able to change his Windows password." -msgstr "" -"Si mis à \"oui\", l'utilisateur sera capable de changer de mot de passe Unix." - -#: ../help/help.inc:129 ../help/help.inc:133 -msgid "If unsure say \"yes\" here." -msgstr "Si vous n'etes pas sur, repondez \"oui\" ici." - -#: ../help/help.inc:99 -msgid "" -"If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise " -"\"no\"." -msgstr "" -"Si vous utilisez Samba 3.x avec le nouveau schema LDAP, repondez \"oui\" " -"ici, sinon repondez \"non\"." - -#: ../templates/confwiz/o_lang.php:146 -msgid "" -"If you want more than one user to login to LAM please enter its DN(s) here. " -"Multiple entries are seperated by semicolons." -msgstr "" -"Si vous voulez que plus d'un utilisateur puisse se loguer sur LAM, entrez " -"leur(s) DN(s) ici. Les entrées multiples sont séparés par des point-virgule." - -#: ../help/help.inc:97 -msgid "" -"If you want to change the current preferences password, please enter it here." -msgstr "" -"Si vous voulez changer le mot de passe actuel des préférences, entrez le ici." - -#: ../help/help.inc:120 -msgid "" -"If you want to change your master configuration password, please enter it " -"here." -msgstr "" -"Si vous voulez changer le mot de passe principal actuel, entrez le ici." - -#: ../templates/confwiz/o_lists.php:106 -msgid "" -"If you want to input your own description it would look like this: " -"\"attribute:description\"." -msgstr "" -"Si vous voulez rentrer votre propre description, elle ressemblera à ceci : " -"\"attribut:description\"." - -#: ../templates/confwiz/o_daemon.php:105 -msgid "" -"If you want to manage quotas and homedirectories with LAM you need to setup " -"lamdaemon.pl." -msgstr "" -"Si vous voulez gérer les quotas et les répertoires utilisateurs avec LAM, il " -"vous faudra configurer lamdaemon.pl." - -#: ../help/help.inc:279 -msgid "If you want to use a well known RID you can selcet a well known group." -msgstr "" -"Si vous voulez utiliser une RID connue, vous devrez sélectionner un groupe " -"connu." - -#: ../templates/confwiz/ldaptest.php:490 -msgid "Ignore" -msgstr "Ignorer" - -#: ../templates/masscreate.php:284 -msgid "Infos" -msgstr "Informations" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "Inode hard quota" -msgstr "Quota dur d'inode" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "" -"Inode hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Quota dur d'inode contient des caractères invalides. Seuls les nombres " -"naturels sont autorisés" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "Inode soft quota" -msgstr "Quota souple d'inode" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "" -"Inode soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "" -"Quota souple d'inode contient des caractères invalides. Seuls les nombres " -"naturels sont autorisés" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/useredit.php:453 -msgid "Inserted gecos-field as display name." -msgstr "Le champ Gecos a été inséré comme nom à afficher." - -#: ../templates/account/groupedit.php:171 -msgid "Inserted groupname in gecos-field." -msgstr "Le nom du groupe a été inséré comme champ gecos." - -#: ../templates/account/hostedit.php:186 -msgid "Inserted hostname in gecos-field." -msgstr "Le nom de la machine a été inséré comme champ gecos." - -#: ../templates/account/useredit.php:241 ../templates/masscreate.php:555 -msgid "Inserted sur- and given name in gecos-field." -msgstr "Pre- et nom de famille insérés dans le champ gecos." - -#: ../templates/account/useredit.php:438 -msgid "Inserted user- or groupname in HomePath." -msgstr "Nom d'utilisateur ou groupe inséré dans HomePath." - -#: ../templates/account/useredit.php:435 -msgid "Inserted user- or groupname in profilepath." -msgstr "Nom d'utilisateur ou groupe inséré dans chemin profil." - -#: ../templates/account/useredit.php:432 -msgid "Inserted user- or groupname in scriptpath." -msgstr "Nom d'utilisateur ou groupe inséré dans chemin script." - -#: ../templates/massdetail.php:184 -msgid "Invalid Value!" -msgstr "Valeur non valable !" - -#: ../templates/profedit/profilecreate.php:273 -#: ../templates/profedit/profilecreate.php:338 -#: ../templates/profedit/profilecreate.php:377 -msgid "Invalid profile name!" -msgstr "Nom de profil non valable !" - -#: ../lib/status.inc:41 -msgid "Invalid/Missing Message type" -msgstr "Type de message non valable/manquant" - -#: ../lib/account.inc:879 -msgid "" -"It is possible that this ID-number is reused. This can cause several " -"problems because files with old permissions might still exist. To avoid this " -"warning set maxUID to a higher value." -msgstr "" -"Il est possible que ce numéro soit ré-utilisé. Ceci peut créer plusieurs " -"problèmes parce que des fichiers avec des vielles permissions peuvent encore " -"exister. Pour éviter cet avertissement, mettez maxUID à une plus grande " -"valeur." - -#: ../templates/masscreate.php:279 -msgid "It will be created." -msgstr "Sera créé." - -#: ../lib/status.inc:40 -msgid "LAM Internal Error" -msgstr "Erreur interne LAM" - -#: ../templates/confwiz/server2.php:196 -msgid "" -"LAM caches its LDAP searches, you can set the cache time here. Shorter times " -"will stress LDAP more but decrease the possibility that changes are not " -"identified." -msgstr "" -"LAM met en cache ses requètes LDAP. Vous pouvez spécifier le temps de mise " -"encache ici. Des durées plus courtes stresseront plus LDAP mais diminuerons " -"la possibilité que les changements ne soient pas identifiés." - -#: ../templates/confwiz/ldaptest.php:479 -msgid "LAM can create them for you or you have to create them manually later." -msgstr "" -"LAM peut les créer pour vous ou vous pouvez les créer a la main plus tard." - -#: ../templates/confwiz/ldaptest.php:478 -msgid "" -"LAM detected that one or more essential Samba groups are missing. They are " -"listed below." -msgstr "" -"LAM a détecté qu'un ou plusieurs groupes Samba essentiels sont absents. Ils " -"sont listés ci-dessous." - -#: ../templates/confwiz/server2.php:170 ../help/help.inc:106 -msgid "" -"LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an " -"user password. SSHA and CRYPT are the most common but CRYPT does not support " -"passwords greater than 8 letters. We do not recommend to use plain text " -"passwords." -msgstr "" -"LAM supporte CRYPT, SHA, SSHA, LD5 et SMD5 pour générer la valeur hash d'un " -"mot de passe utilisateur. SSHA et CRYPT sont les plus utilisés mais CRYPT ne " -"supporte pas les mots de passe de plus de 8 caractères. Nous ne recommandons " -"pas d'utiliser des mots de passe en texte simple." - -#: ../help/help.inc:101 -msgid "LAM will not work if version is wrong!" -msgstr "LAM ne marchera pas si la version est fausse !" - -#: ../templates/config/confmain.php:99 ../templates/config/confsave.php:74 -msgid "LDAP Account Manager Configuration" -msgstr "Configuration LDAP Account Manager" - -#: ../templates/config/confmain.php:227 -msgid "LDAP List settings" -msgstr "Paramètres de liste LDAP" - -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listgroups.php:175 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listusers.php:218 -msgid "LDAP Search failed! Please check your preferences." -msgstr "Recherche LDAP échouée ! Vérifiez vos préférences." - -#: ../templates/confwiz/server.php:150 -msgid "LDAP admin DN" -msgstr "DN d'Administrateur LDAP" - -#: ../templates/login.php:326 ../templates/confwiz/server.php:71 -msgid "LDAP error, server says:" -msgstr "Erreur LDAP, le serveur dit :" - -#: ../templates/login.php:237 -msgid "LDAP server" -msgstr "Serveur LDAP" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "LDAP sizelimit exceeded, not all entries are shown." -msgstr "" -"limite de taille LDAP surpassée, toutes les entrées ne sont pas affichées." - -#: ../templates/confwiz/server2.php:227 -msgid "Lamdaemon settings and PDF text" -msgstr "Paramètres Lamdaemon et texte PDF" - -#: ../templates/confwiz/server2.php:226 -msgid "Language and additional admin users" -msgstr "Langue et utilisateurs admin supplémentaires" - -#: ../templates/config/confsave.php:175 ../templates/confwiz/o_lang.php:54 -msgid "Language is not defined!" -msgstr "La langue n'est pas définie !" - -#: ../lib/config.inc:39 -msgid "Language not defined in session!" -msgstr "La langue n'est pas définie dans la session !" - -#: ../templates/config/confmain.php:265 -msgid "Language settings" -msgstr "Paramètres de langue" - -#: ../templates/account/useredit.php:960 ../lib/ldap.inc:199 -msgid "Last name" -msgstr "Nom de famille" - -#: ../help/help.inc:62 -msgid "List attributes" -msgstr "Attributs de liste" - -#: ../templates/config/confsave.php:99 ../templates/confwiz/o_lang.php:57 -msgid "List of admin users is empty or invalid!" -msgstr "La liste des utilisateurs administrateur est vide ou non valable !" - -#: ../help/help.inc:218 -msgid "" -"List of samba workstations the user is allowed to login. Empty means every " -"workstation." -msgstr "" -"Liste des stations de travail samba sur lesquelles l'utilisateur peut se " -"connecter. Vide veut dire toute station de travail." - -#: ../templates/config/confmain.php:343 ../templates/confwiz/o_lang.php:152 -#: ../lib/config.inc:292 -msgid "List of valid users" -msgstr "Liste des utilisateurs valides" - -#: ../templates/account/groupedit.php:629 -#: ../templates/account/hostedit.php:356 -#: ../templates/account/useredit.php:1023 -msgid "Load Profile" -msgstr "Chargement de Profil" - -#: ../templates/account/groupedit.php:624 -#: ../templates/account/hostedit.php:278 ../templates/account/hostedit.php:351 -#: ../templates/account/useredit.php:1018 ../help/help.inc:185 -msgid "Load profile" -msgstr "Chargement de profil" - -#: ../templates/login.php:220 ../templates/config/conflogin.php:72 -#: ../help/help.inc:36 -msgid "Login" -msgstr "Connexion" - -#: ../lib/pdf.inc:162 -msgid "Login Shell" -msgstr "Shell de connexion" - -#: ../lib/pdf.inc:172 -msgid "Login at host(s)" -msgstr "Connexion aux machine(s)" - -#: ../lib/pdf.inc:218 -msgid "Login at workstation(s)" -msgstr "Connexion aux station(s) de travail" - -#: ../templates/account/useredit.php:992 -#: ../templates/profedit/profileuser.php:127 ../help/help.inc:151 -#: ../lib/ldap.inc:201 -msgid "Login shell" -msgstr "Shell de connexion" - -#: ../templates/account/useredit.php:432 ../templates/account/useredit.php:444 -#: ../templates/account/useredit.php:1272 -#: ../templates/profedit/profileuser.php:325 ../help/help.inc:211 -#: ../lib/pdf.inc:210 -msgid "Logon script" -msgstr "Script de Connexion" - -#: ../templates/account/useredit.php:444 ../templates/config/confsave.php:181 -#: ../templates/profedit/profilecreate.php:214 -msgid "Logon script is invalid!" -msgstr "Le chemin de script n'est pas valable !" - -#: ../templates/logout.php:52 ../templates/main_header.php:51 -msgid "Logout" -msgstr "Déconnexion" - -#: ../help/help.inc:60 -msgid "Machine number" -msgstr "Machine numéro" - -#: ../templates/config/conflogin.php:127 -msgid "Manage profiles" -msgstr "Gestion de profiles" - -#: ../templates/config/profmanage.php:351 -msgid "Master Password:" -msgstr "Mot de passe principal:" - -#: ../templates/confwiz/start.php:168 ../help/help.inc:121 -msgid "Master password" -msgstr "Mot de passe principal" - -#: ../templates/config/profmanage.php:59 ../templates/confwiz/start.php:45 -msgid "Master password is wrong!" -msgstr "Mot de passe principal érroné !" - -#: ../templates/config/profmanage.php:119 -msgid "Master passwords are different or empty!" -msgstr "Mots de passe principal différents ou vides !" - -#: ../templates/masscreate.php:117 -msgid "Max 400 users allowed. Ignored additional users." -msgstr "" -"400 utilisateurs max autorisés. Les utilisateurs supplémentaires seront " -"ignorés." - -#: ../templates/config/confsave.php:169 -msgid "Max list entries is invalid!" -msgstr "Nombre d'entrées de liste max est invalide !" - -#: ../templates/config/confmain.php:209 ../templates/confwiz/o_ranges.php:131 -#: ../lib/config.inc:282 -msgid "Maximum GID number" -msgstr "Nombre GID maximum" - -#: ../templates/config/confsave.php:139 ../templates/confwiz/o_ranges.php:63 -msgid "Maximum GID number is invalid!" -msgstr "Nombre GID maximum invalide !" - -#: ../templates/config/confmain.php:218 ../templates/confwiz/o_ranges.php:140 -#: ../lib/config.inc:284 -msgid "Maximum Machine number" -msgstr "Numéro de machine maximum" - -#: ../templates/config/confsave.php:149 ../templates/confwiz/o_ranges.php:69 -msgid "Maximum Machine number is invalid!" -msgstr "Numéro de machine invalide !" - -#: ../templates/config/confmain.php:200 ../templates/confwiz/o_ranges.php:122 -#: ../lib/config.inc:280 -msgid "Maximum UID number" -msgstr "Maximale UID-Nummer" - -#: ../templates/config/confsave.php:129 ../templates/confwiz/o_ranges.php:57 -msgid "Maximum UID number is invalid!" -msgstr "Numéro maximum d'UID est invalide !" - -#: ../templates/config/confmain.php:250 ../help/help.inc:82 -#: ../lib/config.inc:288 -msgid "Maximum list entries" -msgstr "Nombre d'entrées de list maximum" - -#: ../templates/account/useredit.php:1089 -#: ../templates/profedit/profileuser.php:166 ../help/help.inc:175 -msgid "Maximum password age" -msgstr "Longévité de mot de passe maximum" - -#: ../templates/account/groupedit.php:518 -#: ../templates/account/groupedit.php:575 -#: ../templates/account/groupedit.php:645 -#: ../templates/account/groupedit.php:739 -#: ../templates/account/groupedit.php:796 ../lib/pdf.inc:458 -msgid "Members" -msgstr "Membres" - -#: ../templates/config/confmain.php:206 ../templates/confwiz/o_ranges.php:128 -#: ../lib/config.inc:281 -msgid "Minimum GID number" -msgstr "Numéro GID minimum" - -#: ../templates/config/confsave.php:134 ../templates/confwiz/o_ranges.php:60 -msgid "Minimum GID number is invalid!" -msgstr "Le nombre GID minimal n'est pas valable !" - -#: ../templates/config/confmain.php:215 ../templates/confwiz/o_ranges.php:137 -#: ../lib/config.inc:283 -msgid "Minimum Machine number" -msgstr "Numéro de machine minimum" - -#: ../templates/config/confsave.php:144 ../templates/confwiz/o_ranges.php:66 -msgid "Minimum Machine number is invalid!" -msgstr "Numéro de machine minimal non valable !" - -#: ../templates/config/confmain.php:197 ../templates/confwiz/o_ranges.php:119 -#: ../lib/config.inc:279 -msgid "Minimum UID number" -msgstr "Numéro UID minimum" - -#: ../templates/config/confsave.php:124 ../templates/confwiz/o_ranges.php:54 -msgid "Minimum UID number is invalid!" -msgstr "Numéro UID minimal non valable !" - -#: ../templates/account/useredit.php:1094 -#: ../templates/profedit/profileuser.php:173 ../help/help.inc:177 -msgid "Minimum password age" -msgstr "Longévité de mot de passe minimum" - -#: ../templates/account/useredit.php:490 -#: ../templates/account/useredit.php:1502 ../templates/masscreate.php:367 -#: ../templates/masscreate.php:569 ../templates/massdetail.php:152 -#: ../templates/massdetail.php:256 ../help/help.inc:260 ../help/help.inc:261 -msgid "Mobile number" -msgstr "Numéro de portable" - -#: ../templates/account/groupedit.php:822 -#: ../templates/account/hostedit.php:432 -#: ../templates/account/useredit.php:1554 -msgid "Modify" -msgstr "Modifier" - -#: ../templates/account/groupedit.php:836 -#: ../templates/account/hostedit.php:441 -#: ../templates/account/useredit.php:1558 -msgid "Modify Account" -msgstr "Modifier un Compte" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 -#: ../templates/profedit/profilegroup.php:99 -#: ../templates/profedit/profileuser.php:376 ../help/help.inc:224 -#: ../lib/pdf.inc:240 -msgid "Mountpoint" -msgstr "Point de montage" - -#: ../help/help.inc:225 -msgid "Mountpoint of device with enabled quotas." -msgstr "Point de montage du périphérique avec quotas activés." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:179 ../templates/account/hostedit.php:182 -#: ../templates/account/useredit.php:305 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:563 ../templates/masscreate.php:566 -#: ../templates/massdetail.php:90 -msgid "Name" -msgstr "Nom" - -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:182 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:566 ../templates/massdetail.php:90 -msgid "Name contains invalid characters. First character must be a letter." -msgstr "" -"Nom contient des caractères invalides. Le premier caractère doit etre une " -"lettre." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/hostedit.php:179 ../templates/account/useredit.php:305 -#: ../templates/masscreate.php:563 -msgid "Name must contain between 3 and 20 characters." -msgstr "Nom doit contenir entre 3 et 20 caractères." - -#: ../help/help.inc:135 -msgid "" -"Name under which the profile will be saved. If a profile with the same name " -"exists, it will be overwritten." -msgstr "" -"Nom sous lequel un profil doit etre sauvegardé. Si un profil avec le même " -"nom existe, il sera écrasé." - -#: ../templates/lists/listdomains.php:200 -msgid "New Domain" -msgstr "Nouveau domaine" - -#: ../templates/lists/listgroups.php:312 -msgid "New Group" -msgstr "Nouveau groupe" - -#: ../templates/lists/listhosts.php:301 -msgid "New Host" -msgstr "Nouvelle machine" - -#: ../templates/ou_edit.php:52 ../templates/ou_edit.php:117 -#: ../templates/ou_edit.php:182 ../templates/ou_edit.php:247 -msgid "New OU created successfully." -msgstr "Nouvelle OU créée avec succès." - -#: ../templates/config/confmain.php:351 -msgid "New Password" -msgstr "Nouveau mot de passe" - -#: ../templates/config/profmanage.php:126 -msgid "New default profile set successfully." -msgstr "Nouveau profil par défaut créé avec succès." - -#: ../templates/config/profmanage.php:326 -msgid "New master password" -msgstr "Nouveau mot de passe principal" - -#: ../templates/config/profmanage.php:117 -msgid "New master password set successfully." -msgstr "Nouveau mot de passe principal créé avec succès." - -#: ../templates/ou_edit.php:344 ../templates/ou_edit.php:377 -#: ../templates/ou_edit.php:410 ../templates/ou_edit.php:444 -#: ../help/help.inc:289 -msgid "New organizational unit" -msgstr "Nouvelle unité organisationelle" - -#: ../templates/config/profmanage.php:107 -msgid "New password set successfully." -msgstr "Nouveau mot de passe rentré avec succès." - -#: ../templates/account/groupedit.php:435 -#: ../templates/account/hostedit.php:288 ../templates/account/useredit.php:719 -msgid "New profile created." -msgstr "Nouveau profil créé." - -#: ../templates/lists/listusers.php:367 -msgid "New user" -msgstr "Nouvel utilisateur" - -#: ../templates/masscreate.php:422 ../templates/confwiz/o_ranges.php:152 -#: ../templates/confwiz/o_daemon.php:141 ../templates/confwiz/server2.php:234 -#: ../templates/confwiz/o_lang.php:162 ../templates/confwiz/server.php:196 -#: ../templates/confwiz/o_lists.php:147 ../templates/confwiz/start.php:181 -msgid "Next" -msgstr "Suivant" - -#: ../templates/domain.php:125 ../templates/confwiz/ldaptest.php:361 -#: ../help/help.inc:303 -msgid "Next Group RID" -msgstr "Groupe RID suivant" - -#: ../templates/domain.php:109 ../templates/confwiz/ldaptest.php:345 -#: ../help/help.inc:299 -msgid "Next RID" -msgstr "RID Suivant" - -#: ../templates/domain.php:239 ../templates/confwiz/ldaptest.php:243 -msgid "Next RID is not a number!" -msgstr "RID suivant n'est pas un numéro !" - -#: ../help/help.inc:300 -msgid "Next RID to use when creating accounts." -msgstr "RID suivant à utiliser lors de la création de comptes." - -#: ../help/help.inc:304 -msgid "Next RID to use when creating groups." -msgstr "RID suivant à utiliser lors de la création de groupes." - -#: ../help/help.inc:302 -msgid "Next RID to use when creating user accounts." -msgstr "RID suivant à utiliser pour la création de comptes utilisateurs." - -#: ../templates/domain.php:117 ../templates/confwiz/ldaptest.php:353 -#: ../help/help.inc:301 -msgid "Next User RID" -msgstr "RID Utilisateur suivant" - -#: ../templates/domain.php:241 ../templates/confwiz/ldaptest.php:249 -msgid "Next group RID is not a number!" -msgstr "Rid de groupe suivant n'est pas un numéro !" - -#: ../templates/domain.php:240 ../templates/confwiz/ldaptest.php:246 -msgid "Next user RID is not a number!" -msgstr "RID utilisateur suivant n'est pas un numéro !" - -#: ../templates/lists/listgroups.php:166 ../templates/lists/listgroups.php:175 -#: ../templates/lists/listgroups.php:179 -msgid "No Groups found!" -msgstr "Pas de groupes trouvés !" - -#: ../templates/lists/listdomains.php:106 -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listdomains.php:116 -msgid "No Samba Domains found!" -msgstr "Pas de Domaines Samba trouvés !" - -#: ../templates/lists/listhosts.php:170 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listhosts.php:183 -msgid "No Samba Hosts found!" -msgstr "Pas de machines Samba trouvés !" - -#: ../templates/lists/listusers.php:208 ../templates/lists/listusers.php:219 -msgid "No Users found!" -msgstr "Pas d'utilisateurs trouvés !" - -#: ../templates/initsuff.php:170 -msgid "No changes were made." -msgstr "Aucune modification effectuée." - -#: ../templates/initsuff.php:154 ../templates/main.php:64 -#: ../templates/confwiz/ldaptest.php:311 -msgid "No domains found, please create one." -msgstr "Pas de domaines trouvé. Créez en un." - -#: ../lib/account.inc:878 -msgid "No free ID-Number!" -msgstr "Pas de numéro ID libre !" - -#: ../templates/delete.php:244 -msgid "No group(s) were deleted" -msgstr "Aucun groupe(s) effacé(s)" - -#: ../templates/delete.php:236 -msgid "No host(s) were deleted" -msgstr "Aucune machine(s) effacée(s)" - -#: ../templates/config/confmain.php:82 -msgid "No password was entered!" -msgstr "Pas de mot de passe rentré !" - -#: ../templates/account/useredit.php:243 ../templates/masscreate.php:558 -msgid "No primary group defined!" -msgstr "Groupe primaire non défini !" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/hostedit.php:285 ../templates/account/useredit.php:716 -msgid "No profilename given." -msgstr "Aucun profil donné." - -#: ../templates/profedit/profilecreate.php:390 -msgid "No type specified!" -msgstr "Pas de type spécifié !" - -#: ../lib/pdf.inc:255 -msgid "No user quotas defined or no quota support by filesystem." -msgstr "" -"Pas de quota défini ou pas de support quota dans le système de fichiers." - -#: ../templates/delete.php:228 -msgid "No user(s) were deleted" -msgstr "Aucun utilisateur effacé" - -#: ../templates/account/groupedit.php:845 -#: ../templates/account/hostedit.php:459 -#: ../templates/account/useredit.php:1566 ../help/help.inc:47 -msgid "Note" -msgstr "Note" - -#: ../help/help.inc:174 -msgid "" -"Number of days a user can login even his password has expired. -1=always." -msgstr "" -"Nombre de jours pendant lesquels un utilisateur paut se connecter bien que " -"son mot de passe ait expiré. -1 = toujours." - -#: ../help/help.inc:178 -msgid "" -"Number of days a user has to wait until he\\'s allowed to change his " -"password again. If set value must be 0<." -msgstr "" -"Nombre de jours que l\\'utilisateur doit attendre avant de pouvoir changer " -"son mot de passe à nouveau. Si défini, la valeur doit étre 0<." - -#: ../help/help.inc:176 -msgid "" -"Number of days after a user has to change his password again. If set value " -"must be 0<." -msgstr "" -"Nombre de jours au bout desquels un utilisateur doit changer à nouveau son " -"mot de passe. Si défini, la valeur doit etre 0<." - -#: ../templates/ou_edit.php:58 ../templates/ou_edit.php:123 -#: ../templates/ou_edit.php:188 ../templates/ou_edit.php:253 -msgid "OU already exists!" -msgstr "OU existe déjà !" - -#: ../templates/ou_edit.php:69 ../templates/ou_edit.php:134 -#: ../templates/ou_edit.php:199 ../templates/ou_edit.php:264 -msgid "OU deleted successfully." -msgstr "OU éffacée avec succès." - -#: ../templates/ou_edit.php:62 ../templates/ou_edit.php:127 -#: ../templates/ou_edit.php:192 ../templates/ou_edit.php:257 -msgid "OU is invalid!" -msgstr "OU n'est pas valable !" - -#: ../templates/ou_edit.php:99 ../templates/ou_edit.php:164 -#: ../templates/ou_edit.php:229 ../templates/ou_edit.php:294 -msgid "OU is not empty or invalid!" -msgstr "OU n'est pas vide ou non valable !" - -#: ../templates/main_header.php:54 ../help/help.inc:289 ../help/help.inc:291 -msgid "OU-Editor" -msgstr "éditeur OU" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "ObjectClass posixAccount not found." -msgstr "ObjectClass posixAccount introuvable." - -#: ../templates/account/groupedit.php:330 -msgid "ObjectClass posixGroup not found." -msgstr "ObjectClass posixGroup introuvable." - -#: ../templates/account/hostedit.php:226 ../templates/account/useredit.php:594 -msgid "ObjectClass sambaAccount not found." -msgstr "ObjectClass sambaAccount introuvable." - -#: ../templates/account/groupedit.php:328 -msgid "ObjectClass sambaGroupMapping not found." -msgstr "ObjectClass sambaGroupMapping introuvable." - -#: ../templates/account/hostedit.php:224 ../templates/account/useredit.php:590 -msgid "ObjectClass sambaSamAccount not found." -msgstr "ObjectClass sambaSamAccount introuvable." - -#: ../templates/account/useredit.php:587 -msgid "ObjectClass shadowAccount not found." -msgstr "ObjectClass shadowAccount introuvable." - -#: ../templates/config/conflogin.php:118 -msgid "Ok" -msgstr "Ok" - -#: ../templates/confwiz/server2.php:221 -msgid "Optional settings" -msgstr "Paramètres facultatifs" - -#: ../templates/config/confmain.php:325 -msgid "PDF settings" -msgstr "Paramètres PDF" - -#: ../templates/confwiz/o_daemon.php:126 -msgid "PDF text" -msgstr "texte PDF" - -#: ../templates/account/hostedit.php:390 ../templates/account/useredit.php:316 -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:418 -#: ../templates/account/useredit.php:442 -#: ../templates/account/useredit.php:1061 ../templates/login.php:169 -#: ../templates/confwiz/server.php:159 ../templates/confwiz/start.php:141 -msgid "Password" -msgstr "Mot de passe" - -#: ../templates/account/useredit.php:351 -msgid "Password Expire" -msgstr "Expiration du mot de passe" - -#: ../templates/config/confsave.php:214 -msgid "Password changed!" -msgstr "Mot de passe modifié !" - -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:442 -msgid "" -"Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and #*,.;:_-+!$%&/|?{[()]}= !" -msgstr "" -"Le mot de passe contient des caractères invalides. Les caractères valides " -"sont: a-z, A-Z, 0-9 and #*,.;:_-+!$%&/|?{[()]}= !" - -#: ../templates/account/useredit.php:1205 -#: ../templates/profedit/profileuser.php:257 ../help/help.inc:201 -msgid "Password does not expire" -msgstr "Le mot de passe n'expire pas" - -#: ../templates/account/useredit.php:1084 ../help/help.inc:173 -#: ../lib/pdf.inc:168 -msgid "Password expire" -msgstr "Expiration du mot de passe" - -#: ../templates/account/useredit.php:351 -msgid "Password expire must be are natural number or -1." -msgstr "L'expiration du mot de passe doit etre un chiffre naturel ou -1." - -#: ../templates/profedit/profileuser.php:159 -msgid "Password expiry" -msgstr "Expiration du mot de passe" - -#: ../templates/profedit/profilecreate.php:147 -msgid "Password expiry is not numeric!" -msgstr "L'expiration du mot de passe n'est pas numérique !" - -#: ../templates/config/confsave.php:193 ../templates/confwiz/server2.php:71 -msgid "Password hash is invalid!" -msgstr "Le hash du mot de passe n'est pas valable !" - -#: ../templates/config/confmain.php:147 ../templates/confwiz/server2.php:176 -#: ../help/help.inc:105 ../lib/config.inc:272 -msgid "Password hash type" -msgstr "Le type de hash du mot de passe" - -#: ../templates/account/useredit.php:348 ../templates/account/useredit.php:349 -msgid "Password maxage" -msgstr "Longévité Max. du mot de passe" - -#: ../templates/account/useredit.php:349 -msgid "Password maxage must be are natural number." -msgstr "Longévité Max. du mot de passe doit etre un chiffre naturel." - -#: ../templates/account/useredit.php:348 -msgid "Password maxage must bigger as Password Minage." -msgstr "" -"Logévité Max. du mot de passe doit etre plus grand que Longévité Min. du mot " -"de passe" - -#: ../templates/profedit/profilecreate.php:115 -msgid "Password maximum age is not numeric!" -msgstr "Longévité Maximale de mot de passe n' est pas numérique !" - -#: ../templates/account/useredit.php:347 -msgid "Password minage" -msgstr "Longévité Min. mot de passe" - -#: ../templates/account/useredit.php:347 -msgid "Password minage must be are natural number." -msgstr "Longévité minimale du mot de passe doit etre un chiffre naturel." - -#: ../templates/profedit/profilecreate.php:107 -msgid "Password minimum age is not numeric!" -msgstr "Longévité minimale du mot de passe n'est pas numérique !" - -#: ../templates/account/useredit.php:352 -#: ../templates/account/useredit.php:1079 ../help/help.inc:171 -msgid "Password warn" -msgstr "Avertissement mot de passe" - -#: ../templates/account/useredit.php:352 -msgid "Password warn must be are natural number." -msgstr "L'avertissement mot de passe doit etre un nombre naturel." - -#: ../templates/profedit/profileuser.php:152 -msgid "Password warning" -msgstr "Avertissement du mot de passe" - -#: ../templates/config/confsave.php:208 -msgid "Passwords are different!" -msgstr "Les mots de passe sont différents !" - -#: ../help/help.inc:215 -#, php-format -msgid "" -"Path of the userprofile. Can be a local absolute path or a UNC-path (\\" -"\\server\\share). $%s and $%s are replaced with user- and groupname." -msgstr "" -"Chemin du profil utilisateur. Peut etre un chemin absolu local ou un chemin " -"UNC (\\serveur\\partage). $%s et $%s seront remplacés par les noms " -"d'utilisateur et de groupe." - -#: ../templates/config/confmain.php:315 ../templates/confwiz/o_daemon.php:117 -#: ../lib/config.inc:290 -msgid "Path to external script" -msgstr "Chemin vers le script externe" - -#: ../templates/account/useredit.php:795 ../templates/account/useredit.php:865 -#: ../templates/account/useredit.php:927 -#: ../templates/account/useredit.php:1048 -#: ../templates/account/useredit.php:1165 -#: ../templates/account/useredit.php:1404 -#: ../templates/account/useredit.php:1453 -#: ../templates/account/useredit.php:1533 -msgid "Personal" -msgstr "Personnel" - -#: ../lib/pdf.inc:78 -msgid "Personal User Infos" -msgstr "Informations Utilisateur Personnel" - -#: ../templates/account/useredit.php:1464 -msgid "Personal properties" -msgstr "Propriétés personnelles" - -#: ../lib/pdf.inc:109 -msgid "Phone" -msgstr "Téléphone" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Please check settings on samba page." -msgstr "Vérifiez les paramètres sur la page samba, s'il vous plait." - -#: ../templates/account/hostedit.php:99 ../templates/account/useredit.php:108 -msgid "Please create a group first." -msgstr "Créez un groupe d'abord, s'il vous plait." - -#: ../templates/confwiz/start.php:117 -msgid "" -"Please enter a name for the new profile. The name may contain letters, " -"digits and -_." -msgstr "" -"Entrez un nom pour le nouveau profil. Le nom peut contenir des lettres,des " -"chiffres et -_." - -#: ../templates/account/useredit.php:492 ../templates/masscreate.php:571 -#: ../templates/massdetail.php:156 -msgid "Please enter a valid eMail address!" -msgstr "Entrez une adresse mail valable, s'il vous plait !" - -#: ../templates/account/useredit.php:496 ../templates/masscreate.php:575 -#: ../templates/massdetail.php:142 -msgid "Please enter a valid employee type!" -msgstr "Entrez un type d'employé valable, s'il vous plait !" - -#: ../templates/account/useredit.php:491 ../templates/masscreate.php:570 -#: ../templates/massdetail.php:154 -msgid "Please enter a valid fax number!" -msgstr "Entrez un numéro de fax valable, s'il vous plait !" - -#: ../templates/account/useredit.php:490 ../templates/masscreate.php:569 -#: ../templates/massdetail.php:152 -msgid "Please enter a valid mobile number!" -msgstr "Entrez un numéro de portable valable, s'il vous plait !" - -#: ../templates/account/useredit.php:494 ../templates/masscreate.php:573 -#: ../templates/massdetail.php:148 -msgid "Please enter a valid postal address!" -msgstr "Entrez une adresse valable, s'il vous plait !" - -#: ../templates/account/useredit.php:497 ../templates/masscreate.php:576 -#: ../templates/massdetail.php:146 -msgid "Please enter a valid postal code!" -msgstr "Entrez un code postal valable, s'il vous plait !" - -#: ../templates/account/useredit.php:493 ../templates/masscreate.php:572 -#: ../templates/massdetail.php:144 -msgid "Please enter a valid street name!" -msgstr "Entrez un nom de rue valable, s'il vous plait !" - -#: ../templates/account/useredit.php:489 ../templates/masscreate.php:568 -#: ../templates/massdetail.php:150 -msgid "Please enter a valid telephone number!" -msgstr "Entrez un numéro de téléphone valable, s'il vous plait !" - -#: ../templates/account/useredit.php:495 ../templates/masscreate.php:574 -#: ../templates/massdetail.php:140 -msgid "Please enter a valid title!" -msgstr "Entrez un titre valable, s'il vous plait !" - -#: ../lib/account.inc:890 -#, php-format -msgid "Please enter a value between %s and %s!" -msgstr "Entrez un numéro entre %s et %s, s'il vous plait !" - -#: ../templates/config/conflogin.php:91 -msgid "Please enter password to change preferences:" -msgstr "Entrez votre mot de passe pour modifier les preférences :" - -#: ../templates/confwiz/o_ranges.php:112 -msgid "Please enter the UID/GID ranges for your accounts:" -msgstr "Entrez les gammes UID/GID pour vos comptes, s'il vous plait :" - -#: ../templates/confwiz/server.php:123 -msgid "Please enter the URL of your LDAP server." -msgstr "Entrez l'URL de votre serveur LDAP, s'il vous plait." - -#: ../help/help.inc:37 -msgid "" -"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\"." -msgstr "" -"Entrez le mot de passe de configuration. Ceci n'est PAS votre mot de passe " -"LDAP. Il est stoqué dans votre fichier .conf. Si ceci est la première fois " -"que vous vous connectez, entrez \"lam\"." - -#: ../help/help.inc:122 -msgid "" -"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\"." -msgstr "" -"Entrez le mot de passe de configuration. Ceci n'est PAS votre mot de passe " -"LDAP. Il est stoqué dans votre fichier config.cfg. Si ceci est la première " -"fois que vous vous connectez, entrez \"lam\"." - -#: ../help/help.inc:110 -msgid "" -"Please enter the name of the new profile and the password to change its " -"settings. Profile names may contain letters, numbers and -/_." -msgstr "" -"Entrez le nom du nouveau profil et le mot de passe pour changer ses " -"paramètres. Les noms de profil peuvent contenir des lettres, des nombres et " -"-/_." - -#: ../help/help.inc:112 -msgid "" -"Please enter the new name of the profile. The name may contain letters, " -"numbers and -/_." -msgstr "" -"Entrez le nom du nouveau profil. Les noms de profil peuvent contenir des " -"lettres, des nombres et -/_." - -#: ../templates/account/useredit.php:316 ../templates/account/useredit.php:418 -msgid "Please enter the same password in both password-fields." -msgstr "Entrez le même mot de passe dans les deux champs mot de passe." - -#: ../templates/confwiz/server2.php:125 -msgid "" -"Please enter the suffixes of your LDAP tree where LAM should store the " -"accounts." -msgstr "" -"Entrez les suffixes d'un arbre LDAP ou LAM devrait stoquer les comptes." - -#: ../templates/confwiz/o_lists.php:103 -msgid "Please enter which attributes should be displayed in the list views." -msgstr "Donnez les attributs qui doivent etre affichés dans les vues listes" - -#: ../templates/confwiz/start.php:162 -msgid "" -"Please enter your configuration master password. This password is \"lam\" by " -"default." -msgstr "" -"Entrez votre mot de passe de configuration principale. Ce mot de passe est " -"\"lam\" par défaut." - -#: ../templates/masscreate.php:349 -msgid "" -"Please provide a csv-file with the following syntax. Values with * are " -"required:" -msgstr "" -"Donnez un fichier csv avec la syntaxe suivante. Les valeurs avec * sont " -"obligatoires:" - -#: ../lib/status.inc:42 -msgid "" -"Please report this error to the Bug-Tracker at {link=http://lam.sf.net}LDAP " -"Account Manager Development Team{endlink}. The error number is {bold}0001:" -"Invalid/Missing Message type.{endbold} Thank you." -msgstr "" -"Faites un rapport de cette erreur au Bug-Tracker à {link=http://lam.sf.net}" -"l'equipe de developeurs LDAP Account Manager{endlink}. Le numéro d'erreur " -"est {bold}0001:Message de type Invalid/Manquant.{endbold} Merci." - -#: ../templates/confwiz/server2.php:222 -msgid "" -"Please select here if you want to make additional changes to your " -"configuration profile or if LAM should use default values." -msgstr "" -"Selectionnez ici si vous voulez faire des changements supplémentaires à " -"votre profil de configuration ou si LAM doit utiliser les valeurs par " -"défaut. " - -#: ../templates/account/groupedit.php:515 -#: ../templates/account/groupedit.php:572 -#: ../templates/account/groupedit.php:642 -#: ../templates/account/groupedit.php:736 -#: ../templates/account/groupedit.php:793 -#: ../templates/account/useredit.php:788 ../templates/account/useredit.php:858 -#: ../templates/account/useredit.php:920 -#: ../templates/account/useredit.php:1041 -#: ../templates/account/useredit.php:1158 -#: ../templates/account/useredit.php:1398 -#: ../templates/account/useredit.php:1446 -#: ../templates/account/useredit.php:1526 ../templates/masscreate.php:325 -msgid "Please select page:" -msgstr "Sélectionnez une page :" - -#: ../templates/confwiz/o_lang.php:101 -msgid "Please select your prefered language." -msgstr "Sélectionnez votre langue préférée." - -#: ../help/help.inc:275 -msgid "Position in ldap-tree where the group should be created." -msgstr "Position dans l'arbre LDAP ou le groupe doit etre créé." - -#: ../help/help.inc:277 -msgid "Position in ldap-tree where the host should be created." -msgstr "Position dans l'arbre ou la machine doit etre créée." - -#: ../help/help.inc:273 -msgid "Position in ldap-tree where the user should be created." -msgstr "Position dans l'arbre ou l'utilisateur doit etre créé." - -#: ../templates/account/useredit.php:494 -#: ../templates/account/useredit.php:1490 ../templates/masscreate.php:375 -#: ../templates/masscreate.php:573 ../templates/massdetail.php:148 -#: ../templates/massdetail.php:244 ../help/help.inc:256 ../lib/pdf.inc:101 -msgid "Postal address" -msgstr "Adresse postale" - -#: ../help/help.inc:257 -msgid "Postal address, city" -msgstr "Adresse postale, ville." - -#: ../templates/account/useredit.php:497 -#: ../templates/account/useredit.php:1484 ../templates/masscreate.php:373 -#: ../templates/masscreate.php:576 ../templates/massdetail.php:146 -#: ../templates/massdetail.php:238 ../help/help.inc:254 ../help/help.inc:255 -#: ../lib/pdf.inc:97 -msgid "Postal code" -msgstr "Code postal" - -#: ../templates/confwiz/o_lists.php:105 -msgid "Predefined attributes are of type \"#attribute\"." -msgstr "Les attributs prédéfinis sont de type \"#attribut\"." - -#: ../templates/confwiz/o_lists.php:111 ../help/help.inc:67 -msgid "Predefined values" -msgstr "Valeurs prédéfinies" - -#: ../templates/account/hostedit.php:376 ../templates/account/useredit.php:243 -#: ../templates/account/useredit.php:966 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:359 ../templates/masscreate.php:558 -#: ../templates/profedit/profilehost.php:68 -#: ../templates/profedit/profileuser.php:93 ../help/help.inc:153 -#: ../help/help.inc:167 ../lib/pdf.inc:310 ../lib/pdf.inc:354 -msgid "Primary group" -msgstr "Groupe primaire" - -#: ../templates/account/useredit.php:559 -msgid "" -"Primary group has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"Le groupe primaire a été modifié. Vous devez lancer la commande suivante en " -"tant que root pour changer les droits fichiers existants :" - -#: ../templates/profedit/profilecreate.php:64 -#: ../templates/profedit/profilecreate.php:361 -msgid "Primary group name is invalid!" -msgstr "Le nom du groupe primaire n'est pas valable !" - -#: ../templates/main_header.php:43 ../help/help.inc:126 ../help/help.inc:130 -#: ../help/help.inc:134 -msgid "Profile Editor" -msgstr "éditeur de profil" - -#: ../templates/config/profmanage.php:97 -msgid "Profile deleted." -msgstr "Profil effacé." - -#: ../templates/account/hostedit.php:278 -msgid "Profile loaded." -msgstr "Profil chargé." - -#: ../templates/config/profmanage.php:41 -#: ../templates/config/profmanage.php:144 ../help/help.inc:109 -#: ../help/help.inc:111 ../help/help.inc:113 ../help/help.inc:115 -#: ../help/help.inc:117 ../help/help.inc:119 ../help/help.inc:121 -msgid "Profile management" -msgstr "Gestion de profil" - -#: ../templates/config/profmanage.php:159 -#: ../templates/config/profmanage.php:206 -#: ../templates/profedit/profilegroup.php:143 -#: ../templates/profedit/profilehost.php:112 -#: ../templates/profedit/profileuser.php:420 -#: ../templates/confwiz/start.php:123 ../help/help.inc:134 -msgid "Profile name" -msgstr "Nom de profil" - -#: ../templates/config/profmanage.php:81 ../templates/config/profmanage.php:92 -#: ../templates/confwiz/start.php:65 -msgid "Profile name is invalid!" -msgstr "Le nom de profil n'est pas valable !" - -#: ../templates/config/profmanage.php:170 -#: ../templates/config/profmanage.php:260 -msgid "Profile password" -msgstr "Mot de passe profil" - -#: ../templates/config/profmanage.php:79 -#: ../templates/config/profmanage.php:109 ../templates/confwiz/start.php:67 -msgid "Profile passwords are different or empty!" -msgstr "Les mots de passe profil sont différents ou vides !" - -#: ../templates/account/useredit.php:435 ../templates/account/useredit.php:447 -#: ../templates/account/useredit.php:1267 -#: ../templates/profedit/profileuser.php:318 ../help/help.inc:214 -#: ../lib/pdf.inc:214 -msgid "Profile path" -msgstr "Chemin de profil" - -#: ../templates/account/useredit.php:447 -#: ../templates/profedit/profilecreate.php:205 -msgid "Profile path is invalid!" -msgstr "Le chemin de profil n'est pas valable !" - -#: ../templates/profedit/profilecreate.php:280 -#: ../templates/profedit/profilecreate.php:345 -#: ../templates/profedit/profilecreate.php:383 -msgid "Profile was saved." -msgstr "Le profil a été sauvegardé." - -#: ../templates/account/groupedit.php:524 -#: ../templates/account/groupedit.php:581 -#: ../templates/account/groupedit.php:648 -#: ../templates/account/groupedit.php:744 -#: ../templates/account/groupedit.php:801 -#: ../templates/account/useredit.php:794 ../templates/account/useredit.php:864 -#: ../templates/account/useredit.php:926 -#: ../templates/account/useredit.php:1047 -#: ../templates/account/useredit.php:1164 -#: ../templates/account/useredit.php:1403 -#: ../templates/account/useredit.php:1452 -#: ../templates/account/useredit.php:1532 -msgid "Quota" -msgstr "Quota" - -#: ../lib/pdf.inc:233 -msgid "Quota Settings" -msgstr "Paramètres Quota" - -#: ../templates/account/groupedit.php:756 -#: ../templates/account/useredit.php:1415 -#: ../templates/profedit/profilegroup.php:95 -#: ../templates/profedit/profileuser.php:372 -msgid "Quota properties" -msgstr "Propriétés quota" - -#: ../lib/ldap.inc:215 -msgid "RID (Windows UID)" -msgstr "RID (Windows UID)" - -#: ../templates/config/confmain.php:192 -msgid "Ranges" -msgstr "Plages" - -#: ../templates/confwiz/server2.php:224 -msgid "Ranges for UID and GID numbers" -msgstr "Plages pour nombres UID et GID" - -#: ../templates/config/confmain.php:356 ../templates/confwiz/start.php:149 -msgid "Reenter Password" -msgstr "Redonnez le mot de passe" - -#: ../templates/config/profmanage.php:337 -msgid "Reenter new master password" -msgstr "Donnez un nouveau mot de passe principal" - -#: ../templates/config/profmanage.php:179 -#: ../templates/config/profmanage.php:271 -msgid "Reenter profile password" -msgstr "Redonnez le mot de passe profil" - -#: ../templates/masscreate.php:332 ../templates/lists/listdomains.php:220 -#: ../templates/lists/listgroups.php:340 ../templates/lists/listhosts.php:329 -#: ../templates/lists/listusers.php:398 -msgid "Refresh" -msgstr "Actualisez" - -#: ../templates/config/profmanage.php:202 ../help/help.inc:111 -msgid "Rename profile" -msgstr "Renommer le profil" - -#: ../templates/config/profmanage.php:88 -msgid "Renamed profile." -msgstr "Profil renommé." - -#: ../templates/account/useredit.php:1067 -#: ../templates/account/useredit.php:1187 -msgid "Repeat password" -msgstr "Repetez le mot de passe" - -#: ../templates/account/useredit.php:296 -#, php-format -msgid "Replaced $%s or $%s in homedir." -msgstr "$%s et $%s ont été remplacés dans le repertoire utilisateur." - -#: ../templates/domain.php:177 ../templates/config/confmain.php:368 -#: ../templates/profedit/profilegroup.php:152 -#: ../templates/profedit/profilehost.php:121 -#: ../templates/profedit/profileuser.php:429 -msgid "Reset" -msgstr "Réinitialisation" - -#: ../templates/account/groupedit.php:529 -#: ../templates/account/groupedit.php:586 -#: ../templates/account/groupedit.php:653 -#: ../templates/account/groupedit.php:749 -#: ../templates/account/groupedit.php:806 -#: ../templates/account/useredit.php:800 ../templates/account/useredit.php:870 -#: ../templates/account/useredit.php:932 -#: ../templates/account/useredit.php:1053 -#: ../templates/account/useredit.php:1170 -#: ../templates/account/useredit.php:1409 -#: ../templates/account/useredit.php:1458 -#: ../templates/account/useredit.php:1538 -msgid "Reset all changes." -msgstr "Réinitialisation de toutes les modifications." - -#: ../templates/account/hostedit.php:394 -msgid "Reset password" -msgstr "Réinitialisation du mot de passe" - -#: ../templates/account/groupedit.php:521 -#: ../templates/account/groupedit.php:578 -#: ../templates/account/groupedit.php:646 -#: ../templates/account/groupedit.php:742 -#: ../templates/account/groupedit.php:798 -#: ../templates/account/useredit.php:792 ../templates/account/useredit.php:862 -#: ../templates/account/useredit.php:924 -#: ../templates/account/useredit.php:1045 -#: ../templates/account/useredit.php:1162 -#: ../templates/account/useredit.php:1402 -#: ../templates/account/useredit.php:1450 -#: ../templates/account/useredit.php:1530 -#: ../templates/profedit/profilegroup.php:67 -msgid "Samba" -msgstr "Samba" - -#: ../templates/domain.php:234 ../templates/confwiz/ldaptest.php:239 -msgid "Samba 3 domain SID is invalid!" -msgstr "Le SID domaine de Samba 3 n'est pas valable !" - -#: ../templates/config/confmain.php:183 ../lib/config.inc:274 -msgid "Samba 3.x schema" -msgstr "Schema Samba 3.x" - -#: ../templates/lists/listdomains.php:233 -msgid "Samba Domain(s) found" -msgstr "Domaine(s) Samba trouvé(s)" - -#: ../templates/profedit/profilemain.php:218 -msgid "Samba Host Profiles" -msgstr "Profils Machines Samba" - -#: ../templates/lists/listhosts.php:342 -msgid "Samba Host(s) found" -msgstr "Machine(s) Samba trouvé(s)" - -#: ../templates/ou_edit.php:405 -msgid "Samba Hosts" -msgstr "Machines Samba" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Samba Options not set!" -msgstr "Options Samba non mises !" - -#: ../templates/profedit/profileuser.php:232 -msgid "Samba account" -msgstr "Compte Samba" - -#: ../templates/profedit/profilecreate.php:196 -msgid "Samba home directory is invalid!" -msgstr "Le répertoire utilisateur de Samba n'est pas valable !" - -#: ../templates/account/useredit.php:1184 -msgid "Samba password" -msgstr "Mot de passe Samba" - -#: ../templates/account/groupedit.php:659 -#: ../templates/account/useredit.php:1178 -msgid "Samba properties" -msgstr "Propriétés Samba" - -#: ../templates/config/confmain.php:178 -msgid "Samba settings" -msgstr "Paramètres Samba" - -#: ../templates/confwiz/server.php:179 ../help/help.inc:98 -msgid "Samba version" -msgstr "Version de Samba" - -#: ../templates/config/confsave.php:83 -msgid "Samba version is not defined!" -msgstr "La version de Samba n'est pas définie !" - -#: ../templates/account/useredit.php:1277 ../help/help.inc:217 -msgid "Samba workstations" -msgstr "Samba PCs" - -#: ../templates/profedit/profilecreate.php:222 -msgid "Samba workstations are invalid!" -msgstr "Les machines de travail Samba ne sont pas valables !" - -#: ../lib/pdf.inc:286 ../lib/pdf.inc:524 -msgid "Samba-Host information page" -msgstr "Page d'informations de machines Samba" - -#: ../templates/profedit/profilegroup.php:151 -#: ../templates/profedit/profilehost.php:120 -#: ../templates/profedit/profileuser.php:428 -msgid "Save" -msgstr "Sauvegarder" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/groupedit.php:435 -#: ../templates/account/groupedit.php:436 -#: ../templates/account/groupedit.php:814 -#: ../templates/account/groupedit.php:818 -#: ../templates/account/hostedit.php:285 ../templates/account/hostedit.php:288 -#: ../templates/account/hostedit.php:289 ../templates/account/hostedit.php:447 -#: ../templates/account/hostedit.php:451 ../templates/account/useredit.php:716 -#: ../templates/account/useredit.php:719 ../templates/account/useredit.php:720 -#: ../templates/account/useredit.php:1546 -#: ../templates/account/useredit.php:1550 ../help/help.inc:266 -msgid "Save profile" -msgstr "Sauvegarder le profil" - -#: ../templates/config/confsave.php:199 ../templates/confwiz/o_daemon.php:60 -msgid "Saving PDF text failed!" -msgstr "La sauveagrde du texte PDF a échouée !" - -#: ../help/help.inc:86 -msgid "Script path" -msgstr "Chemin de script" - -#: ../templates/confwiz/o_daemon.php:54 -msgid "Script path is invalid!" -msgstr "Le chemin de script n'est pas valable !" - -#: ../help/help.inc:91 -msgid "Script server" -msgstr "Serveur de script" - -#: ../templates/config/confsave.php:187 ../templates/confwiz/o_daemon.php:57 -msgid "Script server is invalid!" -msgstr "Le serveur de script n'est pas valable !" - -#: ../templates/config/confmain.php:307 -msgid "Script settings" -msgstr "Paramètres de scripts" - -#: ../templates/config/confmain.php:339 -msgid "Security settings" -msgstr "Paramètres de sécurité" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "See README.openldap.txt to solve this problem." -msgstr "Voir README.openldap.txt pour résoudre ce problème" - -#: ../templates/help.php:90 -msgid "See also" -msgstr "Voir aussi" - -#: ../templates/lists/listgroups.php:280 ../templates/lists/listhosts.php:267 -#: ../templates/lists/listusers.php:322 -msgid "Select all" -msgstr "Tout sélectionner" - -#: ../templates/masscreate.php:420 -msgid "Select file:" -msgstr "Sélectionner un fichier:" - -#: ../templates/masscreate.php:412 ../help/help.inc:268 -msgid "Select group profile" -msgstr "Sélectionnez le profil de groupe" - -#: ../templates/masscreate.php:386 -msgid "Select settings" -msgstr "Sélectionnez les paramètres" - -#: ../templates/masscreate.php:389 -msgid "Select user profile:" -msgstr "Sélectionnez le profil utilisateur :" - -#: ../templates/account/useredit.php:808 -msgid "Select workstations" -msgstr "Sélectionnez les machines de travail" - -#: ../templates/account/useredit.php:881 -msgid "Selected groups" -msgstr "Groupes sélectionnés" - -#: ../templates/config/confsave.php:89 ../templates/confwiz/server.php:74 -msgid "Server Address is empty!" -msgstr "Le serveur d'adresse est vide !" - -#: ../templates/config/confmain.php:112 ../templates/confwiz/server.php:130 -#: ../help/help.inc:38 ../lib/config.inc:271 -msgid "Server address" -msgstr "Serveur d'adresse" - -#: ../templates/config/confmain.php:311 ../templates/confwiz/o_daemon.php:113 -#: ../lib/config.inc:291 -msgid "Server of external script" -msgstr "Serveur de scripte externe" - -#: ../templates/config/confmain.php:109 -msgid "Server settings" -msgstr "Paramètres de serveur" - -#: ../templates/profedit/profileuser.php:237 -msgid "Set Samba password" -msgstr "Fixez un mot de passe Samba" - -#: ../templates/profedit/profileuser.php:142 -msgid "Set Unix Password" -msgstr "Fixez le mot de passe Unix" - -#: ../templates/profedit/profileuser.php:247 ../help/help.inc:126 -msgid "Set Unix password for Samba" -msgstr "Fixez le mot de passe Unix pour Samba" - -#: ../templates/config/profmanage.php:256 ../help/help.inc:115 -msgid "Set profile password" -msgstr "Donnez le mot de passe profil" - -#: ../templates/profedit/profilecreate.php:83 -msgid "Shell is invalid!" -msgstr "" - -#: ../templates/masscreate.php:292 -msgid "Show Details." -msgstr "Montrer Détails." - -#: ../templates/masscreate.php:309 -msgid "Show Errors." -msgstr "Montrer Erreurs." - -#: ../templates/masscreate.php:297 -msgid "Show Infos." -msgstr "Montrer Informations." - -#: ../templates/masscreate.php:303 -msgid "Show Warnings." -msgstr "Montrer Avertissements." - -#: ../lib/pdf.inc:241 -msgid "Soft block" -msgstr "Bloc souple" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:100 -#: ../templates/profedit/profileuser.php:377 ../help/help.inc:228 -msgid "Soft block limit" -msgstr "Limite de bloc souple" - -#: ../help/help.inc:229 -msgid "Soft block limit." -msgstr "Limite de bloc souple" - -#: ../lib/pdf.inc:242 -msgid "Soft inode" -msgstr "Inode souple" - -#: ../help/help.inc:240 -msgid "Soft inode (files) limit." -msgstr "Limite souple d'inodes (fichiers)." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 -#: ../templates/profedit/profilegroup.php:102 -#: ../templates/profedit/profileuser.php:379 ../help/help.inc:239 -msgid "Soft inode limit" -msgstr "Limite d'inode souple" - -#: ../templates/help.php:65 -msgid "Sorry no help number submitted." -msgstr "Désolé, pas de numéro d'aide soumis." - -#: ../templates/help.php:75 -#, php-format -msgid "Sorry this help number ({bold}%d{endbold}) is not available." -msgstr "Désolé, le numéro d'aide: {bold}%d{endbold} n'est pas disponible" - -#: ../templates/account/useredit.php:493 -#: ../templates/account/useredit.php:1478 ../templates/masscreate.php:371 -#: ../templates/masscreate.php:572 ../templates/massdetail.php:144 -#: ../templates/massdetail.php:232 ../help/help.inc:252 ../help/help.inc:253 -#: ../lib/pdf.inc:93 -msgid "Street" -msgstr "Rue" - -#: ../templates/domain.php:176 ../templates/ou_edit.php:94 -#: ../templates/ou_edit.php:159 ../templates/ou_edit.php:224 -#: ../templates/ou_edit.php:289 ../templates/ou_edit.php:472 -#: ../templates/config/confmain.php:367 ../templates/config/profmanage.php:356 -#: ../templates/profedit/profiledelete.php:97 -#: ../templates/profedit/profiledelete.php:109 -#: ../templates/profedit/profiledelete.php:121 -#: ../templates/profedit/profilemain.php:261 -msgid "Submit" -msgstr "Soumettre" - -#: ../templates/account/groupedit.php:607 -#: ../templates/account/hostedit.php:417 -#: ../templates/account/useredit.php:1001 ../templates/domain.php:149 -#: ../templates/lists/listdomains.php:187 -#: ../templates/lists/listgroups.php:300 ../templates/lists/listhosts.php:288 -#: ../templates/lists/listusers.php:341 ../templates/confwiz/ldaptest.php:384 -#: ../help/help.inc:272 ../help/help.inc:274 ../help/help.inc:276 -#: ../help/help.inc:295 -msgid "Suffix" -msgstr "Suffixe" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:353 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 ../templates/massdetail.php:202 -#: ../help/help.inc:191 ../lib/pdf.inc:85 -msgid "Surname" -msgstr "Nom de famille" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 -msgid "Surname contains invalid characters" -msgstr "Le nom de famille contient des caractères non valables" - -#: ../help/help.inc:192 -msgid "Surname of user. Only letters, - and spaces are allowed." -msgstr "" -"Le nom de famille de l'utilisateur. Seuls les lettres, - et les espaces sont " -"autorisés." - -#: ../templates/account/useredit.php:489 -#: ../templates/account/useredit.php:1496 ../templates/masscreate.php:365 -#: ../templates/masscreate.php:568 ../templates/massdetail.php:150 -#: ../templates/massdetail.php:250 ../help/help.inc:258 ../help/help.inc:259 -msgid "Telephone number" -msgstr "Numéro de téléphone" - -#: ../templates/config/confmain.php:329 ../help/help.inc:107 -#: ../lib/config.inc:293 -msgid "Text for user PDF" -msgstr "Texte pour le PDF utilisateur" - -#: ../help/help.inc:154 -msgid "The Primary Group the user should be member of." -msgstr "Le groupe primaire dont l'utilisateur doit etre membre." - -#: ../help/help.inc:168 -msgid "The Primary group the host should be member of." -msgstr "Le groupe primaire dont l'hote doit etre membre" - -#: ../help/help.inc:298 -msgid "The SID of your Samba server. Get it with \"net getlocalsid\"." -msgstr "Le SID de votre serveur Samba. Récuperez le avec \"net getlocalsid\"." - -#: ../help/help.inc:296 -msgid "The domain entry will be saved under this suffix." -msgstr "L'entrée domaine sera sauvegardée sous ce suffixe." - -#: ../templates/confwiz/o_lists.php:107 -msgid "The entries are separated by semicolons." -msgstr "Les entrées sont séparées par des point-virgules." - -#: ../templates/config/confsave.php:220 ../templates/confwiz/final.php:52 -msgid "The following settings were saved to profile:" -msgstr "Les paramètres suivants ont été sauvegardés dans le profile :" - -#: ../templates/initsuff.php:189 -msgid "" -"The following suffix(es) are missing in LDAP. LAM can create them for you." -msgstr "" -"Les suffixes suivants ne sont pas dans le LDAP. LAM peut les créer pour vous." - -#: ../templates/confwiz/ldaptest.php:200 -msgid "" -"The following suffix(es) are missing in LDAP. LAM will create them for you." -msgstr "" -"Les suffixes suivants ne sont pas dans le LDAP. LAM va les créer pour vous." - -#: ../help/help.inc:294 -msgid "The name of your Windows domain or workgroup." -msgstr "Le nom de votre domaine Windows ou groupe de travail." - -#: ../templates/config/confmain.php:92 -msgid "The password is invalid! Please try again." -msgstr "Le mot de passe n'est pas valable. Essayez encore, s'il vous plait." - -#: ../templates/masscreate.php:321 -msgid "There are some errors." -msgstr "Il y'a des erreurs." - -#: ../templates/masscreate.php:322 -msgid "There are some warnings." -msgstr "Il y'a des avertissements." - -#: ../help/help.inc:59 -msgid "" -"These are the minimum and maximum numbers to use for group IDs when creating " -"new group accounts. New group accounts will always get the highest number in " -"use plus one." -msgstr "" -"Ceux-ci sont les nombres minimum et maximum à utiliser pour les IDs de " -"groupes pour la création de comptes groupes nouveaux. Un nouveau groupe aura " -"toujours le nombre utilisé le plus élévé plus un." - -#: ../help/help.inc:61 -msgid "" -"These are the minimum and maximum numbers to use for machine IDs when " -"creating new accounts for Samba hosts. The range should be different from " -"that of users. New host accounts will always get the highest number in use " -"plus one." -msgstr "" -"Ceux-ci sont les nombres minimum et maximum à utiliser pour les IDs de " -"groupes pour la création de comptes groupes nouveaux. Un nouveau groupe aura " -"toujours le nombre utilisé le plus élévé plus un." - -#: ../help/help.inc:57 -msgid "" -"These are the minimum and maximum numbers to use for user IDs when creating " -"new user accounts. The range should be different from that of machines. New " -"user accounts will always get the highest number in use plus one." -msgstr "" -"Ceux-ci sont les nombres minimum et maximum à utiliser pour les IDs " -"d'utilisateurs pour la création de nouveaux comptes utilisateurs. Un nouveau " -"groupe aura toujours le nombre utilisé le plus élévé plus un." - -#: ../templates/domain.php:237 ../templates/confwiz/ldaptest.php:231 -msgid "This Samba 3 domain is already present!" -msgstr "Ce domaine Samba 3 est déjà présent !" - -#: ../templates/confwiz/o_lists.php:104 -msgid "" -"This can be a list of predefined attributes which have a description and are " -"translated or you can write your own description." -msgstr "" -"Ceci peut etre une liste prédéfinie d'attributs qui ont une description et " -"sont traduits ou pour lesquels vous pouvez écrire votre propre description." - -#: ../help/help.inc:116 -msgid "This changes the password of the selected profile." -msgstr "Ceci change le mot de passe du profil sélectionné." - -#: ../help/help.inc:118 -msgid "This changes the profile which is selected by default at login." -msgstr "Ceci change le profil qui sera sélectionné par défaut." - -#: ../templates/confwiz/o_lang.php:102 ../help/help.inc:85 -msgid "" -"This defines the language of the login window and sets this language as the " -"default language. Users can change the language at login." -msgstr "" -"Ceci définit la langue de la fenetre de connexion et rend cette langue la " -"langue par défaut. Les utilisateurs peuvent changer cette langue a la " -"connexion." - -#: ../lib/pdf.inc:509 ../lib/pdf.inc:538 ../lib/pdf.inc:569 -msgid "This document was automatically created by LDAP Account Manager" -msgstr "Ce document a été créé automatiquement par LDAP Account Manager." - -#: ../help/help.inc:78 -msgid "" -"This is a list of valid DN entries of all users that are allowed to login to " -"LDAP Account Manager. The user names have to be separated by semicolons." -msgstr "" -"Ceci est la liste des entrées DNs valables de tout les utilisateurs qui sont " -"autorisés à se connecter à LDAP Account Manager. Les noms d'utilisateurs " -"doivent etre séparés par des point-virgules." - -#: ../help/help.inc:87 -msgid "" -"This is the absolute path to an external script for setting quotas and " -"creating home directories." -msgstr "" -"Ceci est le chemin absolu vers un script externe pour le paramétrage des " -"quotas et la création des répertoires utilisateurs." - -#: ../help/help.inc:63 -msgid "" -"This is the list of attributes to show in the user/group/host list. The " -"entries can either be predefined values, \"#attribute\", or individual ones, " -"\"attribute:description\". Several entries are seperated by semicolons." -msgstr "" -"Ceci est la liste des attributs à afficher dans la liste utilisateurs/" -"groupes/machines. Les entrées peuvent etre des valeurs prédéfinies, " -"\"#attribut\" ou individuelles, \"#attribut:description\". Les entrées " -"multiples seront séparés par des point-virgules." - -#: ../help/help.inc:83 -msgid "" -"This is the number of rows to show in the user/group/host list. If more " -"entries are found the list will be split into several pages." -msgstr "" -"Ceci est le nombre de rangées à montrer dans la liste utilisateur/groupe/" -"machines. Si plus d'entrées sont trouvées, la liste sera divisée en " -"plusieurs pages." - -#: ../help/help.inc:39 -msgid "" -"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." -msgstr "" -"Ceci est l'adresse serveur du serveur LDAP. Utilisez ldap:// pour les " -"connexions LDAP standard et ldaps:// pour les connexions cryptés. Le numéro " -"de port est facultatif." - -#: ../templates/confwiz/o_daemon.php:107 -msgid "" -"This is the server and path where the lamdaemon.pl script is stored. LDAP " -"Account Manager will make a SSH connection to this server with username and " -"password provided at login." -msgstr "" -"Ceci est le server et chemin ou le script lamdaemon.pl est conservé. LDAP " -"Account Manager fera une connexion SSH é ce serveur avec le nom " -"d'utilisateur et le mot de passe fourni à la connexion." - -#: ../help/help.inc:92 -msgid "" -"This is the server where the lamdaemon script is stored. LDAP Account " -"Manager will make a SSH connection to this server with username and password " -"provided at login." -msgstr "" -"Ceci est le server ou le script lamdaemon.pl est conservé. LDAP Account " -"Manager fera une connexion SSH à ce serveur avec le nom d'utilisateur et le " -"mot de passe fourni à la connexion." - -#: ../help/help.inc:51 -msgid "" -"This is the suffix of the LDAP tree from where to search for user/group/host " -"entries. Only entries in these subtrees will be displayed in the user/group/" -"host list. When creating a new accont this will be the DN where it is saved." -msgstr "" -"Ceci est le suffixe de l'arbre LDAP dans lequel on cherchera les entrées " -"d'utilisateur/groupes/machines. Seules les entrées dans ces sous-arbres " -"seront affichées dans la liste utilisateurs/groupes/machines. Lors de la " -"création d'un nouveau compte, ceci sera le DN avec lequel il sera sauvegardé." - -#: ../help/help.inc:104 -msgid "" -"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." -msgstr "" -"Ceci est le temps en minutes pendant lequel LAN mettra en cache ses " -"recherches LDAP. Des temps plus courts chargeront plus LDAP mais reduiront " -"la possibilité que les changements ne soient pas identifiés." - -#: ../templates/confwiz/o_daemon.php:127 ../help/help.inc:108 -msgid "This text will appear on top of every user PDF file." -msgstr "Ce texte apparaitra sur chaque fichier PDF utilisateur." - -#: ../templates/lists/userlink.php:54 -msgid "This user was not found!" -msgstr "Cet utilisateur est introuvable !" - -#: ../help/help.inc:290 -msgid "This will create a new organizational unit under the selected one." -msgstr "" -"Ceci va créer une nouvelle unité organisationnelle sous celle sélectionnée." - -#: ../help/help.inc:292 -msgid "" -"This will delete the selected organizational unit. The OU has to be empty." -msgstr "" -"Ceci va effacer l'unité organisationnelle selectionnée. L'OU doit etre vide." - -#: ../help/help.inc:114 -msgid "This will delete the selected profile." -msgstr "Ceci va effacer le profil sélectionné." - -#: ../help/help.inc:267 -msgid "" -"This will make a profile of the current account. The saved values are the " -"same as in the profile editor. Profile names may contain the letters a-z, 0-" -"9 and -_." -msgstr "" -"Ceci va créer un profil du compte courant. Les valeurs sauvegardées sont les " -"mêmes que dans l'editeur de profil. Les noms de profil peuvent contenir les " -"lettres a-z, 0-9 et -_." - -#: ../templates/account/useredit.php:495 -#: ../templates/account/useredit.php:1466 ../templates/masscreate.php:361 -#: ../templates/masscreate.php:574 ../templates/massdetail.php:140 -#: ../templates/massdetail.php:220 ../help/help.inc:248 ../lib/pdf.inc:81 -msgid "Title" -msgstr "Titre" - -#: ../help/help.inc:249 -msgid "Title of user, Mr., Ms., ..." -msgstr "Titre d'utilisateur (M., Mme, Dr., etc.)." - -#: ../templates/confwiz/server.php:144 -msgid "" -"To connect to your LDAP server please enter now the DN of your " -"administrative user and the password." -msgstr "" -"Pour vous connecter sur votre serveur LDAP, entrez maintenant le DN de votre " -"utilisateur administrateur et son mot de passe." - -#: ../help/help.inc:152 -msgid "" -"To disable login use /bin/false. List of shells is read from lam/config/" -"shells" -msgstr "" -"Pour désactiver les logins, utilisez /bin/false. La liste des shells est lue " -"de lam/config/shells." - -#: ../templates/lists/listusers.php:355 -msgid "Translate GID number to group name" -msgstr "Traduisez le nombre GID dans un nom de groupe" - -#: ../lib/pdf.inc:305 ../lib/pdf.inc:348 -msgid "UID" -msgstr "UID" - -#: ../templates/account/hostedit.php:370 ../templates/account/useredit.php:948 -#: ../help/help.inc:56 ../help/help.inc:141 ../help/help.inc:164 -#: ../lib/ldap.inc:194 ../lib/ldap.inc:217 -msgid "UID number" -msgstr "Numéro UID" - -#: ../templates/account/useredit.php:556 -msgid "" -"UID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"Le numéro UID à changé. Vous devez lancer la commande suivante en tant que " -"root pour changer les droits fichiers existants: " - -#: ../help/help.inc:220 -#, php-format -msgid "" -"UNC-path (\\\\server\\share) of homedirectory. $%s and $%s are replaced with " -"user- and groupname." -msgstr "" -"Chemin UNC (\\\\Serveur\\partage) des comptes utilisateurs. $%s et $%s " -"seront remplacés avec les noms utilisateurs et groupe." - -#: ../templates/ou_edit.php:55 ../templates/ou_edit.php:120 -#: ../templates/ou_edit.php:185 ../templates/ou_edit.php:250 -msgid "Unable to create new OU!" -msgstr "Impossible de créer un nouveau OU !" - -#: ../templates/config/profmanage.php:77 ../templates/confwiz/start.php:63 -msgid "Unable to create new profile!" -msgstr "Impossible de créer un nouveau profil !" - -#: ../templates/ou_edit.php:72 ../templates/ou_edit.php:137 -#: ../templates/ou_edit.php:202 ../templates/ou_edit.php:267 -msgid "Unable to delete OU!" -msgstr "Impossible de créer un OU !" - -#: ../templates/domain.php:304 -msgid "Unable to delete domain!" -msgstr "" - -#: ../templates/config/profmanage.php:99 -#: ../templates/profedit/profiledelete.php:53 -#: ../templates/profedit/profiledelete.php:60 -#: ../templates/profedit/profiledelete.php:67 -msgid "Unable to delete profile!" -msgstr "Impossible d'effacer un profil !" - -#: ../templates/login.php:100 ../templates/config/confmain.php:296 -#: ../templates/confwiz/o_lang.php:134 -msgid "" -"Unable to load available languages. Setting English as default language. For " -"further instructions please contact the Admin of this site." -msgstr "" -"Impossible de charger des langues supplémentaires. L'Anglais sera utilisé en " -"langue par défaut. Pour plus d'instructions, contactez l'administrateur de " -"votre site." - -#: ../lib/config.inc:184 ../lib/config.inc:735 -msgid "Unable to load configuration!" -msgstr "Impossible de charger la configuration !" - -#: ../lib/profiles.inc:252 ../lib/profiles.inc:256 ../lib/profiles.inc:319 -#: ../lib/profiles.inc:323 ../lib/profiles.inc:375 ../lib/profiles.inc:379 -msgid "Unable to load profile!" -msgstr "Impossible de charger le profil !" - -#: ../templates/profedit/profilecreate.php:282 -#: ../templates/profedit/profilecreate.php:347 -#: ../templates/profedit/profilecreate.php:385 ../lib/profiles.inc:451 -#: ../lib/profiles.inc:486 ../lib/profiles.inc:514 -msgid "Unable to save profile!" -msgstr "Impossible de sauvegarder le profil !" - -#: ../templates/account/groupedit.php:531 -#: ../templates/account/groupedit.php:588 -#: ../templates/account/groupedit.php:655 -#: ../templates/account/groupedit.php:751 -#: ../templates/account/groupedit.php:808 -#: ../templates/account/useredit.php:802 ../templates/account/useredit.php:872 -#: ../templates/account/useredit.php:934 -#: ../templates/account/useredit.php:1055 -#: ../templates/account/useredit.php:1172 -#: ../templates/account/useredit.php:1411 -#: ../templates/account/useredit.php:1460 -#: ../templates/account/useredit.php:1540 ../templates/massdetail.php:72 -#: ../templates/massdetail.php:275 -msgid "Undo" -msgstr "Annuler" - -#: ../templates/account/hostedit.php:437 -msgid "Undo changes" -msgstr "Annuler les modifications" - -#: ../templates/account/useredit.php:791 ../templates/account/useredit.php:861 -#: ../templates/account/useredit.php:923 -#: ../templates/account/useredit.php:1044 -#: ../templates/account/useredit.php:1161 -#: ../templates/account/useredit.php:1401 -#: ../templates/account/useredit.php:1449 -#: ../templates/account/useredit.php:1529 -msgid "Unix" -msgstr "Unix" - -#: ../lib/pdf.inc:124 -msgid "Unix User Settings" -msgstr "Paramètres Utilisateur Unix" - -#: ../templates/profedit/profileuser.php:88 -msgid "Unix account" -msgstr "Compte Unix" - -#: ../templates/confwiz/ldaptest.php:483 -msgid "Unix group name" -msgstr "Nom de groupe Unix" - -#: ../lib/pdf.inc:132 ../lib/pdf.inc:141 -msgid "Unix password" -msgstr "Mot de passe Unix" - -#: ../lib/pdf.inc:134 -msgid "Unix password disabled!" -msgstr "Mot de passe Unix desactivé !" - -#: ../templates/account/useredit.php:1059 -msgid "Unix properties" -msgstr "Propriétés Unix" - -#: ../templates/account/useredit.php:354 -#: ../templates/account/useredit.php:1127 -#: ../templates/profedit/profileuser.php:208 ../help/help.inc:280 -msgid "Unix workstations" -msgstr "Machines de travail Unix" - -#: ../templates/profedit/profilecreate.php:131 -msgid "Unix workstations are invalid!" -msgstr "Les machines de travail Unix ne sont pas valables !" - -#: ../templates/account/useredit.php:354 -msgid "Unix workstations is invalid." -msgstr "Les machines de travail Unix n'est pas valable." - -#: ../templates/confwiz/o_daemon.php:108 ../help/help.inc:89 -#: ../help/help.inc:94 -msgid "" -"Use it at your own risk and read the documentation for lamdaemon before you " -"use it!" -msgstr "" -"Utilisez le à vos risques et périls et lisez la documentation pour lamdaemon " -"avant de l'utiliser !" - -#: ../templates/account/useredit.php:1073 -#: ../templates/account/useredit.php:1199 ../help/help.inc:195 -msgid "Use no password" -msgstr "N'utilisez pas de mot de passe !" - -#: ../templates/account/useredit.php:1193 ../help/help.inc:199 -msgid "Use unix password" -msgstr "Utilisez un mot de passe unix" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 ../help/help.inc:226 -msgid "Used blocks" -msgstr "Blocs utilisés" - -#: ../help/help.inc:227 -msgid "Used blocks. 1000 blocks are usually 1MB" -msgstr "Blocs utilisés. 1000 blocs representent d'habitude 1 MB." - -#: ../help/help.inc:306 -msgid "Used for calculating RIDs from UID/GID. Do not change if unsure." -msgstr "" -"Utilisé pour calculer les RIDs à partir des UID/GID. Ne changez rien sans " -"etre sur de ce que vous faites." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 ../help/help.inc:237 -msgid "Used inodes" -msgstr "Inodes utilisés" - -#: ../help/help.inc:238 -msgid "Used inodes (files)" -msgstr "Inodes utilisés (fichiers)" - -#: ../templates/account/useredit.php:1571 -#, php-format -msgid "User %s has been created." -msgstr "Utilisateurs %s sont créés." - -#: ../templates/account/useredit.php:1568 -#, php-format -msgid "User %s has been modified." -msgstr "Utilisateur %s à été modifié" - -#: ../lib/ldap.inc:193 -msgid "User ID" -msgstr "ID Utilisateur" - -#: ../templates/profedit/profilemain.php:128 -msgid "User Profiles" -msgstr "Profils Utilisateurs" - -#: ../templates/account/useredit.php:1211 ../help/help.inc:130 -#: ../help/help.inc:203 -msgid "User can change password" -msgstr "L'utilisateur peut changer de mot de passe." - -#: ../help/help.inc:150 -msgid "User description. If left empty sur- and give name will be used." -msgstr "Description de l'utilisateur. Si vide, des noms vide seront utilisés." - -#: ../lib/pdf.inc:39 ../lib/pdf.inc:496 -msgid "User information page" -msgstr "Page d'information utilisateur" - -#: ../templates/initsuff.php:144 ../templates/initsuff.php:157 -#: ../templates/initsuff.php:163 ../templates/initsuff.php:172 -#: ../templates/masscreate.php:263 -msgid "User list" -msgstr "Liste d'utilisateur" - -#: ../templates/config/confsave.php:154 ../templates/confwiz/o_lists.php:54 -msgid "User list attributes are invalid!" -msgstr "Les attributs de la liste d'utilisateurs ne sont pas valables !" - -#: ../templates/account/useredit.php:1230 ../help/help.inc:205 -msgid "User must change password" -msgstr "L'utilisateur doit changer de mot de passe" - -#: ../templates/masscreate.php:283 -msgid "User name" -msgstr "Nom d'utilisateur" - -#: ../lib/pdf.inc:236 -msgid "User quota(s)" -msgstr "Quota(s) d'utilisateur" - -#: ../templates/masscreate.php:396 -msgid "User suffix" -msgstr "Suffixe utilisateur" - -#: ../templates/lists/listusers.php:411 -msgid "User(s) found" -msgstr "Utilisateur(s) trouvé(s)" - -#: ../help/help.inc:50 -msgid "User/Group/Host suffix" -msgstr "Suffixe Utilisateur/Groupe/Machine" - -#: ../templates/config/confmain.php:123 ../templates/confwiz/server2.php:131 -#: ../lib/config.inc:275 -msgid "UserSuffix" -msgstr "Suffixe Utilisateur" - -#: ../templates/config/confsave.php:104 ../templates/confwiz/server2.php:59 -msgid "UserSuffix is invalid!" -msgstr "Suffixe Utilisateur n'est pas valable !" - -#: ../templates/account/useredit.php:224 ../templates/account/useredit.php:246 -#: ../templates/account/useredit.php:291 ../templates/account/useredit.php:942 -#: ../templates/login.php:148 ../templates/masscreate.php:357 -#: ../templates/masscreate.php:545 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 ../templates/massdetail.php:136 -#: ../templates/massdetail.php:214 ../help/help.inc:139 ../lib/ldap.inc:196 -#: ../lib/pdf.inc:127 ../lib/pdf.inc:181 -msgid "Username" -msgstr "Nom d'utilisateur" - -#: ../templates/account/useredit.php:246 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 -msgid "" -"Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"Nom d'utilisateur contient des caractères invalides. Les caractères valides " -"sont: a-z, A-Z, 0-9 et .-_ !" - -#: ../templates/account/useredit.php:291 ../templates/masscreate.php:545 -#: ../templates/massdetail.php:136 -msgid "Username in use. Selected next free username." -msgstr "Nom d'utilisateur déjà utilisé. Nom disponible suivant sélectionné." - -#: ../help/help.inc:140 -msgid "" -"Username of the user who should be created. Valid characters are: a-z,0-9, .-" -"_. Lam does not allow a number as first character because useradd also does " -"not allow it. Lam does not allow capital letters A-Z because it can cause " -"several problems. If username is already used username will be expanded with " -"a number. The next free number will be used. Warning: Older systems have " -"problems with usernames longer than 8 characters. You can not log in to " -"Windows if username is longer than 16 characters." -msgstr "" -"Nom d'utilisateur de l'utilisateur qui doit étre créé. Les caractères " -"valides sont: a-z, 0-9 et .-_. LAM n'autorise pas de nombre en premier " -"caractère car useradd ne l'autorise pas non plus. LAM n'autorise pas les " -"majuscules car cela peut poser plusieurs problèmes. Si le nom d'utilisateur " -"est déjà utilisé, il sera développé avec un chiffre. Le prochain chiffre " -"disponible sera utilisé. Avertissement: Les vieux systèmes auront des " -"problèmes avec les nom d'utilisateur de plus de 8 caractères. Vous ne " -"pourrez pas vous connecter sur Windows si le nom d'utilisateur est plus long " -"que 16 caractères." - -#: ../templates/main_header.php:73 ../templates/main_header.php:78 -#: ../templates/ou_edit.php:339 ../templates/confwiz/o_lists.php:112 -#: ../help/help.inc:69 -msgid "Users" -msgstr "Utilisateurs" - -#: ../help/help.inc:285 -msgid "Users also being member of the current group." -msgstr "Utilisateurs déjà membres du groupe actuel." - -#: ../help/help.inc:182 -msgid "Users wich are also members of group." -msgstr "Utilisateurs qui sont déjà membres du groupe" - -#: ../templates/confwiz/o_lang.php:145 ../help/help.inc:77 -msgid "Valid users" -msgstr "Utilisateurs valables" - -#: ../templates/account/groupedit.php:619 -#: ../templates/account/hostedit.php:428 -#: ../templates/account/useredit.php:1013 -#: ../templates/account/useredit.php:1134 -msgid "Values with * are required" -msgstr "Les valeurs avec * ne sont pas obligatoires" - -#: ../templates/masscreate.php:284 -msgid "Warnings" -msgstr "Avertissements" - -#: ../templates/masscreate.php:206 ../templates/masscreate.php:236 -#, php-format -msgid "Was unable to create %s." -msgstr "Impossible de créer %s." - -#: ../templates/confwiz/start.php:107 -msgid "Welcome to LAM Configuration wizard." -msgstr "Bienvenue à l'assistant de configuration LAM." - -#: ../help/help.inc:49 -msgid "" -"When using ldaps:// be sure to use exactly the same IP/domain name as in " -"your certificate!" -msgstr "" -"Lors de l'utilisation de ldaps:// vérifiez que vous utilisez la même " -"adresse IP/nom de domaine que dans le certificat !" - -#: ../templates/confwiz/server.php:173 -msgid "Which Samba version do you use?" -msgstr "Quel version de Samba utilisez vous ?" - -#: ../lib/pdf.inc:226 -msgid "Windows Domain" -msgstr "Domaine Windows" - -#: ../lib/pdf.inc:178 -msgid "Windows User Settings" -msgstr "Paramètres Utilisateur Windows" - -#: ../help/help.inc:184 -msgid "Windows clients will show display name as group description." -msgstr "" -"Les clients windows auront le nom d'affichage en tant que description de " -"groupe." - -#: ../help/help.inc:270 -msgid "Windows domain" -msgstr "Domaine Windows" - -#: ../help/help.inc:271 -msgid "Windows domain of host." -msgstr "Domaine windows de la machine." - -#: ../templates/confwiz/ldaptest.php:482 -msgid "Windows group name" -msgstr "Nom de groupe Windows" - -#: ../templates/account/groupedit.php:665 -#: ../templates/account/useredit.php:1282 ../help/help.inc:278 -msgid "Windows groupname" -msgstr "Nom de groupe Windows" - -#: ../lib/pdf.inc:222 -msgid "Windows home directory" -msgstr "Répertoire utilisateur Windows" - -#: ../lib/pdf.inc:186 ../lib/pdf.inc:192 ../lib/pdf.inc:201 -msgid "Windows password" -msgstr "Mot de passe Windows" - -#: ../lib/pdf.inc:188 -msgid "Windows password disabled!" -msgstr "Mot de passe desactivé !" - -#: ../lib/pdf.inc:194 -msgid "Windows password set to unix password." -msgstr "Mot de passe unix utilisé en tant que mot de passe Windows." - -#: ../help/help.inc:283 -msgid "Windows-Domain of group." -msgstr "Domaine Windows du groupe." - -#: ../help/help.inc:223 -msgid "Windows-Domain of user." -msgstr "Domaine Windows de l'utilisateur." - -#: ../templates/profedit/profileuser.php:335 -msgid "Workstations" -msgstr "Machines de travail" - -#: ../templates/login.php:321 ../templates/confwiz/server.php:70 -msgid "Wrong Password/Username combination. Try again." -msgstr "Mauvaise combinaison mot de passe/nom d'utilisateur donnée. Réessayez." - -#: ../templates/profedit/profiledelete.php:73 -#: ../templates/profedit/profiledelete.php:130 -msgid "Wrong or missing type!" -msgstr "Mauvais type ou type vide !" - -#: ../templates/profedit/profilecreate.php:171 -msgid "Wrong parameter for Samba option: Account does not expire!" -msgstr "Mauvais paramètre pour l'option Samba: Le compte n'expire pas !" - -#: ../templates/profedit/profilecreate.php:179 -msgid "Wrong parameter for Samba option: Account is disabled!" -msgstr "Mauvais paramètre pour l'option Samba: Le compte est desactivé !" - -#: ../templates/profedit/profilecreate.php:155 -msgid "Wrong parameter for Samba option: Set Samba Password!" -msgstr "Mauvais paramètre pour l'option Samba: donnez un mot de passe Samba !" - -#: ../templates/profedit/profilecreate.php:163 -msgid "Wrong parameter for Samba option: Set Unix Password for Samba!" -msgstr "" -"Mauvais paramètre pour l'option Samba: Mettez un mot de passe Unix pour " -"Samba !" - -#: ../templates/profedit/profilecreate.php:187 -msgid "Wrong parameter for Samba option: home drive!" -msgstr "Mauvais paramètre pour l'option Samba: lecteur maison" - -#: ../templates/profedit/profilecreate.php:139 -msgid "Wrong parameter for Unix account activation!" -msgstr "Mauvais paramètre pour l'activation de compte Unix !" - -#: ../templates/profedit/profilecreate.php:123 -msgid "Wrong parameter for Unix password expiry!" -msgstr "Mauvais paramètre pour l'expiration du mot de passe Unix !" - -#: ../templates/profedit/profilecreate.php:99 -msgid "Wrong parameter for Unix password warning!" -msgstr "Mauvais paramètre pour l'avertissment du mot de passe Unix !" - -#: ../templates/profedit/profilecreate.php:91 -msgid "Wrong parameter for login disable!" -msgstr "Mauvais paramètre pour la desactivation de login !" - -#: ../templates/account/groupedit.php:436 -#: ../templates/account/hostedit.php:289 ../templates/account/useredit.php:720 -msgid "Wrong profilename given." -msgstr "Mauvais nom de profil donné." - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/hostedit.php:120 ../templates/account/useredit.php:224 -msgid "" -"You are using a capital letters. This can cause problems because not all " -"programs are case-sensitive." -msgstr "" -"Vous utilisez une lettre majuscule. Ceci peut poser des problèmes parce que " -"tous les messages ne sont pas sensibles a la casse." - -#: ../help/help.inc:186 -msgid "" -"You can select a previous defined profile here. This will set all fields to " -"the profile values." -msgstr "" -"Vous pouvez sélectionner un profil défini précédemment ici. Ceci mettra tous " -"les champs aux valeurs du profil." - -#: ../templates/logout.php:62 -msgid "You have been logged off from LDAP Account Manager." -msgstr "Vous avez été déconnecté de LDAP Account Manager." - -#: ../templates/login.php:192 -msgid "Your Language" -msgstr "Votre langue" - -#: ../templates/delete.php:200 -msgid "deleted" -msgstr "effacé" - -#: ../templates/account/useredit.php:492 -#: ../templates/account/useredit.php:1514 ../templates/masscreate.php:363 -#: ../templates/masscreate.php:571 ../templates/massdetail.php:156 -#: ../templates/massdetail.php:268 ../help/help.inc:264 ../help/help.inc:265 -msgid "eMail address" -msgstr "Adresse e-mail" - -#: ../lib/account.inc:276 ../lib/account.inc:278 -msgid "hours" -msgstr "heures" - -#: ../help/help.inc:43 -msgid "" -"ldap://localhost:389 connects to localhost using a standard LDAP connection " -"on port 389" -msgstr "" -"ldap://localhost:389 fait une connexion sur localhost en utilisant une " -"connexion LDAP standard sur le port 389" - -#: ../help/help.inc:45 -msgid "" -"ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP " -"connection." -msgstr "" -"ldaps://141.40.146.133 fait une connexion sur 141.40.146.133 en utilisant " -"une connexion LDAP cryptée." - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "no" -msgstr "non" - -#: ../templates/masscreate.php:279 -msgid "not found!" -msgstr "pas trouvé !" - -#: ../help/help.inc:55 -msgid "" -"ou=People,dc=yourcompany,dc=com will read and store all accounts in this " -"subtree." -msgstr "" -"ou=People,dc=yourcompany,dc=com lira et mettra vos comptes dans ce sous-" -"arbre." - -#: ../templates/config/confmain.php:377 -msgid "required" -msgstr "requis" - -#: ../templates/config/confmain.php:378 -msgid "required for Samba 3 schema" -msgstr "requis pour un schema Samba 3" - -#: ../templates/masscreate.php:283 -msgid "row" -msgstr "rangée" - -#: ../lib/profiles.inc:466 -msgid "saveGroupProfile: account has wrong type!" -msgstr "saveGroupProfile: le compte a le mauvais type !" - -#: ../lib/profiles.inc:501 -msgid "saveHostProfile: account has wrong type!" -msgstr "saveHostProfile: le compte a le mauvais type !" - -#: ../lib/profiles.inc:393 -msgid "saveUserProfile: account has wrong type!" -msgstr "saveUserProfile: le compte a le mauvais type !" - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "yes" -msgstr "oui" diff --git a/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.mo b/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.mo deleted file mode 100644 index d2c6eaa2..00000000 Binary files a/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.mo and /dev/null differ diff --git a/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.po b/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.po deleted file mode 100644 index 50d8e369..00000000 --- a/lam-0.4/locale/hu_HU/LC_MESSAGES/messages.po +++ /dev/null @@ -1,4181 +0,0 @@ -# $Id$ -# -# -# LDAP Account Manager -# -# Ezt a verziot forditotta: Kakasy Gergely -# Utolso modositas: 2004. jan. 25. -# -msgid "" -msgstr "" -"Project-Id-Version: LAM 0.4.2\n" -"POT-Creation-Date: 2004-01-14 17:45+0200\n" -"PO-Revision-Date: 2004-03-17 21:23+0100\n" -"Last-Translator: Lohner Zoltan \n" -"Language-Team: Hungarian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=iso-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../help/help.inc:147 -#, php-format -msgid "$%s and $%s are replaced with username or primary groupname." -msgstr "A $%s és a $%s a felhasználó-és csoportnévvel helyettesítõdnek." - -#: ../lib/account.inc:722 -#: ../lib/account.inc:727 -#, php-format -msgid "%s already exists!" -msgstr "%s már létezik!" - -#: ../templates/confwiz/ldaptest.php:345 -#: ../templates/confwiz/ldaptest.php:353 -#: ../templates/confwiz/ldaptest.php:361 -msgid "(optional)" -msgstr "(nem kötelezõ)" - -#: ../templates/ou_edit.php:95 -#: ../templates/ou_edit.php:160 -#: ../templates/ou_edit.php:225 -#: ../templates/ou_edit.php:290 -#: ../templates/config/confmain.php:369 -#: ../templates/profedit/profiledelete.php:98 -#: ../templates/profedit/profiledelete.php:110 -#: ../templates/profedit/profiledelete.php:122 -#: ../templates/profedit/profilegroup.php:153 -#: ../templates/profedit/profilehost.php:122 -#: ../templates/profedit/profilemain.php:262 -#: ../templates/profedit/profileuser.php:430 -msgid "Abort" -msgstr "Megszakítás" - -#: ../templates/account/useredit.php:1118 -#: ../help/help.inc:197 -msgid "Account deactivated" -msgstr "Azonosító letiltva" - -#: ../help/help.inc:180 -msgid "Account expire date. Format: DD-MM-YYYY" -msgstr "Azonosító lejáratának dátuma. Formátum: NN-HH-ÉÉÉÉ" - -#: ../templates/profedit/profileuser.php:180 -msgid "Account expires on" -msgstr "Az azonosító lejár" - -#: ../templates/account/useredit.php:1249 -#: ../templates/profedit/profileuser.php:218 -#: ../templates/profedit/profileuser.php:267 -#: ../help/help.inc:207 -msgid "Account is deactivated" -msgstr "Azonosító letiltva" - -#: ../templates/config/profmanage.php:155 -#: ../help/help.inc:109 -msgid "Add profile" -msgstr "Profil hozzáadása" - -#: ../templates/account/hostedit.php:131 -msgid "Added $ to hostname." -msgstr "A $ a gazdaállomás nevéhez lett adva." - -#: ../templates/account/groupedit.php:535 -msgid "Additional group members" -msgstr "A csoport további tagjai" - -#: ../templates/account/useredit.php:878 -#: ../templates/account/useredit.php:977 -#: ../templates/profedit/profileuser.php:105 -#: ../help/help.inc:144 -msgid "Additional groups" -msgstr "További csoportok" - -#: ../templates/domain.php:136 -#: ../templates/confwiz/ldaptest.php:372 -#: ../help/help.inc:305 -msgid "Algorithmic RID Base" -msgstr "Algoritmikus RID alap" - -#: ../templates/domain.php:242 -#: ../templates/confwiz/ldaptest.php:252 -msgid "Algorithmic RID base is not a number!" -msgstr "Az algoritmikus RID alap nem szám!" - -#: ../templates/masscreate.php:261 -msgid "All Users have been created" -msgstr "Összes felhasználó létrehozva" - -#: ../templates/massdetail.php:72 -msgid "All changes were reseted" -msgstr "Minden változatás visszavonva" - -#: ../templates/initsuff.php:149 -msgid "All changes were successful." -msgstr "Minden változtatás sikeres volt." - -#: ../lib/ldap.inc:197 -msgid "Allowed hosts" -msgstr "Engedélyezett gazdagépek" - -#: ../templates/account/useredit.php:811 -msgid "Allowed workstations" -msgstr "Engedélyezett munkaállomások" - -#: ../templates/massdetail.php:274 -#: ../templates/lists/listusers.php:360 -msgid "Apply" -msgstr "Próba" - -#: ../templates/config/confmain.php:237 -#: ../templates/confwiz/o_lists.php:131 -#: ../lib/config.inc:286 -msgid "Attributes in Group List" -msgstr "Attribútumok a csoport listában" - -#: ../templates/config/confmain.php:242 -#: ../templates/confwiz/o_lists.php:136 -#: ../lib/config.inc:287 -msgid "Attributes in Host List" -msgstr "Attribútumok a gazdaállomások listájában" - -#: ../templates/config/confmain.php:232 -#: ../templates/confwiz/o_lists.php:126 -#: ../lib/config.inc:285 -msgid "Attributes in User List" -msgstr "Attribútumok a felhasználó listában" - -#: ../templates/confwiz/server2.php:225 -msgid "Attributes in list views" -msgstr "Attribútumok a listázásban" - -#: ../templates/account/useredit.php:896 -msgid "Available groups" -msgstr "Regisztrált csoportok" - -#: ../templates/account/groupedit.php:553 -msgid "Available users" -msgstr "Regisztrált felhasználók" - -#: ../templates/account/useredit.php:826 -msgid "Available workstations" -msgstr "Regisztrált munkaállomások" - -#: ../templates/account/useredit.php:835 -#: ../templates/account/useredit.php:908 -#: ../templates/masscreate.php:330 -#: ../templates/confwiz/server2.php:235 -msgid "Back" -msgstr "Vissza" - -#: ../templates/logout.php:63 -#: ../templates/config/conflogin.php:143 -#: ../templates/config/confsave.php:222 -#: ../templates/confwiz/final.php:55 -msgid "Back to Login" -msgstr "Vissza a bejelentkezéshez" - -#: ../templates/ou_edit.php:309 -#: ../templates/ou_edit.php:313 -msgid "Back to OU-Editor" -msgstr "Vissza az OU szerkesztõbe" - -#: ../templates/profedit/profilecreate.php:65 -#: ../templates/profedit/profilecreate.php:76 -#: ../templates/profedit/profilecreate.php:84 -#: ../templates/profedit/profilecreate.php:92 -#: ../templates/profedit/profilecreate.php:100 -#: ../templates/profedit/profilecreate.php:108 -#: ../templates/profedit/profilecreate.php:116 -#: ../templates/profedit/profilecreate.php:124 -#: ../templates/profedit/profilecreate.php:132 -#: ../templates/profedit/profilecreate.php:140 -#: ../templates/profedit/profilecreate.php:148 -#: ../templates/profedit/profilecreate.php:156 -#: ../templates/profedit/profilecreate.php:164 -#: ../templates/profedit/profilecreate.php:172 -#: ../templates/profedit/profilecreate.php:180 -#: ../templates/profedit/profilecreate.php:188 -#: ../templates/profedit/profilecreate.php:197 -#: ../templates/profedit/profilecreate.php:206 -#: ../templates/profedit/profilecreate.php:215 -#: ../templates/profedit/profilecreate.php:223 -#: ../templates/profedit/profilecreate.php:231 -#: ../templates/profedit/profilecreate.php:247 -#: ../templates/profedit/profilecreate.php:252 -#: ../templates/profedit/profilecreate.php:257 -#: ../templates/profedit/profilecreate.php:262 -#: ../templates/profedit/profilecreate.php:274 -#: ../templates/profedit/profilecreate.php:284 -#: ../templates/profedit/profilecreate.php:297 -#: ../templates/profedit/profilecreate.php:312 -#: ../templates/profedit/profilecreate.php:317 -#: ../templates/profedit/profilecreate.php:322 -#: ../templates/profedit/profilecreate.php:327 -#: ../templates/profedit/profilecreate.php:339 -#: ../templates/profedit/profilecreate.php:349 -#: ../templates/profedit/profilecreate.php:362 -#: ../templates/profedit/profilecreate.php:370 -#: ../templates/profedit/profilecreate.php:378 -#: ../templates/profedit/profilecreate.php:385 -#: ../templates/profedit/profiledelete.php:75 -#: ../templates/profedit/profiledelete.php:83 -#: ../templates/profedit/profiledelete.php:131 -msgid "Back to Profile Editor" -msgstr "Vissza a profilszerkesztõbe" - -#: ../templates/domain.php:280 -#: ../templates/domain.php:307 -msgid "Back to domain list" -msgstr "Vissza a tartománylistához" - -#: ../templates/account/groupedit.php:857 -#: ../templates/delete.php:206 -#: ../templates/delete.php:242 -#: ../templates/lists/userlink.php:56 -msgid "Back to group list" -msgstr "Vissza a csoportlistához" - -#: ../templates/account/hostedit.php:471 -#: ../templates/delete.php:209 -#: ../templates/delete.php:234 -msgid "Back to host list" -msgstr "Vissza a gazdaállomáslistához" - -#: ../templates/account/hostedit.php:100 -msgid "Back to hostlist" -msgstr "Vissza a gazdaállomáslistához" - -#: ../templates/confwiz/o_daemon.php:79 -msgid "Back to lamdaemon and PDF settings" -msgstr "Vissza a lamdaemon és PDF beállításokhoz" - -#: ../templates/confwiz/o_lang.php:76 -msgid "Back to language and admin settings." -msgstr "Vissza a nyelvi és adminisztrátori beállításokhoz" - -#: ../templates/confwiz/server2.php:88 -#: ../templates/confwiz/server.php:85 -msgid "Back to last page" -msgstr "Vissza az elõzõ oldalra" - -#: ../templates/confwiz/o_lists.php:79 -msgid "Back to list settings" -msgstr "Vissza a lista beállításaihoz" - -#: ../templates/config/confsave.php:84 -#: ../templates/config/confsave.php:90 -#: ../templates/config/confsave.php:95 -#: ../templates/config/confsave.php:100 -#: ../templates/config/confsave.php:105 -#: ../templates/config/confsave.php:110 -#: ../templates/config/confsave.php:115 -#: ../templates/config/confsave.php:120 -#: ../templates/config/confsave.php:125 -#: ../templates/config/confsave.php:130 -#: ../templates/config/confsave.php:135 -#: ../templates/config/confsave.php:140 -#: ../templates/config/confsave.php:145 -#: ../templates/config/confsave.php:150 -#: ../templates/config/confsave.php:155 -#: ../templates/config/confsave.php:160 -#: ../templates/config/confsave.php:165 -#: ../templates/config/confsave.php:170 -#: ../templates/config/confsave.php:176 -#: ../templates/config/confsave.php:182 -#: ../templates/config/confsave.php:188 -#: ../templates/config/confsave.php:194 -#: ../templates/config/confsave.php:200 -msgid "Back to preferences..." -msgstr "Vissza a beállításokhoz..." - -#: ../templates/config/profmanage.php:365 -#: ../templates/confwiz/start.php:77 -msgid "Back to profile login" -msgstr "Vissza a belépés profilhoz" - -#: ../templates/confwiz/o_ranges.php:88 -msgid "Back to range settings" -msgstr "Vissza a tartományi beállításokhoz" - -#: ../templates/confwiz/ldaptest.php:182 -#: ../templates/confwiz/ldaptest.php:292 -#: ../templates/confwiz/ldaptest.php:568 -msgid "Back to server settings" -msgstr "Vissza a szerverbeállításokhoz" - -#: ../templates/account/useredit.php:1578 -#: ../templates/delete.php:203 -#: ../templates/delete.php:226 -msgid "Back to user list" -msgstr "Vissza a felhasználólistához" - -#: ../templates/account/useredit.php:109 -msgid "Back to userlist" -msgstr "Vissza a felhasználólistához" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "Block hard quota" -msgstr "Blokkokra vonatkozó kemény kvóta" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "Block hard quota contains invalid characters. Only natural numbers are allowed" -msgstr "A blokkokra vonatkozó kemény kvóta érvénytelen karaktereket tartalmaz. Csak természetes számok használhatóak." - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "Block soft quota" -msgstr "Blokkokra vonatkozó lágy kvóta" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "Block soft quota contains invalid characters. Only natural numbers are allowed" -msgstr "A blokkokra vonatkozó lágy kvóta érvénytelen karaktereket tartalmaz. Csak természetes számok használhatóak." - -#: ../templates/config/confmain.php:163 -#: ../templates/confwiz/server2.php:202 -#: ../help/help.inc:103 -#: ../lib/config.inc:273 -msgid "Cache timeout" -msgstr "Cache idõtúllépés" - -#: ../templates/config/confsave.php:94 -#: ../templates/confwiz/server2.php:74 -msgid "Cache timeout is invalid!" -msgstr "A cache idõtúllépés értéke érvénytelen!" - -#: ../help/help.inc:145 -#: ../help/help.inc:172 -#: ../help/help.inc:174 -#: ../help/help.inc:176 -#: ../help/help.inc:178 -#: ../help/help.inc:212 -#: ../help/help.inc:215 -#: ../help/help.inc:218 -#: ../help/help.inc:220 -#: ../help/help.inc:223 -#: ../help/help.inc:271 -#: ../help/help.inc:281 -#: ../help/help.inc:283 -#: ../help/help.inc:285 -msgid "Can be left empty." -msgstr "Üresen hagyható." - -#: ../templates/account/hostedit.php:99 -msgid "Can not create any hosts." -msgstr "Nem tudok gazdaállomást létrehozni." - -#: ../templates/account/useredit.php:108 -msgid "Can not create any users." -msgstr "Nem tudok felhasználót létrehozni!" - -#: ../templates/delete.php:111 -#: ../templates/domain.php:178 -#: ../templates/domain.php:209 -#: ../templates/initsuff.php:199 -#: ../templates/masscreate.php:120 -#: ../templates/masscreate.php:248 -#: ../templates/masscreate.php:331 -#: ../templates/confwiz/o_ranges.php:153 -#: ../templates/confwiz/o_daemon.php:142 -#: ../templates/confwiz/ldaptest.php:209 -#: ../templates/confwiz/ldaptest.php:402 -#: ../templates/confwiz/ldaptest.php:491 -#: ../templates/confwiz/server2.php:236 -#: ../templates/confwiz/o_lang.php:163 -#: ../templates/confwiz/server.php:197 -#: ../templates/confwiz/o_lists.php:148 -#: ../templates/confwiz/start.php:182 -msgid "Cancel" -msgstr "Mégsem" - -#: ../templates/login.php:311 -#: ../templates/login.php:316 -#: ../templates/confwiz/server.php:68 -#: ../templates/confwiz/server.php:69 -msgid "Cannot connect to specified LDAP-Server. Please try again." -msgstr "Nem tudok csatlakozni a megadott LDAP szerverhez. Kérem, próbálja újra." - -#: ../lib/config.inc:263 -#: ../lib/config.inc:777 -msgid "Cannot open config file!" -msgstr "Nem lehet megnyitni a konfigurációs fájlt!" - -#: ../lib/pdf.inc:113 -msgid "Cellular phone" -msgstr "Mobiltelefon" - -#: ../templates/account/groupedit.php:832 -msgid "Change GID-Number of all users in group to new value" -msgstr "A csoportba tartozó minden felhasználó csoportazonosító számának átállítása új értékre" - -#: ../templates/login.php:262 -msgid "Change Profile" -msgstr "Profil módosítáa" - -#: ../templates/lists/listdomains.php:194 -#: ../templates/lists/listgroups.php:307 -#: ../templates/lists/listhosts.php:295 -#: ../templates/lists/listusers.php:348 -msgid "Change Suffix" -msgstr "Utótag megváltoztatása" - -#: ../templates/config/profmanage.php:302 -#: ../help/help.inc:117 -msgid "Change default profile" -msgstr "Alapértelmezett profil módosítása" - -#: ../templates/config/profmanage.php:322 -#: ../help/help.inc:119 -msgid "Change master password" -msgstr "Master jelszó módosítása" - -#: ../help/help.inc:96 -msgid "Change password" -msgstr "Jelszó módosítása" - -#: ../templates/massdetail.php:189 -#: ../templates/massdetail.php:194 -msgid "Check values." -msgstr "Adatok ellenõrzése." - -#: ../templates/masscreate.php:246 -#: ../lib/config.inc:70 -msgid "Click here if you are not directed to the next page." -msgstr "Kattintson ide, ha nem irányítódik automatikusan a következõ oldalra." - -#: ../help/help.inc:281 -msgid "Comma separated list of unix workstations the user is allowed to login." -msgstr "Azon unix munkaállomások vesszõvel elválasztott nevének listája, melyekre a felhasználó bejelentkezhet." - -#: ../templates/delete.php:110 -msgid "Commit" -msgstr "Ok" - -#: ../templates/login.php:119 -msgid "Configuration Login" -msgstr "Beállítások módosítása" - -#: ../help/help.inc:36 -#: ../help/help.inc:38 -#: ../help/help.inc:50 -#: ../help/help.inc:56 -#: ../help/help.inc:58 -#: ../help/help.inc:60 -#: ../help/help.inc:62 -#: ../help/help.inc:77 -#: ../help/help.inc:82 -#: ../help/help.inc:84 -#: ../help/help.inc:86 -#: ../help/help.inc:91 -#: ../help/help.inc:96 -#: ../help/help.inc:98 -#: ../help/help.inc:103 -#: ../help/help.inc:105 -#: ../help/help.inc:107 -msgid "Configuration Wizard" -msgstr "Beállításvarázsló" - -#: ../templates/login.php:245 -msgid "Configuration profile" -msgstr "Profilok beállítása" - -#: ../templates/confwiz/start.php:135 -msgid "Configuration profiles are protected with a password from unauthorised access. Please enter it here." -msgstr "A beállítás-profilok jelszóval védettek az illetéktelen hozzáféréstõl. Kérem, most adja meg a jelszót." - -#: ../templates/config/conflogin.php:130 -#: ../templates/confwiz/final.php:46 -#: ../templates/confwiz/o_ranges.php:82 -#: ../templates/confwiz/o_ranges.php:98 -#: ../templates/confwiz/o_daemon.php:73 -#: ../templates/confwiz/o_daemon.php:89 -#: ../templates/confwiz/ldaptest.php:168 -#: ../templates/confwiz/ldaptest.php:191 -#: ../templates/confwiz/ldaptest.php:278 -#: ../templates/confwiz/ldaptest.php:302 -#: ../templates/confwiz/ldaptest.php:469 -#: ../templates/confwiz/ldaptest.php:554 -#: ../templates/confwiz/server2.php:82 -#: ../templates/confwiz/server2.php:107 -#: ../templates/confwiz/o_lang.php:70 -#: ../templates/confwiz/o_lang.php:86 -#: ../templates/confwiz/server.php:81 -#: ../templates/confwiz/server.php:106 -#: ../templates/confwiz/o_lists.php:73 -#: ../templates/confwiz/o_lists.php:89 -#: ../templates/confwiz/start.php:73 -#: ../templates/confwiz/start.php:95 -msgid "Configuration wizard" -msgstr "Beállításvarázsló" - -#: ../templates/masscreate.php:281 -msgid "Confirm List" -msgstr "Lista megerõsítése" - -#: ../templates/masscreate.php:122 -msgid "Contiune" -msgstr "Tovább" - -#: ../templates/masscreate.php:206 -msgid "Could not create group!" -msgstr "Nem lehet létrehozni a csoportot!" - -#: ../templates/masscreate.php:236 -msgid "Could not create user!" -msgstr "Nem lehet létrehozni a felhasználót!" - -#: ../templates/delete.php:179 -msgid "Could not delete group. Still users in group:" -msgstr "Nem tudom törölni a csoportot. A csoportba még a következõ felhasználók tartoznak:" - -#: ../templates/delete.php:183 -msgid "Could not delete group:" -msgstr "Nem lehet törölni a csoportot:" - -#: ../templates/delete.php:163 -msgid "Could not delete host:" -msgstr "Nem lehet törölni a gazdaállomást:" - -#: ../templates/delete.php:158 -msgid "Could not delete user:" -msgstr "Nem lehet törölni a felhasználót:" - -#: ../templates/config/profmanage.php:90 -msgid "Could not rename file!" -msgstr "Nem lehet átnevezni a fájlt!" - -#: ../templates/account/groupedit.php:823 -#: ../templates/account/hostedit.php:433 -#: ../templates/account/useredit.php:1555 -#: ../templates/initsuff.php:198 -#: ../templates/masscreate.php:328 -#: ../templates/confwiz/ldaptest.php:208 -#: ../templates/confwiz/ldaptest.php:401 -#: ../templates/confwiz/ldaptest.php:489 -msgid "Create" -msgstr "Létrehoz" - -#: ../templates/account/groupedit.php:837 -#: ../templates/account/hostedit.php:442 -#: ../templates/account/useredit.php:1559 -msgid "Create Account" -msgstr "Azonosító létrehozása" - -#: ../templates/account/groupedit.php:856 -#: ../templates/account/hostedit.php:470 -#: ../templates/account/useredit.php:1577 -#: ../templates/masscreate.php:264 -msgid "Create PDF file" -msgstr "PDF file létrehozása" - -#: ../templates/lists/listgroups.php:319 -msgid "Create PDF for all groups" -msgstr "PDF létrehozása az összes csoporthoz" - -#: ../templates/lists/listhosts.php:308 -msgid "Create PDF for all hosts" -msgstr "PDF létrehozása az összes munkaállomáshoz" - -#: ../templates/lists/listusers.php:374 -msgid "Create PDF for all users" -msgstr "PDF létrehozása az összes felhasználóhoz" - -#: ../templates/lists/listgroups.php:317 -msgid "Create PDF for selected group(s)" -msgstr "PDF létrehozása a kiválasztott csoport(ok)hoz" - -#: ../templates/lists/listhosts.php:306 -msgid "Create PDF for selected host(s)" -msgstr "PDF létrehozása a kiválasztott gazdaállomás(ok)hoz" - -#: ../templates/lists/listusers.php:372 -msgid "Create PDF for selected user(s)" -msgstr "PDF létrehozása a kiválasztott felhaszáló(k)hoz" - -#: ../templates/profedit/profilemain.php:180 -msgid "Create a new Group Profile" -msgstr "Új csoportprofil létrehozása" - -#: ../templates/profedit/profilemain.php:226 -msgid "Create a new Samba Host Profile" -msgstr "Új Samba gazdaaállomásprofil létrehozása" - -#: ../templates/profedit/profilemain.php:136 -msgid "Create a new User Profile" -msgstr "Új felhasználói profil létrehozása" - -#: ../templates/account/groupedit.php:854 -msgid "Create another group" -msgstr "Újabb csoport létrehozása" - -#: ../templates/account/hostedit.php:468 -msgid "Create another host" -msgstr "Újabb gazdaállomás létrehozása" - -#: ../templates/account/useredit.php:1575 -msgid "Create another user" -msgstr "Újabb felhasználó létrehozása" - -#: ../templates/account/groupedit.php:451 -#: ../templates/account/hostedit.php:92 -#: ../templates/account/hostedit.php:310 -#: ../templates/account/useredit.php:101 -#: ../templates/account/useredit.php:741 -msgid "Create new Account" -msgstr "Új azonosító létrehozása" - -#: ../templates/masscreate.php:110 -#: ../templates/masscreate.php:133 -msgid "Create new Accounts" -msgstr "Új azonosítók létrehozása" - -#: ../templates/massdetail.php:163 -msgid "Create new accounts" -msgstr "Új azonosítók létrehozása" - -#: ../templates/masscreate.php:201 -#, php-format -msgid "Created group %s." -msgstr "%s csoport létrehozva." - -#: ../templates/config/profmanage.php:75 -msgid "Created new profile." -msgstr "Új profil létrehozva." - -#: ../templates/masscreate.php:231 -#, php-format -msgid "Created user %s." -msgstr "%s felhasználó létrehozva." - -#: ../templates/masscreate.php:156 -msgid "Creating users. Please stand by ...." -msgstr "Felhasználók létrehozása. Kis türelmet..." - -#: ../lib/pdf.inc:327 -#: ../lib/pdf.inc:373 -#: ../lib/pdf.inc:452 -msgid "DN" -msgstr "DN" - -#: ../help/help.inc:204 -msgid "Date after the user is able to change his password. Format: DD-MM-YYYY" -msgstr "Az a dátum, mely után a felhasználó meg tudja változtatni jelszavát. Formátuma: NN-HH-ÉÉÉÉ" - -#: ../help/help.inc:206 -msgid "Date after the user must change his password. Format: DD-MM-YYYY" -msgstr "Az a dátum, mely után a felhasználónak meg _kell_ változtatnia jelszavát. Formátuma: NN-HH-ÉÉÉ" - -#: ../help/help.inc:172 -msgid "Days before password is to expire that user is warned of pending password expiration. If set value must be 0<." -msgstr "Az a szám, ahány nappal korábban a felhasználó értesítést kap arról, hogy jelszava lejár. Ha beállítja, értéke 0-nál nagyobb legyen." - -#: ../templates/config/confmain.php:270 -#: ../templates/confwiz/o_lang.php:108 -#: ../help/help.inc:84 -#: ../lib/config.inc:289 -msgid "Default language" -msgstr "Alapértelmezett nyelv" - -#: ../templates/domain.php:208 -msgid "Delete" -msgstr "Törlés" - -#: ../templates/delete.php:57 -msgid "Delete Account" -msgstr "Account törlése" - -#: ../templates/lists/listdomains.php:201 -msgid "Delete Domain(s)" -msgstr "Tartomány(ok) törlése" - -#: ../templates/profedit/profilemain.php:205 -msgid "Delete Group Profile" -msgstr "Csoport profil törlése." - -#: ../templates/lists/listgroups.php:314 -msgid "Delete Group(s)" -msgstr "Csoport(ok) törlése" - -#: ../templates/lists/listhosts.php:303 -msgid "Delete Host(s)" -msgstr "Gazdaállomás(ok) törlése" - -#: ../templates/profedit/profilemain.php:250 -msgid "Delete Samba Host Profile" -msgstr "A Samba gazdaállomás profil törlése" - -#: ../templates/profedit/profiledelete.php:44 -#: ../templates/profedit/profilemain.php:160 -msgid "Delete User Profile" -msgstr "Felhasználói profil törlése" - -#: ../templates/delete.php:102 -msgid "Delete also Homedirectories" -msgstr "A Home könyvtárak is törlésre kerülnek" - -#: ../templates/domain.php:199 -msgid "Delete domain(s)" -msgstr "Tartomány(ok) törlése" - -#: ../templates/delete.php:86 -msgid "Delete group(s)" -msgstr "Csoport(ok) törlése" - -#: ../templates/delete.php:80 -msgid "Delete host(s)" -msgstr "Gazdaállomás(ok) törlése" - -#: ../templates/profedit/profiledelete.php:82 -msgid "Delete operation canceled." -msgstr "A törlési mûvelet megszakítva." - -#: ../templates/ou_edit.php:357 -#: ../templates/ou_edit.php:390 -#: ../templates/ou_edit.php:423 -#: ../templates/ou_edit.php:457 -#: ../help/help.inc:291 -msgid "Delete organizational unit" -msgstr "Szervezeti egység törlése" - -#: ../templates/config/profmanage.php:231 -#: ../help/help.inc:113 -msgid "Delete profile" -msgstr "Profil törlése" - -#: ../templates/delete.php:74 -#: ../templates/lists/listusers.php:369 -msgid "Delete user(s)" -msgstr "Felhasználó(k) törlése" - -#: ../templates/profedit/profiledelete.php:55 -#: ../templates/profedit/profiledelete.php:62 -#: ../templates/profedit/profiledelete.php:69 -msgid "Deleted profile:" -msgstr "Törölt profil:" - -#: ../templates/delete.php:238 -msgid "Deleting group(s) canceled." -msgstr "Csoport(ok) törlése megszakítva." - -#: ../templates/delete.php:131 -msgid "Deleting group(s)..." -msgstr "Csoport(ok) törlése..." - -#: ../templates/delete.php:230 -msgid "Deleting host(s) canceled." -msgstr "Gazdaállomás(ok) törlése megszakítva." - -#: ../templates/delete.php:126 -msgid "Deleting host(s)..." -msgstr "Gazdaállomás(ok) törlése..." - -#: ../templates/delete.php:222 -msgid "Deleting user(s) canceled." -msgstr "Felhasználó(k) törlése megszakítva." - -#: ../templates/delete.php:121 -msgid "Deleting user(s)..." -msgstr "Felhasználó(k) törlése..." - -#: ../templates/account/groupedit.php:604 -#: ../lib/ldap.inc:203 -#: ../lib/pdf.inc:300 -#: ../lib/pdf.inc:342 -#: ../lib/pdf.inc:428 -msgid "Description" -msgstr "Leírás" - -#: ../templates/masscreate.php:284 -msgid "Details" -msgstr "Részletek" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/groupedit.php:661 -#: ../templates/account/useredit.php:453 -#: ../templates/account/useredit.php:1180 -#: ../help/help.inc:183 -#: ../lib/pdf.inc:434 -msgid "Display name" -msgstr "Képernyõnév" - -#: ../templates/domain.php:200 -msgid "Do you really want to delete domain(s):" -msgstr "Valóban törli a tartományt?" - -#: ../templates/delete.php:88 -msgid "Do you really want to delete group(s):" -msgstr "Valóban törli a csoportot?" - -#: ../templates/delete.php:82 -msgid "Do you really want to delete host(s):" -msgstr "Valóban törli a munkaállomást?" - -#: ../templates/ou_edit.php:87 -#: ../templates/ou_edit.php:152 -#: ../templates/ou_edit.php:217 -#: ../templates/ou_edit.php:282 -msgid "Do you really want to delete this OU?" -msgstr "Valóban törli ezt az OU-t?" - -#: ../templates/profedit/profiledelete.php:93 -#: ../templates/profedit/profiledelete.php:105 -#: ../templates/profedit/profiledelete.php:117 -msgid "Do you really want to delete this profile?" -msgstr "Valóban törli a profilt?" - -#: ../templates/delete.php:76 -msgid "Do you really want to delete user(s):" -msgstr "Valóban törli a felhasználót?" - -#: ../templates/account/groupedit.php:708 -#: ../templates/account/hostedit.php:397 -#: ../templates/account/useredit.php:1365 -#: ../templates/profedit/profilegroup.php:72 -#: ../templates/profedit/profilehost.php:83 -#: ../templates/profedit/profileuser.php:345 -#: ../help/help.inc:222 -#: ../help/help.inc:282 -#: ../lib/pdf.inc:315 -#: ../lib/pdf.inc:360 -#: ../lib/pdf.inc:446 -msgid "Domain" -msgstr "Tartomány" - -#: ../templates/account/groupedit.php:238 -#: ../templates/account/groupedit.php:698 -#: ../templates/account/groupedit.php:702 -#: ../templates/account/useredit.php:393 -#: ../templates/account/useredit.php:408 -#: ../templates/account/useredit.php:1316 -#: ../templates/account/useredit.php:1320 -#: ../templates/account/useredit.php:1354 -#: ../templates/account/useredit.php:1358 -msgid "Domain Admins" -msgstr "Tartomány adminisztrátorok" - -#: ../templates/account/groupedit.php:236 -#: ../templates/account/groupedit.php:680 -#: ../templates/account/groupedit.php:684 -#: ../templates/account/useredit.php:391 -#: ../templates/account/useredit.php:406 -#: ../templates/account/useredit.php:1298 -#: ../templates/account/useredit.php:1302 -#: ../templates/account/useredit.php:1336 -#: ../templates/account/useredit.php:1340 -msgid "Domain Guests" -msgstr "Tartomány vendégek" - -#: ../templates/domain.php:94 -#: ../templates/lists/listdomains.php:86 -#: ../templates/confwiz/ldaptest.php:333 -#: ../help/help.inc:297 -msgid "Domain SID" -msgstr "Tartomány-SID" - -#: ../templates/domain.php:73 -#: ../templates/confwiz/ldaptest.php:315 -msgid "Domain Settings" -msgstr "Tartomány beállítások" - -#: ../templates/account/groupedit.php:237 -#: ../templates/account/groupedit.php:689 -#: ../templates/account/groupedit.php:693 -#: ../templates/account/useredit.php:392 -#: ../templates/account/useredit.php:407 -#: ../templates/account/useredit.php:1307 -#: ../templates/account/useredit.php:1311 -#: ../templates/account/useredit.php:1345 -#: ../templates/account/useredit.php:1349 -msgid "Domain Users" -msgstr "Tartomány felhasználók" - -#: ../templates/domain.php:303 -msgid "Domain deleted successfully." -msgstr "A tartomány sikeresen törölve." - -#: ../templates/domain.php:259 -msgid "Domain has been modified." -msgstr "A tartomány módosítva." - -#: ../templates/account/hostedit.php:212 -#: ../templates/account/useredit.php:449 -#: ../templates/domain.php:78 -#: ../templates/lists/listdomains.php:85 -#: ../templates/confwiz/ldaptest.php:320 -#: ../help/help.inc:293 -msgid "Domain name" -msgstr "Tartománynév" - -#: ../templates/account/hostedit.php:212 -#: ../templates/account/useredit.php:449 -msgid "Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and -." -msgstr "A tartománynév érvénytelen karaktert tartalmaz. Érvényes karakterek: a-z, A-Z, 0-9 és -." - -#: ../templates/domain.php:232 -#: ../templates/profedit/profilecreate.php:230 -#: ../templates/profedit/profilecreate.php:296 -#: ../templates/profedit/profilecreate.php:369 -#: ../templates/confwiz/ldaptest.php:235 -msgid "Domain name is invalid!" -msgstr "Érvénytelen tartománynév!" - -#: ../templates/config/confmain.php:138 -#: ../templates/confwiz/server2.php:156 -#: ../lib/config.inc:278 -msgid "DomainSuffix" -msgstr "Tartomány utótag" - -#: ../templates/config/confsave.php:119 -#: ../templates/confwiz/server2.php:68 -msgid "DomainSuffix is invalid!" -msgstr "Tartomány utótag érvénytelen!" - -#: ../templates/main_header.php:72 -#: ../templates/ou_edit.php:439 -msgid "Domains" -msgstr "Tartományok" - -#: ../help/help.inc:210 -msgid "Driveletter assigned on windows workstations as homedirectory." -msgstr "A Windows munkaállomásokon ennek megfelelõ betûjelû meghajtó lesz a home könyvtár." - -#: ../lib/ldap.inc:202 -#: ../lib/pdf.inc:105 -msgid "E-Mail" -msgstr "E-Mail" - -#: ../templates/lists/listdomains.php:155 -#: ../templates/lists/listgroups.php:239 -#: ../templates/lists/listhosts.php:243 -#: ../templates/lists/listusers.php:297 -msgid "Edit" -msgstr "Szerkesztés" - -#: ../templates/profedit/profilemain.php:193 -msgid "Edit Group Profile" -msgstr "Csoportprofil szerkesztése" - -#: ../templates/profedit/profilemain.php:238 -msgid "Edit Samba Host Profile" -msgstr "Samba gazdaállomásprofil szerkesztése" - -#: ../templates/profedit/profilemain.php:148 -msgid "Edit User Profile" -msgstr "Felhasználóprofil szerkesztése" - -#: ../templates/account/useredit.php:978 -msgid "Edit groups" -msgstr "Csoportok szerkesztése" - -#: ../templates/account/useredit.php:1278 -msgid "Edit workstations" -msgstr "Munkaállomások szerkesztése" - -#: ../templates/account/useredit.php:496 -#: ../templates/account/useredit.php:1472 -#: ../templates/masscreate.php:377 -#: ../templates/masscreate.php:575 -#: ../templates/massdetail.php:142 -#: ../templates/massdetail.php:226 -#: ../help/help.inc:250 -msgid "Employee type" -msgstr "Alkalmazott típusa" - -#: ../help/help.inc:251 -msgid "Employee type: worker, student, nurse, ..." -msgstr "Alkalmazott típusa: munkás, tanuló, nõvér, ..." - -#: ../templates/login.php:287 -msgid "Empty Password submitted. Try again." -msgstr "Üres a jelszómezõ. Próbálja újra." - -#: ../templates/login.php:139 -msgid "Enter Username and Password for Account" -msgstr "Adja meg a felhasználónevét és jelszavát" - -#: ../templates/masscreate.php:284 -msgid "Errors" -msgstr "Hibák" - -#: ../templates/confwiz/o_lang.php:147 -#: ../templates/confwiz/o_lists.php:109 -#: ../help/help.inc:65 -#: ../help/help.inc:80 -msgid "Example" -msgstr "Minta" - -#: ../templates/confwiz/server.php:124 -#: ../help/help.inc:41 -#: ../help/help.inc:53 -msgid "Examples" -msgstr "Minták" - -#: ../templates/masscreate.php:402 -#: ../help/help.inc:187 -msgid "Expand suffix with primary groupname" -msgstr "Az utótag bõvítése az elsõdleges csoportnévvel" - -#: ../templates/account/useredit.php:1099 -#: ../help/help.inc:179 -msgid "Expire date" -msgstr "Lejárat dátuma" - -#: ../lib/pdf.inc:117 -msgid "Facsimile" -msgstr "Fax" - -#: ../templates/domain.php:277 -#: ../templates/confwiz/ldaptest.php:267 -msgid "Failed to add domain!" -msgstr "Nem sikerült a tartományt hozzáadni!" - -#: ../templates/initsuff.php:141 -#: ../templates/confwiz/ldaptest.php:179 -msgid "Failed to create entry!" -msgstr "Nem sikerült a bejegyzést létrehozni!" - -#: ../templates/domain.php:260 -msgid "Failed to modify domain!" -msgstr "Nem sikerült a módosítani a tartományt!" - -#: ../templates/account/useredit.php:491 -#: ../templates/account/useredit.php:1508 -#: ../templates/masscreate.php:369 -#: ../templates/masscreate.php:570 -#: ../templates/massdetail.php:154 -#: ../templates/massdetail.php:262 -#: ../help/help.inc:262 -#: ../help/help.inc:263 -msgid "Fax number" -msgstr "Fax-szám" - -#: ../templates/main_header.php:58 -#: ../templates/masscreate.php:347 -msgid "File Upload" -msgstr "Fájl feltöltése" - -#: ../help/help.inc:212 -#, php-format -msgid "Filename and -path relative to netlogon-share which should be executed on logon. $%s and $%s are replaced with user- and groupname." -msgstr "A belépéskor végrehajtandó file neve és elérési útja a netlogon-share-hez viszonyítva. A $%s és $%s változók felhasználó- és csoportnévvel lesznek helyettesítve." - -#: ../templates/lists/listgroups.php:208 -#: ../templates/lists/listhosts.php:212 -#: ../templates/lists/listusers.php:254 -msgid "Filter" -msgstr "Szûrõ" - -#: ../templates/account/groupedit.php:525 -#: ../templates/account/groupedit.php:582 -#: ../templates/account/groupedit.php:649 -#: ../templates/account/groupedit.php:745 -#: ../templates/account/groupedit.php:802 -#: ../templates/account/useredit.php:796 -#: ../templates/account/useredit.php:866 -#: ../templates/account/useredit.php:928 -#: ../templates/account/useredit.php:1049 -#: ../templates/account/useredit.php:1166 -#: ../templates/account/useredit.php:1405 -#: ../templates/account/useredit.php:1454 -#: ../templates/account/useredit.php:1534 -msgid "Final" -msgstr "Befejezés" - -#: ../templates/account/useredit.php:954 -#: ../lib/ldap.inc:198 -msgid "First name" -msgstr "Vezetéknév" - -#: ../lib/pdf.inc:440 -msgid "GID" -msgstr "Csoportazonosító, GID" - -#: ../templates/account/groupedit.php:600 -#: ../help/help.inc:58 -#: ../help/help.inc:157 -#: ../lib/ldap.inc:195 -#: ../lib/ldap.inc:207 -#: ../lib/ldap.inc:218 -msgid "GID number" -msgstr "GID szám" - -#: ../templates/account/groupedit.php:334 -msgid "GID-number has changed. You have to run the following command as root in order to change existing file-permissions:" -msgstr "A csoportazonosító szám megváltozott. Root-ként kell futtatnia a következõ utasítást, hogy a jelenleg érvényes file-engedélyeket megváltoztassa:" - -#: ../templates/account/groupedit.php:171 -#: ../templates/account/hostedit.php:186 -#: ../templates/account/hostedit.php:385 -#: ../templates/account/useredit.php:241 -#: ../templates/account/useredit.php:987 -#: ../templates/masscreate.php:555 -#: ../help/help.inc:149 -#: ../help/help.inc:160 -#: ../help/help.inc:169 -msgid "Gecos" -msgstr "Gecos" - -#: ../templates/account/groupedit.php:517 -#: ../templates/account/groupedit.php:574 -#: ../templates/account/groupedit.php:644 -#: ../templates/account/groupedit.php:738 -#: ../templates/account/groupedit.php:795 -#: ../templates/account/useredit.php:790 -#: ../templates/account/useredit.php:860 -#: ../templates/account/useredit.php:922 -#: ../templates/account/useredit.php:1043 -#: ../templates/account/useredit.php:1160 -#: ../templates/account/useredit.php:1400 -#: ../templates/account/useredit.php:1448 -#: ../templates/account/useredit.php:1528 -msgid "General" -msgstr "Általános" - -#: ../templates/account/groupedit.php:594 -#: ../templates/account/hostedit.php:362 -#: ../templates/account/useredit.php:940 -msgid "General properties" -msgstr "Általános jellemzõk" - -#: ../templates/account/useredit.php:1066 -msgid "Generate password" -msgstr "Jelszó generálása" - -#: ../templates/account/useredit.php:236 -#: ../templates/masscreate.php:283 -#: ../templates/masscreate.php:355 -#: ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 -#: ../templates/massdetail.php:208 -#: ../help/help.inc:193 -#: ../lib/pdf.inc:89 -msgid "Given name" -msgstr "Keresztnév" - -#: ../templates/account/useredit.php:236 -#: ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 -msgid "Given name contains invalid characters" -msgstr "A keresztnév érvénytelen karatereket tartalmaz" - -#: ../help/help.inc:194 -msgid "Given name of user. Only letters, - and spaces are allowed." -msgstr "A felhasználó keresztneve. Csak betûk, a - jel, és szóközök használhatóak." - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../help/help.inc:234 -msgid "Grace block period" -msgstr "Grace blokk periódus" - -#: ../help/help.inc:235 -msgid "Grace block period. Most filesystems use a fixed maximum value of 7 days." -msgstr "Grace blokk periódus. A legtöbb filerendszer rögzített maximum értéke 7 nap." - -#: ../help/help.inc:246 -msgid "Grace inode (files) period. Most filesystems use a fixed maximum value of 7 days." -msgstr "Grace inode (file-ok) periódus. A legtöbb filerendszer rögzített maximum értéke 7 nap." - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 -#: ../help/help.inc:245 -msgid "Grace inode period" -msgstr "Grace inode periódus" - -#: ../templates/masscreate.php:279 -msgid "Group" -msgstr "Csoport" - -#: ../templates/account/groupedit.php:850 -#, php-format -msgid "Group %s has been created." -msgstr "%s csoport létrehozva." - -#: ../templates/account/groupedit.php:847 -#, php-format -msgid "Group %s has been modified." -msgstr "%s csoport módosítva." - -#: ../templates/profedit/profilemain.php:172 -msgid "Group Profiles" -msgstr "Csoportprofilok" - -#: ../templates/confwiz/ldaptest.php:484 -msgid "Group SID" -msgstr "Csoport SID" - -#: ../lib/ldap.inc:210 -msgid "Group description" -msgstr "Csoport leírása" - -#: ../help/help.inc:161 -msgid "Group description. If left empty group name will be used." -msgstr "Csoport leírása. Ha üresen hagyja, a csoport nevének felel meg." - -#: ../lib/pdf.inc:415 -#: ../lib/pdf.inc:555 -msgid "Group information page" -msgstr "Csoport információs lapja" - -#: ../templates/config/confsave.php:159 -#: ../templates/confwiz/o_lists.php:57 -msgid "Group list attributes are invalid!" -msgstr "A csoportlista attribútumai érvénytelenek!" - -#: ../lib/ldap.inc:209 -msgid "Group member DNs" -msgstr "Csoporttagok DN-jei" - -#: ../templates/account/groupedit.php:538 -#: ../help/help.inc:181 -#: ../help/help.inc:284 -#: ../lib/ldap.inc:208 -msgid "Group members" -msgstr "A csoport tagjai" - -#: ../lib/ldap.inc:206 -msgid "Group name" -msgstr "Csoport név" - -#: ../help/help.inc:156 -msgid "Group name of the group which should be created. Valid characters are: a-z,0-9, .-_. Lam does not allow a number as first character because groupadd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. If groupname is already used groupname will be expanded with a number. The next free number will be used." -msgstr "A létrehozásra kerülõ csoport neve. Érvényes karakterek: a-z, 0-9, .-_. A Lam nem fogad el elsõ karakterként számot, mert a csoport hozzáadása parancs sem fogadja el. A Lam nem engedi a nagybetûs A-Z karakterek használatát, mert ez különbözõ problémák forrása lehet. Ha a csoportnév már létezik, egy számmmal lesz kiegészítve. A legközelebbi, még nem használt számmal." - -#: ../templates/masscreate.php:406 -#: ../help/help.inc:189 -msgid "Group suffix" -msgstr "Csoport utótag" - -#: ../lib/pdf.inc:146 -msgid "Group(s)" -msgstr "Csoport(ok)" - -#: ../templates/lists/listgroups.php:353 -msgid "Group(s) found" -msgstr "Csoport található" - -#: ../templates/config/confmain.php:128 -#: ../templates/confwiz/server2.php:139 -#: ../lib/config.inc:276 -msgid "GroupSuffix" -msgstr "Csoportutótag" - -#: ../templates/config/confsave.php:109 -#: ../templates/confwiz/server2.php:62 -msgid "GroupSuffix is invalid!" -msgstr "Csoportutótag érvénytelen!" - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/groupedit.php:168 -#: ../templates/account/groupedit.php:208 -#: ../templates/account/groupedit.php:596 -#: ../help/help.inc:155 -msgid "Groupname" -msgstr "Csoportnév" - -#: ../templates/account/groupedit.php:208 -msgid "Groupname already in use. Selected next free groupname." -msgstr "A csoportnév már létezik. A legközelebb álló, még nem használt nevet választom helyette." - -#: ../templates/account/groupedit.php:168 -msgid "Groupname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !" -msgstr "A csoportnév érvénytelen karaktert tartalmaz. Érvényes karakterek: a-z, A-Z, 0-9, ., - és _!" - -#: ../templates/main_header.php:74 -#: ../templates/main_header.php:79 -#: ../templates/ou_edit.php:372 -#: ../templates/confwiz/o_lists.php:115 -#: ../help/help.inc:72 -msgid "Groups" -msgstr "Csoportok" - -#: ../lib/pdf.inc:243 -msgid "Hard block" -msgstr "Kemény blokk" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:101 -#: ../templates/profedit/profileuser.php:378 -#: ../help/help.inc:231 -#: ../help/help.inc:232 -msgid "Hard block limit" -msgstr "Kemény blokk határa" - -#: ../lib/pdf.inc:244 -msgid "Hard inode" -msgstr "Kemény inode" - -#: ../help/help.inc:243 -msgid "Hard inode (files) limit" -msgstr "Kemény inode (file-ok) határa" - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 -#: ../templates/profedit/profilegroup.php:103 -#: ../templates/profedit/profileuser.php:380 -#: ../help/help.inc:242 -msgid "Hard inode limit" -msgstr "Kemény inode határa" - -#: ../templates/account/hostedit.php:222 -#: ../templates/account/useredit.php:585 -msgid "Have to add objectClass posixAccount." -msgstr "PosixAzonosító objektumOsztályt kell hozzáadni." - -#: ../templates/account/groupedit.php:330 -msgid "Have to add objectClass posixGroup." -msgstr "PosixCsoport objektumOsztályt kell hozzáadni." - -#: ../templates/account/hostedit.php:226 -msgid "Have to add objectClass sambaAccount. Host with sambaSamAccount will be set back to sambaAccount." -msgstr "SambaAzonosító objektumOsztályt kell hozzáadni. A gazdaállomás sambaSamAzonosítója sambaAzonosítóra lesz visszaállítva." - -#: ../templates/account/useredit.php:594 -msgid "Have to add objectClass sambaAccount. User with sambaSamAccount will be set back to sambaAccount." -msgstr "SambaAzonosító objetumOsztályt kell hozzáadni. A felhasználó sambaSamAzonosítója sambaAzonosítóra lesz visszaállítva." - -#: ../templates/account/groupedit.php:328 -msgid "Have to add objectClass sambaGroupMapping." -msgstr "SambaCsoportTérképezés objektumOsztályt kell hozzáadni." - -#: ../templates/account/hostedit.php:224 -msgid "Have to add objectClass sambaSamAccount. Host with sambaAccount will be updated." -msgstr "SambaSamAzonosító objektumOsztályt kell hozzáadni. A gazdaállomás sambaAzonosítója frissítve lesz." - -#: ../templates/account/useredit.php:590 -msgid "Have to add objectClass sambaSamAccount. User with sambaAccount will be updated." -msgstr "sambaSamAccount objektumOsztályt kell hozzáadni. A felhasználó sambaAccount -ja frissítve lesz." - -#: ../templates/account/useredit.php:587 -msgid "Have to add objectClass shadowAccount." -msgstr "ÁrnyékAzonosító objektumOsztályt kell hozzáadni." - -#: ../templates/account/groupedit.php:551 -#: ../templates/account/groupedit.php:599 -#: ../templates/account/groupedit.php:602 -#: ../templates/account/groupedit.php:606 -#: ../templates/account/groupedit.php:617 -#: ../templates/account/groupedit.php:631 -#: ../templates/account/groupedit.php:664 -#: ../templates/account/groupedit.php:706 -#: ../templates/account/groupedit.php:723 -#: ../templates/account/groupedit.php:762 -#: ../templates/account/groupedit.php:763 -#: ../templates/account/groupedit.php:764 -#: ../templates/account/groupedit.php:765 -#: ../templates/account/groupedit.php:766 -#: ../templates/account/groupedit.php:819 -#: ../templates/account/hostedit.php:358 -#: ../templates/account/hostedit.php:368 -#: ../templates/account/hostedit.php:374 -#: ../templates/account/hostedit.php:383 -#: ../templates/account/hostedit.php:388 -#: ../templates/account/hostedit.php:415 -#: ../templates/account/hostedit.php:426 -#: ../templates/account/hostedit.php:452 -#: ../templates/account/useredit.php:824 -#: ../templates/account/useredit.php:894 -#: ../templates/account/useredit.php:946 -#: ../templates/account/useredit.php:952 -#: ../templates/account/useredit.php:958 -#: ../templates/account/useredit.php:964 -#: ../templates/account/useredit.php:974 -#: ../templates/account/useredit.php:980 -#: ../templates/account/useredit.php:985 -#: ../templates/account/useredit.php:990 -#: ../templates/account/useredit.php:999 -#: ../templates/account/useredit.php:1011 -#: ../templates/account/useredit.php:1025 -#: ../templates/account/useredit.php:1077 -#: ../templates/account/useredit.php:1082 -#: ../templates/account/useredit.php:1087 -#: ../templates/account/useredit.php:1092 -#: ../templates/account/useredit.php:1097 -#: ../templates/account/useredit.php:1116 -#: ../templates/account/useredit.php:1122 -#: ../templates/account/useredit.php:1130 -#: ../templates/account/useredit.php:1183 -#: ../templates/account/useredit.php:1197 -#: ../templates/account/useredit.php:1203 -#: ../templates/account/useredit.php:1209 -#: ../templates/account/useredit.php:1228 -#: ../templates/account/useredit.php:1247 -#: ../templates/account/useredit.php:1253 -#: ../templates/account/useredit.php:1260 -#: ../templates/account/useredit.php:1265 -#: ../templates/account/useredit.php:1270 -#: ../templates/account/useredit.php:1275 -#: ../templates/account/useredit.php:1280 -#: ../templates/account/useredit.php:1363 -#: ../templates/account/useredit.php:1384 -#: ../templates/account/useredit.php:1421 -#: ../templates/account/useredit.php:1422 -#: ../templates/account/useredit.php:1423 -#: ../templates/account/useredit.php:1424 -#: ../templates/account/useredit.php:1425 -#: ../templates/account/useredit.php:1470 -#: ../templates/account/useredit.php:1476 -#: ../templates/account/useredit.php:1482 -#: ../templates/account/useredit.php:1488 -#: ../templates/account/useredit.php:1494 -#: ../templates/account/useredit.php:1500 -#: ../templates/account/useredit.php:1506 -#: ../templates/account/useredit.php:1512 -#: ../templates/account/useredit.php:1518 -#: ../templates/account/useredit.php:1551 -#: ../templates/domain.php:86 -#: ../templates/domain.php:102 -#: ../templates/domain.php:113 -#: ../templates/domain.php:121 -#: ../templates/domain.php:129 -#: ../templates/domain.php:141 -#: ../templates/domain.php:159 -#: ../templates/masscreate.php:395 -#: ../templates/masscreate.php:400 -#: ../templates/masscreate.php:405 -#: ../templates/masscreate.php:410 -#: ../templates/masscreate.php:418 -#: ../templates/massdetail.php:206 -#: ../templates/massdetail.php:212 -#: ../templates/massdetail.php:218 -#: ../templates/massdetail.php:224 -#: ../templates/massdetail.php:230 -#: ../templates/massdetail.php:236 -#: ../templates/massdetail.php:242 -#: ../templates/massdetail.php:248 -#: ../templates/massdetail.php:254 -#: ../templates/massdetail.php:260 -#: ../templates/massdetail.php:266 -#: ../templates/massdetail.php:272 -#: ../templates/ou_edit.php:352 -#: ../templates/ou_edit.php:365 -#: ../templates/ou_edit.php:385 -#: ../templates/ou_edit.php:398 -#: ../templates/ou_edit.php:418 -#: ../templates/ou_edit.php:431 -#: ../templates/ou_edit.php:452 -#: ../templates/ou_edit.php:465 -#: ../templates/config/conflogin.php:119 -#: ../templates/config/confmain.php:116 -#: ../templates/config/confmain.php:125 -#: ../templates/config/confmain.php:130 -#: ../templates/config/confmain.php:135 -#: ../templates/config/confmain.php:140 -#: ../templates/config/confmain.php:156 -#: ../templates/config/confmain.php:172 -#: ../templates/config/confmain.php:186 -#: ../templates/config/confmain.php:203 -#: ../templates/config/confmain.php:212 -#: ../templates/config/confmain.php:221 -#: ../templates/config/confmain.php:234 -#: ../templates/config/confmain.php:239 -#: ../templates/config/confmain.php:244 -#: ../templates/config/confmain.php:259 -#: ../templates/config/confmain.php:299 -#: ../templates/config/confmain.php:313 -#: ../templates/config/confmain.php:317 -#: ../templates/config/confmain.php:331 -#: ../templates/config/confmain.php:345 -#: ../templates/config/confmain.php:353 -#: ../templates/config/profmanage.php:163 -#: ../templates/config/profmanage.php:210 -#: ../templates/config/profmanage.php:235 -#: ../templates/config/profmanage.php:264 -#: ../templates/config/profmanage.php:307 -#: ../templates/config/profmanage.php:330 -#: ../templates/config/profmanage.php:358 -#: ../templates/profedit/profilegroup.php:84 -#: ../templates/profedit/profilegroup.php:106 -#: ../templates/profedit/profilegroup.php:107 -#: ../templates/profedit/profilegroup.php:108 -#: ../templates/profedit/profilegroup.php:109 -#: ../templates/profedit/profilegroup.php:110 -#: ../templates/profedit/profilegroup.php:145 -#: ../templates/profedit/profilehost.php:75 -#: ../templates/profedit/profilehost.php:100 -#: ../templates/profedit/profilehost.php:114 -#: ../templates/profedit/profileuser.php:100 -#: ../templates/profedit/profileuser.php:112 -#: ../templates/profedit/profileuser.php:122 -#: ../templates/profedit/profileuser.php:134 -#: ../templates/profedit/profileuser.php:147 -#: ../templates/profedit/profileuser.php:154 -#: ../templates/profedit/profileuser.php:161 -#: ../templates/profedit/profileuser.php:168 -#: ../templates/profedit/profileuser.php:175 -#: ../templates/profedit/profileuser.php:200 -#: ../templates/profedit/profileuser.php:210 -#: ../templates/profedit/profileuser.php:223 -#: ../templates/profedit/profileuser.php:242 -#: ../templates/profedit/profileuser.php:252 -#: ../templates/profedit/profileuser.php:262 -#: ../templates/profedit/profileuser.php:272 -#: ../templates/profedit/profileuser.php:306 -#: ../templates/profedit/profileuser.php:313 -#: ../templates/profedit/profileuser.php:320 -#: ../templates/profedit/profileuser.php:327 -#: ../templates/profedit/profileuser.php:337 -#: ../templates/profedit/profileuser.php:362 -#: ../templates/profedit/profileuser.php:383 -#: ../templates/profedit/profileuser.php:384 -#: ../templates/profedit/profileuser.php:385 -#: ../templates/profedit/profileuser.php:386 -#: ../templates/profedit/profileuser.php:387 -#: ../templates/profedit/profileuser.php:422 -#: ../templates/confwiz/o_ranges.php:125 -#: ../templates/confwiz/o_ranges.php:134 -#: ../templates/confwiz/o_ranges.php:143 -#: ../templates/confwiz/ldaptest.php:325 -#: ../templates/confwiz/ldaptest.php:338 -#: ../templates/confwiz/ldaptest.php:349 -#: ../templates/confwiz/ldaptest.php:357 -#: ../templates/confwiz/ldaptest.php:365 -#: ../templates/confwiz/ldaptest.php:376 -#: ../templates/confwiz/ldaptest.php:393 -msgid "Help" -msgstr "Segítség" - -#: ../help/help.inc:145 -msgid "Hold the CTRL-key to (de)select multiple groups." -msgstr "Tartsa lenyomva a CTRL-billentyût több csoport kijelöléséhez, illetve a kijelölés megszûntetéséhez." - -#: ../templates/profedit/profileuser.php:120 -#: ../lib/pdf.inc:158 -msgid "Home Directory" -msgstr "Home könyvtár" - -#: ../templates/account/useredit.php:562 -msgid "Home Directory has changed. You have to run the following command as root in order to change the existing homedirectory:" -msgstr "A home könyvtár megváltozott. Root-ként kell futtatnia a következõ utasítást , hogy megváltoztassa a jelenlegi home-könyvtárat:" - -#: ../templates/account/useredit.php:296 -#: ../templates/account/useredit.php:298 -#: ../templates/account/useredit.php:982 -#: ../help/help.inc:146 -#: ../lib/ldap.inc:200 -msgid "Home directory" -msgstr "Home könyvtár" - -#: ../templates/account/useredit.php:1255 -#: ../templates/profedit/profileuser.php:280 -#: ../help/help.inc:209 -#: ../lib/pdf.inc:206 -msgid "Home drive" -msgstr "Home meghajtó" - -#: ../templates/account/useredit.php:438 -#: ../templates/account/useredit.php:440 -#: ../templates/account/useredit.php:1262 -#: ../templates/profedit/profileuser.php:311 -#: ../help/help.inc:219 -msgid "Home path" -msgstr "A home könyvtár elérési útvonala" - -#: ../templates/account/useredit.php:440 -msgid "Home path is invalid." -msgstr "A home könyvtár elérési útvonala érvénytelen!" - -#: ../templates/profedit/profilecreate.php:75 -msgid "Homedir is invalid!" -msgstr "A home könyvtár érvénytelen!" - -#: ../templates/account/useredit.php:298 -msgid "Homedirectory contains invalid characters." -msgstr "A home könyvtár neve érvénytelen karaktereket tartalmaz." - -#: ../templates/account/hostedit.php:464 -#, php-format -msgid "Host %s has been created." -msgstr "%s gazdaállomás létrehozva." - -#: ../templates/account/hostedit.php:461 -#, php-format -msgid "Host %s has been modified." -msgstr "%s gazdaállomás módosítva." - -#: ../templates/profedit/profilehost.php:63 -msgid "Host attributes" -msgstr "Gazdaállomás attribútumai" - -#: ../lib/ldap.inc:216 -msgid "Host description" -msgstr "Gazdaállomás leírása" - -#: ../help/help.inc:170 -msgid "Host description. If left empty host name will be used." -msgstr "A gazdaállomás leírása. Ha üresen hagyja, a gazda nevét használom helyette." - -#: ../templates/config/confsave.php:164 -#: ../templates/confwiz/o_lists.php:60 -msgid "Host list attributes are invalid!" -msgstr "Gazdaállomás listájának attribútumai érvénytelenek!" - -#: ../templates/account/hostedit.php:131 -#: ../templates/account/hostedit.php:137 -#: ../templates/account/hostedit.php:177 -#: ../templates/account/hostedit.php:364 -#: ../help/help.inc:162 -#: ../lib/ldap.inc:214 -msgid "Host name" -msgstr "Gazdaállomás név" - -#: ../help/help.inc:163 -msgid "Host name of the host which should be created. Valid characters are: a-z,0-9, .-_$. Lam does not allow a number as first character because useradd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. Hostnames are always ending with $. If last character is not $ it will be added. If hostname is already used hostname will be expanded with a number. The next free number will be used." -msgstr "A létrehozásra kerülõ gazdaállomás neve. Érvényes karakterek: a-z, 0-9, .-_$. A Lam nem fogad el elsõ karakterként számot, mert a felhasználó hozzáadása parancs sem fogadja el. A Lam nem engedi a nagybetûs A-Z karakterek használatát, mert ez különbözõ problémák forrása lehet. A gazdanevek mindig $ karakterrel végzõdnek. Ha az utolsó karakter nem \"$\", akkor ez automatikusan hozzáadódik. Ha a gazdanév már létezik, a név egy számmmal lesz kiegészítve. A legközelebbi, még nem használt számmal." - -#: ../lib/ldap.inc:213 -msgid "Host username" -msgstr "A gazdán használt felhasználónév" - -#: ../templates/config/confmain.php:133 -#: ../templates/confwiz/server2.php:147 -#: ../lib/config.inc:277 -msgid "HostSuffix" -msgstr "Gazda utótag" - -#: ../templates/config/confsave.php:114 -#: ../templates/confwiz/server2.php:65 -msgid "HostSuffix is invalid!" -msgstr "Gazda utótag érvénytelen!" - -#: ../templates/account/hostedit.php:120 -msgid "Hostname" -msgstr "Gazdaállomás neve" - -#: ../templates/account/hostedit.php:177 -msgid "Hostname already in use. Selected next free hostname." -msgstr "A gazdanév már létezik. A legközelebb álló, nem használt nevet választom helyette." - -#: ../templates/account/hostedit.php:137 -msgid "Hostname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !" -msgstr "Munkaállomásnév érvénytelen karaktereket tartalmaz. Érvényes karaketerek: a-z, A-Z, 0-9 és .-_ !" - -#: ../templates/main_header.php:75 -#: ../templates/main_header.php:80 -#: ../templates/confwiz/o_lists.php:118 -#: ../help/help.inc:75 -msgid "Hosts" -msgstr "Gazdaállomások" - -#: ../lib/account.inc:894 -#: ../lib/account.inc:897 -msgid "ID is already in use" -msgstr "Az ID már foglalt" - -#: ../lib/account.inc:878 -#: ../lib/account.inc:879 -#: ../lib/account.inc:890 -#: ../lib/account.inc:894 -#: ../lib/account.inc:897 -msgid "ID-Number" -msgstr "ID szám" - -#: ../templates/masscreate.php:383 -msgid "If Primary group does not exist it will be created." -msgstr "Ha az elsõdleges csoport nem létezik, létrehozom." - -#: ../templates/masscreate.php:381 -msgid "If Primary group is not given it'll used from profile." -msgstr "Ha az elsõdleges csoportot nem adja meg, a profilban érvényes változatot használom." - -#: ../help/help.inc:190 -msgid "If a not yet existing group is defined in csv-file, a new group in the selected group suffix will be created." -msgstr "Ha még nem létezõ csoport szerepel a csv-file-ban, a kijelölt csoport utótagban egy új csoport kerül létrehozásra." - -#: ../help/help.inc:269 -msgid "If a not yet existing group is defined in csv-file, a new group with the selected group profile will be created." -msgstr "Ha a csv-file-ban még nem létezõ csoport szerepel, egy új csoportot hozok létre a kijelölt csoport-profillal." - -#: ../help/help.inc:198 -msgid "If checked account will be deactivated by putting a ! before the encrypted password." -msgstr "Ha bejelöli, az azonosítót letiltom, kódolt jelszava elé egy ! karaktert helyezve." - -#: ../help/help.inc:208 -msgid "If checked account will be deactivated. (Setting D-Flag)" -msgstr "Ha bejelöli, az azonosítót letiltom. (A D-Flag beállítása)" - -#: ../help/help.inc:196 -msgid "If checked no password will be used." -msgstr "Ha bejelöli, akkor ide nem tartozik majd jelszó." - -#: ../help/help.inc:202 -msgid "If checked password does not expire. (Setting X-Flag)" -msgstr "Ha bejelöli, a jelszavak nem járnak le sohasem. (Az X-Flag beállítása)" - -#: ../help/help.inc:200 -msgid "If checked unix password will also be used as samba password." -msgstr "Ha bejelöli, a unix jelszó szolgál majd samba jelszóként is." - -#: ../help/help.inc:158 -#, php-format -msgid "If empty GID number will be generated automaticly. Valid values are between %s and %s." -msgstr "Ha üresen hagyja, a GID szám automatikusan keletkezik. Használható értékek %s és %s között." - -#: ../help/help.inc:142 -#: ../help/help.inc:165 -#, php-format -msgid "If empty UID number will be generated automaticly. Valid values are between %s and %s." -msgstr "Ha üresen hagyja, az UID szám automatikusan keletkezik. Használható értékek %s és %s között." - -#: ../help/help.inc:188 -msgid "If selected users will be added with OUs expanded with their primary group. E.g. if a user is in group admin the user suffix will be ou=admin,+user suffix." -msgstr "Ha kijelöli, a felhasználók OU-jának létrehozása elsõdleges csoportnevükkel kibõvítve történik. Pl. ha egy felhasználó az admin csoport tagja, a felhasználói utótag ou=admin,+user utótag lesz." - -#: ../help/help.inc:127 -msgid "If set to \"yes\" the Windows password will be the same as the Unix one." -msgstr "Ha \"igen\"-re állítja, a Windows jelszó ugyanaz lesz, mint a Unix-on használatos." - -#: ../help/help.inc:131 -msgid "If set to \"yes\" the user will be able to change his Windows password." -msgstr "Ha \"igen\"-re állítja, a felhasználó megváltoztathatja Windows-jelszavát." - -#: ../help/help.inc:129 -#: ../help/help.inc:133 -msgid "If unsure say \"yes\" here." -msgstr "Ha bizonytalan, válaszoljon \"igen\"-t." - -#: ../help/help.inc:99 -msgid "If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise \"no\"." -msgstr "Ha Samba 3.x-et használ az új LDAP sémával, akkor most válaszoljon \"igen\"-nel, egyébként \"nem\"-mel." - -#: ../templates/confwiz/o_lang.php:146 -msgid "If you want more than one user to login to LAM please enter its DN(s) here. Multiple entries are seperated by semicolons." -msgstr "Ha azt akarja, hogy egynél több felhasználó léphessen be a LAM-ba, akkor kérem, itt adja meg DN-jét (DN-jeit). Több bejegyzést pontosvesszõvel elválasztva kell megadni." - -#: ../help/help.inc:97 -msgid "If you want to change the current preferences password, please enter it here." -msgstr "Ha a jelenlegi beállításokat védõ jelszót meg akarja változtatni, kérem, most adja meg." - -#: ../help/help.inc:120 -msgid "If you want to change your master configuration password, please enter it here." -msgstr "Ha a mester beállításokat védõ jelszót meg akarja változtatni, kérem, most adja meg." - -#: ../templates/confwiz/o_lists.php:106 -msgid "If you want to input your own description it would look like this: \"attribute:description\"." -msgstr "Ha Ön saját leírást óhajt megadni, ilyen formában nézhet ki: \"attribútum:leírás\"." - -#: ../templates/confwiz/o_daemon.php:105 -msgid "If you want to manage quotas and homedirectories with LAM you need to setup lamdaemon.pl." -msgstr "Ha a kvótákat és a home-könyvtárakat akarja szabályozni a LAM segítségével, akkor be kell állítania a lamdaemon.pl-t." - -#: ../help/help.inc:279 -msgid "If you want to use a well known RID you can selcet a well known group." -msgstr "Ha egy jól ismert RID-t akar használni, egy jól ismert csoportot választhat." - -#: ../templates/confwiz/ldaptest.php:490 -msgid "Ignore" -msgstr "Figyelmen kívül hagyni" - -#: ../templates/masscreate.php:284 -msgid "Infos" -msgstr "Információk" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "Inode hard quota" -msgstr "Inode kemény kvóta" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "Inode hard quota contains invalid characters. Only natural numbers are allowed" -msgstr "Az inode kemény kvóta érvénytelen karaktereket tartalmaz. Csak természetes számok használhatóak." - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "Inode soft quota" -msgstr "Inode lágy kvóta" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "Inode soft quota contains invalid characters. Only natural numbers are allowed" -msgstr "Az inode lágy kvóta érvénytelen karaktereket tartalmaz. Csak természetes számok használhatóak." - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/useredit.php:453 -msgid "Inserted gecos-field as display name." -msgstr "A gecos-mezõ képernyõnévként beillesztve." - -#: ../templates/account/groupedit.php:171 -msgid "Inserted groupname in gecos-field." -msgstr "A csoportnév a gecos-mezõbe illesztve." - -#: ../templates/account/hostedit.php:186 -msgid "Inserted hostname in gecos-field." -msgstr "A gazdaállomás neve a gecos-mezõbe illesztve." - -#: ../templates/account/useredit.php:241 -#: ../templates/masscreate.php:555 -msgid "Inserted sur- and given name in gecos-field." -msgstr "A vezeték- és keresztnév a gecos-mezõbe illesztve." - -#: ../templates/account/useredit.php:438 -msgid "Inserted user- or groupname in HomePath." -msgstr "A felhasználó- vagy csoportnév a home könyvtár elérési útvonalába illesztve." - -#: ../templates/account/useredit.php:435 -msgid "Inserted user- or groupname in profilepath." -msgstr "A felhasználó- vagy csoportnév a profil elérési útvonalába illesztve." - -#: ../templates/account/useredit.php:432 -msgid "Inserted user- or groupname in scriptpath." -msgstr "A felhasználó- vagy csoportnév a szkript elérési útvonalába illesztve." - -#: ../templates/massdetail.php:184 -msgid "Invalid Value!" -msgstr "Érvénytelen érték!" - -#: ../templates/profedit/profilecreate.php:273 -#: ../templates/profedit/profilecreate.php:338 -#: ../templates/profedit/profilecreate.php:377 -msgid "Invalid profile name!" -msgstr "Érvénytelen profilnév!" - -#: ../lib/status.inc:41 -msgid "Invalid/Missing Message type" -msgstr "Érvénytelen/hiányzó üzenettípus" - -#: ../lib/account.inc:879 -msgid "It is possible that this ID-number is reused. This can cause several problems because files with old permissions might still exist. To avoid this warning set maxUID to a higher value." -msgstr "Lehetséges, hogy ez az ID-szám egyszer már használatban volt. Ez különbözõ problémákat okozhat, mert lehetséges, hogy léteznek file-ok régi engedélyekkel. Hogy ne legyen szükség ilyen figyelmeztetésre, állítsa a maxUID értékét magasabbra." - -#: ../templates/masscreate.php:279 -msgid "It will be created." -msgstr "Létrehozva." - -#: ../lib/status.inc:40 -msgid "LAM Internal Error" -msgstr "LAM belsõ hiba" - -#: ../templates/confwiz/server2.php:196 -msgid "LAM caches its LDAP searches, you can set the cache time here. Shorter times will stress LDAP more but decrease the possibility that changes are not identified." -msgstr "A LAM cache-elést használ LDAP kereséseihez, a cache idejét itt adhatja meg. Rövidebb idõértékek jobban terhelik az LDAP-t, de csökkentik annak valószínûségét, hogy a változások nem kerülnek felismerésre." - -#: ../templates/confwiz/ldaptest.php:479 -msgid "LAM can create them for you or you have to create them manually later." -msgstr "A LAM létrehozhatja ezeket Önnek, vagy Önnek kell késõbb manuálisan létrehoznia õket. " - -#: ../templates/confwiz/ldaptest.php:478 -msgid "LAM detected that one or more essential Samba groups are missing. They are listed below." -msgstr "A LAM észrevette, hogy egy vagy több lényeges Samba csoport hiányzik. Ezek listája alább látható." - -#: ../templates/confwiz/server2.php:170 -#: ../help/help.inc:106 -msgid "LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an user password. SSHA and CRYPT are the most common but CRYPT does not support passwords greater than 8 letters. We do not recommend to use plain text passwords." -msgstr "A LAM támogatja a CRYPT-et, az SHA-t, az SSHA-t, az MD5-öt és az SMD5-öt a felhasználói jelszó hash értékének létrehozásához. Az SSHA és a CRYPT a legelterjedtebbek, ám a CRYPT nem támogat 8 betûnél hosszabb jelszavakat. Nem javasoljuk a sima szöveges, úgynevezett plain text jelszavak használatát." - -#: ../help/help.inc:101 -msgid "LAM will not work if version is wrong!" -msgstr "A LAM nem fog mûködni, ha a verziószám helytelen!" - -#: ../templates/config/confmain.php:99 -#: ../templates/config/confsave.php:74 -msgid "LDAP Account Manager Configuration" -msgstr "Az LDAP Account Manager beállítása" - -#: ../templates/config/confmain.php:227 -msgid "LDAP List settings" -msgstr "LDAP listázási beállítások" - -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listgroups.php:175 -#: ../templates/lists/listhosts.php:179 -#: ../templates/lists/listusers.php:218 -msgid "LDAP Search failed! Please check your preferences." -msgstr "Az LDAP keresés sikertelen! Kérem, ellenõrízze a beállításait." - -#: ../templates/confwiz/server.php:150 -msgid "LDAP admin DN" -msgstr "LDAP adminisztrátor DN" - -#: ../templates/login.php:326 -#: ../templates/confwiz/server.php:71 -msgid "LDAP error, server says:" -msgstr "LDAP hiba, a szerver azt válaszolja:" - -#: ../templates/login.php:237 -msgid "LDAP server" -msgstr "LDAP szerver" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 -#: ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "LDAP sizelimit exceeded, not all entries are shown." -msgstr "Elértük az LDAP mérethatárt, nem látszik minden bejegyzés." - -#: ../templates/confwiz/server2.php:227 -msgid "Lamdaemon settings and PDF text" -msgstr "Lamdaemon beállítások és PDF szöveg" - -#: ../templates/confwiz/server2.php:226 -msgid "Language and additional admin users" -msgstr "Nyelv és további adminisztrátor felhasználók" - -#: ../templates/config/confsave.php:175 -#: ../templates/confwiz/o_lang.php:54 -msgid "Language is not defined!" -msgstr "Nincs megadva a nyelv!" - -#: ../lib/config.inc:39 -msgid "Language not defined in session!" -msgstr "A nyelv nincs megadva a session-ben!" - -#: ../templates/config/confmain.php:265 -msgid "Language settings" -msgstr "Nyelvi beállítások" - -#: ../templates/account/useredit.php:960 -#: ../lib/ldap.inc:199 -msgid "Last name" -msgstr "Keresztnév" - -#: ../help/help.inc:62 -msgid "List attributes" -msgstr "Lista attribútumok" - -#: ../templates/config/confsave.php:99 -#: ../templates/confwiz/o_lang.php:57 -msgid "List of admin users is empty or invalid!" -msgstr "Az adminisztrátor felhasználók listája üres vagy érvénytelen!" - -#: ../help/help.inc:218 -msgid "List of samba workstations the user is allowed to login. Empty means every workstation." -msgstr "Azon samba munkaállomások listája, melyekre a felhasználó bejelentkezhet. Ha üresen marad, minden munkaállomásra való bejelentkezés engedélyezett." - -#: ../templates/config/confmain.php:343 -#: ../templates/confwiz/o_lang.php:152 -#: ../lib/config.inc:292 -msgid "List of valid users" -msgstr "Az érvényes felhasználók listája" - -#: ../templates/account/groupedit.php:629 -#: ../templates/account/hostedit.php:356 -#: ../templates/account/useredit.php:1023 -msgid "Load Profile" -msgstr "Profil betöltése" - -#: ../templates/account/groupedit.php:624 -#: ../templates/account/hostedit.php:278 -#: ../templates/account/hostedit.php:351 -#: ../templates/account/useredit.php:1018 -#: ../help/help.inc:185 -msgid "Load profile" -msgstr "Profil betöltése" - -#: ../templates/login.php:220 -#: ../templates/config/conflogin.php:72 -#: ../help/help.inc:36 -msgid "Login" -msgstr "Bejelentkezés" - -#: ../lib/pdf.inc:162 -msgid "Login Shell" -msgstr "Bejelentkezõ shell" - -#: ../lib/pdf.inc:172 -msgid "Login at host(s)" -msgstr "Bejelentkezés a következõ gép(ek)re" - -#: ../lib/pdf.inc:218 -msgid "Login at workstation(s)" -msgstr "Bejelentkezés a következõ munkaállomás(ok)ra" - -#: ../templates/account/useredit.php:992 -#: ../templates/profedit/profileuser.php:127 -#: ../help/help.inc:151 -#: ../lib/ldap.inc:201 -msgid "Login shell" -msgstr "Bejelentkezõ shell" - -#: ../templates/account/useredit.php:432 -#: ../templates/account/useredit.php:444 -#: ../templates/account/useredit.php:1272 -#: ../templates/profedit/profileuser.php:325 -#: ../help/help.inc:211 -#: ../lib/pdf.inc:210 -msgid "Logon script" -msgstr "Bejelentkezési script" - -#: ../templates/account/useredit.php:444 -#: ../templates/config/confsave.php:181 -#: ../templates/profedit/profilecreate.php:214 -msgid "Logon script is invalid!" -msgstr "Bejelentkezési script útvonala érvénytelen!" - -#: ../templates/logout.php:52 -#: ../templates/main_header.php:51 -msgid "Logout" -msgstr "Kijelentkezés" - -#: ../help/help.inc:60 -msgid "Machine number" -msgstr "Munkaállomás száma" - -#: ../templates/config/conflogin.php:127 -msgid "Manage profiles" -msgstr "Profilok beállítása" - -#: ../templates/config/profmanage.php:351 -msgid "Master Password:" -msgstr "Mesterjelszó:" - -#: ../templates/confwiz/start.php:168 -#: ../help/help.inc:121 -msgid "Master password" -msgstr "Mesterjelszó" - -#: ../templates/config/profmanage.php:59 -#: ../templates/confwiz/start.php:45 -msgid "Master password is wrong!" -msgstr "Hibás mesterjelszó!" - -#: ../templates/config/profmanage.php:119 -msgid "Master passwords are different or empty!" -msgstr "A mester jelszavak nem egyeznek vagy üres!" - -#: ../templates/masscreate.php:117 -msgid "Max 400 users allowed. Ignored additional users." -msgstr "Legfeljebb 400 felhasználó fogadható. A további felhasználókat figyelmen kívül hagyom." - -#: ../templates/config/confsave.php:169 -msgid "Max list entries is invalid!" -msgstr "A maximális listabejegyzés érvénytelen!" - -#: ../templates/config/confmain.php:209 -#: ../templates/confwiz/o_ranges.php:131 -#: ../lib/config.inc:282 -msgid "Maximum GID number" -msgstr "A legnagyobb GID-érték" - -#: ../templates/config/confsave.php:139 -#: ../templates/confwiz/o_ranges.php:63 -msgid "Maximum GID number is invalid!" -msgstr "A legnagyobb GID-érték érvénytelen!" - -#: ../templates/config/confmain.php:218 -#: ../templates/confwiz/o_ranges.php:140 -#: ../lib/config.inc:284 -msgid "Maximum Machine number" -msgstr "Legnagyobb munkaállomásszám" - -#: ../templates/config/confsave.php:149 -#: ../templates/confwiz/o_ranges.php:69 -msgid "Maximum Machine number is invalid!" -msgstr "A legnagyobb munkaállomásszám érvénytelen!" - -#: ../templates/config/confmain.php:200 -#: ../templates/confwiz/o_ranges.php:122 -#: ../lib/config.inc:280 -msgid "Maximum UID number" -msgstr "Legnagyobb UID értéke" - -#: ../templates/config/confsave.php:129 -#: ../templates/confwiz/o_ranges.php:57 -msgid "Maximum UID number is invalid!" -msgstr "A legnagyobb UID-érték érvénytelen!" - -#: ../templates/config/confmain.php:250 -#: ../help/help.inc:82 -#: ../lib/config.inc:288 -msgid "Maximum list entries" -msgstr "Legtöbb listabejegyzés száma" - -#: ../templates/account/useredit.php:1089 -#: ../templates/profedit/profileuser.php:166 -#: ../help/help.inc:175 -msgid "Maximum password age" -msgstr "A jelszó lejárásának legkésõbbi idõpontja" - -#: ../templates/account/groupedit.php:518 -#: ../templates/account/groupedit.php:575 -#: ../templates/account/groupedit.php:645 -#: ../templates/account/groupedit.php:739 -#: ../templates/account/groupedit.php:796 -#: ../lib/pdf.inc:458 -msgid "Members" -msgstr "Tagok" - -#: ../templates/config/confmain.php:206 -#: ../templates/confwiz/o_ranges.php:128 -#: ../lib/config.inc:281 -msgid "Minimum GID number" -msgstr "A minimális GID érték" - -#: ../templates/config/confsave.php:134 -#: ../templates/confwiz/o_ranges.php:60 -msgid "Minimum GID number is invalid!" -msgstr "A legkisebb GID-érték érvénytelen!" - -#: ../templates/config/confmain.php:215 -#: ../templates/confwiz/o_ranges.php:137 -#: ../lib/config.inc:283 -msgid "Minimum Machine number" -msgstr "Minimum munkaállomásszám" - -#: ../templates/config/confsave.php:144 -#: ../templates/confwiz/o_ranges.php:66 -msgid "Minimum Machine number is invalid!" -msgstr "A legkisebb munkaállomásszám érvénytelen!" - -#: ../templates/config/confmain.php:197 -#: ../templates/confwiz/o_ranges.php:119 -#: ../lib/config.inc:279 -msgid "Minimum UID number" -msgstr "Minimális UID értéke" - -#: ../templates/config/confsave.php:124 -#: ../templates/confwiz/o_ranges.php:54 -msgid "Minimum UID number is invalid!" -msgstr "A legkisebb UID-érték érvénytelen!" - -#: ../templates/account/useredit.php:1094 -#: ../templates/profedit/profileuser.php:173 -#: ../help/help.inc:177 -msgid "Minimum password age" -msgstr "A jelszót minimum eddig kell használni" - -#: ../templates/account/useredit.php:490 -#: ../templates/account/useredit.php:1502 -#: ../templates/masscreate.php:367 -#: ../templates/masscreate.php:569 -#: ../templates/massdetail.php:152 -#: ../templates/massdetail.php:256 -#: ../help/help.inc:260 -#: ../help/help.inc:261 -msgid "Mobile number" -msgstr "Mobil telefonszám" - -#: ../templates/account/groupedit.php:822 -#: ../templates/account/hostedit.php:432 -#: ../templates/account/useredit.php:1554 -msgid "Modify" -msgstr "Módosítás" - -#: ../templates/account/groupedit.php:836 -#: ../templates/account/hostedit.php:441 -#: ../templates/account/useredit.php:1558 -msgid "Modify Account" -msgstr "Azonosító módosítása" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 -#: ../templates/profedit/profilegroup.php:99 -#: ../templates/profedit/profileuser.php:376 -#: ../help/help.inc:224 -#: ../lib/pdf.inc:240 -msgid "Mountpoint" -msgstr "Csatolási pont" - -#: ../help/help.inc:225 -msgid "Mountpoint of device with enabled quotas." -msgstr "Kvótákkal szabályozott eszköz csatolási pontja." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:179 -#: ../templates/account/hostedit.php:182 -#: ../templates/account/useredit.php:305 -#: ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:563 -#: ../templates/masscreate.php:566 -#: ../templates/massdetail.php:90 -msgid "Name" -msgstr "Név" - -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:182 -#: ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:566 -#: ../templates/massdetail.php:90 -msgid "Name contains invalid characters. First character must be a letter." -msgstr "A név érvénytelen karaktereket tartalmaz. Az elsõ karakternek betûnek kell lennie." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/hostedit.php:179 -#: ../templates/account/useredit.php:305 -#: ../templates/masscreate.php:563 -msgid "Name must contain between 3 and 20 characters." -msgstr "A névnek minimum 3, maximum 20 karakterbõl kell állnia." - -#: ../help/help.inc:135 -msgid "Name under which the profile will be saved. If a profile with the same name exists, it will be overwritten." -msgstr "Név, mellyel a profil el lesz mentve. Ha már van ilyen nevû profil, az új profil felülírja azt." - -#: ../templates/lists/listdomains.php:200 -msgid "New Domain" -msgstr "Új tartomány" - -#: ../templates/lists/listgroups.php:312 -msgid "New Group" -msgstr "Új csoport" - -#: ../templates/lists/listhosts.php:301 -msgid "New Host" -msgstr "Új gazdaaállomás" - -#: ../templates/ou_edit.php:52 -#: ../templates/ou_edit.php:117 -#: ../templates/ou_edit.php:182 -#: ../templates/ou_edit.php:247 -msgid "New OU created successfully." -msgstr "Új OU-t sikeresen létrehozva." - -#: ../templates/config/confmain.php:351 -msgid "New Password" -msgstr "Új jelszó" - -#: ../templates/config/profmanage.php:126 -msgid "New default profile set successfully." -msgstr "Az új alapértelmezett profil sikeresen beállítva." - -#: ../templates/config/profmanage.php:326 -msgid "New master password" -msgstr "Új mester jelszó" - -#: ../templates/config/profmanage.php:117 -msgid "New master password set successfully." -msgstr "Az új mester jelszó sikeresen beállítva." - -#: ../templates/ou_edit.php:344 -#: ../templates/ou_edit.php:377 -#: ../templates/ou_edit.php:410 -#: ../templates/ou_edit.php:444 -#: ../help/help.inc:289 -msgid "New organizational unit" -msgstr "Új szervezeti egység" - -#: ../templates/config/profmanage.php:107 -msgid "New password set successfully." -msgstr "A jelszó módosítva." - -#: ../templates/account/groupedit.php:435 -#: ../templates/account/hostedit.php:288 -#: ../templates/account/useredit.php:719 -msgid "New profile created." -msgstr "Az új profil létrehozva." - -#: ../templates/lists/listusers.php:367 -msgid "New user" -msgstr "Új felhasználó" - -#: ../templates/masscreate.php:422 -#: ../templates/confwiz/o_ranges.php:152 -#: ../templates/confwiz/o_daemon.php:141 -#: ../templates/confwiz/server2.php:234 -#: ../templates/confwiz/o_lang.php:162 -#: ../templates/confwiz/server.php:196 -#: ../templates/confwiz/o_lists.php:147 -#: ../templates/confwiz/start.php:181 -msgid "Next" -msgstr "Következõ" - -#: ../templates/domain.php:125 -#: ../templates/confwiz/ldaptest.php:361 -#: ../help/help.inc:303 -msgid "Next Group RID" -msgstr "Következõ csoport RID" - -#: ../templates/domain.php:109 -#: ../templates/confwiz/ldaptest.php:345 -#: ../help/help.inc:299 -msgid "Next RID" -msgstr "Következõ RID" - -#: ../templates/domain.php:239 -#: ../templates/confwiz/ldaptest.php:243 -msgid "Next RID is not a number!" -msgstr "A következõ RID értéke nem szám!" - -#: ../help/help.inc:300 -msgid "Next RID to use when creating accounts." -msgstr "A következõ RID, melyet azonosítók létrehozásakor használni kell." - -#: ../help/help.inc:304 -msgid "Next RID to use when creating groups." -msgstr "A következõ RID, melyet csoportok létrehozásakor használni kell." - -#: ../help/help.inc:302 -msgid "Next RID to use when creating user accounts." -msgstr "A következõ RID, melyet felhasználói azonosítók létrehozásakor használni kell." - -#: ../templates/domain.php:117 -#: ../templates/confwiz/ldaptest.php:353 -#: ../help/help.inc:301 -msgid "Next User RID" -msgstr "Következõ felhasználó RID" - -#: ../templates/domain.php:241 -#: ../templates/confwiz/ldaptest.php:249 -msgid "Next group RID is not a number!" -msgstr "A következõ csoport RID-je nem szám!" - -#: ../templates/domain.php:240 -#: ../templates/confwiz/ldaptest.php:246 -msgid "Next user RID is not a number!" -msgstr "A következõ felhasználó RID-je nem szám!" - -#: ../templates/lists/listgroups.php:166 -#: ../templates/lists/listgroups.php:175 -#: ../templates/lists/listgroups.php:179 -msgid "No Groups found!" -msgstr "csoport nem található!" - -#: ../templates/lists/listdomains.php:106 -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listdomains.php:116 -msgid "No Samba Domains found!" -msgstr "Samba tartomány nem található!" - -#: ../templates/lists/listhosts.php:170 -#: ../templates/lists/listhosts.php:179 -#: ../templates/lists/listhosts.php:183 -msgid "No Samba Hosts found!" -msgstr "Samba munkaállomás nem található" - -#: ../templates/lists/listusers.php:208 -#: ../templates/lists/listusers.php:219 -msgid "No Users found!" -msgstr "Felhasználó nem található!" - -#: ../templates/initsuff.php:170 -msgid "No changes were made." -msgstr "Nem történt változtatás." - -#: ../templates/initsuff.php:154 -#: ../templates/main.php:64 -#: ../templates/confwiz/ldaptest.php:311 -msgid "No domains found, please create one." -msgstr "Nincs létrehozva tartomány, készítsen egyet." - -#: ../lib/account.inc:878 -msgid "No free ID-Number!" -msgstr "Nincs szabad ID-szám!" - -#: ../templates/delete.php:240 -msgid "No group(s) were deleted" -msgstr "Egy csoport sem lett törölve." - -#: ../templates/delete.php:232 -msgid "No host(s) were deleted" -msgstr "Egy gazdaállomás sem lett törölve" - -#: ../templates/config/confmain.php:82 -msgid "No password was entered!" -msgstr "Nem adott meg jelszót!" - -#: ../templates/account/useredit.php:243 -#: ../templates/masscreate.php:558 -msgid "No primary group defined!" -msgstr "Nincs megadva elsõdleges csoport!" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/hostedit.php:285 -#: ../templates/account/useredit.php:716 -msgid "No profilename given." -msgstr "Nem adott meg profilnevet." - -#: ../templates/profedit/profilecreate.php:389 -msgid "No type specified!" -msgstr "Nem határozott meg típust!" - -#: ../lib/pdf.inc:255 -msgid "No user quotas defined or no quota support by filesystem." -msgstr "Nincsenek meghatározott felhasználói kvóták, vagy a filerendszer nem támogatja a kvótát." - -#: ../templates/delete.php:224 -msgid "No user(s) were deleted" -msgstr "Egy felhasználó sem lett törölve" - -#: ../templates/account/groupedit.php:845 -#: ../templates/account/hostedit.php:459 -#: ../templates/account/useredit.php:1566 -#: ../help/help.inc:47 -msgid "Note" -msgstr "Megjegyzés" - -#: ../help/help.inc:174 -msgid "Number of days a user can login even his password has expired. -1=always." -msgstr "Ahány napig a felhasználó beléphet jelszavának lejárta után. -1=mindig." - -#: ../help/help.inc:178 -msgid "Number of days a user has to wait until he\\'s allowed to change his password again. If set value must be 0<." -msgstr "Ahány napig a felhasználónak várnia kell, hogy jelszavát újra megváltoztassa. Ha beállítja, 0-nál nagyobb értéket kell megadnia." - -#: ../help/help.inc:176 -msgid "Number of days after a user has to change his password again. If set value must be 0<." -msgstr "Ahány nap után a felhasználónak ismételten meg kell változtatnia jelszavát. Ha beállítja, 0-nál nagyobb értéket kell megadnia." - -#: ../templates/ou_edit.php:58 -#: ../templates/ou_edit.php:123 -#: ../templates/ou_edit.php:188 -#: ../templates/ou_edit.php:253 -msgid "OU already exists!" -msgstr "Az OU már létezik!" - -#: ../templates/ou_edit.php:69 -#: ../templates/ou_edit.php:134 -#: ../templates/ou_edit.php:199 -#: ../templates/ou_edit.php:264 -msgid "OU deleted successfully." -msgstr "Az OU sikeresen törölve." - -#: ../templates/ou_edit.php:62 -#: ../templates/ou_edit.php:127 -#: ../templates/ou_edit.php:192 -#: ../templates/ou_edit.php:257 -msgid "OU is invalid!" -msgstr "Az OU érvénytelen!" - -#: ../templates/ou_edit.php:99 -#: ../templates/ou_edit.php:164 -#: ../templates/ou_edit.php:229 -#: ../templates/ou_edit.php:294 -msgid "OU is not empty or invalid!" -msgstr "Az OU nem üres vagy érvénytelen!" - -#: ../templates/main_header.php:54 -#: ../help/help.inc:289 -#: ../help/help.inc:291 -msgid "OU-Editor" -msgstr "OU szerkesztõ" - -#: ../templates/account/hostedit.php:222 -#: ../templates/account/useredit.php:585 -msgid "ObjectClass posixAccount not found." -msgstr "A posixAzonosító objektumOsztály nem található." - -#: ../templates/account/groupedit.php:330 -msgid "ObjectClass posixGroup not found." -msgstr "A posixcsoport objektumOsztály nem található." - -#: ../templates/account/hostedit.php:226 -#: ../templates/account/useredit.php:594 -msgid "ObjectClass sambaAccount not found." -msgstr "A sambaAzonosító objektumOsztály nem található." - -#: ../templates/account/groupedit.php:328 -msgid "ObjectClass sambaGroupMapping not found." -msgstr "A sambaCsoportTérkép objektumOsztály nem található." - -#: ../templates/account/hostedit.php:224 -#: ../templates/account/useredit.php:590 -msgid "ObjectClass sambaSamAccount not found." -msgstr "A sambaSamAzonosító objektumOsztály nem található." - -#: ../templates/account/useredit.php:587 -msgid "ObjectClass shadowAccount not found." -msgstr "Az árnyékAzonosító objektumOsztály nem található." - -#: ../templates/config/conflogin.php:118 -msgid "Ok" -msgstr "Ok" - -#: ../templates/confwiz/server2.php:221 -msgid "Optional settings" -msgstr "Nem kötelezõ beállítások" - -#: ../templates/config/confmain.php:325 -msgid "PDF settings" -msgstr "PDF beállítások" - -#: ../templates/confwiz/o_daemon.php:126 -msgid "PDF text" -msgstr "PDF szöveg" - -#: ../templates/account/hostedit.php:390 -#: ../templates/account/useredit.php:316 -#: ../templates/account/useredit.php:346 -#: ../templates/account/useredit.php:418 -#: ../templates/account/useredit.php:442 -#: ../templates/account/useredit.php:1061 -#: ../templates/login.php:169 -#: ../templates/confwiz/server.php:159 -#: ../templates/confwiz/start.php:141 -msgid "Password" -msgstr "Jelszó" - -#: ../templates/account/useredit.php:351 -msgid "Password Expire" -msgstr "Jelszó érvényessége" - -#: ../templates/config/confsave.php:214 -msgid "Password changed!" -msgstr "Jelszó megváltozott!" - -#: ../templates/account/useredit.php:346 -#: ../templates/account/useredit.php:442 -msgid "Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and #*,.;:_-+!$%&/|?{[()]}= !" -msgstr "A jelszó érvénytelen karaktert tartalmaz. Érvényes karakterek: a-z, A-Z, 0-9 és #*,.;:_-+!$%&/|?{[()]}= !" - -#: ../templates/account/useredit.php:1205 -#: ../templates/profedit/profileuser.php:257 -#: ../help/help.inc:201 -msgid "Password does not expire" -msgstr "A jelszó nem jár le" - -#: ../templates/account/useredit.php:1084 -#: ../help/help.inc:173 -#: ../lib/pdf.inc:168 -msgid "Password expire" -msgstr "Jelszó érvényessége" - -#: ../templates/account/useredit.php:351 -msgid "Password expire must be are natural number or -1." -msgstr "A jelszó lejárásához megadott érték csak természetes szám lehet, vagy -1. " - -#: ../templates/profedit/profileuser.php:159 -msgid "Password expiry" -msgstr "A jelszó lejárása" - -#: ../templates/profedit/profilecreate.php:147 -msgid "Password expiry is not numeric!" -msgstr "A jelszó lejárásához megadott érték nem numerikus!" - -#: ../templates/config/confsave.php:193 -#: ../templates/confwiz/server2.php:71 -msgid "Password hash is invalid!" -msgstr "A jelszó hash-e érvénytelen!" - -#: ../templates/config/confmain.php:147 -#: ../templates/confwiz/server2.php:176 -#: ../help/help.inc:105 -#: ../lib/config.inc:272 -msgid "Password hash type" -msgstr "A jelszó hash-ének típusa" - -#: ../templates/account/useredit.php:348 -#: ../templates/account/useredit.php:349 -msgid "Password maxage" -msgstr "A jelszó maximális érvényességi ideje" - -#: ../templates/account/useredit.php:349 -msgid "Password maxage must be are natural number." -msgstr "A jelszó maximális érvényességi ideje csak természetes szám lehet." - -#: ../templates/account/useredit.php:348 -msgid "Password maxage must bigger as Password Minage." -msgstr "A jelszó maximális érvényességi idejének nagyobbnak kell lennie a minimális érvényességi idõnél." - -#: ../templates/profedit/profilecreate.php:115 -msgid "Password maximum age is not numeric!" -msgstr "A jelszó maximális érvényességi ideje nem numerikus!" - -#: ../templates/account/useredit.php:347 -msgid "Password minage" -msgstr "A jelszó minimális érvényességi ideje" - -#: ../templates/account/useredit.php:347 -msgid "Password minage must be are natural number." -msgstr "A jelszó minimális érvényességi ideje csak természetes szám lehet." - -#: ../templates/profedit/profilecreate.php:107 -msgid "Password minimum age is not numeric!" -msgstr "A jelszó minimális érvényességi ideje nem numerikus!" - -#: ../templates/account/useredit.php:352 -#: ../templates/account/useredit.php:1079 -#: ../help/help.inc:171 -msgid "Password warn" -msgstr "Jelszó figyelmeztetés" - -#: ../templates/account/useredit.php:352 -msgid "Password warn must be are natural number." -msgstr "Jelszó figyelmeztetés értéke csak természetes szám lehet." - -#: ../templates/profedit/profileuser.php:152 -msgid "Password warning" -msgstr "Jelszó figyelmeztetés" - -#: ../templates/config/confsave.php:208 -msgid "Passwords are different!" -msgstr "A két jelszó nem egyezik!" - -#: ../help/help.inc:215 -#, php-format -msgid "Path of the userprofile. Can be a local absolute path or a UNC-path (\\\\server\\share). $%s and $%s are replaced with user- and groupname." -msgstr "A felhasználói profil elérési útvonala. Helyi abszolút elérési útvonal vagy UNC elérési útvonal is lehet (\\\\server\\share). A $%s és $%s változók a felhasználó-és csoportnévvel lesznek helyettesítve." - -#: ../templates/config/confmain.php:315 -#: ../templates/confwiz/o_daemon.php:117 -#: ../lib/config.inc:290 -msgid "Path to external script" -msgstr "A külsõ script elérési útvonala" - -#: ../templates/account/useredit.php:795 -#: ../templates/account/useredit.php:865 -#: ../templates/account/useredit.php:927 -#: ../templates/account/useredit.php:1048 -#: ../templates/account/useredit.php:1165 -#: ../templates/account/useredit.php:1404 -#: ../templates/account/useredit.php:1453 -#: ../templates/account/useredit.php:1533 -msgid "Personal" -msgstr "Személyes adatok" - -#: ../lib/pdf.inc:78 -msgid "Personal User Infos" -msgstr "Személyes felhasználói adatok" - -#: ../templates/account/useredit.php:1464 -msgid "Personal properties" -msgstr "Személyes tulajdonságok" - -#: ../lib/pdf.inc:109 -msgid "Phone" -msgstr "Telefon" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 -#: ../templates/account/useredit.php:580 -msgid "Please check settings on samba page." -msgstr "Kérem ellenõrízze a beállításokat a samba oldalon." - -#: ../templates/account/hostedit.php:99 -#: ../templates/account/useredit.php:108 -msgid "Please create a group first." -msgstr "Kérem, elõbb hozzon létre egy csoportot." - -#: ../templates/confwiz/start.php:117 -msgid "Please enter a name for the new profile. The name may contain letters, digits and -_." -msgstr "Kérem adja meg az új profil nevét. A név betûket, számokat és a -_ karaktereket tartalmazhatja." - -#: ../templates/account/useredit.php:492 -#: ../templates/masscreate.php:571 -#: ../templates/massdetail.php:156 -msgid "Please enter a valid eMail address!" -msgstr "Az e-mail cím formátuma érvénytelen!" - -#: ../templates/account/useredit.php:496 -#: ../templates/masscreate.php:575 -#: ../templates/massdetail.php:142 -msgid "Please enter a valid employee type!" -msgstr "Kérem adjon érvényes alkalmazott típust!" - -#: ../templates/account/useredit.php:491 -#: ../templates/masscreate.php:570 -#: ../templates/massdetail.php:154 -msgid "Please enter a valid fax number!" -msgstr "A fax szám formátuma érvénytelen!" - -#: ../templates/account/useredit.php:490 -#: ../templates/masscreate.php:569 -#: ../templates/massdetail.php:152 -msgid "Please enter a valid mobile number!" -msgstr "A mobiltelefonszám formátuma érvénytelen!" - -#: ../templates/account/useredit.php:494 -#: ../templates/masscreate.php:573 -#: ../templates/massdetail.php:148 -msgid "Please enter a valid postal address!" -msgstr "A levelezési cím formátuma érvénytelen!" - -#: ../templates/account/useredit.php:497 -#: ../templates/masscreate.php:576 -#: ../templates/massdetail.php:146 -msgid "Please enter a valid postal code!" -msgstr "Az irányítószám formátuma érvénytelen!" - -#: ../templates/account/useredit.php:493 -#: ../templates/masscreate.php:572 -#: ../templates/massdetail.php:144 -msgid "Please enter a valid street name!" -msgstr "Az utcanév formátuma érvénytelen!" - -#: ../templates/account/useredit.php:489 -#: ../templates/masscreate.php:568 -#: ../templates/massdetail.php:150 -msgid "Please enter a valid telephone number!" -msgstr "A telefonszám formátuma érvénytelen!" - -#: ../templates/account/useredit.php:495 -#: ../templates/masscreate.php:574 -#: ../templates/massdetail.php:140 -msgid "Please enter a valid title!" -msgstr "Kérem adjon érvényes címet!" - -#: ../lib/account.inc:890 -#, php-format -msgid "Please enter a value between %s and %s!" -msgstr "Kérem adjon %s és %s közötti értéket!" - -#: ../templates/config/conflogin.php:91 -msgid "Please enter password to change preferences:" -msgstr "Kérem adja meg a jelszót a beállítások módosításához:" - -#: ../templates/confwiz/o_ranges.php:112 -msgid "Please enter the UID/GID ranges for your accounts:" -msgstr "Kérem, adja meg az UID/GID tartományokat az azonosítóihoz:" - -#: ../templates/confwiz/server.php:123 -msgid "Please enter the URL of your LDAP server." -msgstr "Kérem, adja meg LDAP szerverének URL-ét." - -#: ../help/help.inc:37 -msgid "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\"." -msgstr "Kérem adja meg a beállítást védõ jelszót. Ez NEM az ön LDAP jelszava. Ez az ön .conf-filejában tárolódik. Ha most lép be elõször, akkor az \"lam\"-et használja." - -#: ../help/help.inc:122 -msgid "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\"." -msgstr "Kérem, adja meg a mester beállításokat védõ jelszót. Ez NEM az ön LDAP jelszava. Ez az ön config.cfg file-jában tárolódik. Ha most lép be elõször, akkor az \"lam\"-et használja." - -#: ../help/help.inc:110 -msgid "Please enter the name of the new profile and the password to change its settings. Profile names may contain letters, numbers and -/_." -msgstr "Kérem adja meg az új profil nevét és a beállítások megváltoztatásához szükséges jelszót. A profilnevek betûket, számokat és -/_ karaktereket tartalmazhatnak. " - -#: ../help/help.inc:112 -msgid "Please enter the new name of the profile. The name may contain letters, numbers and -/_." -msgstr "Kérem adja meg az új profil nevét. A név betûket, számokat és a -/_ karaktereket tartalmazhatja." - -#: ../templates/account/useredit.php:316 -#: ../templates/account/useredit.php:418 -msgid "Please enter the same password in both password-fields." -msgstr "Kérem, egyezõ jelszót írjon a két jelszó-mezõbe." - -#: ../templates/confwiz/server2.php:125 -msgid "Please enter the suffixes of your LDAP tree where LAM should store the accounts." -msgstr "Kérem, adja meg az utótagjait az Ön által használt LDAP fának, ahol a LAM-nak az azonosítókat tárolnia kell." - -#: ../templates/confwiz/o_lists.php:103 -msgid "Please enter which attributes should be displayed in the list views." -msgstr "Kérem, adja meg, hogy a listanézetekben mely attribútumok látszódjanak." - -#: ../templates/confwiz/start.php:162 -msgid "Please enter your configuration master password. This password is \"lam\" by default." -msgstr "Kérem, adja meg beállításainak mester jelszavát. Ez alapértelemzés szerint \"lam\". " - -#: ../templates/masscreate.php:349 -msgid "Please provide a csv-file with the following syntax. Values with * are required:" -msgstr "Kérem, adjon meg egy csv-file-t a következõ szintakszis szerint. A *-os értékek szükségesek:" - -#: ../lib/status.inc:42 -msgid "Please report this error to the Bug-Tracker at {link=http://lam.sf.net}LDAP Account Manager Development Team{endlink}. The error number is {bold}0001:Invalid/Missing Message type.{endbold} Thank you." -msgstr "Kérem jelezze ezt a hibát a Bug-Tracker-en a {link=http://lam.sf.net}LDAP Account Manager Development Team{endlink}-nél. A hiba száma {bold}0001:Invalid/Missing Message type.{endbold}. Köszönöm." - -#: ../templates/confwiz/server2.php:222 -msgid "Please select here if you want to make additional changes to your configuration profile or if LAM should use default values." -msgstr "Kérem, most döntse el, hogy akar -e további változtatásokat beállítási profiljában, vagy a LAM használja az alapértelemzés szerinti értékeket." - -#: ../templates/account/groupedit.php:515 -#: ../templates/account/groupedit.php:572 -#: ../templates/account/groupedit.php:642 -#: ../templates/account/groupedit.php:736 -#: ../templates/account/groupedit.php:793 -#: ../templates/account/useredit.php:788 -#: ../templates/account/useredit.php:858 -#: ../templates/account/useredit.php:920 -#: ../templates/account/useredit.php:1041 -#: ../templates/account/useredit.php:1158 -#: ../templates/account/useredit.php:1398 -#: ../templates/account/useredit.php:1446 -#: ../templates/account/useredit.php:1526 -#: ../templates/masscreate.php:325 -msgid "Please select page:" -msgstr "Kérem, válassza ki az oldalt:" - -#: ../templates/confwiz/o_lang.php:101 -msgid "Please select your prefered language." -msgstr "Kérem, válassza ki a nyelvet, melyet használni szeretne." - -#: ../help/help.inc:275 -msgid "Position in ldap-tree where the group should be created." -msgstr "A hely az ldap-fán, ahol a csoportot létre kell hozni." - -#: ../help/help.inc:277 -msgid "Position in ldap-tree where the host should be created." -msgstr "A hely az ldap-fán, ahol a gazdaállomást létre kell hozni." - -#: ../help/help.inc:273 -msgid "Position in ldap-tree where the user should be created." -msgstr "A hely az ldap-fán, ahol a felhasználót létre kell hozni." - -#: ../templates/account/useredit.php:494 -#: ../templates/account/useredit.php:1490 -#: ../templates/masscreate.php:375 -#: ../templates/masscreate.php:573 -#: ../templates/massdetail.php:148 -#: ../templates/massdetail.php:244 -#: ../help/help.inc:256 -#: ../lib/pdf.inc:101 -msgid "Postal address" -msgstr "Levelezési cím" - -#: ../help/help.inc:257 -msgid "Postal address, city" -msgstr "Település" - -#: ../templates/account/useredit.php:497 -#: ../templates/account/useredit.php:1484 -#: ../templates/masscreate.php:373 -#: ../templates/masscreate.php:576 -#: ../templates/massdetail.php:146 -#: ../templates/massdetail.php:238 -#: ../help/help.inc:254 -#: ../help/help.inc:255 -#: ../lib/pdf.inc:97 -msgid "Postal code" -msgstr "Irányítószám" - -#: ../templates/confwiz/o_lists.php:105 -msgid "Predefined attributes are of type \"#attribute\"." -msgstr "Az elõre meghatározott attribútumok \"#attribute\" típusúak." - -#: ../templates/confwiz/o_lists.php:111 -#: ../help/help.inc:67 -msgid "Predefined values" -msgstr "Elõre meghatározott értékek" - -#: ../templates/account/hostedit.php:376 -#: ../templates/account/useredit.php:243 -#: ../templates/account/useredit.php:966 -#: ../templates/masscreate.php:283 -#: ../templates/masscreate.php:359 -#: ../templates/masscreate.php:558 -#: ../templates/profedit/profilehost.php:68 -#: ../templates/profedit/profileuser.php:93 -#: ../help/help.inc:153 -#: ../help/help.inc:167 -#: ../lib/pdf.inc:310 -#: ../lib/pdf.inc:354 -msgid "Primary group" -msgstr "Elsõdleges csoport" - -#: ../templates/account/useredit.php:559 -msgid "Primary group has changed. You have to run the following command as root in order to change existing file-permissions:" -msgstr "Az elsõdleges csoport megváltozott. Root-ként kell futtatnia a következõ utasítást, hogy a jelenleg érvényes file-engedélyeket megváltoztassa:" - -#: ../templates/profedit/profilecreate.php:64 -#: ../templates/profedit/profilecreate.php:361 -msgid "Primary group name is invalid!" -msgstr "Az elsõdleges csoportnév érvénytelen!" - -#: ../templates/main_header.php:43 -#: ../help/help.inc:126 -#: ../help/help.inc:130 -#: ../help/help.inc:134 -msgid "Profile Editor" -msgstr "Profil szerkesztõ" - -#: ../templates/config/profmanage.php:97 -msgid "Profile deleted." -msgstr "Profil törölve." - -#: ../templates/account/hostedit.php:278 -msgid "Profile loaded." -msgstr "Profil betöltve." - -#: ../templates/config/profmanage.php:41 -#: ../templates/config/profmanage.php:144 -#: ../help/help.inc:109 -#: ../help/help.inc:111 -#: ../help/help.inc:113 -#: ../help/help.inc:115 -#: ../help/help.inc:117 -#: ../help/help.inc:119 -#: ../help/help.inc:121 -msgid "Profile management" -msgstr "Profile beállítások" - -#: ../templates/config/profmanage.php:159 -#: ../templates/config/profmanage.php:206 -#: ../templates/profedit/profilegroup.php:143 -#: ../templates/profedit/profilehost.php:112 -#: ../templates/profedit/profileuser.php:420 -#: ../templates/confwiz/start.php:123 -#: ../help/help.inc:134 -msgid "Profile name" -msgstr "Profilnév" - -#: ../templates/config/profmanage.php:81 -#: ../templates/config/profmanage.php:92 -#: ../templates/confwiz/start.php:65 -msgid "Profile name is invalid!" -msgstr "A profilnév érvénytelen!" - -#: ../templates/config/profmanage.php:170 -#: ../templates/config/profmanage.php:260 -msgid "Profile password" -msgstr "Profiljelszó" - -#: ../templates/config/profmanage.php:79 -#: ../templates/config/profmanage.php:109 -#: ../templates/confwiz/start.php:67 -msgid "Profile passwords are different or empty!" -msgstr "A profiljelszavak különböznek vagy üresek!" - -#: ../templates/account/useredit.php:435 -#: ../templates/account/useredit.php:447 -#: ../templates/account/useredit.php:1267 -#: ../templates/profedit/profileuser.php:318 -#: ../help/help.inc:214 -#: ../lib/pdf.inc:214 -msgid "Profile path" -msgstr "Profil elérési útvonala" - -#: ../templates/account/useredit.php:447 -#: ../templates/profedit/profilecreate.php:205 -msgid "Profile path is invalid!" -msgstr "A profil elérési útvonala érvénytelen!" - -#: ../templates/profedit/profilecreate.php:280 -#: ../templates/profedit/profilecreate.php:345 -#: ../templates/profedit/profilecreate.php:383 -msgid "Profile was saved." -msgstr "Profil elmentve." - -#: ../templates/account/groupedit.php:524 -#: ../templates/account/groupedit.php:581 -#: ../templates/account/groupedit.php:648 -#: ../templates/account/groupedit.php:744 -#: ../templates/account/groupedit.php:801 -#: ../templates/account/useredit.php:794 -#: ../templates/account/useredit.php:864 -#: ../templates/account/useredit.php:926 -#: ../templates/account/useredit.php:1047 -#: ../templates/account/useredit.php:1164 -#: ../templates/account/useredit.php:1403 -#: ../templates/account/useredit.php:1452 -#: ../templates/account/useredit.php:1532 -msgid "Quota" -msgstr "Kvóta" - -#: ../lib/pdf.inc:233 -msgid "Quota Settings" -msgstr "Kvóta beállítások" - -#: ../templates/account/groupedit.php:756 -#: ../templates/account/useredit.php:1415 -#: ../templates/profedit/profilegroup.php:95 -#: ../templates/profedit/profileuser.php:372 -msgid "Quota properties" -msgstr "Kvóta jellemzõk" - -#: ../lib/ldap.inc:215 -msgid "RID (Windows UID)" -msgstr "RID (Windows UID)" - -#: ../templates/config/confmain.php:192 -msgid "Ranges" -msgstr "Értékek" - -#: ../templates/confwiz/server2.php:224 -msgid "Ranges for UID and GID numbers" -msgstr "Az UID és GID számok tartományai" - -#: ../templates/config/confmain.php:356 -#: ../templates/confwiz/start.php:149 -msgid "Reenter Password" -msgstr "Jelszó ismétlése" - -#: ../templates/config/profmanage.php:337 -msgid "Reenter new master password" -msgstr "Új mester jelszó megismétlése" - -#: ../templates/config/profmanage.php:179 -#: ../templates/config/profmanage.php:271 -msgid "Reenter profile password" -msgstr "Profil jelszó megismétlése" - -#: ../templates/masscreate.php:332 -#: ../templates/lists/listdomains.php:220 -#: ../templates/lists/listgroups.php:340 -#: ../templates/lists/listhosts.php:329 -#: ../templates/lists/listusers.php:398 -msgid "Refresh" -msgstr "Frissítés" - -#: ../templates/config/profmanage.php:202 -#: ../help/help.inc:111 -msgid "Rename profile" -msgstr "Profil átnevezése" - -#: ../templates/config/profmanage.php:88 -msgid "Renamed profile." -msgstr "Profil átnevezve." - -#: ../templates/account/useredit.php:1067 -#: ../templates/account/useredit.php:1187 -msgid "Repeat password" -msgstr "Ismételje meg a jelszót" - -#: ../templates/account/useredit.php:296 -#, php-format -msgid "Replaced $%s or $%s in homedir." -msgstr "A home könyvtárban a $%s vagy $%s értéke átállítva." - -#: ../templates/domain.php:177 -#: ../templates/config/confmain.php:368 -#: ../templates/profedit/profilegroup.php:152 -#: ../templates/profedit/profilehost.php:121 -#: ../templates/profedit/profileuser.php:429 -msgid "Reset" -msgstr "Törlés" - -#: ../templates/account/groupedit.php:529 -#: ../templates/account/groupedit.php:586 -#: ../templates/account/groupedit.php:653 -#: ../templates/account/groupedit.php:749 -#: ../templates/account/groupedit.php:806 -#: ../templates/account/useredit.php:800 -#: ../templates/account/useredit.php:870 -#: ../templates/account/useredit.php:932 -#: ../templates/account/useredit.php:1053 -#: ../templates/account/useredit.php:1170 -#: ../templates/account/useredit.php:1409 -#: ../templates/account/useredit.php:1458 -#: ../templates/account/useredit.php:1538 -msgid "Reset all changes." -msgstr "Módosítások elvetése." - -#: ../templates/account/hostedit.php:394 -msgid "Reset password" -msgstr "Jelszó törlése" - -#: ../templates/account/groupedit.php:521 -#: ../templates/account/groupedit.php:578 -#: ../templates/account/groupedit.php:646 -#: ../templates/account/groupedit.php:742 -#: ../templates/account/groupedit.php:798 -#: ../templates/account/useredit.php:792 -#: ../templates/account/useredit.php:862 -#: ../templates/account/useredit.php:924 -#: ../templates/account/useredit.php:1045 -#: ../templates/account/useredit.php:1162 -#: ../templates/account/useredit.php:1402 -#: ../templates/account/useredit.php:1450 -#: ../templates/account/useredit.php:1530 -#: ../templates/profedit/profilegroup.php:67 -msgid "Samba" -msgstr "Samba" - -#: ../templates/domain.php:234 -#: ../templates/confwiz/ldaptest.php:239 -msgid "Samba 3 domain SID is invalid!" -msgstr "Samba 3 tartomány SID érvénytelen!" - -#: ../templates/config/confmain.php:183 -#: ../lib/config.inc:274 -msgid "Samba 3.x schema" -msgstr "Samba 3.x séma" - -#: ../templates/lists/listdomains.php:233 -msgid "Samba Domain(s) found" -msgstr "Samba tartomány(oka)t találtam" - -#: ../templates/profedit/profilemain.php:218 -msgid "Samba Host Profiles" -msgstr "Samba gazdaállomás profilok" - -#: ../templates/lists/listhosts.php:342 -msgid "Samba Host(s) found" -msgstr "Samba gazdaállomás(oka)t találtam" - -#: ../templates/ou_edit.php:405 -msgid "Samba Hosts" -msgstr "Samba gazdaállomások" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 -#: ../templates/account/useredit.php:580 -msgid "Samba Options not set!" -msgstr "Samba beállításai nincsenek megadva!" - -#: ../templates/profedit/profileuser.php:232 -msgid "Samba account" -msgstr "Samba azonosító" - -#: ../templates/profedit/profilecreate.php:196 -msgid "Samba home directory is invalid!" -msgstr "A Samba home könyvtár érvénytelen!" - -#: ../templates/account/useredit.php:1184 -msgid "Samba password" -msgstr "Samba jelszó" - -#: ../templates/account/groupedit.php:659 -#: ../templates/account/useredit.php:1178 -msgid "Samba properties" -msgstr "Samba tulajdonságok" - -#: ../templates/config/confmain.php:178 -msgid "Samba settings" -msgstr "Samba beállítások" - -#: ../templates/confwiz/server.php:179 -#: ../help/help.inc:98 -msgid "Samba version" -msgstr "Samba verzió" - -#: ../templates/config/confsave.php:83 -msgid "Samba version is not defined!" -msgstr "A Samba verziója nincs megadva!" - -#: ../templates/account/useredit.php:1277 -#: ../help/help.inc:217 -msgid "Samba workstations" -msgstr "Samba munkaállomások" - -#: ../templates/profedit/profilecreate.php:222 -msgid "Samba workstations are invalid!" -msgstr "A megadott Samba munkaállomások érvénytelenek!" - -#: ../lib/pdf.inc:286 -#: ../lib/pdf.inc:524 -msgid "Samba-Host information page" -msgstr "Samba-gazda információs lap" - -#: ../templates/profedit/profilegroup.php:151 -#: ../templates/profedit/profilehost.php:120 -#: ../templates/profedit/profileuser.php:428 -msgid "Save" -msgstr "Mentés" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/groupedit.php:435 -#: ../templates/account/groupedit.php:436 -#: ../templates/account/groupedit.php:814 -#: ../templates/account/groupedit.php:818 -#: ../templates/account/hostedit.php:285 -#: ../templates/account/hostedit.php:288 -#: ../templates/account/hostedit.php:289 -#: ../templates/account/hostedit.php:447 -#: ../templates/account/hostedit.php:451 -#: ../templates/account/useredit.php:716 -#: ../templates/account/useredit.php:719 -#: ../templates/account/useredit.php:720 -#: ../templates/account/useredit.php:1546 -#: ../templates/account/useredit.php:1550 -#: ../help/help.inc:266 -msgid "Save profile" -msgstr "Profil mentése" - -#: ../templates/config/confsave.php:199 -#: ../templates/confwiz/o_daemon.php:60 -msgid "Saving PDF text failed!" -msgstr "A PDF szöveg elmentése nem sikerült!" - -#: ../help/help.inc:86 -msgid "Script path" -msgstr "Script elérési útvonala" - -#: ../templates/confwiz/o_daemon.php:54 -msgid "Script path is invalid!" -msgstr "Script elérési útvonala érvénytelen!" - -#: ../help/help.inc:91 -msgid "Script server" -msgstr "Script szerver" - -#: ../templates/config/confsave.php:187 -#: ../templates/confwiz/o_daemon.php:57 -msgid "Script server is invalid!" -msgstr "Script szerver érvénytelen!" - -#: ../templates/config/confmain.php:307 -msgid "Script settings" -msgstr "Script beállítások" - -#: ../templates/config/confmain.php:339 -msgid "Security settings" -msgstr "Biztonsági beállítások" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 -#: ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "See README.openldap.txt to solve this problem." -msgstr "A probléma megoldásához olvasd el A README.openldap.txt -t." - -#: ../templates/help.php:90 -msgid "See also" -msgstr "Lásd még" - -#: ../templates/lists/listgroups.php:280 -#: ../templates/lists/listhosts.php:267 -#: ../templates/lists/listusers.php:322 -msgid "Select all" -msgstr "Összes kijelölése" - -#: ../templates/masscreate.php:420 -msgid "Select file:" -msgstr "Fájl kijelölése:" - -#: ../templates/masscreate.php:412 -#: ../help/help.inc:268 -msgid "Select group profile" -msgstr "Válassza ki a csoport profilt" - -#: ../templates/masscreate.php:386 -msgid "Select settings" -msgstr "Válassza ki a beállításokat" - -#: ../templates/masscreate.php:389 -msgid "Select user profile:" -msgstr "Válasszon felhasználói profilt:" - -#: ../templates/account/useredit.php:808 -msgid "Select workstations" -msgstr "Munkaállomások kiválasztása" - -#: ../templates/account/useredit.php:881 -msgid "Selected groups" -msgstr "Kiválasztott csoportok" - -#: ../templates/config/confsave.php:89 -#: ../templates/confwiz/server.php:74 -msgid "Server Address is empty!" -msgstr "A szervercím üres!" - -#: ../templates/config/confmain.php:112 -#: ../templates/confwiz/server.php:130 -#: ../help/help.inc:38 -#: ../lib/config.inc:271 -msgid "Server address" -msgstr "Szervercím" - -#: ../templates/config/confmain.php:311 -#: ../templates/confwiz/o_daemon.php:113 -#: ../lib/config.inc:291 -msgid "Server of external script" -msgstr "A külsõ script szervere" - -#: ../templates/config/confmain.php:109 -msgid "Server settings" -msgstr "Szerverbeállítások" - -#: ../templates/profedit/profileuser.php:237 -msgid "Set Samba password" -msgstr "A Samba jelszó beállítása" - -#: ../templates/profedit/profileuser.php:142 -msgid "Set Unix Password" -msgstr "A Unix jelszó beállítása" - -#: ../templates/profedit/profileuser.php:247 -#: ../help/help.inc:126 -msgid "Set Unix password for Samba" -msgstr "A Sambához tartozó Unix jelszó beállítása" - -#: ../templates/config/profmanage.php:256 -#: ../help/help.inc:115 -msgid "Set profile password" -msgstr "A profilhoz tartozó jelszó beállítása" - -#: ../templates/profedit/profilecreate.php:83 -msgid "Shell is invalid!" -msgstr "A shell érvénytelen!" - -#: ../templates/masscreate.php:292 -msgid "Show Details." -msgstr "Részletek mutatása" - -#: ../templates/masscreate.php:309 -msgid "Show Errors." -msgstr "Hibák mutatása." - -#: ../templates/masscreate.php:297 -msgid "Show Infos." -msgstr "Információk mutatása." - -#: ../templates/masscreate.php:303 -msgid "Show Warnings." -msgstr "Figyelmeztetések mutatása." - -#: ../lib/pdf.inc:241 -msgid "Soft block" -msgstr "Lágy blokk" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:100 -#: ../templates/profedit/profileuser.php:377 -#: ../help/help.inc:228 -msgid "Soft block limit" -msgstr "Lágy blokk határa" - -#: ../help/help.inc:229 -msgid "Soft block limit." -msgstr "Lágy blokk határa." - -#: ../lib/pdf.inc:242 -msgid "Soft inode" -msgstr "Lágy inode" - -#: ../help/help.inc:240 -msgid "Soft inode (files) limit." -msgstr "Lágy inode (file-ok) határa." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 -#: ../templates/profedit/profilegroup.php:102 -#: ../templates/profedit/profileuser.php:379 -#: ../help/help.inc:239 -msgid "Soft inode limit" -msgstr "Lágy inode határa" - -#: ../templates/help.php:65 -msgid "Sorry no help number submitted." -msgstr "Sajnos nem adott meg súgó-számot." - -#: ../templates/help.php:75 -#, php-format -msgid "Sorry this help number ({bold}%d{endbold}) is not available." -msgstr "Sajnos ez a súgó-szám ({bold}%d{endbold}) érvénytelen." - -#: ../templates/account/useredit.php:493 -#: ../templates/account/useredit.php:1478 -#: ../templates/masscreate.php:371 -#: ../templates/masscreate.php:572 -#: ../templates/massdetail.php:144 -#: ../templates/massdetail.php:232 -#: ../help/help.inc:252 -#: ../help/help.inc:253 -#: ../lib/pdf.inc:93 -msgid "Street" -msgstr "Utca" - -#: ../templates/domain.php:176 -#: ../templates/ou_edit.php:94 -#: ../templates/ou_edit.php:159 -#: ../templates/ou_edit.php:224 -#: ../templates/ou_edit.php:289 -#: ../templates/ou_edit.php:472 -#: ../templates/config/confmain.php:367 -#: ../templates/config/profmanage.php:356 -#: ../templates/profedit/profiledelete.php:97 -#: ../templates/profedit/profiledelete.php:109 -#: ../templates/profedit/profiledelete.php:121 -#: ../templates/profedit/profilemain.php:261 -msgid "Submit" -msgstr "Elküld" - -#: ../templates/account/groupedit.php:607 -#: ../templates/account/hostedit.php:417 -#: ../templates/account/useredit.php:1001 -#: ../templates/domain.php:149 -#: ../templates/lists/listdomains.php:187 -#: ../templates/lists/listgroups.php:300 -#: ../templates/lists/listhosts.php:288 -#: ../templates/lists/listusers.php:341 -#: ../templates/confwiz/ldaptest.php:384 -#: ../help/help.inc:272 -#: ../help/help.inc:274 -#: ../help/help.inc:276 -#: ../help/help.inc:295 -msgid "Suffix" -msgstr "Utótag" - -#: ../templates/account/useredit.php:238 -#: ../templates/masscreate.php:283 -#: ../templates/masscreate.php:353 -#: ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 -#: ../templates/massdetail.php:202 -#: ../help/help.inc:191 -#: ../lib/pdf.inc:85 -msgid "Surname" -msgstr "Vezetéknév" - -#: ../templates/account/useredit.php:238 -#: ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 -msgid "Surname contains invalid characters" -msgstr "A vezetéknév érvénytelen karaktereket tartalmaz" - -#: ../help/help.inc:192 -msgid "Surname of user. Only letters, - and spaces are allowed." -msgstr "A felhasználó vezetékneve. Csak betûk, a \"-\", és szóközök használhatóak." - -#: ../templates/account/useredit.php:489 -#: ../templates/account/useredit.php:1496 -#: ../templates/masscreate.php:365 -#: ../templates/masscreate.php:568 -#: ../templates/massdetail.php:150 -#: ../templates/massdetail.php:250 -#: ../help/help.inc:258 -#: ../help/help.inc:259 -msgid "Telephone number" -msgstr "Telefonszám" - -#: ../templates/config/confmain.php:329 -#: ../help/help.inc:107 -#: ../lib/config.inc:293 -msgid "Text for user PDF" -msgstr "Szöveg a felhasználók PDF-eihez" - -#: ../help/help.inc:154 -msgid "The Primary Group the user should be member of." -msgstr "A felhasználó elsõdleges csoportja." - -#: ../help/help.inc:168 -msgid "The Primary group the host should be member of." -msgstr "A gazdaállomás elsõdleges csoportja." - -#: ../help/help.inc:298 -msgid "The SID of your Samba server. Get it with \"net getlocalsid\"." -msgstr "Az ön Samba szerverének SID száma. A \"net getlocalsid\"-del kapja meg." - -#: ../help/help.inc:296 -msgid "The domain entry will be saved under this suffix." -msgstr "A tartománybejegyzés ezzel az utótaggal lesz elmentve." - -#: ../templates/confwiz/o_lists.php:107 -msgid "The entries are separated by semicolons." -msgstr "A bejegyzéseket pontosvesszõvel kell elválasztani." - -#: ../templates/config/confsave.php:220 -#: ../templates/confwiz/final.php:52 -msgid "The following settings were saved to profile:" -msgstr "A következõ beállítások lettek a profilba mentve:" - -#: ../templates/initsuff.php:189 -msgid "The following suffix(es) are missing in LDAP. LAM can create them for you." -msgstr "A következõ suffix-ek hiányoznak az LDAP-ban. A LAM elkészítheti ezeket önnek." - -#: ../templates/confwiz/ldaptest.php:200 -msgid "The following suffix(es) are missing in LDAP. LAM will create them for you." -msgstr "A következõ suffix-ek hiányoznak az LDAP-ban. A LAM elkészíti ezeket Önnek." - -#: ../help/help.inc:294 -msgid "The name of your Windows domain or workgroup." -msgstr "Az ön Windows tartományának vagy munkacsoportjának neve." - -#: ../templates/config/confmain.php:92 -msgid "The password is invalid! Please try again." -msgstr "Érvénytelen jelszó! Kérem próbálja újra." - -#: ../templates/masscreate.php:321 -msgid "There are some errors." -msgstr "Pár hiba történt." - -#: ../templates/masscreate.php:322 -msgid "There are some warnings." -msgstr "Pár figyelmeztetés érkezett." - -#: ../help/help.inc:59 -msgid "These are the minimum and maximum numbers to use for group IDs when creating new group accounts. New group accounts will always get the highest number in use plus one." -msgstr "Ezek a minimális és maximális számértékek, melyek a csoport ID-khez használhatóak új csoportazonosítók létrehozásakor. Az új csoportazonosítók mindig a már felhasznált legnagyobb számot 1-el megnövelt értéket kapják." - -#: ../help/help.inc:61 -msgid "These are the minimum and maximum numbers to use for machine IDs when creating new accounts for Samba hosts. The range should be different from that of users. New host accounts will always get the highest number in use plus one." -msgstr "Ezek a minimális és maximális számértékek, melyek a gép ID-khez használhatóak új Samba gazdagépek létrehozásakor. A tartománynak a felhasználók esetében használt tartománytól el kell térnie. Az új gazdagép-azonosítók mindig a már felhasznált legnagyobb szám 1-el megnövelt értékét kapják." - -#: ../help/help.inc:57 -msgid "These are the minimum and maximum numbers to use for user IDs when creating new user accounts. The range should be different from that of machines. New user accounts will always get the highest number in use plus one." -msgstr "Ezek a minimális és maximális számértékek, melyek a felhasználói ID-khez használhatóak új felhasználói azonosítók létrehozásakor. A tartománynak a gépek esetében használt tartománytól el kell térnie. Az új felhasználói azonosítók mindig a már felhasznált legnagyobb szám 1-el megnövelt értékét kapják." - -#: ../templates/domain.php:237 -#: ../templates/confwiz/ldaptest.php:231 -msgid "This Samba 3 domain is already present!" -msgstr "Ez a Samba 3 tartomány már létezik!" - -#: ../templates/confwiz/o_lists.php:104 -msgid "This can be a list of predefined attributes which have a description and are translated or you can write your own description." -msgstr "Ez az elõre meghatározott attribútumok listája lehet, melyeknek leírása van és le vannak fordítva, vagy megadhatja az Ön saját leírását." - -#: ../help/help.inc:116 -msgid "This changes the password of the selected profile." -msgstr "Ez a kiválasztott profil jelszavát változtatja meg." - -#: ../help/help.inc:118 -msgid "This changes the profile which is selected by default at login." -msgstr "Ez a belépéskor alapértelmezés szerint kiválasztott profilt változtatja meg." - -#: ../templates/confwiz/o_lang.php:102 -#: ../help/help.inc:85 -msgid "This defines the language of the login window and sets this language as the default language. Users can change the language at login." -msgstr "A login ablak nyelvének beállítása, mely egyben az alapértelmezett nyelv lesz. A felhasználók belépéskor ezt maguknak átállíthatják." - -#: ../lib/pdf.inc:509 -#: ../lib/pdf.inc:538 -#: ../lib/pdf.inc:569 -msgid "This document was automatically created by LDAP Account Manager" -msgstr "Ezt a dokumentumot az LDAP Account Manager automatikusan hozta létre." - -#: ../help/help.inc:78 -msgid "This is a list of valid DN entries of all users that are allowed to login to LDAP Account Manager. The user names have to be separated by semicolons." -msgstr "Ez azon felhasználók érvényes DN bejegyzéseinek listája, akik az LDAP Account Manager-be beléphetnek. A felhasználók nevét pontosvesszõvel kell elválasztani." - -#: ../help/help.inc:87 -msgid "This is the absolute path to an external script for setting quotas and creating home directories." -msgstr "Ez az abszolút elérési útvonala a külsõ szkriptnek, mely a kvóták és a home könytvtárak beállítására szolgál." - -#: ../help/help.inc:63 -msgid "This is the list of attributes to show in the user/group/host list. The entries can either be predefined values, \"#attribute\", or individual ones, \"attribute:description\". Several entries are seperated by semicolons." -msgstr "Ez azon attribútumok listája, melyeknek látszódniuk kell a felhasználó/csoport/gazdaállomás listán. A bejegyzések lehetnek elõre meghatározott értékek , \"#attribute\", vagy egyedi értékek, \"attribútum:leírás\". A különbözõ bejegyzéseket pontosvesszõvel kell elválasztani." - -#: ../help/help.inc:83 -msgid "This is the number of rows to show in the user/group/host list. If more entries are found the list will be split into several pages." -msgstr "Ennyi sor lesz majd látható a felhasználó/csoport/gazdaállomás listában. Ha ennél több bejegyzés létezik, a lista több oldalra lesz osztva." - -#: ../help/help.inc:39 -msgid "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." -msgstr "Ez a szervercíme az ön LDAP szerverének. Használja az ldap:// formátumot a szokásos LDAP kapcsolatokhoz és az ldaps:// formátumot a titkosított (szerver bizonyítványok szükségesek) kapcsolathoz. A port értéke elhagyható." - -#: ../templates/confwiz/o_daemon.php:107 -msgid "This is the server and path where the lamdaemon.pl script is stored. LDAP Account Manager will make a SSH connection to this server with username and password provided at login." -msgstr "Az a szerver és elérési útvonal, ahol a lamdaemon szkript található. Az LDAP Account Manager SSH kapcsolatot létesít ezzel a szerverrel, a belépéskor (login) megadott felhasználónév és jelszó használatával." - -#: ../help/help.inc:92 -msgid "This is the server where the lamdaemon script is stored. LDAP Account Manager will make a SSH connection to this server with username and password provided at login." -msgstr "Az a szerver, ahol a lamdaemon szkript található. Az LDAP Account Manager SSH kapcsolatot létesít ezzel a szerverrel, a belépéskor (login) megadott felhasználónév és jelszó használatával." - -#: ../help/help.inc:51 -msgid "This is the suffix of the LDAP tree from where to search for user/group/host entries. Only entries in these subtrees will be displayed in the user/group/host list. When creating a new accont this will be the DN where it is saved." -msgstr "Ez az utótagja az LDAP fának ahonnan a felhasználó/csoport/gazdaállomás bejegyzések keresése kezdõdik. Csak az ezekben az al-fákban található bejegyzések szerepelnek majd a felhasználó/csoport/gazdaállomás listán. Új azonosító létrehozásakor ez lesz a DN, ahová az azonosító elmentõdik." - -#: ../help/help.inc:104 -msgid "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." -msgstr "Ez az a percekben mért idõ, amennyit az LAM cache-el az LDAP keresés során. Rövidebb idõértékek jobban terhelik az LDAP-t, de csökkentik annak valószínûségét, hogy a változások nem kerülnek felismerésre." - -#: ../templates/confwiz/o_daemon.php:127 -#: ../help/help.inc:108 -msgid "This text will appear on top of every user PDF file." -msgstr "Ez a szöveg jelenik majd meg minden felhasználó PDF file-jának tetején." - -#: ../templates/lists/userlink.php:54 -msgid "This user was not found!" -msgstr "A felhasználó nem található" - -#: ../help/help.inc:290 -msgid "This will create a new organizational unit under the selected one." -msgstr "Ezzel egy új szervezeti egység keletkezik a kijelölt alatt." - -#: ../help/help.inc:292 -msgid "This will delete the selected organizational unit. The OU has to be empty." -msgstr "Ezzel törli a kiválasztott szervezeti egységet. Az OU-nak üresnek kell lennie." - -#: ../help/help.inc:114 -msgid "This will delete the selected profile." -msgstr "Ezzel törli a kiválasztott profilt." - -#: ../help/help.inc:267 -msgid "This will make a profile of the current account. The saved values are the same as in the profile editor. Profile names may contain the letters a-z, 0-9 and -_." -msgstr "Ezzel profilt készít a jelenlegi azonosítóról. Az elmentett értékek ugyanazok, mint a profilszerkesztõben. A profilnevek a következõ karaktereket tartalmazhatják: a-z, 0-9 és -_." - -#: ../templates/account/useredit.php:495 -#: ../templates/account/useredit.php:1466 -#: ../templates/masscreate.php:361 -#: ../templates/masscreate.php:574 -#: ../templates/massdetail.php:140 -#: ../templates/massdetail.php:220 -#: ../help/help.inc:248 -#: ../lib/pdf.inc:81 -msgid "Title" -msgstr "Megszólítás" - -#: ../help/help.inc:249 -msgid "Title of user, Mr., Ms., ..." -msgstr "A felhasználó megszólítása, Mr, Ms., ..." - -#: ../templates/confwiz/server.php:144 -msgid "To connect to your LDAP server please enter now the DN of your administrative user and the password." -msgstr "LDAP szerveréhez való kapcsolódáshoz kérem adja meg adminisztrátorának DN-jét és a jelszót." - -#: ../help/help.inc:152 -msgid "To disable login use /bin/false. List of shells is read from lam/config/shells" -msgstr "A belépés letiltásához használja a /bin/false-ot. A shell-ek listája a /lam/config/shells file-ból olvasódik." - -#: ../templates/lists/listusers.php:355 -msgid "Translate GID number to group name" -msgstr "A GID szám lefordítása csoportnévre" - -#: ../lib/pdf.inc:305 -#: ../lib/pdf.inc:348 -msgid "UID" -msgstr "Felhasználói azonosító, UID" - -#: ../templates/account/hostedit.php:370 -#: ../templates/account/useredit.php:948 -#: ../help/help.inc:56 -#: ../help/help.inc:141 -#: ../help/help.inc:164 -#: ../lib/ldap.inc:194 -#: ../lib/ldap.inc:217 -msgid "UID number" -msgstr "UID szám" - -#: ../templates/account/useredit.php:556 -msgid "UID-number has changed. You have to run the following command as root in order to change existing file-permissions:" -msgstr "Az UID száma megváltozott. Root-ként kell futtatnia a következõ utasítást hogy megváltoztassa a jelenlegi file-engedélyeket." - -#: ../help/help.inc:220 -#, php-format -msgid "UNC-path (\\\\server\\share) of homedirectory. $%s and $%s are replaced with user- and groupname." -msgstr "A home könyvtár UNC elérési útvonala (\\\\server\\share). A $%s és a $%s a felhasználó-és csoportnévvel helyettesítõdnek." - -#: ../templates/ou_edit.php:55 -#: ../templates/ou_edit.php:120 -#: ../templates/ou_edit.php:185 -#: ../templates/ou_edit.php:250 -msgid "Unable to create new OU!" -msgstr "Nem tudok új OU-t létrehozni!" - -#: ../templates/config/profmanage.php:77 -#: ../templates/confwiz/start.php:63 -msgid "Unable to create new profile!" -msgstr "Az új profilt nem lehet létrehozni!" - -#: ../templates/ou_edit.php:72 -#: ../templates/ou_edit.php:137 -#: ../templates/ou_edit.php:202 -#: ../templates/ou_edit.php:267 -msgid "Unable to delete OU!" -msgstr "Nem tudom törölni az OU-t!" - -#: ../templates/domain.php:304 -msgid "Unable to delete domain!" -msgstr "Nem tudom törölni a tartományt!" - -#: ../templates/config/profmanage.php:99 -#: ../templates/profedit/profiledelete.php:53 -#: ../templates/profedit/profiledelete.php:60 -#: ../templates/profedit/profiledelete.php:67 -msgid "Unable to delete profile!" -msgstr "A profilt nem lehet törölni!" - -#: ../templates/login.php:100 -#: ../templates/config/confmain.php:296 -#: ../templates/confwiz/o_lang.php:134 -msgid "Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site." -msgstr "Nem tudom betölteni az elérhetõ nyelveket. Az angolt állítom be alapértelmezett nyelvnek. További teendõkért kérem forduljon az oldal adminisztrátorához." - -#: ../lib/config.inc:184 -#: ../lib/config.inc:735 -msgid "Unable to load configuration!" -msgstr "Nem tudom betölteni a beállításokat!" - -#: ../lib/profiles.inc:252 -#: ../lib/profiles.inc:256 -#: ../lib/profiles.inc:319 -#: ../lib/profiles.inc:323 -#: ../lib/profiles.inc:375 -#: ../lib/profiles.inc:379 -msgid "Unable to load profile!" -msgstr "Nem tudom betölteni a profilt!" - -#: ../templates/profedit/profilecreate.php:282 -#: ../templates/profedit/profilecreate.php:347 -#: ../lib/profiles.inc:451 -#: ../lib/profiles.inc:486 -#: ../lib/profiles.inc:514 -msgid "Unable to save profile!" -msgstr "Nem tudom elmenteni a profilt!" - -#: ../templates/account/groupedit.php:531 -#: ../templates/account/groupedit.php:588 -#: ../templates/account/groupedit.php:655 -#: ../templates/account/groupedit.php:751 -#: ../templates/account/groupedit.php:808 -#: ../templates/account/useredit.php:802 -#: ../templates/account/useredit.php:872 -#: ../templates/account/useredit.php:934 -#: ../templates/account/useredit.php:1055 -#: ../templates/account/useredit.php:1172 -#: ../templates/account/useredit.php:1411 -#: ../templates/account/useredit.php:1460 -#: ../templates/account/useredit.php:1540 -#: ../templates/massdetail.php:72 -#: ../templates/massdetail.php:275 -msgid "Undo" -msgstr "Mégsem" - -#: ../templates/account/hostedit.php:437 -msgid "Undo changes" -msgstr "Változások elvetése" - -#: ../templates/account/useredit.php:791 -#: ../templates/account/useredit.php:861 -#: ../templates/account/useredit.php:923 -#: ../templates/account/useredit.php:1044 -#: ../templates/account/useredit.php:1161 -#: ../templates/account/useredit.php:1401 -#: ../templates/account/useredit.php:1449 -#: ../templates/account/useredit.php:1529 -msgid "Unix" -msgstr "Unix" - -#: ../lib/pdf.inc:124 -msgid "Unix User Settings" -msgstr "Unix felhasználói beállítások" - -#: ../templates/profedit/profileuser.php:88 -msgid "Unix account" -msgstr "Unix azonosító" - -#: ../templates/confwiz/ldaptest.php:483 -msgid "Unix group name" -msgstr "Unix csoportnév" - -#: ../lib/pdf.inc:132 -#: ../lib/pdf.inc:141 -msgid "Unix password" -msgstr "Unix jelszó" - -#: ../lib/pdf.inc:134 -msgid "Unix password disabled!" -msgstr "Unix jelszó kikapcsolva!" - -#: ../templates/account/useredit.php:1059 -msgid "Unix properties" -msgstr "Unix tulajdonságok" - -#: ../templates/account/useredit.php:354 -#: ../templates/account/useredit.php:1127 -#: ../templates/profedit/profileuser.php:208 -#: ../help/help.inc:280 -msgid "Unix workstations" -msgstr "Unix munkaállomások" - -#: ../templates/profedit/profilecreate.php:131 -msgid "Unix workstations are invalid!" -msgstr "A megadott Unix munkaállomások érvénytelenek!" - -#: ../templates/account/useredit.php:354 -msgid "Unix workstations is invalid." -msgstr "A megadott Unix munkaállomás érvénytelen." - -#: ../templates/confwiz/o_daemon.php:108 -#: ../help/help.inc:89 -#: ../help/help.inc:94 -msgid "Use it at your own risk and read the documentation for lamdaemon before you use it!" -msgstr "Használja saját felelõsségére és olvassa el a lamdaemon leírását a használat elõtt!" - -#: ../templates/account/useredit.php:1073 -#: ../templates/account/useredit.php:1199 -#: ../help/help.inc:195 -msgid "Use no password" -msgstr "Jelszó nélküli használat" - -#: ../templates/account/useredit.php:1193 -#: ../help/help.inc:199 -msgid "Use unix password" -msgstr "Unix jelszó használata" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 -#: ../help/help.inc:226 -msgid "Used blocks" -msgstr "Használt blokkok" - -#: ../help/help.inc:227 -msgid "Used blocks. 1000 blocks are usually 1MB" -msgstr "Használt blokkok. Általában 1000 blokk számít 1 MB-nek" - -#: ../help/help.inc:306 -msgid "Used for calculating RIDs from UID/GID. Do not change if unsure." -msgstr "A RID-ek UID/GID-bõl történõ kiszámításához használatos. Ha bizonytalan, ne változtassa meg." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 -#: ../help/help.inc:237 -msgid "Used inodes" -msgstr "Használt inode-ok" - -#: ../help/help.inc:238 -msgid "Used inodes (files)" -msgstr "Használt inode-ok (file-ok)" - -#: ../templates/account/useredit.php:1571 -#, php-format -msgid "User %s has been created." -msgstr "%s felhasználó létrehozva." - -#: ../templates/account/useredit.php:1568 -#, php-format -msgid "User %s has been modified." -msgstr "%s felhasználó módosítva." - -#: ../lib/ldap.inc:193 -msgid "User ID" -msgstr "Felhasználó ID" - -#: ../templates/profedit/profilemain.php:128 -msgid "User Profiles" -msgstr "Felhasználóprofil" - -#: ../templates/account/useredit.php:1211 -#: ../help/help.inc:130 -#: ../help/help.inc:203 -msgid "User can change password" -msgstr "A felhasználó módosíthatja a jelszavát" - -#: ../help/help.inc:150 -msgid "User description. If left empty sur- and give name will be used." -msgstr "A felhasználó leírása. Ha üresen hagyja, a keresztnév és vezetéknév szolgál erre." - -#: ../lib/pdf.inc:39 -#: ../lib/pdf.inc:496 -msgid "User information page" -msgstr "Felhasználói információs lap" - -#: ../templates/initsuff.php:144 -#: ../templates/initsuff.php:157 -#: ../templates/initsuff.php:163 -#: ../templates/initsuff.php:172 -#: ../templates/masscreate.php:263 -msgid "User list" -msgstr "Felhasználólista" - -#: ../templates/config/confsave.php:154 -#: ../templates/confwiz/o_lists.php:54 -msgid "User list attributes are invalid!" -msgstr "A felhasználói lista attribútumai érvénytelenek!" - -#: ../templates/account/useredit.php:1230 -#: ../help/help.inc:205 -msgid "User must change password" -msgstr "A felhasználónak módosítania kell a jelszavát" - -#: ../templates/masscreate.php:283 -msgid "User name" -msgstr "Felhasználónév" - -#: ../lib/pdf.inc:236 -msgid "User quota(s)" -msgstr "Felhasználói kvóta/kvóták" - -#: ../templates/masscreate.php:396 -msgid "User suffix" -msgstr "Felhasználó utótag" - -#: ../templates/lists/listusers.php:411 -msgid "User(s) found" -msgstr "Felhasználó(ka)t találtam" - -#: ../help/help.inc:50 -msgid "User/Group/Host suffix" -msgstr "Felhasználó/Csoport/Gazdaállomás utótag" - -#: ../templates/config/confmain.php:123 -#: ../templates/confwiz/server2.php:131 -#: ../lib/config.inc:275 -msgid "UserSuffix" -msgstr "Felhasználó utótag" - -#: ../templates/config/confsave.php:104 -#: ../templates/confwiz/server2.php:59 -msgid "UserSuffix is invalid!" -msgstr "Felhasználó utótag érvénytelen" - -#: ../templates/account/useredit.php:224 -#: ../templates/account/useredit.php:246 -#: ../templates/account/useredit.php:291 -#: ../templates/account/useredit.php:942 -#: ../templates/login.php:148 -#: ../templates/masscreate.php:357 -#: ../templates/masscreate.php:545 -#: ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 -#: ../templates/massdetail.php:136 -#: ../templates/massdetail.php:214 -#: ../help/help.inc:139 -#: ../lib/ldap.inc:196 -#: ../lib/pdf.inc:127 -#: ../lib/pdf.inc:181 -msgid "Username" -msgstr "Felhasználónév" - -#: ../templates/account/useredit.php:246 -#: ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 -msgid "Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !" -msgstr "A felhasználónév érvénytelen karaktereket tartalmaz. Érvényes karakterek: a-z, A-Z, 0-9 és .-_ !" - -#: ../templates/account/useredit.php:291 -#: ../templates/masscreate.php:545 -#: ../templates/massdetail.php:136 -msgid "Username in use. Selected next free username." -msgstr "Ez a felhasználónév már használatban van. A legközelebb álló, használatlan felhasználónevet választom." - -#: ../help/help.inc:140 -msgid "Username of the user who should be created. Valid characters are: a-z,0-9, .-_. Lam does not allow a number as first character because useradd also does not allow it. Lam does not allow capital letters A-Z because it can cause several problems. If username is already used username will be expanded with a number. The next free number will be used. Warning: Older systems have problems with usernames longer than 8 characters. You can not log in to Windows if username is longer than 16 characters." -msgstr "A létrehozásra kerülõ felhasználó felhasználói neve. Használható karakterek: a-z, 0-9, .-_. A Lam nem fogad el számot elsõ karakterként, mert a useradd sem fogadja el. A Lam nem engedi a nagybetûk A-Z használatát, mert ez különbözõ problémák forrása lehet. Ha a felhasználónév már használatban van, számmal lesz megtoldva. A legközelebbi, használatlan szám lesz felhasználva. Figyelem: Régebbi rendszereken problémát jelenthetnek a 8-nál több karakterbõl álló felhasználónevek. Windows-ba nem fog tudni bejelentkezni, ha a felhasználónév 16 karakternél hosszabb." - -#: ../templates/main_header.php:73 -#: ../templates/main_header.php:78 -#: ../templates/ou_edit.php:339 -#: ../templates/confwiz/o_lists.php:112 -#: ../help/help.inc:69 -msgid "Users" -msgstr "Felhasználók" - -#: ../help/help.inc:285 -msgid "Users also being member of the current group." -msgstr "A jelenlegi csoportba tartozó további felhasználók." - -#: ../help/help.inc:182 -msgid "Users wich are also members of group." -msgstr "A csoportba tartozó további felhasználók." - -#: ../templates/confwiz/o_lang.php:145 -#: ../help/help.inc:77 -msgid "Valid users" -msgstr "Elfogadott felhasználók" - -#: ../templates/account/groupedit.php:619 -#: ../templates/account/hostedit.php:428 -#: ../templates/account/useredit.php:1013 -#: ../templates/account/useredit.php:1134 -msgid "Values with * are required" -msgstr "A *-al jelölt értékek kötelezõek." - -#: ../templates/masscreate.php:284 -msgid "Warnings" -msgstr "Figyelmeztetések" - -#: ../templates/masscreate.php:206 -#: ../templates/masscreate.php:236 -#, php-format -msgid "Was unable to create %s." -msgstr "Nem lehet létrehozni: %s." - -#: ../templates/confwiz/start.php:107 -msgid "Welcome to LAM Configuration wizard." -msgstr "Üdvözli Önt a LAM Beállításvarázsló." - -#: ../help/help.inc:49 -msgid "When using ldaps:// be sure to use exactly the same IP/domain name as in your certificate!" -msgstr "Ha az ldaps://-t használja, ügyeljen, hogy ugyanazt az IP/domain nevet használja, mint ami a bizonyítványában szerepel!" - -#: ../templates/confwiz/server.php:173 -msgid "Which Samba version do you use?" -msgstr "Melyik Samba verziót használja?" - -#: ../lib/pdf.inc:226 -msgid "Windows Domain" -msgstr "Windows tartomány" - -#: ../lib/pdf.inc:178 -msgid "Windows User Settings" -msgstr "Windows felhasználói beállítások" - -#: ../help/help.inc:184 -msgid "Windows clients will show display name as group description." -msgstr "A Windows kliensek a képernyõnevet mutatják majd csoport-leírásként." - -#: ../help/help.inc:270 -msgid "Windows domain" -msgstr "Windows tartomány" - -#: ../help/help.inc:271 -msgid "Windows domain of host." -msgstr "A gazdaállomás Windows tartománya." - -#: ../templates/confwiz/ldaptest.php:482 -msgid "Windows group name" -msgstr "Windows csoportnév" - -#: ../templates/account/groupedit.php:665 -#: ../templates/account/useredit.php:1282 -#: ../help/help.inc:278 -msgid "Windows groupname" -msgstr "Windows csoportnév" - -#: ../lib/pdf.inc:222 -msgid "Windows home directory" -msgstr "Windows home könyvtár" - -#: ../lib/pdf.inc:186 -#: ../lib/pdf.inc:192 -#: ../lib/pdf.inc:201 -msgid "Windows password" -msgstr "Windows jelszó" - -#: ../lib/pdf.inc:188 -msgid "Windows password disabled!" -msgstr "Windows jelszó letiltva!" - -#: ../lib/pdf.inc:194 -msgid "Windows password set to unix password." -msgstr "Windows jelszóként a Unix jelszó lett beállítva." - -#: ../help/help.inc:283 -msgid "Windows-Domain of group." -msgstr "A csoport Windows-tartománya." - -#: ../help/help.inc:223 -msgid "Windows-Domain of user." -msgstr "A felhasználó Windows-tartománya." - -#: ../templates/profedit/profileuser.php:335 -msgid "Workstations" -msgstr "Munkaállomások" - -#: ../templates/login.php:321 -#: ../templates/confwiz/server.php:70 -msgid "Wrong Password/Username combination. Try again." -msgstr "Rossz jelszó-felhasználónév kombináció. Próbálja újra." - -#: ../templates/profedit/profiledelete.php:73 -#: ../templates/profedit/profiledelete.php:130 -msgid "Wrong or missing type!" -msgstr "Rossz vagy hiányzó típus!" - -#: ../templates/profedit/profilecreate.php:171 -msgid "Wrong parameter for Samba option: Account does not expire!" -msgstr "Rossz paraméter a Samba beállításaként: az azonosító nem jár le!" - -#: ../templates/profedit/profilecreate.php:179 -msgid "Wrong parameter for Samba option: Account is disabled!" -msgstr "Rossz paraméter a Samba beállításaként: letiltott azonosító!" - -#: ../templates/profedit/profilecreate.php:155 -msgid "Wrong parameter for Samba option: Set Samba Password!" -msgstr "Rossz paraméter a Samba beállításaként: állítsa be a Samba jelszót!" - -#: ../templates/profedit/profilecreate.php:163 -msgid "Wrong parameter for Samba option: Set Unix Password for Samba!" -msgstr "Rossz paraméter a Samba beállításaként: állítsa be a Unix jelszót a Sambához!" - -#: ../templates/profedit/profilecreate.php:187 -msgid "Wrong parameter for Samba option: home drive!" -msgstr "Rossz paraméter a Samba beállításaként: home meghajtó!" - -#: ../templates/profedit/profilecreate.php:139 -msgid "Wrong parameter for Unix account activation!" -msgstr "Rossz paraméter a Unix azonosító aktiválásához!" - -#: ../templates/profedit/profilecreate.php:123 -msgid "Wrong parameter for Unix password expiry!" -msgstr "Rossz paraméter a Unix jelszó lejárásához!" - -#: ../templates/profedit/profilecreate.php:99 -msgid "Wrong parameter for Unix password warning!" -msgstr "Rossz paraméter a Unix jelszó figyelmeztetéshez!" - -#: ../templates/profedit/profilecreate.php:91 -msgid "Wrong parameter for login disable!" -msgstr "Rossz paraméter a belépés letiltásához!" - -#: ../templates/account/groupedit.php:436 -#: ../templates/account/hostedit.php:289 -#: ../templates/account/useredit.php:720 -msgid "Wrong profilename given." -msgstr "Rossz profilnevet adott meg." - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/hostedit.php:120 -#: ../templates/account/useredit.php:224 -msgid "You are using a capital letters. This can cause problems because not all programs are case-sensitive." -msgstr "Nagy betûket használ. Ez problémákat jelenthet, mert nem minden program case-szenzitív." - -#: ../help/help.inc:186 -msgid "You can select a previous defined profile here. This will set all fields to the profile values." -msgstr "Itt választhat egy elõzõleg beállított profilt. Ez minden mezõt a profil értékeire állít." - -#: ../templates/logout.php:62 -msgid "You have been logged off from LDAP Account Manager." -msgstr "Kijelentkezett az LDAP Account Manager alkalmazásból" - -#: ../templates/login.php:192 -msgid "Your Language" -msgstr "Nyelv" - -#: ../templates/delete.php:196 -msgid "deleted" -msgstr "törölve" - -#: ../templates/account/useredit.php:492 -#: ../templates/account/useredit.php:1514 -#: ../templates/masscreate.php:363 -#: ../templates/masscreate.php:571 -#: ../templates/massdetail.php:156 -#: ../templates/massdetail.php:268 -#: ../help/help.inc:264 -#: ../help/help.inc:265 -msgid "eMail address" -msgstr "E-Mail cím" - -#: ../lib/account.inc:276 -#: ../lib/account.inc:278 -msgid "hours" -msgstr "órák" - -#: ../help/help.inc:43 -msgid "ldap://localhost:389 connects to localhost using a standard LDAP connection on port 389" -msgstr "ldap://localhost:839 kapcsolódik localhost-hoz szokványos LDAP kapcsolattal a 389-es porton" - -#: ../help/help.inc:45 -msgid "ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP connection." -msgstr "ldaps://141.40.146.133 kapcsolódik a 141.40.146.133-hoz titkosított LDAP kapcsolatottal." - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "no" -msgstr "nem" - -#: ../templates/masscreate.php:279 -msgid "not found!" -msgstr "nem található!" - -#: ../help/help.inc:55 -msgid "ou=People,dc=yourcompany,dc=com will read and store all accounts in this subtree." -msgstr "ou=emberek,dc=az_ön_cége,dc=com minden azonosítót ezen az al-fán olvas és tárol." - -#: ../templates/config/confmain.php:377 -msgid "required" -msgstr "szükséges" - -#: ../templates/config/confmain.php:378 -msgid "required for Samba 3 schema" -msgstr "a Samba 3 sémájához szükséges" - -#: ../templates/masscreate.php:283 -msgid "row" -msgstr "sor" - -#: ../lib/profiles.inc:466 -msgid "saveGroupProfile: account has wrong type!" -msgstr "Csoport profil mentése: az azonosító típusa hibás!" - -#: ../lib/profiles.inc:501 -msgid "saveHostProfile: account has wrong type!" -msgstr "Gazdaállomási profil mentése: az azonosító típusa hibás!" - -#: ../lib/profiles.inc:393 -msgid "saveUserProfile: account has wrong type!" -msgstr "Felhasználói profil mentése: az azonosító típusa hibás!" - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "yes" -msgstr "igen" - diff --git a/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.mo b/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.mo deleted file mode 100644 index 9fc83aa6..00000000 Binary files a/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.mo and /dev/null differ diff --git a/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.po b/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.po deleted file mode 100644 index a814e15c..00000000 --- a/lam-0.4/locale/ja_JP/LC_MESSAGES/messages.po +++ /dev/null @@ -1,4042 +0,0 @@ -# $Id$ -# -# -# LDAP Account Manager -# -msgid "" -msgstr "" -"Project-Id-Version: LAM 0.4.6\n" -"Report-Msgid-Bugs-To: post@rolandgruber.de \n" -"POT-Creation-Date: 2004-01-14 17:45+0200\n" -"PO-Revision-Date: 2004-05-25 17:48+0900\n" -"Last-Translator: Oota toshiya \n" -"Language-Team: Japanese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=EUC-JP\n" -"Content-Transfer-Encoding: 8-bit\n" - -#: ../help/help.inc:147 -msgid "$%s and $%s are replaced with username or primary groupname." -msgstr "" -"¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ÎUNC¥Ñ¥¹ (\\\\¥µ¡¼¥Ð\\¶¦Í­)¡£$%s ¤È $%s ¤Ï¥æ¡¼¥¶Ì¾¤È" -"¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×̾¤ËÊÑ´¹¤µ¤ì¤ë¡£" - -#: ../lib/account.inc:722 ../lib/account.inc:727 -#, php-format -msgid "%s already exists!" -msgstr "%s ¤Ï¤¹¤Ç¤Ë¸ºß¤¹¤ë!" - -#: ../templates/confwiz/ldaptest.php:345 ../templates/confwiz/ldaptest.php:353 -#: ../templates/confwiz/ldaptest.php:361 -msgid "(optional)" -msgstr "(¥ª¥×¥·¥ç¥ó)" - -#: ../templates/ou_edit.php:95 ../templates/ou_edit.php:160 -#: ../templates/ou_edit.php:225 ../templates/ou_edit.php:290 -#: ../templates/config/confmain.php:369 -#: ../templates/profedit/profiledelete.php:98 -#: ../templates/profedit/profiledelete.php:110 -#: ../templates/profedit/profiledelete.php:122 -#: ../templates/profedit/profilegroup.php:153 -#: ../templates/profedit/profilehost.php:122 -#: ../templates/profedit/profilemain.php:262 -#: ../templates/profedit/profileuser.php:430 -msgid "Abort" -msgstr "Ãæ»ß" - -#: ../templates/account/useredit.php:1118 ../help/help.inc:197 -msgid "Account deactivated" -msgstr "¥¢¥«¥¦¥ó¥È¤¬Ìµ¸ú²½¤µ¤ì¤¿" - -#: ../help/help.inc:180 -msgid "Account expire date. Format: DD-MM-YYYY" -msgstr "¥¢¥«¥¦¥ó¥ÈÍ­¸ú´ü¸Â¡£·Á¼°¤Ï: TT-MM-JJJJ" - -#: ../templates/profedit/profileuser.php:180 -msgid "Account expires on" -msgstr "¥¢¥«¥¦¥ó¥È¤ÎËþλ¤Ï" - -#: ../templates/account/useredit.php:1249 -#: ../templates/profedit/profileuser.php:218 -#: ../templates/profedit/profileuser.php:267 ../help/help.inc:207 -msgid "Account is deactivated" -msgstr "¥¢¥«¥¦¥ó¥È¤¬Ìµ¸ú²½¤µ¤ì¤¿" - -#: ../templates/config/profmanage.php:155 ../help/help.inc:109 -msgid "Add profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ëÄɲÃ" - -#: ../templates/account/hostedit.php:131 -msgid "Added $ to hostname." -msgstr "¥Û¥¹¥È̾¤Ë$¤òÄɲä·¤¿." - -#: ../templates/account/groupedit.php:535 -msgid "Additional group members" -msgstr "ÄɲäΥ°¥ë¡¼¥×¥á¥ó¥Ð" - -#: ../templates/account/useredit.php:878 ../templates/account/useredit.php:977 -#: ../templates/profedit/profileuser.php:105 ../help/help.inc:144 -msgid "Additional groups" -msgstr "ÄɲäΥ°¥ë¡¼¥×" - -#: ../templates/domain.php:136 ../templates/confwiz/ldaptest.php:372 -#: ../help/help.inc:305 -msgid "Algorithmic RID Base" -msgstr "¥¢¥ë¥´¥ê¥º¥àŪ¤ÊRID¥Ù¡¼¥¹" - -#: ../templates/domain.php:242 ../templates/confwiz/ldaptest.php:252 -msgid "Algorithmic RID base is not a number!" -msgstr "¥¢¥ë¥´¥ê¥º¥àŪ¤ÊRID¥Ù¡¼¥¹¤¬¿ô»ú¤Ç¤Ê¤¤!" - -#: ../templates/masscreate.php:261 -msgid "All Users have been created" -msgstr "¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¤¬ºîÀ®¤µ¤ì¤¿" - -#: ../templates/massdetail.php:72 -msgid "All changes were reseted" -msgstr "¤¹¤Ù¤Æ¤ÎÊѹ¹¤¬¥ê¥»¥Ã¥È¤µ¤ì¤¿" - -#: ../templates/initsuff.php:149 -msgid "All changes were successful." -msgstr "¤¹¤Ù¤Æ¤ÎÊѹ¹¤¬À®¸ù¤·¤¿." - -#: ../lib/ldap.inc:197 -msgid "Allowed hosts" -msgstr "µö²Ä¤µ¤ì¤ë¥Û¥¹¥È" - -#: ../templates/account/useredit.php:811 -msgid "Allowed workstations" -msgstr "µö²Ä¤µ¤ì¤ëPC" - -#: ../templates/massdetail.php:274 ../templates/lists/listusers.php:360 -msgid "Apply" -msgstr "ŬÍÑ" - -#: ../templates/config/confmain.php:237 ../templates/confwiz/o_lists.php:131 -#: ../lib/config.inc:286 -msgid "Attributes in Group List" -msgstr "¥°¥ë¡¼¥×¥ê¥¹¥ÈÃæ¤Î°À­" - -#: ../templates/config/confmain.php:242 ../templates/confwiz/o_lists.php:136 -#: ../lib/config.inc:287 -msgid "Attributes in Host List" -msgstr "¥Û¥¹¥È¥ê¥¹¥ÈÃæ¤Î°À­" - -#: ../templates/config/confmain.php:232 ../templates/confwiz/o_lists.php:126 -#: ../lib/config.inc:285 -msgid "Attributes in User List" -msgstr "¥æ¡¼¥¶¥ê¥¹¥ÈÃæ¤Î°À­" - -#: ../templates/confwiz/server2.php:225 -msgid "Attributes in list views" -msgstr "¥ê¥¹¥È¥Ó¥å¡¼Ãæ¤Î°À­" - -#: ../templates/account/useredit.php:896 -msgid "Available groups" -msgstr "Í­¸ú¤Ê¥°¥ë¡¼¥×" - -#: ../templates/account/groupedit.php:553 -msgid "Available users" -msgstr "Í­¸ú¤Ê¥æ¡¼¥¶" - -#: ../templates/account/useredit.php:826 -msgid "Available workstations" -msgstr "Í­¸ú¤ÊPC" - -#: ../templates/account/useredit.php:835 ../templates/account/useredit.php:908 -#: ../templates/masscreate.php:330 ../templates/confwiz/server2.php:235 -msgid "Back" -msgstr "Ìá¤ë" - -#: ../templates/logout.php:63 ../templates/config/conflogin.php:143 -#: ../templates/config/confsave.php:222 ../templates/confwiz/final.php:55 -msgid "Back to Login" -msgstr "¥í¥°¥¤¥ó¤ËÌá¤ë" - -#: ../templates/ou_edit.php:309 ../templates/ou_edit.php:313 -msgid "Back to OU-Editor" -msgstr "OU-¥¨¥Ç¥£¥¿¤ËÌá¤ë" - -#: ../templates/profedit/profilecreate.php:65 -#: ../templates/profedit/profilecreate.php:76 -#: ../templates/profedit/profilecreate.php:84 -#: ../templates/profedit/profilecreate.php:92 -#: ../templates/profedit/profilecreate.php:100 -#: ../templates/profedit/profilecreate.php:108 -#: ../templates/profedit/profilecreate.php:116 -#: ../templates/profedit/profilecreate.php:124 -#: ../templates/profedit/profilecreate.php:132 -#: ../templates/profedit/profilecreate.php:140 -#: ../templates/profedit/profilecreate.php:148 -#: ../templates/profedit/profilecreate.php:156 -#: ../templates/profedit/profilecreate.php:164 -#: ../templates/profedit/profilecreate.php:172 -#: ../templates/profedit/profilecreate.php:180 -#: ../templates/profedit/profilecreate.php:188 -#: ../templates/profedit/profilecreate.php:197 -#: ../templates/profedit/profilecreate.php:206 -#: ../templates/profedit/profilecreate.php:215 -#: ../templates/profedit/profilecreate.php:223 -#: ../templates/profedit/profilecreate.php:231 -#: ../templates/profedit/profilecreate.php:247 -#: ../templates/profedit/profilecreate.php:252 -#: ../templates/profedit/profilecreate.php:257 -#: ../templates/profedit/profilecreate.php:262 -#: ../templates/profedit/profilecreate.php:274 -#: ../templates/profedit/profilecreate.php:284 -#: ../templates/profedit/profilecreate.php:297 -#: ../templates/profedit/profilecreate.php:312 -#: ../templates/profedit/profilecreate.php:317 -#: ../templates/profedit/profilecreate.php:322 -#: ../templates/profedit/profilecreate.php:327 -#: ../templates/profedit/profilecreate.php:339 -#: ../templates/profedit/profilecreate.php:349 -#: ../templates/profedit/profilecreate.php:362 -#: ../templates/profedit/profilecreate.php:370 -#: ../templates/profedit/profilecreate.php:378 -#: ../templates/profedit/profilecreate.php:385 -#: ../templates/profedit/profiledelete.php:75 -#: ../templates/profedit/profiledelete.php:83 -#: ../templates/profedit/profiledelete.php:131 -msgid "Back to Profile Editor" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥¨¥Ç¥£¥¿¤ËÌá¤ë" - -#: ../templates/domain.php:280 ../templates/domain.php:307 -msgid "Back to domain list" -msgstr "¥É¥á¥¤¥ó¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/account/groupedit.php:857 ../templates/delete.php:206 -#: ../templates/delete.php:242 ../templates/lists/userlink.php:56 -msgid "Back to group list" -msgstr "¥°¥ë¡¼¥×¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/account/hostedit.php:471 ../templates/delete.php:209 -#: ../templates/delete.php:234 -msgid "Back to host list" -msgstr "¥Û¥¹¥È¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/account/hostedit.php:100 -msgid "Back to hostlist" -msgstr "¥Û¥¹¥È¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/confwiz/o_daemon.php:79 -msgid "Back to lamdaemon and PDF settings" -msgstr "lamdaemon¤ÈPDFÀßÄê¤ËÌá¤ë" - -#: ../templates/confwiz/o_lang.php:76 -msgid "Back to language and admin settings." -msgstr "¸À¸ì¤È´ÉÍýÀßÄê¤ËÌá¤ë" - -#: ../templates/confwiz/server.php:85 ../templates/confwiz/server2.php:88 -msgid "Back to last page" -msgstr "ºÇ¸å¤Î¥Ú¡¼¥¸¤ËÌá¤ë" - -#: ../templates/confwiz/o_lists.php:79 -msgid "Back to list settings" -msgstr "¥ê¥¹¥ÈÀßÄê¤ËÌá¤ë" - -#: ../templates/config/confsave.php:84 ../templates/config/confsave.php:90 -#: ../templates/config/confsave.php:95 ../templates/config/confsave.php:100 -#: ../templates/config/confsave.php:105 ../templates/config/confsave.php:110 -#: ../templates/config/confsave.php:115 ../templates/config/confsave.php:120 -#: ../templates/config/confsave.php:125 ../templates/config/confsave.php:130 -#: ../templates/config/confsave.php:135 ../templates/config/confsave.php:140 -#: ../templates/config/confsave.php:145 ../templates/config/confsave.php:150 -#: ../templates/config/confsave.php:155 ../templates/config/confsave.php:160 -#: ../templates/config/confsave.php:165 ../templates/config/confsave.php:170 -#: ../templates/config/confsave.php:176 ../templates/config/confsave.php:182 -#: ../templates/config/confsave.php:188 ../templates/config/confsave.php:194 -#: ../templates/config/confsave.php:200 -msgid "Back to preferences..." -msgstr "¥×¥ê¥Õ¥¡¥ì¥ó¥¹¤ËÌá¤ë..." - -#: ../templates/config/profmanage.php:365 ../templates/confwiz/start.php:77 -msgid "Back to profile login" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥í¥°¥¤¥ó¤ËÌá¤ë" - -#: ../templates/confwiz/o_ranges.php:88 -msgid "Back to range settings" -msgstr "¥ì¥ó¥¸ÀßÄê¤ËÌá¤ë" - -#: ../templates/confwiz/ldaptest.php:182 ../templates/confwiz/ldaptest.php:292 -#: ../templates/confwiz/ldaptest.php:568 -msgid "Back to server settings" -msgstr "¥µ¡¼¥ÐÀßÄê¤ËÌá¤ë" - -#: ../templates/account/useredit.php:1578 ../templates/delete.php:203 -#: ../templates/delete.php:226 -msgid "Back to user list" -msgstr "¥æ¡¼¥¶¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/account/useredit.php:109 -msgid "Back to userlist" -msgstr "¥æ¡¼¥¶¥ê¥¹¥È¤ËÌá¤ë" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "Block hard quota" -msgstr "¥Ï¡¼¥Équota¤Î¥Ö¥í¥Ã¥¯" - -#: ../templates/account/groupedit.php:263 -#: ../templates/account/useredit.php:469 -#: ../templates/profedit/profilecreate.php:251 -#: ../templates/profedit/profilecreate.php:316 -msgid "" -"Block hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "¥Ï¡¼¥Équota¤Î¥Ö¥í¥Ã¥¯¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£¼«Á³¿ô¤Î¤ß¤¬Í­¸ú" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "Block soft quota" -msgstr "¥½¥Õ¥Èquota¤Î¥Ö¥í¥Ã¥¯" - -#: ../templates/account/groupedit.php:261 -#: ../templates/account/useredit.php:467 -#: ../templates/profedit/profilecreate.php:246 -#: ../templates/profedit/profilecreate.php:311 -msgid "" -"Block soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "¥½¥Õ¥Èquota¤Î¥Ö¥í¥Ã¥¯¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£¼«Á³¿ô¤Î¤ß¤¬Í­¸ú" - -#: ../templates/config/confmain.php:163 ../templates/confwiz/server2.php:202 -#: ../help/help.inc:103 ../lib/config.inc:273 -msgid "Cache timeout" -msgstr "¥­¥ã¥Ã¥·¥åÍ­¸ú»þ´Ö" - -#: ../templates/config/confsave.php:94 ../templates/confwiz/server2.php:74 -msgid "Cache timeout is invalid!" -msgstr "¥­¥ã¥Ã¥·¥åÍ­¸ú»þ´Ö¤¬ÉÔÀµ!" - -#: ../help/help.inc:145 ../help/help.inc:172 ../help/help.inc:174 -#: ../help/help.inc:176 ../help/help.inc:178 ../help/help.inc:212 -#: ../help/help.inc:215 ../help/help.inc:218 ../help/help.inc:220 -#: ../help/help.inc:223 ../help/help.inc:271 ../help/help.inc:281 -#: ../help/help.inc:283 ../help/help.inc:285 -msgid "Can be left empty." -msgstr "¾Êά²Ä" - -#: ../templates/account/hostedit.php:99 -msgid "Can not create any hosts." -msgstr "¥Û¥¹¥È¤¬ºîÀ®¤Ç¤­¤Ê¤¤." - -#: ../templates/account/useredit.php:108 -msgid "Can not create any users." -msgstr "¥æ¡¼¥¶¤¬ºîÀ®¤Ç¤­¤Ê¤¤." - -#: ../templates/delete.php:111 ../templates/domain.php:178 -#: ../templates/domain.php:209 ../templates/initsuff.php:199 -#: ../templates/masscreate.php:120 ../templates/masscreate.php:248 -#: ../templates/masscreate.php:331 ../templates/confwiz/ldaptest.php:209 -#: ../templates/confwiz/ldaptest.php:402 ../templates/confwiz/ldaptest.php:491 -#: ../templates/confwiz/o_daemon.php:142 ../templates/confwiz/o_lang.php:163 -#: ../templates/confwiz/o_lists.php:148 ../templates/confwiz/o_ranges.php:153 -#: ../templates/confwiz/server.php:197 ../templates/confwiz/server2.php:236 -#: ../templates/confwiz/start.php:182 -msgid "Cancel" -msgstr "Ãæ»ß" - -#: ../templates/login.php:311 ../templates/login.php:316 -#: ../templates/confwiz/server.php:68 ../templates/confwiz/server.php:69 -msgid "Cannot connect to specified LDAP-Server. Please try again." -msgstr "»ØÄꤵ¤ì¤¿LDAP-¥µ¡¼¥Ð¤ËÀܳ¤Ç¤­¤Ê¤¤¡£ºÆÅټ¹Ԥ»¤è¡£" - -#: ../lib/config.inc:263 ../lib/config.inc:777 -msgid "Cannot open config file!" -msgstr "config¥Õ¥¡¥¤¥ë¤ò³«¤±¤Ê¤¤!" - -#: ../lib/pdf.inc:113 -msgid "Cellular phone" -msgstr "·ÈÂÓÅÅÏÃÈÖ¹æ" - -#: ../templates/account/groupedit.php:832 -msgid "Change GID-Number of all users in group to new value" -msgstr "¥°¥ë¡¼¥×Ãæ¤Î¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¤ÎGIDÈÖ¹æ¤ò¿·¤·¤¤ÃͤËÊѹ¹" - -#: ../templates/login.php:262 -msgid "Change Profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤ÎÊѹ¹" - -#: ../templates/lists/listdomains.php:194 -#: ../templates/lists/listgroups.php:307 ../templates/lists/listhosts.php:295 -#: ../templates/lists/listusers.php:348 -msgid "Change Suffix" -msgstr "¥µ¥Õ¥£¥Ã¥¯¥¹¤ÎÊѹ¹" - -#: ../templates/config/profmanage.php:302 ../help/help.inc:117 -msgid "Change default profile" -msgstr "´ûÄêÃͤΥץí¥Õ¥¡¥¤¥ë¤òÊѹ¹" - -#: ../templates/config/profmanage.php:322 ../help/help.inc:119 -msgid "Change master password" -msgstr "¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤ÎÊѹ¹" - -#: ../help/help.inc:96 -msgid "Change password" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ÎÊѹ¹" - -#: ../templates/massdetail.php:189 ../templates/massdetail.php:194 -msgid "Check values." -msgstr "Ãͤθ¡ºº." - -#: ../templates/masscreate.php:246 ../lib/config.inc:70 -msgid "Click here if you are not directed to the next page." -msgstr "¼«Æ°Åª¤Ë¼¡¥Ú¡¼¥¸¤Ë¥¸¥ã¥ó¥×¤·¤Ê¤¤¾ì¹ç¤Ï¤³¤³¤ò¥¯¥ê¥Ã¥¯." - -#: ../help/help.inc:281 -msgid "Comma separated list of unix workstations the user is allowed to login." -msgstr "PC¤Î¥æ¡¼¥¶¤Î¥«¥ó¥ÞʬΥ¥ê¥¹¥È¤Ï¥í¥°¥¤¥ó¤Î»þ¤Ëǧ¤á¤é¤ì¤ë??." - -#: ../templates/delete.php:110 -msgid "Commit" -msgstr "Êѹ¹" - -#: ../templates/login.php:119 -msgid "Configuration Login" -msgstr "¹½À®ÀßÄê¥í¥°¥¤¥ó" - -#: ../help/help.inc:36 ../help/help.inc:38 ../help/help.inc:50 -#: ../help/help.inc:56 ../help/help.inc:58 ../help/help.inc:60 -#: ../help/help.inc:62 ../help/help.inc:77 ../help/help.inc:82 -#: ../help/help.inc:84 ../help/help.inc:86 ../help/help.inc:91 -#: ../help/help.inc:96 ../help/help.inc:98 ../help/help.inc:103 -#: ../help/help.inc:105 ../help/help.inc:107 -msgid "Configuration Wizard" -msgstr "¹½À®ÀßÄꥦ¥£¥¶¡¼¥É" - -#: ../templates/login.php:245 -msgid "Configuration profile" -msgstr "¹½À®¥×¥í¥Õ¥¡¥¤¥ë" - -#: ../templates/confwiz/start.php:135 -msgid "" -"Configuration profiles are protected with a password from unauthorised " -"access. Please enter it here." -msgstr "" -"¹½À®¥×¥í¥Õ¥¡¥¤¥ë¤Ïǧ¾Ú¤µ¤ì¤Ê¤¤(¥Ñ¥¹¥ï¡¼¥É̵¤·¤Î)¥¢¥¯¥»¥¹¤«¤éÊݸ¤ì¤Æ¤¤¤ë¡£" -"¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤ¬É¬Íס£" - -#: ../templates/config/conflogin.php:130 ../templates/confwiz/final.php:46 -#: ../templates/confwiz/ldaptest.php:168 ../templates/confwiz/ldaptest.php:191 -#: ../templates/confwiz/ldaptest.php:278 ../templates/confwiz/ldaptest.php:302 -#: ../templates/confwiz/ldaptest.php:469 ../templates/confwiz/ldaptest.php:554 -#: ../templates/confwiz/o_daemon.php:73 ../templates/confwiz/o_daemon.php:89 -#: ../templates/confwiz/o_lang.php:70 ../templates/confwiz/o_lang.php:86 -#: ../templates/confwiz/o_lists.php:73 ../templates/confwiz/o_lists.php:89 -#: ../templates/confwiz/o_ranges.php:82 ../templates/confwiz/o_ranges.php:98 -#: ../templates/confwiz/server.php:81 ../templates/confwiz/server.php:106 -#: ../templates/confwiz/server2.php:82 ../templates/confwiz/server2.php:107 -#: ../templates/confwiz/start.php:73 ../templates/confwiz/start.php:95 -msgid "Configuration wizard" -msgstr "¹½À®ÀßÄꥦ¥£¥¶¡¼¥É" - -#: ../templates/masscreate.php:281 -msgid "Confirm List" -msgstr "³Îǧ¥ê¥¹¥È" - -#: ../templates/masscreate.php:122 -msgid "Contiune" -msgstr "·Ñ³" - -#: ../templates/masscreate.php:206 -msgid "Could not create group!" -msgstr "¥°¥ë¡¼¥×¤òºîÀ®¤Ç¤­¤Ê¤¤!" - -#: ../templates/masscreate.php:236 -msgid "Could not create user!" -msgstr "¥æ¡¼¥¶¤òºîÀ®¤Ç¤­¤Ê¤¤!" - -#: ../templates/delete.php:179 -msgid "Could not delete group. Still users in group:" -msgstr "¥°¥ë¡¼¥×¤òºï½ü¤Ç¤­¤Ê¤¤¡£¥°¥ë¡¼¥×Ãæ¤Ë¥æ¡¼¥¶¤¬¤¤¤ë:" - -#: ../templates/delete.php:183 -msgid "Could not delete group:" -msgstr "¥°¥ë¡¼¥×¤òºï½ü¤Ç¤­¤Ê¤¤:" - -#: ../templates/delete.php:163 -msgid "Could not delete host:" -msgstr "¥Û¥¹¥È¤òºï½ü¤Ç¤­¤Ê¤¤:" - -#: ../templates/delete.php:158 -msgid "Could not delete user:" -msgstr "¥æ¡¼¥¶¤òºï½ü¤Ç¤­¤Ê¤¤:" - -#: ../templates/config/profmanage.php:90 -msgid "Could not rename file!" -msgstr "¥Õ¥¡¥¤¥ë̾¤òÊѹ¹¤Ç¤­¤Ê¤¤!" - -#: ../templates/account/groupedit.php:823 -#: ../templates/account/hostedit.php:433 -#: ../templates/account/useredit.php:1555 ../templates/initsuff.php:198 -#: ../templates/masscreate.php:328 ../templates/confwiz/ldaptest.php:208 -#: ../templates/confwiz/ldaptest.php:401 ../templates/confwiz/ldaptest.php:489 -msgid "Create" -msgstr "ºîÀ®" - -#: ../templates/account/groupedit.php:837 -#: ../templates/account/hostedit.php:442 -#: ../templates/account/useredit.php:1559 -msgid "Create Account" -msgstr "¥¢¥«¥¦¥ó¥ÈºîÀ®" - -#: ../templates/account/groupedit.php:856 -#: ../templates/account/hostedit.php:470 -#: ../templates/account/useredit.php:1577 ../templates/masscreate.php:264 -msgid "Create PDF file" -msgstr "PDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listgroups.php:319 -msgid "Create PDF for all groups" -msgstr "¤¹¤Ù¤Æ¤Î¥°¥ë¡¼¥×¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listhosts.php:308 -msgid "Create PDF for all hosts" -msgstr "¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listusers.php:374 -msgid "Create PDF for all users" -msgstr "¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listgroups.php:317 -msgid "Create PDF for selected group(s)" -msgstr "ÁªÂò¤µ¤ì¤¿¥°¥ë¡¼¥×¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listhosts.php:306 -msgid "Create PDF for selected host(s)" -msgstr "ÁªÂò¤µ¤ì¤¿¥Û¥¹¥È¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/lists/listusers.php:372 -msgid "Create PDF for selected user(s)" -msgstr "ÁªÂò¤µ¤ì¤¿¥æ¡¼¥¶¤ÎPDF¥Õ¥¡¥¤¥ëºîÀ®" - -#: ../templates/profedit/profilemain.php:180 -msgid "Create a new Group Profile" -msgstr "¿·¤·¤¤¥°¥ë¡¼¥×¥×¥í¥°¥é¥à¥Õ¥¡¥¤¥ë¤òºîÀ®" - -#: ../templates/profedit/profilemain.php:226 -msgid "Create a new Samba Host Profile" -msgstr "¿·¤·¤¤Samba¥Û¥¹¥È¥×¥í¥Õ¥¡¥¤¥ë¤òºîÀ®" - -#: ../templates/profedit/profilemain.php:136 -msgid "Create a new User Profile" -msgstr "¿·¤·¤¤¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë¤òºîÀ®" - -#: ../templates/account/groupedit.php:854 -msgid "Create another group" -msgstr "¤â¤¦°ì¤Ä¤Î¥°¥ë¡¼¥×¤òºîÀ®" - -#: ../templates/account/hostedit.php:468 -msgid "Create another host" -msgstr "¤â¤¦°ì¤Ä¤Î¥Û¥¹¥È¤òºîÀ®" - -#: ../templates/account/useredit.php:1575 -msgid "Create another user" -msgstr "¤â¤¦°ì¤Ä¤Î¥æ¡¼¥¶¤òºîÀ®" - -#: ../templates/account/groupedit.php:451 ../templates/account/hostedit.php:92 -#: ../templates/account/hostedit.php:310 ../templates/account/useredit.php:101 -#: ../templates/account/useredit.php:741 -msgid "Create new Account" -msgstr "¿·¤·¤¤¥¢¥«¥¦¥ó¥È¤òºîÀ®" - -#: ../templates/masscreate.php:110 ../templates/masscreate.php:133 -msgid "Create new Accounts" -msgstr "¿·¤·¤¤¥¢¥«¥¦¥ó¥È¤òºîÀ®" - -#: ../templates/massdetail.php:163 -msgid "Create new accounts" -msgstr "¿·¤·¤¤¥¢¥«¥¦¥ó¥È¤òºîÀ®" - -#: ../templates/masscreate.php:201 -#, php-format -msgid "Created group %s." -msgstr "¥°¥ë¡¼¥× %s ¤¬ºîÀ®¤µ¤ì¤¿." - -#: ../templates/config/profmanage.php:75 -msgid "Created new profile." -msgstr "¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤¿." - -#: ../templates/masscreate.php:231 -#, php-format -msgid "Created user %s." -msgstr "¥æ¡¼¥¶ %s ¤¬ºîÀ®¤µ¤ì¤¿." - -#: ../templates/masscreate.php:156 -msgid "Creating users. Please stand by ...." -msgstr "¥æ¡¼¥¶¤òºîÀ®¡£Please stand by ...." - -#: ../lib/pdf.inc:327 ../lib/pdf.inc:373 ../lib/pdf.inc:452 -msgid "DN" -msgstr "DN" - -#: ../help/help.inc:204 -msgid "Date after the user is able to change his password. Format: DD-MM-YYYY" -msgstr "" -"¥æ¡¼¥¶¤Î¸å¤ÎÆüÉդϤ½¤Î¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤Ç¤­¤ë¡£·Á¼°¤Ï: DD-MM-YYYY" - -#: ../help/help.inc:206 -msgid "Date after the user must change his password. Format: DD-MM-YYYY" -msgstr "" -"¥æ¡¼¥¶¤Î¸å¤ÎÆüÉդϤ½¤Î¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£·Á¼°¤Ï: DD-" -"MM-YYYY" - -#: ../help/help.inc:172 -msgid "" -"Days before password is to expire that user is warned of pending password " -"expiration. If set value must be 0<." -msgstr "" -"¥Ñ¥¹¥ï¡¼¥É¤¬´ü¸ÂÀÚ¤ì¤Ë¤Ê¤ëÁ°¤Ë¥æ¡¼¥¶¤Ø¥Ñ¥¹¥ï¡¼¥É´ü¸ÂÀÚ¤ì¤Îͱͽ´ü´Ö¤Ç¤¢¤ë»Ý¤ò" -"·Ù¹ð¤¹¤ëÆü¿ô¡£¤â¤·¤â¤½¤ÎÃͤòÀßÄꤹ¤ë¤Ê¤é0¤è¤ê¾®¤µ¤¯¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£" - -#: ../templates/config/confmain.php:270 ../templates/confwiz/o_lang.php:108 -#: ../help/help.inc:84 ../lib/config.inc:289 -msgid "Default language" -msgstr "´ûÄêÃͤθÀ¸ì" - -#: ../templates/domain.php:208 -msgid "Delete" -msgstr "ºï½ü" - -#: ../templates/delete.php:57 -msgid "Delete Account" -msgstr "¥¢¥«¥¦¥ó¥Èºï½ü" - -#: ../templates/lists/listdomains.php:201 -msgid "Delete Domain(s)" -msgstr "¥É¥á¥¤¥ó¤Îºï½ü" - -#: ../templates/profedit/profilemain.php:205 -msgid "Delete Group Profile" -msgstr "¥°¥ë¡¼¥×¥×¥í¥°¥é¥à¥Õ¥¡¥¤¥ë¤Îºï½ü" - -#: ../templates/lists/listgroups.php:314 -msgid "Delete Group(s)" -msgstr "¥°¥ë¡¼¥×¤Îºï½ü" - -#: ../templates/lists/listhosts.php:303 -msgid "Delete Host(s)" -msgstr "¥Û¥¹¥È¤Îºï½ü" - -#: ../templates/profedit/profilemain.php:250 -msgid "Delete Samba Host Profile" -msgstr "Samba¥Û¥¹¥È¥×¥í¥Õ¥¡¥¤¥ë¤Îºï½ü" - -#: ../templates/profedit/profiledelete.php:44 -#: ../templates/profedit/profilemain.php:160 -msgid "Delete User Profile" -msgstr "¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë¤Îºï½ü" - -#: ../templates/delete.php:102 -msgid "Delete also Homedirectories" -msgstr "¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤âºï½ü" - -#: ../templates/domain.php:199 -msgid "Delete domain(s)" -msgstr "¥É¥á¥¤¥ó¤òºï½ü" - -#: ../templates/delete.php:86 -msgid "Delete group(s)" -msgstr "¥°¥ë¡¼¥×¤òºï½ü" - -#: ../templates/delete.php:80 -msgid "Delete host(s)" -msgstr "¥Û¥¹¥È¤òºï½ü" - -#: ../templates/profedit/profiledelete.php:82 -msgid "Delete operation canceled." -msgstr "ºï½üÁàºî¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤¿" - -#: ../templates/ou_edit.php:357 ../templates/ou_edit.php:390 -#: ../templates/ou_edit.php:423 ../templates/ou_edit.php:457 -#: ../help/help.inc:291 -msgid "Delete organizational unit" -msgstr "organizational unit¤òºï½ü" - -#: ../templates/config/profmanage.php:231 ../help/help.inc:113 -msgid "Delete profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤òºï½ü" - -#: ../templates/delete.php:74 ../templates/lists/listusers.php:369 -msgid "Delete user(s)" -msgstr "¥æ¡¼¥¶¤òºï½ü" - -#: ../templates/profedit/profiledelete.php:55 -#: ../templates/profedit/profiledelete.php:62 -#: ../templates/profedit/profiledelete.php:69 -msgid "Deleted profile:" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤¿:" - -#: ../templates/delete.php:238 -msgid "Deleting group(s) canceled." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤Îºï½ü¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤¿" - -#: ../templates/delete.php:131 -msgid "Deleting group(s)..." -msgstr "¥°¥ë¡¼¥×ºï½üÃæ..." - -#: ../templates/delete.php:230 -msgid "Deleting host(s) canceled." -msgstr "¥Û¥¹¥È¤Îºï½ü¤¬Ãæ»ß¤µ¤ì¤¿." - -#: ../templates/delete.php:126 -msgid "Deleting host(s)..." -msgstr "¥Û¥¹¥È¤Îºï½üÃæ..." - -#: ../templates/delete.php:222 -msgid "Deleting user(s) canceled." -msgstr "¥æ¡¼¥¶¤Îºï½ü¤¬Ãæ»ß¤µ¤ì¤¿." - -#: ../templates/delete.php:121 -msgid "Deleting user(s)..." -msgstr "¥æ¡¼¥¶¤Îºï½üÃæ..." - -#: ../templates/account/groupedit.php:604 ../lib/ldap.inc:203 -#: ../lib/pdf.inc:300 ../lib/pdf.inc:342 ../lib/pdf.inc:428 -msgid "Description" -msgstr "ÀâÌÀ" - -#: ../templates/masscreate.php:284 -msgid "Details" -msgstr "¾ÜºÙ" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/groupedit.php:661 -#: ../templates/account/useredit.php:453 -#: ../templates/account/useredit.php:1180 ../help/help.inc:183 -#: ../lib/pdf.inc:434 -msgid "Display name" -msgstr "ɽ¼¨Ì¾" - -#: ../templates/domain.php:200 -msgid "Do you really want to delete domain(s):" -msgstr "ËÜÅö¤Ë¥É¥á¥¤¥ó¤òºï½ü¤·¤¿¤¤¤«?:" - -#: ../templates/delete.php:88 -msgid "Do you really want to delete group(s):" -msgstr "ËÜÅö¤Ë¥°¥ë¡¼¥×¤òºï½ü¤·¤¿¤¤¤«?:" - -#: ../templates/delete.php:82 -msgid "Do you really want to delete host(s):" -msgstr "ËÜÅö¤Ë¥Û¥¹¥È¤òºï½ü¤·¤¿¤¤¤«?:" - -#: ../templates/ou_edit.php:87 ../templates/ou_edit.php:152 -#: ../templates/ou_edit.php:217 ../templates/ou_edit.php:282 -msgid "Do you really want to delete this OU?" -msgstr "ËÜÅö¤Ë¤³¤ÎOU¤òºï½ü¤·¤¿¤¤¤«?" - -#: ../templates/profedit/profiledelete.php:93 -#: ../templates/profedit/profiledelete.php:105 -#: ../templates/profedit/profiledelete.php:117 -msgid "Do you really want to delete this profile?" -msgstr "ËÜÅö¤Ë¤³¤Î¥×¥í¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤¿¤¤¤«?" - -#: ../templates/delete.php:76 -msgid "Do you really want to delete user(s):" -msgstr "ËÜÅö¤Ë¤³¤Î¥æ¡¼¥¶¤òºï½ü¤·¤¿¤¤¤«?:" - -#: ../templates/account/groupedit.php:708 -#: ../templates/account/hostedit.php:397 -#: ../templates/account/useredit.php:1365 -#: ../templates/profedit/profilegroup.php:72 -#: ../templates/profedit/profilehost.php:83 -#: ../templates/profedit/profileuser.php:345 ../help/help.inc:222 -#: ../help/help.inc:282 ../lib/pdf.inc:315 ../lib/pdf.inc:360 -#: ../lib/pdf.inc:446 -msgid "Domain" -msgstr "¥É¥á¥¤¥ó" - -#: ../templates/account/groupedit.php:238 -#: ../templates/account/groupedit.php:698 -#: ../templates/account/groupedit.php:702 -#: ../templates/account/useredit.php:393 ../templates/account/useredit.php:408 -#: ../templates/account/useredit.php:1316 -#: ../templates/account/useredit.php:1320 -#: ../templates/account/useredit.php:1354 -#: ../templates/account/useredit.php:1358 -msgid "Domain Admins" -msgstr "¥É¥á¥¤¥ó´ÉÍý¼Ô(Domain Admins)" - -#: ../templates/account/groupedit.php:236 -#: ../templates/account/groupedit.php:680 -#: ../templates/account/groupedit.php:684 -#: ../templates/account/useredit.php:391 ../templates/account/useredit.php:406 -#: ../templates/account/useredit.php:1298 -#: ../templates/account/useredit.php:1302 -#: ../templates/account/useredit.php:1336 -#: ../templates/account/useredit.php:1340 -msgid "Domain Guests" -msgstr "¥É¥á¥¤¥ó¥²¥¹¥È(Domain Guests)" - -#: ../templates/domain.php:94 ../templates/confwiz/ldaptest.php:333 -#: ../templates/lists/listdomains.php:86 ../help/help.inc:297 -msgid "Domain SID" -msgstr "¥É¥á¥¤¥ó¤ÎSID" - -#: ../templates/domain.php:73 ../templates/confwiz/ldaptest.php:315 -msgid "Domain Settings" -msgstr "¥É¥á¥¤¥ó¤ÎÀßÄê" - -#: ../templates/account/groupedit.php:237 -#: ../templates/account/groupedit.php:689 -#: ../templates/account/groupedit.php:693 -#: ../templates/account/useredit.php:392 ../templates/account/useredit.php:407 -#: ../templates/account/useredit.php:1307 -#: ../templates/account/useredit.php:1311 -#: ../templates/account/useredit.php:1345 -#: ../templates/account/useredit.php:1349 -msgid "Domain Users" -msgstr "¥É¥á¥¤¥ó¥æ¡¼¥¶(Domain Users)" - -#: ../templates/domain.php:303 -msgid "Domain deleted successfully." -msgstr "¥É¥á¥¤¥ó¤ÏÀµ¤·¤¯ºï½ü¤µ¤ì¤¿." - -#: ../templates/domain.php:259 -msgid "Domain has been modified." -msgstr "¥É¥á¥¤¥ó¤ÏÊѹ¹¤µ¤ì¤¿" - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -#: ../templates/domain.php:78 ../templates/confwiz/ldaptest.php:320 -#: ../templates/lists/listdomains.php:85 ../help/help.inc:293 -msgid "Domain name" -msgstr "¥É¥á¥¤¥ó̾" - -#: ../templates/account/hostedit.php:212 ../templates/account/useredit.php:449 -msgid "" -"Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and -." -msgstr "" -"¥É¥á¥¤¥ó̾¤Ë¤ÏÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, A-Z, 0-9 ¤È -¤Ç¤¢¤ë." - -#: ../templates/domain.php:232 ../templates/confwiz/ldaptest.php:235 -#: ../templates/profedit/profilecreate.php:230 -#: ../templates/profedit/profilecreate.php:296 -#: ../templates/profedit/profilecreate.php:369 -msgid "Domain name is invalid!" -msgstr "¥É¥á¥¤¥ó̾¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:138 ../templates/confwiz/server2.php:156 -#: ../lib/config.inc:278 -msgid "DomainSuffix" -msgstr "¥É¥á¥¤¥ó¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/config/confsave.php:119 ../templates/confwiz/server2.php:68 -msgid "DomainSuffix is invalid!" -msgstr "¥É¥á¥¤¥ó¥µ¥Õ¥£¥Ã¥¯¥¹¤¬ÉÔÀµ!" - -#: ../templates/main_header.php:72 ../templates/ou_edit.php:439 -msgid "Domains" -msgstr "¥É¥á¥¤¥ó" - -#: ../help/help.inc:210 -msgid "Driveletter assigned on windows workstations as homedirectory." -msgstr "WindowsPC¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥É¥é¥¤¥Ö̾ʸ»ú¤Ï¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¢¤ë??." - -#: ../lib/ldap.inc:202 ../lib/pdf.inc:105 -msgid "E-Mail" -msgstr "ÅŻҥ᡼¥ë" - -#: ../templates/lists/listdomains.php:155 -#: ../templates/lists/listgroups.php:239 ../templates/lists/listhosts.php:243 -#: ../templates/lists/listusers.php:297 -msgid "Edit" -msgstr "ÊÔ½¸" - -#: ../templates/profedit/profilemain.php:193 -msgid "Edit Group Profile" -msgstr "¥°¥ë¡¼¥×¥×¥í¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸" - -#: ../templates/profedit/profilemain.php:238 -msgid "Edit Samba Host Profile" -msgstr "Samba¥Û¥¹¥È¥×¥í¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸" - -#: ../templates/profedit/profilemain.php:148 -msgid "Edit User Profile" -msgstr "¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë¤ÎÊÔ½¸" - -#: ../templates/account/useredit.php:978 -msgid "Edit groups" -msgstr "¥°¥ë¡¼¥×¤ÎÊÔ½¸" - -#: ../templates/account/useredit.php:1278 -msgid "Edit workstations" -msgstr "¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤ÎÊÔ½¸??" - -#: ../templates/account/useredit.php:496 -#: ../templates/account/useredit.php:1472 ../templates/masscreate.php:377 -#: ../templates/masscreate.php:575 ../templates/massdetail.php:142 -#: ../templates/massdetail.php:226 ../help/help.inc:250 -msgid "Employee type" -msgstr "¿¦¶È" - -#: ../help/help.inc:251 -msgid "Employee type: worker, student, nurse, ..." -msgstr "¿¦¶È:²ñ¼Ò°÷¡¢³ØÀ¸¡¢´Ç¸î»Î¡¢ITÀï»Î ..." - -#: ../templates/login.php:287 -msgid "Empty Password submitted. Try again." -msgstr "¶õÇò¤Î¥Ñ¥¹¥ï¡¼¥É¤Ç¤¢¤ë¡£ºÆÅټ¹Ԥ»¤è." - -#: ../templates/login.php:139 -msgid "Enter Username and Password for Account" -msgstr "¥¢¥«¥¦¥ó¥È¤ËÂФ¹¤ë¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ" - -#: ../templates/masscreate.php:284 -msgid "Errors" -msgstr "¥¨¥é¡¼" - -#: ../templates/confwiz/o_lang.php:147 ../templates/confwiz/o_lists.php:109 -#: ../help/help.inc:65 ../help/help.inc:80 -msgid "Example" -msgstr "Îã" - -#: ../templates/confwiz/server.php:124 ../help/help.inc:41 ../help/help.inc:53 -msgid "Examples" -msgstr "Îã" - -#: ../templates/masscreate.php:402 ../help/help.inc:187 -msgid "Expand suffix with primary groupname" -msgstr "¥×¥é¥¤¥Þ¥ê¤Î¥°¥ë¡¼¥×̾¤Ë¥µ¥Õ¥£¥Ã¥¯¥¹¤òÊä´°??" - -#: ../templates/account/useredit.php:1099 ../help/help.inc:179 -msgid "Expire date" -msgstr "ËþλÆü" - -#: ../lib/pdf.inc:117 -msgid "Facsimile" -msgstr "¥Õ¥¡¥¯¥¹" - -#: ../templates/domain.php:277 ../templates/confwiz/ldaptest.php:267 -msgid "Failed to add domain!" -msgstr "¥É¥á¥¤¥óÄɲä˼ºÇÔ!" - -#: ../templates/initsuff.php:141 ../templates/confwiz/ldaptest.php:179 -msgid "Failed to create entry!" -msgstr "¥¨¥ó¥È¥êºîÀ®¤Ë¼ºÇÔ!" - -#: ../templates/domain.php:260 -msgid "Failed to modify domain!" -msgstr "¥É¥á¥¤¥óÊѹ¹¤Ë¼ºÇÔ!" - -#: ../templates/account/useredit.php:491 -#: ../templates/account/useredit.php:1508 ../templates/masscreate.php:369 -#: ../templates/masscreate.php:570 ../templates/massdetail.php:154 -#: ../templates/massdetail.php:262 ../help/help.inc:262 ../help/help.inc:263 -msgid "Fax number" -msgstr "¥Õ¥¡¥¯¥¹ÈÖ¹æ" - -#: ../templates/main_header.php:58 ../templates/masscreate.php:347 -msgid "File Upload" -msgstr "¥Õ¥¡¥¤¥ë¤Î¥¢¥Ã¥×¥í¡¼¥É" - -#: ../help/help.inc:212 -#, php-format -msgid "" -"Filename and -path relative to netlogon-share which should be executed on " -"logon. $%s and $%s are replaced with user- and groupname." -msgstr "" -"¥Í¥Ã¥È¥í¥°¥ª¥ó¶¦Í­¤Ø¤ÎÁêÂÐŪ¤Ê-¥Ñ¥¹¤È¥Õ¥¡¥¤¥ë̾¤Ï¥í¥°¥ª¥ó¤Î»þ¤Ë¼Â¹Ô¤µ¤ì¤ë¤Ù¤­" -"¤Ç¤¢¤ë¡£$%s¤È$%s¤Ï¥æ¡¼¥¶¤È¥°¥ë¡¼¥×̾¤ËÃÖ¤­´¹¤¨¤é¤ì¤ë¡£" - -#: ../templates/lists/listgroups.php:208 ../templates/lists/listhosts.php:212 -#: ../templates/lists/listusers.php:254 -msgid "Filter" -msgstr "¥Õ¥£¥ë¥¿" - -#: ../templates/account/groupedit.php:525 -#: ../templates/account/groupedit.php:582 -#: ../templates/account/groupedit.php:649 -#: ../templates/account/groupedit.php:745 -#: ../templates/account/groupedit.php:802 -#: ../templates/account/useredit.php:796 ../templates/account/useredit.php:866 -#: ../templates/account/useredit.php:928 -#: ../templates/account/useredit.php:1049 -#: ../templates/account/useredit.php:1166 -#: ../templates/account/useredit.php:1405 -#: ../templates/account/useredit.php:1454 -#: ../templates/account/useredit.php:1534 -msgid "Final" -msgstr "ºÇ¸å" - -#: ../templates/account/useredit.php:954 ../lib/ldap.inc:198 -msgid "First name" -msgstr "(À«¤Ç¤Ê¤¤)̾" - -#: ../lib/pdf.inc:440 -msgid "GID" -msgstr "GID" - -#: ../templates/account/groupedit.php:600 ../help/help.inc:58 -#: ../help/help.inc:157 ../lib/ldap.inc:195 ../lib/ldap.inc:207 -#: ../lib/ldap.inc:218 -msgid "GID number" -msgstr "GIDÈÖ¹æ" - -#: ../templates/account/groupedit.php:334 -msgid "" -"GID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"GID-Èֹ椬Êѹ¹¤µ¤ì¤¿¡£Â¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤Î°À­¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë¡¢root¤Ç°Ê²¼¤Î¥³" -"¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:" - -#: ../templates/account/groupedit.php:171 -#: ../templates/account/hostedit.php:186 ../templates/account/hostedit.php:385 -#: ../templates/account/useredit.php:241 ../templates/account/useredit.php:987 -#: ../templates/masscreate.php:555 ../help/help.inc:149 ../help/help.inc:160 -#: ../help/help.inc:169 -msgid "Gecos" -msgstr "Gecos" - -#: ../templates/account/groupedit.php:517 -#: ../templates/account/groupedit.php:574 -#: ../templates/account/groupedit.php:644 -#: ../templates/account/groupedit.php:738 -#: ../templates/account/groupedit.php:795 -#: ../templates/account/useredit.php:790 ../templates/account/useredit.php:860 -#: ../templates/account/useredit.php:922 -#: ../templates/account/useredit.php:1043 -#: ../templates/account/useredit.php:1160 -#: ../templates/account/useredit.php:1400 -#: ../templates/account/useredit.php:1448 -#: ../templates/account/useredit.php:1528 -msgid "General" -msgstr "°ìÈÌ??" - -#: ../templates/account/groupedit.php:594 -#: ../templates/account/hostedit.php:362 ../templates/account/useredit.php:940 -msgid "General properties" -msgstr "°ìÈ̤Υץí¥Ñ¥Æ¥£" - -#: ../templates/account/useredit.php:1066 -msgid "Generate password" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ÎºîÀ®" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:355 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 ../templates/massdetail.php:208 -#: ../help/help.inc:193 ../lib/pdf.inc:89 -msgid "Given name" -msgstr "(À«¤Ç¤Ê¤¤)̾" - -#: ../templates/account/useredit.php:236 ../templates/masscreate.php:550 -#: ../templates/massdetail.php:84 -msgid "Given name contains invalid characters" -msgstr "À«¤Ç¤Ê¤¤Ì¾(Given name)¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë" - -#: ../help/help.inc:194 -msgid "Given name of user. Only letters, - and spaces are allowed." -msgstr "¥æ¡¼¥¶¤Î(À«¤Ç¤Ê¤¤)̾¡£Ê¸»ú,¥Ï¥¤¥Õ¥ó(-)¤È¥¹¥Ú¡¼¥¹¤¬Í­¸ú." - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 ../help/help.inc:234 -msgid "Grace block period" -msgstr "Grace block period" - -#: ../help/help.inc:235 -msgid "" -"Grace block period. Most filesystems use a fixed maximum value of 7 days." -msgstr "" -"Grace block period. ¤Û¤È¤ó¤É¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï¸ÇÄꤵ¤ì¤¿°ì½µ´Ö¤ÎºÇÂçÃͤò»È" -"¤¦??" - -#: ../help/help.inc:246 -msgid "" -"Grace inode (files) period. Most filesystems use a fixed maximum value of 7 " -"days." -msgstr "" -"Grace inode (files) period. ¤Û¤È¤ó¤É¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï¸ÇÄꤵ¤ì¤¿°ì½µ´Ö¤ÎºÇ" -"ÂçÃͤò»È¤¦??" - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 ../help/help.inc:245 -msgid "Grace inode period" -msgstr "Grace inode period??" - -#: ../templates/masscreate.php:279 -msgid "Group" -msgstr "¥°¥ë¡¼¥×" - -#: ../templates/account/groupedit.php:850 -#, php-format -msgid "Group %s has been created." -msgstr "¥°¥ë¡¼¥× %s ¤ÏºîÀ®¤µ¤ì¤¿" - -#: ../templates/account/groupedit.php:847 -#, php-format -msgid "Group %s has been modified." -msgstr "¥°¥ë¡¼¥× %s ¤ÏÊѹ¹¤µ¤ì¤¿" - -#: ../templates/profedit/profilemain.php:172 -msgid "Group Profiles" -msgstr "¥°¥ë¡¼¥×¤Î¥×¥í¥Ñ¥Æ¥£" - -#: ../templates/confwiz/ldaptest.php:484 -msgid "Group SID" -msgstr "¥°¥ë¡¼¥×SID" - -#: ../lib/ldap.inc:210 -msgid "Group description" -msgstr "¥°¥ë¡¼¥×¤ÎÀâÌÀ" - -#: ../help/help.inc:161 -msgid "Group description. If left empty group name will be used." -msgstr "¥°¥ë¡¼¥×¤ÎÀâÌÀ¡£¤â¤·¤â¶õÇò¤Ê¤é¤Ð¡¢¥°¥ë¡¼¥×̾¤¬»È¤ï¤ì¤ë." - -#: ../lib/pdf.inc:415 ../lib/pdf.inc:555 -msgid "Group information page" -msgstr "¥°¥ë¡¼¥×¾ðÊó¥Ú¡¼¥¸" - -#: ../templates/config/confsave.php:159 ../templates/confwiz/o_lists.php:57 -msgid "Group list attributes are invalid!" -msgstr "¥°¥ë¡¼¥×¥ê¥¹¥È¤Î°À­¤¬ÉÔÀµ!" - -#: ../lib/ldap.inc:209 -msgid "Group member DNs" -msgstr "¥°¥ë¡¼¥×¥á¥ó¥Ð¤ÎDN" - -#: ../templates/account/groupedit.php:538 ../help/help.inc:181 -#: ../help/help.inc:284 ../lib/ldap.inc:208 -msgid "Group members" -msgstr "¥°¥ë¡¼¥×¥á¥ó¥Ð" - -#: ../lib/ldap.inc:206 -msgid "Group name" -msgstr "¥°¥ë¡¼¥×̾" - -#: ../help/help.inc:156 -msgid "" -"Group name of the group which should be created. Valid characters are: a-z,0-" -"9, .-_. Lam does not allow a number as first character because groupadd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. If groupname is already used groupname will be " -"expanded with a number. The next free number will be used." -msgstr "" -"¥°¥ë¡¼¥×¤Î¥°¥ë¡¼¥×̾¤ÏºîÀ®¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z,0-9¤È.-¤Ç¤¢¤ë¡£" -"Lam¤Ïgroupadd¥³¥Þ¥ó¥É¤¬Ç§¤á¤Ê¤¤¤¿¤á¡¢ºÇ½é¤Îʸ»ú¤Ë¿ô»ú¤Ï»È¤¨¤Ê¤¤¡£Lam¤Ï¤¤¤¯¤Ä" -"¤«¤ÎÌäÂ꤬µ¯¤­¤ë¤¿¤á¡¢Ê¸»úA-Z¤Ï»È¤¨¤Ê¤¤¡£¤â¤·¤â¥°¥ë¡¼¥×̾¤¬¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤¿" -"¤Ê¤é¤Ð¡¢¥°¥ë¡¼¥×̾¤Ï¿ô»ú¤¬Êä´°¤µ¤ì¤ë¡£¼¡¤Î¼«Í³¤Ê¿ô»ú¤¬»È¤ï¤ì¤ë¡£" - -#: ../templates/masscreate.php:406 ../help/help.inc:189 -msgid "Group suffix" -msgstr "¥°¥ë¡¼¥×¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../lib/pdf.inc:146 -msgid "Group(s)" -msgstr "¥°¥ë¡¼¥×" - -#: ../templates/lists/listgroups.php:353 -msgid "Group(s) found" -msgstr "¥°¥ë¡¼¥×¤¬¸«¤Ä¤«¤Ã¤¿" - -#: ../templates/config/confmain.php:128 ../templates/confwiz/server2.php:139 -#: ../lib/config.inc:276 -msgid "GroupSuffix" -msgstr "¥°¥ë¡¼¥×¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/config/confsave.php:109 ../templates/confwiz/server2.php:62 -msgid "GroupSuffix is invalid!" -msgstr "¥°¥ë¡¼¥×¥µ¥Õ¥£¥Ã¥¯¥¹¤¬ÉÔÀµ!" - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/groupedit.php:168 -#: ../templates/account/groupedit.php:208 -#: ../templates/account/groupedit.php:596 ../help/help.inc:155 -msgid "Groupname" -msgstr "¥°¥ë¡¼¥×̾" - -#: ../templates/account/groupedit.php:208 -msgid "Groupname already in use. Selected next free groupname." -msgstr "¥°¥ë¡¼¥×̾¤¬¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤ë¡£¼¡¤Î¼«Í³¤Ê¥°¥ë¡¼¥×̾¤¬ÁªÂò¤µ¤ì¤¿." - -#: ../templates/account/groupedit.php:168 -msgid "" -"Groupname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"¥°¥ë¡¼¥×̾¤ËÉÔÀµ¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£Í­¸ú¤Êʸ»ú¤Ï:a-z,A-Z,0-9¤È .-_¤Ç¤¢¤ë!" - -#: ../templates/main_header.php:74 ../templates/main_header.php:79 -#: ../templates/ou_edit.php:372 ../templates/confwiz/o_lists.php:115 -#: ../help/help.inc:72 -msgid "Groups" -msgstr "¥°¥ë¡¼¥×" - -#: ../lib/pdf.inc:243 -msgid "Hard block" -msgstr "¥Ï¡¼¥ÉblockÀ©¸Â??" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:101 -#: ../templates/profedit/profileuser.php:378 ../help/help.inc:231 -#: ../help/help.inc:232 -msgid "Hard block limit" -msgstr "¥Ï¡¼¥É¥Ö¥í¥Ã¥¯À©¸Â" - -#: ../lib/pdf.inc:244 -msgid "Hard inode" -msgstr "¥Ï¡¼¥ÉinodeÀ©¸Â??" - -#: ../help/help.inc:243 -msgid "Hard inode (files) limit" -msgstr "¥Ï¡¼¥Éinode(¥Õ¥¡¥¤¥ë)À©¸Â" - -#: ../templates/account/groupedit.php:761 -#: ../templates/account/useredit.php:1420 -#: ../templates/profedit/profilegroup.php:103 -#: ../templates/profedit/profileuser.php:380 ../help/help.inc:242 -msgid "Hard inode limit" -msgstr "¥Ï¡¼¥ÉinodeÀ©¸Â" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "Have to add objectClass posixAccount." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ posixAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/groupedit.php:330 -msgid "Have to add objectClass posixGroup." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ posixGroup ¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/hostedit.php:226 -msgid "" -"Have to add objectClass sambaAccount. Host with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹sambaAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¥Û¥¹¥È¤Î" -"sambaSamAccount¤ÏsambaAccount¤ËÌᤵ¤ì¤ë¡£" - -#: ../templates/account/useredit.php:594 -msgid "" -"Have to add objectClass sambaAccount. User with sambaSamAccount will be set " -"back to sambaAccount." -msgstr "" -"¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹sambaAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¥æ¡¼¥¶¤Î" -"sambaSamAccount¤ÏsambaAccount¤ËÌᤵ¤ì¤ë¡£" - -#: ../templates/account/groupedit.php:328 -msgid "Have to add objectClass sambaGroupMapping." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹sambaGroupMapping¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/hostedit.php:224 -msgid "" -"Have to add objectClass sambaSamAccount. Host with sambaAccount will be " -"updated." -msgstr "" -"¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹sambaSamAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¥Û¥¹¥È¤Î" -"sambaAccount¤Ï¹¹¿·¤µ¤ì¤ë." - -#: ../templates/account/useredit.php:590 -msgid "" -"Have to add objectClass sambaSamAccount. User with sambaAccount will be " -"updated." -msgstr "" -"¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹sambaSamAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¥æ¡¼¥¶¤Î" -"sambaAccount¤Ï¹¹¿·¤µ¤ì¤ë." - -#: ../templates/account/useredit.php:587 -msgid "Have to add objectClass shadowAccount." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹shadowAccount¤òÄɲ䷤ʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/groupedit.php:551 -#: ../templates/account/groupedit.php:599 -#: ../templates/account/groupedit.php:602 -#: ../templates/account/groupedit.php:606 -#: ../templates/account/groupedit.php:617 -#: ../templates/account/groupedit.php:631 -#: ../templates/account/groupedit.php:664 -#: ../templates/account/groupedit.php:706 -#: ../templates/account/groupedit.php:723 -#: ../templates/account/groupedit.php:762 -#: ../templates/account/groupedit.php:763 -#: ../templates/account/groupedit.php:764 -#: ../templates/account/groupedit.php:765 -#: ../templates/account/groupedit.php:766 -#: ../templates/account/groupedit.php:819 -#: ../templates/account/hostedit.php:358 ../templates/account/hostedit.php:368 -#: ../templates/account/hostedit.php:374 ../templates/account/hostedit.php:383 -#: ../templates/account/hostedit.php:388 ../templates/account/hostedit.php:415 -#: ../templates/account/hostedit.php:426 ../templates/account/hostedit.php:452 -#: ../templates/account/useredit.php:824 ../templates/account/useredit.php:894 -#: ../templates/account/useredit.php:946 ../templates/account/useredit.php:952 -#: ../templates/account/useredit.php:958 ../templates/account/useredit.php:964 -#: ../templates/account/useredit.php:974 ../templates/account/useredit.php:980 -#: ../templates/account/useredit.php:985 ../templates/account/useredit.php:990 -#: ../templates/account/useredit.php:999 -#: ../templates/account/useredit.php:1011 -#: ../templates/account/useredit.php:1025 -#: ../templates/account/useredit.php:1077 -#: ../templates/account/useredit.php:1082 -#: ../templates/account/useredit.php:1087 -#: ../templates/account/useredit.php:1092 -#: ../templates/account/useredit.php:1097 -#: ../templates/account/useredit.php:1116 -#: ../templates/account/useredit.php:1122 -#: ../templates/account/useredit.php:1130 -#: ../templates/account/useredit.php:1183 -#: ../templates/account/useredit.php:1197 -#: ../templates/account/useredit.php:1203 -#: ../templates/account/useredit.php:1209 -#: ../templates/account/useredit.php:1228 -#: ../templates/account/useredit.php:1247 -#: ../templates/account/useredit.php:1253 -#: ../templates/account/useredit.php:1260 -#: ../templates/account/useredit.php:1265 -#: ../templates/account/useredit.php:1270 -#: ../templates/account/useredit.php:1275 -#: ../templates/account/useredit.php:1280 -#: ../templates/account/useredit.php:1363 -#: ../templates/account/useredit.php:1384 -#: ../templates/account/useredit.php:1421 -#: ../templates/account/useredit.php:1422 -#: ../templates/account/useredit.php:1423 -#: ../templates/account/useredit.php:1424 -#: ../templates/account/useredit.php:1425 -#: ../templates/account/useredit.php:1470 -#: ../templates/account/useredit.php:1476 -#: ../templates/account/useredit.php:1482 -#: ../templates/account/useredit.php:1488 -#: ../templates/account/useredit.php:1494 -#: ../templates/account/useredit.php:1500 -#: ../templates/account/useredit.php:1506 -#: ../templates/account/useredit.php:1512 -#: ../templates/account/useredit.php:1518 -#: ../templates/account/useredit.php:1551 ../templates/domain.php:86 -#: ../templates/domain.php:102 ../templates/domain.php:113 -#: ../templates/domain.php:121 ../templates/domain.php:129 -#: ../templates/domain.php:141 ../templates/domain.php:159 -#: ../templates/masscreate.php:395 ../templates/masscreate.php:400 -#: ../templates/masscreate.php:405 ../templates/masscreate.php:410 -#: ../templates/masscreate.php:418 ../templates/massdetail.php:206 -#: ../templates/massdetail.php:212 ../templates/massdetail.php:218 -#: ../templates/massdetail.php:224 ../templates/massdetail.php:230 -#: ../templates/massdetail.php:236 ../templates/massdetail.php:242 -#: ../templates/massdetail.php:248 ../templates/massdetail.php:254 -#: ../templates/massdetail.php:260 ../templates/massdetail.php:266 -#: ../templates/massdetail.php:272 ../templates/ou_edit.php:352 -#: ../templates/ou_edit.php:365 ../templates/ou_edit.php:385 -#: ../templates/ou_edit.php:398 ../templates/ou_edit.php:418 -#: ../templates/ou_edit.php:431 ../templates/ou_edit.php:452 -#: ../templates/ou_edit.php:465 ../templates/config/conflogin.php:119 -#: ../templates/config/confmain.php:116 ../templates/config/confmain.php:125 -#: ../templates/config/confmain.php:130 ../templates/config/confmain.php:135 -#: ../templates/config/confmain.php:140 ../templates/config/confmain.php:156 -#: ../templates/config/confmain.php:172 ../templates/config/confmain.php:186 -#: ../templates/config/confmain.php:203 ../templates/config/confmain.php:212 -#: ../templates/config/confmain.php:221 ../templates/config/confmain.php:234 -#: ../templates/config/confmain.php:239 ../templates/config/confmain.php:244 -#: ../templates/config/confmain.php:259 ../templates/config/confmain.php:299 -#: ../templates/config/confmain.php:313 ../templates/config/confmain.php:317 -#: ../templates/config/confmain.php:331 ../templates/config/confmain.php:345 -#: ../templates/config/confmain.php:353 ../templates/config/profmanage.php:163 -#: ../templates/config/profmanage.php:210 -#: ../templates/config/profmanage.php:235 -#: ../templates/config/profmanage.php:264 -#: ../templates/config/profmanage.php:307 -#: ../templates/config/profmanage.php:330 -#: ../templates/config/profmanage.php:358 -#: ../templates/confwiz/ldaptest.php:325 ../templates/confwiz/ldaptest.php:338 -#: ../templates/confwiz/ldaptest.php:349 ../templates/confwiz/ldaptest.php:357 -#: ../templates/confwiz/ldaptest.php:365 ../templates/confwiz/ldaptest.php:376 -#: ../templates/confwiz/ldaptest.php:393 ../templates/confwiz/o_ranges.php:125 -#: ../templates/confwiz/o_ranges.php:134 ../templates/confwiz/o_ranges.php:143 -#: ../templates/profedit/profilegroup.php:84 -#: ../templates/profedit/profilegroup.php:106 -#: ../templates/profedit/profilegroup.php:107 -#: ../templates/profedit/profilegroup.php:108 -#: ../templates/profedit/profilegroup.php:109 -#: ../templates/profedit/profilegroup.php:110 -#: ../templates/profedit/profilegroup.php:145 -#: ../templates/profedit/profilehost.php:75 -#: ../templates/profedit/profilehost.php:100 -#: ../templates/profedit/profilehost.php:114 -#: ../templates/profedit/profileuser.php:100 -#: ../templates/profedit/profileuser.php:112 -#: ../templates/profedit/profileuser.php:122 -#: ../templates/profedit/profileuser.php:134 -#: ../templates/profedit/profileuser.php:147 -#: ../templates/profedit/profileuser.php:154 -#: ../templates/profedit/profileuser.php:161 -#: ../templates/profedit/profileuser.php:168 -#: ../templates/profedit/profileuser.php:175 -#: ../templates/profedit/profileuser.php:200 -#: ../templates/profedit/profileuser.php:210 -#: ../templates/profedit/profileuser.php:223 -#: ../templates/profedit/profileuser.php:242 -#: ../templates/profedit/profileuser.php:252 -#: ../templates/profedit/profileuser.php:262 -#: ../templates/profedit/profileuser.php:272 -#: ../templates/profedit/profileuser.php:306 -#: ../templates/profedit/profileuser.php:313 -#: ../templates/profedit/profileuser.php:320 -#: ../templates/profedit/profileuser.php:327 -#: ../templates/profedit/profileuser.php:337 -#: ../templates/profedit/profileuser.php:362 -#: ../templates/profedit/profileuser.php:383 -#: ../templates/profedit/profileuser.php:384 -#: ../templates/profedit/profileuser.php:385 -#: ../templates/profedit/profileuser.php:386 -#: ../templates/profedit/profileuser.php:387 -#: ../templates/profedit/profileuser.php:422 -msgid "Help" -msgstr "¥Ø¥ë¥×" - -#: ../help/help.inc:145 -msgid "Hold the CTRL-key to (de)select multiple groups." -msgstr "Ê£¿ô¤Î¥°¥ë¡¼¥×¤ÎÁªÂò(²ò½ü)¤Î¤¿¤á¤Ë¤ÏCtrl-¥­¡¼¤ò²¡¤¹." - -#: ../templates/profedit/profileuser.php:120 ../lib/pdf.inc:158 -msgid "Home Directory" -msgstr "¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê" - -#: ../templates/account/useredit.php:562 -msgid "" -"Home Directory has changed. You have to run the following command as root in " -"order to change the existing homedirectory:" -msgstr "" -"¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤¬Êѹ¹¤µ¤ì¤¿¡£Â¸ºß¤¹¤ë¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë" -"root¤Ç°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:" - -#: ../templates/account/useredit.php:296 ../templates/account/useredit.php:298 -#: ../templates/account/useredit.php:982 ../help/help.inc:146 -#: ../lib/ldap.inc:200 -msgid "Home directory" -msgstr "¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê" - -#: ../templates/account/useredit.php:1255 -#: ../templates/profedit/profileuser.php:280 ../help/help.inc:209 -#: ../lib/pdf.inc:206 -msgid "Home drive" -msgstr "¥Û¡¼¥à¥É¥é¥¤¥Ö" - -#: ../templates/account/useredit.php:438 ../templates/account/useredit.php:440 -#: ../templates/account/useredit.php:1262 -#: ../templates/profedit/profileuser.php:311 ../help/help.inc:219 -msgid "Home path" -msgstr "¥Û¡¼¥à¥Ñ¥¹" - -#: ../templates/account/useredit.php:440 -msgid "Home path is invalid." -msgstr "¥Û¡¼¥à¥Ñ¥¹¤¬ÉÔÀµ." - -#: ../templates/profedit/profilecreate.php:75 -msgid "Homedir is invalid!" -msgstr "Homedir¤¬ÉÔÀµ!" - -#: ../templates/account/useredit.php:298 -msgid "Homedirectory contains invalid characters." -msgstr "¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë." - -#: ../templates/account/hostedit.php:464 -#, php-format -msgid "Host %s has been created." -msgstr "¥Û¥¹¥È %s ¤ÏºîÀ®¤µ¤ì¤¿" - -#: ../templates/account/hostedit.php:461 -#, php-format -msgid "Host %s has been modified." -msgstr "¥Û¥¹¥È %s ¤ÏÊѹ¹¤µ¤ì¤¿" - -#: ../templates/profedit/profilehost.php:63 -msgid "Host attributes" -msgstr "¥Û¥¹¥È¤Î°À­" - -#: ../lib/ldap.inc:216 -msgid "Host description" -msgstr "¥Û¥¹¥È¤ÎÀâÌÀ" - -#: ../help/help.inc:170 -msgid "Host description. If left empty host name will be used." -msgstr "¥Û¥¹¥È¤ÎÀâÌÀ¡£¤â¤·¤â¶õÇò¤Ê¤é¤Ð¡¢¥Û¥¹¥È̾¤¬»È¤ï¤ì¤ë." - -#: ../templates/config/confsave.php:164 ../templates/confwiz/o_lists.php:60 -msgid "Host list attributes are invalid!" -msgstr "Attribute der Hostliste sind ung|ltig!" - -#: ../templates/account/hostedit.php:131 ../templates/account/hostedit.php:137 -#: ../templates/account/hostedit.php:177 ../templates/account/hostedit.php:364 -#: ../help/help.inc:162 ../lib/ldap.inc:214 -msgid "Host name" -msgstr "¥Û¥¹¥È̾" - -#: ../help/help.inc:163 -msgid "" -"Host name of the host which should be created. Valid characters are: a-z,0-" -"9, .-_$. Lam does not allow a number as first character because useradd also " -"does not allow it. Lam does not allow capital letters A-Z because it can " -"cause several problems. Hostnames are always ending with $. If last " -"character is not $ it will be added. If hostname is already used hostname " -"will be expanded with a number. The next free number will be used." -msgstr "" -"¥Û¥¹¥È¤Î¥Û¥¹¥È̾¤ÏºîÀ®¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, 0-9 ¤È .-_$. Lam¤Ï" -"useradd¥³¥Þ¥ó¥É¤¬µö²Ä¤·¤Ê¤¤¤¿¤á¡¢ºÇ½é¤Îʸ»ú¤Ë¿ô»ú¤òµö²Ä¤·¤Ê¤¤¡£Lam¤Ï¤¤¤¯¤Ä¤«" -"¤ÎÌäÂê¤ò°ú¤­µ¯¤³¤¹¤¿¤á¡¢Âçʸ»ú¤ÎA-Z¤òǧ¤á¤Ê¤¤¡£¥Û¥¹¥È̾¤Ïɬ¤º $ ¤Ç½ª¤ï¤ë¡£¤â" -"¤·¤âºÇ¸å¤Îʸ»ú¤¬ $ ¤Ç¤Ê¤±¤ì¤ÐÄɲ䵤ì¤ë¡£¤â¤·¤â¥Û¥¹¥È̾¤¬¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤ì" -"¤Ð¡¢¥Û¥¹¥È̾¤Ë¿ô»ú¤¬Êä´°¤µ¤ì¤ë¡£¼¡¤Î¼«Í³¤Ê¿ô»ú¤¬»È¤ï¤ì¤ë." - -#: ../lib/ldap.inc:213 -msgid "Host username" -msgstr "¥Û¥¹¥È¥æ¡¼¥¶Ì¾??" - -#: ../templates/config/confmain.php:133 ../templates/confwiz/server2.php:147 -#: ../lib/config.inc:277 -msgid "HostSuffix" -msgstr "¥Û¥¹¥È¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/config/confsave.php:114 ../templates/confwiz/server2.php:65 -msgid "HostSuffix is invalid!" -msgstr "¥Û¥¹¥È¥µ¥Õ¥£¥Ã¥¯¥¹¤¬ÉÔÀµ!" - -#: ../templates/account/hostedit.php:120 -msgid "Hostname" -msgstr "¥Û¥¹¥È̾" - -#: ../templates/account/hostedit.php:177 -msgid "Hostname already in use. Selected next free hostname." -msgstr "¥Û¥¹¥È̾¤¬¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤ë¡£¼¡¤Î¼«Í³¤Ê¥Û¥¹¥È̾¤¬ÁªÂò¤µ¤ì¤¿." - -#: ../templates/account/hostedit.php:137 -msgid "" -"Hostname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "" -"¥Û¥¹¥È̾¤ËÉÔÀµ¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, A-Z, 0-9 ¤È .-_." - -#: ../templates/main_header.php:75 ../templates/main_header.php:80 -#: ../templates/confwiz/o_lists.php:118 ../help/help.inc:75 -msgid "Hosts" -msgstr "¥Û¥¹¥È" - -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID is already in use" -msgstr "ID ¤Ï¤¹¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤ë" - -#: ../lib/account.inc:878 ../lib/account.inc:879 ../lib/account.inc:890 -#: ../lib/account.inc:894 ../lib/account.inc:897 -msgid "ID-Number" -msgstr "ID-ÈÖ¹æ" - -#: ../templates/masscreate.php:383 -msgid "If Primary group does not exist it will be created." -msgstr "¤â¤·¤â¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤¬Â¸ºß¤·¤Ê¤¤¤Ê¤é¤Ð¡¢¤½¤ì¤ÏºîÀ®¤µ¤ì¤ë." - -#: ../templates/masscreate.php:381 -msgid "If Primary group is not given it'll used from profile." -msgstr "" -"¤â¤·¤â¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤¬Í¿¤¨¤é¤ì¤Ê¤±¤ì¤Ð¡¢¤½¤ì¤Ï¥×¥í¥Õ¥¡¥¤¥ë¤«¤é»È¤ï¤ì¤ë??." - -#: ../help/help.inc:190 -msgid "" -"If a not yet existing group is defined in csv-file, a new group in the " -"selected group suffix will be created." -msgstr "" -"¤â¤·¤â¡¢csv¥Õ¥¡¥¤¥ëÃæ¤Ë¸ºß¤º¤ë¥°¥ë¡¼¥×¤¬¤Þ¤ÀÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ÁªÂò¤µ¤ì¤¿" -"¥°¥ë¡¼¥×¥µ¥Õ¥£¥Ã¥¯¥¹Ãæ¤Î¿·¤·¤¤¥°¥ë¡¼¥×¤¬ºîÀ®¤µ¤ì¤ë." - -#: ../help/help.inc:269 -msgid "" -"If a not yet existing group is defined in csv-file, a new group with the " -"selected group profile will be created." -msgstr "" -"¤â¤·¤âcsv¥Õ¥¡¥¤¥ëÃæ¤Ë¸ºß¤¹¤ë¥°¥ë¡¼¥×¤¬¤Þ¤ÀÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ÁªÂò¤µ¤ì¤¿¥°" -"¥ë¡¼¥×¥×¥í¥Õ¥¡¥¤¥ë¤Î¿·¤·¤¤¥°¥ë¡¼¥×¤¬ºîÀ®¤µ¤ì¤ë." - -#: ../help/help.inc:198 -msgid "" -"If checked account will be deactivated by putting a ! before the encrypted " -"password." -msgstr "" -"¥Á¥§¥Ã¥¯¤·¤¿¾ì¹ç¡¢°Å¹æ²½¤·¤¿¥Ñ¥¹¥ï¡¼¥É¤ÎÁ°¤Ë ! ¤ò¤ª¤¯¤³¤È¤Ë¤è¤Ã¤Æ¥¢¥«¥¦¥ó¥È¤Ï" -"̵¸ú²½¤µ¤ì¤ë." - -#: ../help/help.inc:208 -msgid "If checked account will be deactivated. (Setting D-Flag)" -msgstr "¥Á¥§¥Ã¥¯¤·¤¿¾ì¹ç¡¢(D-¥Õ¥é¥°¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤Ç)¥¢¥«¥¦¥ó¥È¤Ï̵¸ú²½¤µ¤ì¤ë" - -#: ../help/help.inc:196 -msgid "If checked no password will be used." -msgstr "¥Á¥§¥Ã¥¯¤·¤¿¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï»È¤ï¤ì¤Ê¤¤." - -#: ../help/help.inc:202 -msgid "If checked password does not expire. (Setting X-Flag)" -msgstr "¥Á¥§¥Ã¥¯¤·¤¿¾ì¹ç¡¢¥Ñ¥¹¥ï¡¼¥É¤ÏËþλ¤Ë¤Ê¤é¤Ê¤¤(X-¥Õ¥é¥°¤ò¥»¥Ã¥È)" - -#: ../help/help.inc:200 -msgid "If checked unix password will also be used as samba password." -msgstr "¥Á¥§¥Ã¥¯¤·¤¿¾ì¹ç¡¢samba¥Ñ¥¹¥ï¡¼¥É¤È¤·¤Æ¤âUnix¥Ñ¥¹¥ï¡¼¥É¤¬»È¤ï¤ì¤ë." - -#: ../help/help.inc:158 -#, php-format -msgid "" -"If empty GID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"¤â¤·¤â¶õÇò¤Ê¤é¤Ð¡¢GIDÈֹ椬¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤ë¡£Í­¸ú¤ÊÃͤϡ¢%s ¤È %s ¤Î´Ö¤Ç¤¢" -"¤ë." - -#: ../help/help.inc:142 ../help/help.inc:165 -#, php-format -msgid "" -"If empty UID number will be generated automaticly. Valid values are between %" -"s and %s." -msgstr "" -"¤â¤·¤â¶õÇò¤Ê¤é¤Ð¡¢UIDÈֹ椬¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤ë¡£Í­¸ú¤ÊÃͤϡ¢%s ¤È %s ¤Î´Ö¤Ç¤¢" -"¤ë." - -#: ../help/help.inc:188 -msgid "" -"If selected users will be added with OUs expanded with their primary group. " -"E.g. if a user is in group admin the user suffix will be ou=admin,+user " -"suffix." -msgstr "" -"¤â¤·¤âÁªÂò¤·¤¿¾ì¹ç¡¢¥æ¡¼¥¶¤Ï¤½¤Î¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤Ç³ÈÄ¥¤µ¤ì¤¿OU¤ò¤â¤Ã¤ÆÄɲÃ" -"¤µ¤ì¤ë¡£¤¿¤È¤¨¤Ð¡¢¤â¤·¤â¡¢¥æ¡¼¥¶¤¬ group admin ¤Ë½ê°¤·¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¥æ¡¼¥¶¤Î" -"¥µ¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢ou=admin,+¥æ¡¼¥¶¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ë¤Ê¤ë¡£" - -#: ../help/help.inc:127 -msgid "" -"If set to \"yes\" the Windows password will be the same as the Unix one." -msgstr "" -"¤â¤·¤â \"¤Ï¤¤(yes)\" ¤Ë¥»¥Ã¥È¤µ¤ì¤¿¤Ê¤é¤Ð¡¢Windows¥Ñ¥¹¥ï¡¼¥É¤ÏUnix¤Î¤â¤Î¤ÈƱ" -"¤¸¤Ë¤Ê¤ë¡£" - -#: ../help/help.inc:131 -msgid "If set to \"yes\" the user will be able to change his Windows password." -msgstr "" -"¤â¤·¤â\"¤Ï¤¤(yes)\" ¤Ë¥»¥Ã¥È¤µ¤ì¤¿¤Ê¤é¤Ð¡¢¥æ¡¼¥¶¤ÏWindows¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹²Äǽ" -"¤Ë¤Ê¤ë" - -#: ../help/help.inc:129 ../help/help.inc:133 -msgid "If unsure say \"yes\" here." -msgstr "¤â¤·¤âÉԳΤ«¤Ê¤é¤Ð¡¢¤³¤³¤Ç\"¤Ï¤¤(yes)\"¤ÈÅú¤¨¤Ê¤µ¤¤." - -#: ../help/help.inc:99 -msgid "" -"If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise " -"\"no\"." -msgstr "" -"¤â¤·¤âSamba 3.x ¤ò¿·¤·¤¤LDAP¥¹¥­¡¼¥Þ¤È¶¦¤Ë»È¤Ã¤Æ¤¤¤ë¤Ê¤é¤Ð¡¢¤³¤³¤Ç¡¢\"¤Ï¤¤" -"(yes)\"¤ÈÅú¤¨¡¢¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï \"¤¤¤¤¤¨(no)\"¤ÈÅú¤¨¤Ê¤µ¤¤." - -#: ../templates/confwiz/o_lang.php:146 -msgid "" -"If you want more than one user to login to LAM please enter its DN(s) here. " -"Multiple entries are seperated by semicolons." -msgstr "" -"¤â¤·¤â¡¢1¿Í°Ê¾å¤Î¥æ¡¼¥¶¤¬LAM¤Ë¥í¥°¥¤¥ó¤·¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤³¤³¤Ç¡¢¤½¤ÎDN¤òÆþ" -"ÎÏ¡£Ê£¿ô¤Î¥¨¥ó¥È¥ê¤Ï¡¢¥»¥ß¥³¥í¥ó¤Ë¤è¤Ã¤ÆʬΥ¤µ¤ì¤ë¡£" - -#: ../help/help.inc:97 -msgid "" -"If you want to change the current preferences password, please enter it here." -msgstr "" -"¤â¤·¤â¡¢¸½ºß¤Î¥×¥ê¥Õ¥¡¥ì¥ó¥¹¤Î¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢¤½¤ì¤ò¤³¤³¤ÇÆþ" -"ÎÏ¡£" - -#: ../help/help.inc:120 -msgid "" -"If you want to change your master configuration password, please enter it " -"here." -msgstr "¤â¤·¤â¡¢¥Þ¥¹¥¿¹½À®¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢¤½¤ì¤ò¤³¤³¤ÇÆþÎÏ¡£" - -#: ../templates/confwiz/o_lists.php:106 -msgid "" -"If you want to input your own description it would look like this: " -"\"attribute:description\"." -msgstr "" -"¤â¤·¤â¡¢¸ÇÍ­¤Îµ­½Ò¤òÆþÎϤ·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢¤½¤ì¤Ï±¦µ­¤Î¤è¤¦¤Ë¤Ê¤ë: \"°À­:µ­½Ò" -"\"." - -#: ../templates/confwiz/o_daemon.php:105 -msgid "" -"If you want to manage quotas and homedirectories with LAM you need to setup " -"lamdaemon.pl." -msgstr "" -"¤â¤·¤â¡¢LAM¤Ë¤è¤Ã¤Æ¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Èquota¤ò´ÉÍý¤·¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢" -"lammdaemon.pl¤Î¥»¥Ã¥È¥¢¥Ã¥×¤¬É¬ÍפǤ¢¤ë¡£" - -#: ../help/help.inc:279 -msgid "If you want to use a well known RID you can selcet a well known group." -msgstr "" -"¤â¤·¤â¡¢¤è¤¯ÃΤé¤ì¤¿RID¤ò»È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢¤è¤¯ÃΤé¤ì¤¿¥°¥ë¡¼¥×¤òÁªÂò¤Ç¤­" -"¤ë??¡£" - -#: ../templates/confwiz/ldaptest.php:490 -msgid "Ignore" -msgstr "̵»ë" - -#: ../templates/masscreate.php:284 -msgid "Infos" -msgstr "¾ðÊó" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "Inode hard quota" -msgstr "Inode ¥Ï¡¼¥Équota" - -#: ../templates/account/groupedit.php:267 -#: ../templates/account/useredit.php:473 -#: ../templates/profedit/profilecreate.php:261 -#: ../templates/profedit/profilecreate.php:326 -msgid "" -"Inode hard quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "Inode¥Ï¡¼¥Équota¤ËÉÔÀµ¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£¿ô»ú¤Î¤ßÍ­¸ú¡£" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "Inode soft quota" -msgstr "Inode¥½¥Õ¥Èquota" - -#: ../templates/account/groupedit.php:265 -#: ../templates/account/useredit.php:471 -#: ../templates/profedit/profilecreate.php:256 -#: ../templates/profedit/profilecreate.php:321 -msgid "" -"Inode soft quota contains invalid characters. Only natural numbers are " -"allowed" -msgstr "Inode ¥½¥Õ¥Èquota¤ËÉÔÀµ¤Êʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¡£¿ô»ú¤Î¤ßÍ­¸ú¡£" - -#: ../templates/account/groupedit.php:247 -#: ../templates/account/useredit.php:453 -msgid "Inserted gecos-field as display name." -msgstr "¥Ç¥£¥¹¥×¥ì¥¤Ì¾¤È¤·¤Ægecos¥Õ¥£¡¼¥ë¥É¤òÁÞÆþ." - -#: ../templates/account/groupedit.php:171 -msgid "Inserted groupname in gecos-field." -msgstr "gecos¥Õ¥£¡¼¥ë¥É¤Ë¥°¥ë¡¼¥×̾¤òÁÞÆþ." - -#: ../templates/account/hostedit.php:186 -msgid "Inserted hostname in gecos-field." -msgstr "gecos¥Õ¥£¡¼¥ë¥É¤Ë¥Û¥¹¥È̾¤òÁÞÆþ." - -#: ../templates/account/useredit.php:241 ../templates/masscreate.php:555 -msgid "Inserted sur- and given name in gecos-field." -msgstr "gecos¥Õ¥£¡¼¥ë¥É¤Ë¡¢À«Ì¾¤òÁÞÆþ??." - -#: ../templates/account/useredit.php:438 -msgid "Inserted user- or groupname in HomePath." -msgstr "¥Û¡¼¥à¥Ñ¥¹Ì¾¤Ë¥æ¡¼¥¶Ëô¤Ï¥°¥ë¡¼¥×̾¤òÁÞÆþ." - -#: ../templates/account/useredit.php:435 -msgid "Inserted user- or groupname in profilepath." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¤Ë¥æ¡¼¥¶Ëô¤Ï¥°¥ë¡¼¥×̾¤òÁÞÆþ." - -#: ../templates/account/useredit.php:432 -msgid "Inserted user- or groupname in scriptpath." -msgstr "¥¹¥¯¥ê¥×¥È¥Ñ¥¹¤Ë¥æ¡¼¥¶Ëô¤Ï¥°¥ë¡¼¥×̾¤òÁÞÆþ." - -#: ../templates/massdetail.php:184 -msgid "Invalid Value!" -msgstr "ÉÔÀµ¤ÊÃÍ!" - -#: ../templates/profedit/profilecreate.php:273 -#: ../templates/profedit/profilecreate.php:338 -#: ../templates/profedit/profilecreate.php:377 -msgid "Invalid profile name!" -msgstr "ÉÔÀµ¤Ê¥×¥í¥Õ¥¡¥¤¥ë̾!" - -#: ../lib/status.inc:41 -msgid "Invalid/Missing Message type" -msgstr "ÉÔÀµ¤Ê/´Ö°ã¤Ã¤¿¥á¥Ã¥»¡¼¥¸¥¿¥¤¥×" - -#: ../lib/account.inc:879 -msgid "" -"It is possible that this ID-number is reused. This can cause several " -"problems because files with old permissions might still exist. To avoid this " -"warning set maxUID to a higher value." -msgstr "" -"IDÈÖ¹æ¤òºÆÍøÍѤ¹¤ë¤³¤È¤Ï²Äǽ¤Ç¤¢¤ë¡£¤³¤ì¤Ï¡¢¸Å¤¤¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò»ý¤Ã¤¿¥Õ¥¡¥¤" -"¥ë¤¬¤Þ¤À¤¢¤ë¤È¤­¤Ë¤¤¤¯¤Ä¤«¤ÎÌäÂê¤ò°ú¤­µ¯¤³¤¹¡£¤³¤Î·Ù¹ð¤òËɤ°¤Ë¤Ï¡¢maxUID¤ò¤è" -"¤êÂ礭¤ÊÃͤËÀßÄꤹ¤ë¤³¤È¤Ç¤¢¤ë¡£" - -#: ../templates/masscreate.php:279 -msgid "It will be created." -msgstr "¤½¤ì¤ÏºîÀ®¤µ¤ì¤ë¡£" - -#: ../lib/status.inc:40 -msgid "LAM Internal Error" -msgstr "LAM ÆâÉô¥¨¥é¡¼" - -#: ../templates/confwiz/server2.php:196 -msgid "" -"LAM caches its LDAP searches, you can set the cache time here. Shorter times " -"will stress LDAP more but decrease the possibility that changes are not " -"identified." -msgstr "" -"LAM¤ÏLDAP¸¡º÷¤ò¥­¥ã¥Ã¥·¥å¤¹¤ë¤Î¤Ç¡¢¥­¥ã¥Ã¥·¥å¤Î»þ´Ö¤òÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£Ã»" -"¤¤»þ´Ö¤òÀßÄꤹ¤ë¤ÈLDAP¥µ¡¼¥Ð¤ËÉé²Ù¤ò³Ý¤±¤ë¤¬¡¢Êѹ¹¤¬Ç§¼±¤µ¤ì¤Ê¤¤²ÄǽÀ­¤òÄ㸺" -"¤Ç¤­¤ë¡£" - -#: ../templates/confwiz/ldaptest.php:479 -msgid "LAM can create them for you or you have to create them manually later." -msgstr "" -"LAM ¤Ï¤¢¤Ê¤¿¸þ¤±¤Ë¤½¤ì¤é¤òÀ¸À®¤Ç¤­¤ë¤«¡¢¤¢¤ë¤¤¤Ï¡¢¸å¤Ç¡¢¤½¤ì¤é¤ò¼êÆ°¤ÇºîÀ®¤¹" -"¤ëɬÍפ¬¤¢¤ë??¡£" - -#: ../templates/confwiz/ldaptest.php:478 -msgid "" -"LAM detected that one or more essential Samba groups are missing. They are " -"listed below." -msgstr "" -"LAM¤Ï´ðËÜŪ¤Ê1¤Ä°Ê¾å¤ÎSamba¤Î¥°¥ë¡¼¥×¤¬¤Ê¤¤¤³¤È¤òǧ¼±¤·¤¿¡£¤½¤ì¤Ï°Ê²¼¤ÎÄ̤ê¤Ç" -"¤¢¤ë¡£" - -#: ../templates/confwiz/server2.php:170 ../help/help.inc:106 -msgid "" -"LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an " -"user password. SSHA and CRYPT are the most common but CRYPT does not support " -"passwords greater than 8 letters. We do not recommend to use plain text " -"passwords." -msgstr "" -"LAM¤Ï¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼¥É¤Î¥Ï¥Ã¥·¥åÃͤòÀ¸À®¤¹¤ë¤¿¤á¤Ë¡¢CRYPT¡¢SHA¡¢SSHA¡¢MD5¤È" -"SMD5¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£SSHA¤ÈCRYPT¤ÏºÇ¤â°ìÈÌŪ¤Ç¤¢¤ë¤¬¡¢CRYPT¤Ï8ʸ»ú¤è¤êÂ礭¤¤¥Ñ" -"¥¹¥ï¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Ê¤¤¡£Ê¿Ê¸¤Î¥Ñ¥¹¥ï¡¼¥É¤ò»È¤¦¤³¤È¤Ï¿ä¾©¤·¤Ê¤¤¡£" - -#: ../help/help.inc:101 -msgid "LAM will not work if version is wrong!" -msgstr "LAM ¤Ï¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤«¤·¤¤¤È¤­¤Ë¤ÏÀµ¤·¤¯Æ°¤«¤Ê¤¤!" - -#: ../templates/config/confmain.php:99 ../templates/config/confsave.php:74 -msgid "LDAP Account Manager Configuration" -msgstr "LDAP ¥¢¥«¥¦¥ó¥È¥Þ¥Í¡¼¥¸¥ã¹½À®" - -#: ../templates/config/confmain.php:227 -msgid "LDAP List settings" -msgstr "LDAP ¥ê¥¹¥ÈÀßÄê" - -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listgroups.php:175 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listusers.php:218 -msgid "LDAP Search failed! Please check your preferences." -msgstr "LDAP ¸¡º÷¼ºÇÔ! ¥×¥ê¥Õ¥¡¥ì¥ó¥¹¤ÎÄ´ºº¤¬É¬Í×" - -#: ../templates/confwiz/server.php:150 -msgid "LDAP admin DN" -msgstr "LDAP ´ÉÍý¼Ô¤ÎDN" - -#: ../templates/login.php:326 ../templates/confwiz/server.php:71 -msgid "LDAP error, server says:" -msgstr "LDAP ¥¨¥é¡¼¡¢¥µ¡¼¥Ð¤«¤é¤Î¥á¥Ã¥»¡¼¥¸:" - -#: ../templates/login.php:237 -msgid "LDAP server" -msgstr "LDAP¥µ¡¼¥Ð" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "LDAP sizelimit exceeded, not all entries are shown." -msgstr "LDAP ¥µ¥¤¥ºÀ©¸Â¤Ë°ú¤Ã¤«¤«¤Ã¤¿¡£¤¹¤Ù¤Æ¤Î¥¨¥ó¥È¥ê¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¡£" - -#: ../templates/confwiz/server2.php:227 -msgid "Lamdaemon settings and PDF text" -msgstr "Lamdaemon ÀßÄê¤ÈPDF ¥Æ¥­¥¹¥È" - -#: ../templates/confwiz/server2.php:226 -msgid "Language and additional admin users" -msgstr "¸À¸ì¤ÈÄɲäδÉÍý¼Ô(admin users)" - -#: ../templates/config/confsave.php:175 ../templates/confwiz/o_lang.php:54 -msgid "Language is not defined!" -msgstr "¸À¸ì¤Ï̤ÄêµÁ!" - -#: ../lib/config.inc:39 -msgid "Language not defined in session!" -msgstr "¤³¤Î¥»¥Ã¥·¥ç¥óÃí¤Ç¤Ï¸À¸ì¤Ï̤ÄêµÁ!" - -#: ../templates/config/confmain.php:265 -msgid "Language settings" -msgstr "¸À¸ì¤ÎÀßÄê" - -#: ../templates/account/useredit.php:960 ../lib/ldap.inc:199 -msgid "Last name" -msgstr "À«" - -#: ../help/help.inc:62 -msgid "List attributes" -msgstr "°À­¤Î°ìÍ÷" - -#: ../templates/config/confsave.php:99 ../templates/confwiz/o_lang.php:57 -msgid "List of admin users is empty or invalid!" -msgstr "´ÉÍý¼Ô(admin users)¤Î¥ê¥¹¥È¤¬¶õÇò¤«ÉÔÀµ!" - -#: ../help/help.inc:218 -msgid "" -"List of samba workstations the user is allowed to login. Empty means every " -"workstation." -msgstr "" -"¥æ¡¼¥¶¤¬¥í¥°¥¤¥ó¤Ç¤­¤ëSamba¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤Î¥ê¥¹¥È¡£¶õÇò¤Ï¤¹¤Ù¤Æ¤Î¥ï¡¼¥¯¥¹" -"¥Æ¡¼¥·¥ç¥ó¤ò°ÕÌ£¤¹¤ë¡£" - -#: ../templates/config/confmain.php:343 ../templates/confwiz/o_lang.php:152 -#: ../lib/config.inc:292 -msgid "List of valid users" -msgstr "Í­¸ú¤Ê¥æ¡¼¥¶¤Î¥ê¥¹¥È" - -#: ../templates/account/groupedit.php:629 -#: ../templates/account/hostedit.php:356 -#: ../templates/account/useredit.php:1023 -msgid "Load Profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤Î¥í¡¼¥É" - -#: ../templates/account/groupedit.php:624 -#: ../templates/account/hostedit.php:278 ../templates/account/hostedit.php:351 -#: ../templates/account/useredit.php:1018 ../help/help.inc:185 -msgid "Load profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤Î¥í¡¼¥É" - -#: ../templates/login.php:220 ../templates/config/conflogin.php:72 -#: ../help/help.inc:36 -msgid "Login" -msgstr "¥í¥°¥¤¥ó" - -#: ../lib/pdf.inc:162 -msgid "Login Shell" -msgstr "¥í¥°¥¤¥ó¥·¥§¥ë" - -#: ../lib/pdf.inc:172 -msgid "Login at host(s)" -msgstr "¥Û¥¹¥È¤Ç¤Î¥í¥°¥¤¥ó" - -#: ../lib/pdf.inc:218 -msgid "Login at workstation(s)" -msgstr "¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤Ç¤Î¥í¥°¥¤¥ó" - -#: ../templates/account/useredit.php:992 -#: ../templates/profedit/profileuser.php:127 ../help/help.inc:151 -#: ../lib/ldap.inc:201 -msgid "Login shell" -msgstr "¥í¥°¥¤¥ó¥·¥§¥ë" - -#: ../templates/account/useredit.php:432 ../templates/account/useredit.php:444 -#: ../templates/account/useredit.php:1272 -#: ../templates/profedit/profileuser.php:325 ../help/help.inc:211 -#: ../lib/pdf.inc:210 -msgid "Logon script" -msgstr "" - -#: ../templates/account/useredit.php:444 ../templates/config/confsave.php:181 -#: ../templates/profedit/profilecreate.php:214 -msgid "Logon script is invalid!" -msgstr "¥í¥°¥ª¥ó¥¹¥¯¥ê¥×¥È¤¬ÉÔÀµ!" - -#: ../templates/logout.php:52 ../templates/main_header.php:51 -msgid "Logout" -msgstr "¥í¥°¥¢¥¦¥È" - -#: ../help/help.inc:60 -msgid "Machine number" -msgstr "¥Þ¥·¥ó¥Ê¥ó¥Ð" - -#: ../templates/config/conflogin.php:127 -msgid "Manage profiles" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤ÎÁàºî" - -#: ../templates/config/profmanage.php:351 -msgid "Master Password:" -msgstr "¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É:" - -#: ../templates/confwiz/start.php:168 ../help/help.inc:121 -msgid "Master password" -msgstr "¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/config/profmanage.php:59 ../templates/confwiz/start.php:45 -msgid "Master password is wrong!" -msgstr "¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤¬ÉÔÀµ!" - -#: ../templates/config/profmanage.php:119 -msgid "Master passwords are different or empty!" -msgstr "¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤¬°ã¤¦¤«¶õÇò!" - -#: ../templates/masscreate.php:117 -msgid "Max 400 users allowed. Ignored additional users." -msgstr "ºÇÂç400¥æ¡¼¥¶¤Þ¤Ç¡£»Ä¤ê¤Î¥æ¡¼¥¶¤Ï̵»ë¤µ¤ì¤ë¡£" - -#: ../templates/config/confsave.php:169 -msgid "Max list entries is invalid!" -msgstr "ºÇÂç¤Î¥ê¥¹¥È¥¨¥ó¥È¥ê¤Ï̵¸ú!" - -#: ../templates/config/confmain.php:209 ../templates/confwiz/o_ranges.php:131 -#: ../lib/config.inc:282 -msgid "Maximum GID number" -msgstr "ºÇÂç¤ÎGIDÈÖ¹æ" - -#: ../templates/config/confsave.php:139 ../templates/confwiz/o_ranges.php:63 -msgid "Maximum GID number is invalid!" -msgstr "ºÇÂç¤ÎGIDÈֹ椬ÉÔÀµ!" - -#: ../templates/config/confmain.php:218 ../templates/confwiz/o_ranges.php:140 -#: ../lib/config.inc:284 -msgid "Maximum Machine number" -msgstr "ºÇÂç¤Î¥Þ¥·¥ó¥Ê¥ó¥Ð" - -#: ../templates/config/confsave.php:149 ../templates/confwiz/o_ranges.php:69 -msgid "Maximum Machine number is invalid!" -msgstr "ºÇÂç¤Î¥Þ¥·¥ó¥Ê¥ó¥Ð¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:200 ../templates/confwiz/o_ranges.php:122 -#: ../lib/config.inc:280 -msgid "Maximum UID number" -msgstr "ºÇÂç¤ÎUIDÈÖ¹æ" - -#: ../templates/config/confsave.php:129 ../templates/confwiz/o_ranges.php:57 -msgid "Maximum UID number is invalid!" -msgstr "ºÇÂç¤ÎUIDÈֹ椬ÉÔÀµ!" - -#: ../templates/config/confmain.php:250 ../help/help.inc:82 -#: ../lib/config.inc:288 -msgid "Maximum list entries" -msgstr "ºÇÂç¤Î¥ê¥¹¥È¥¨¥ó¥È¥ê" - -#: ../templates/account/useredit.php:1089 -#: ../templates/profedit/profileuser.php:166 ../help/help.inc:175 -msgid "Maximum password age" -msgstr "ºÇÂç¤Î¥Ñ¥¹¥ï¡¼¥É´ü¸Â(age)" - -#: ../templates/account/groupedit.php:518 -#: ../templates/account/groupedit.php:575 -#: ../templates/account/groupedit.php:645 -#: ../templates/account/groupedit.php:739 -#: ../templates/account/groupedit.php:796 ../lib/pdf.inc:458 -msgid "Members" -msgstr "¥á¥ó¥Ð" - -#: ../templates/config/confmain.php:206 ../templates/confwiz/o_ranges.php:128 -#: ../lib/config.inc:281 -msgid "Minimum GID number" -msgstr "ºÇ¾®¤ÎGIDÈÖ¹æ" - -#: ../templates/config/confsave.php:134 ../templates/confwiz/o_ranges.php:60 -msgid "Minimum GID number is invalid!" -msgstr "ºÇ¾®¤ÎGIDÈֹ椬ÉÔÀµ!" - -#: ../templates/config/confmain.php:215 ../templates/confwiz/o_ranges.php:137 -#: ../lib/config.inc:283 -msgid "Minimum Machine number" -msgstr "ºÇ¾®¤Î¥Þ¥·¥ó¥Ê¥ó¥Ð" - -#: ../templates/config/confsave.php:144 ../templates/confwiz/o_ranges.php:66 -msgid "Minimum Machine number is invalid!" -msgstr "ºÇ¾®¤Î¥Þ¥·¥ó¥Ê¥ó¥Ð¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:197 ../templates/confwiz/o_ranges.php:119 -#: ../lib/config.inc:279 -msgid "Minimum UID number" -msgstr "ºÇ¾®¤ÎUIDÈÖ¹æ" - -#: ../templates/config/confsave.php:124 ../templates/confwiz/o_ranges.php:54 -msgid "Minimum UID number is invalid!" -msgstr "ºÇ¾®¤ÎUIDÈֹ椬ÉÔÀµ!" - -#: ../templates/account/useredit.php:1094 -#: ../templates/profedit/profileuser.php:173 ../help/help.inc:177 -msgid "Minimum password age" -msgstr "ºÇ¾®¤Î¥Ñ¥¹¥ï¡¼¥É´ü¸Â(age)" - -#: ../templates/account/useredit.php:490 -#: ../templates/account/useredit.php:1502 ../templates/masscreate.php:367 -#: ../templates/masscreate.php:569 ../templates/massdetail.php:152 -#: ../templates/massdetail.php:256 ../help/help.inc:260 ../help/help.inc:261 -msgid "Mobile number" -msgstr "·ÈÂÓÅÅÏÃ" - -#: ../templates/account/groupedit.php:822 -#: ../templates/account/hostedit.php:432 -#: ../templates/account/useredit.php:1554 -msgid "Modify" -msgstr "Êѹ¹" - -#: ../templates/account/groupedit.php:836 -#: ../templates/account/hostedit.php:441 -#: ../templates/account/useredit.php:1558 -msgid "Modify Account" -msgstr "¥¢¥«¥¦¥ó¥ÈÊѹ¹" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 -#: ../templates/profedit/profilegroup.php:99 -#: ../templates/profedit/profileuser.php:376 ../help/help.inc:224 -#: ../lib/pdf.inc:240 -msgid "Mountpoint" -msgstr "¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È" - -#: ../help/help.inc:225 -msgid "Mountpoint of device with enabled quotas." -msgstr "quota¤¬Í­¸ú¤Ë¤Ê¤Ã¤¿¥Ç¥Ð¥¤¥¹¤Î¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:179 ../templates/account/hostedit.php:182 -#: ../templates/account/useredit.php:305 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:563 ../templates/masscreate.php:566 -#: ../templates/massdetail.php:90 -msgid "Name" -msgstr "̾Á°" - -#: ../templates/account/groupedit.php:218 -#: ../templates/account/hostedit.php:182 ../templates/account/useredit.php:308 -#: ../templates/masscreate.php:566 ../templates/massdetail.php:90 -msgid "Name contains invalid characters. First character must be a letter." -msgstr "̾Á°¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£ºÇ½é¤Îʸ»ú¤Ï±Ñʸ»ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/groupedit.php:215 -#: ../templates/account/hostedit.php:179 ../templates/account/useredit.php:305 -#: ../templates/masscreate.php:563 -msgid "Name must contain between 3 and 20 characters." -msgstr "̾Á°¤Ï3¤«¤é20ʸ»ú¤ÎÈϰϤǤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../help/help.inc:135 -msgid "" -"Name under which the profile will be saved. If a profile with the same name " -"exists, it will be overwritten." -msgstr "" -"¥×¥í¥Õ¥¡¥¤¥ë¤¬¥»¡¼¥Ö¤µ¤ì¤ë̾Á°¡£¤â¤·¤âƱ¤¸Ì¾Á°¤Î¥×¥í¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤Ê¤é¤Ð¡¢¾å" -"½ñ¤­¤µ¤ì¤ë¡£" - -#: ../templates/lists/listdomains.php:200 -msgid "New Domain" -msgstr "¿·¤·¤¤¥É¥á¥¤¥ó" - -#: ../templates/lists/listgroups.php:312 -msgid "New Group" -msgstr "¿·¤·¤¤¥°¥ë¡¼¥×" - -#: ../templates/lists/listhosts.php:301 -msgid "New Host" -msgstr "¿·¤·¤¤¥Û¥¹¥È" - -#: ../templates/ou_edit.php:52 ../templates/ou_edit.php:117 -#: ../templates/ou_edit.php:182 ../templates/ou_edit.php:247 -msgid "New OU created successfully." -msgstr "¿·¤·¤¤ OU ¤¬Àµ¤·¤¯ºîÀ®¤µ¤ì¤¿." - -#: ../templates/config/confmain.php:351 -msgid "New Password" -msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/config/profmanage.php:126 -msgid "New default profile set successfully." -msgstr "¿·¤·¤¤´ûÄêÃͤΥץí¥Õ¥¡¥¤¥ë¤¬Àµ¤·¤¯ÀßÄꤵ¤ì¤¿." - -#: ../templates/config/profmanage.php:326 -msgid "New master password" -msgstr "¿·¤·¤¤¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/config/profmanage.php:117 -msgid "New master password set successfully." -msgstr "¿·¤·¤¤¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤¬Àµ¤·¤¯ÀßÄꤵ¤ì¤¿." - -#: ../templates/ou_edit.php:344 ../templates/ou_edit.php:377 -#: ../templates/ou_edit.php:410 ../templates/ou_edit.php:444 -#: ../help/help.inc:289 -msgid "New organizational unit" -msgstr "¿·¤·¤¤ Organizational Unit" - -#: ../templates/config/profmanage.php:107 -msgid "New password set successfully." -msgstr "¿·¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤¬Àµ¤·¤¯ÀßÄꤵ¤ì¤¿." - -#: ../templates/account/groupedit.php:435 -#: ../templates/account/hostedit.php:288 ../templates/account/useredit.php:719 -msgid "New profile created." -msgstr "¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤¿." - -#: ../templates/lists/listusers.php:367 -msgid "New user" -msgstr "¿·¤·¤¤¥æ¡¼¥¶" - -#: ../templates/masscreate.php:422 ../templates/confwiz/o_daemon.php:141 -#: ../templates/confwiz/o_lang.php:162 ../templates/confwiz/o_lists.php:147 -#: ../templates/confwiz/o_ranges.php:152 ../templates/confwiz/server.php:196 -#: ../templates/confwiz/server2.php:234 ../templates/confwiz/start.php:181 -msgid "Next" -msgstr "¼¡" - -#: ../templates/domain.php:125 ../templates/confwiz/ldaptest.php:361 -#: ../help/help.inc:303 -msgid "Next Group RID" -msgstr "¼¡¤Î¥°¥ë¡¼¥×RID" - -#: ../templates/domain.php:109 ../templates/confwiz/ldaptest.php:345 -#: ../help/help.inc:299 -msgid "Next RID" -msgstr "¼¡¤ÎRID" - -#: ../templates/domain.php:239 ../templates/confwiz/ldaptest.php:243 -msgid "Next RID is not a number!" -msgstr "¼¡¤ÎRID¤ÏÈÖ¹æ¤Ç¤Ï¤Ê¤¤!" - -#: ../help/help.inc:300 -msgid "Next RID to use when creating accounts." -msgstr "¥¢¥«¥¦¥ó¥ÈºîÀ®»þ¤Ë»È¤ï¤ì¤ë¼¡¤ÎRID." - -#: ../help/help.inc:304 -msgid "Next RID to use when creating groups." -msgstr "¥°¥ë¡¼¥×ºîÀ®»þ¤Ë»È¤ï¤ì¤ë¼¡¤ÎRID." - -#: ../help/help.inc:302 -msgid "Next RID to use when creating user accounts." -msgstr "¥æ¡¼¥¶¥¢¥«¥¦¥ó¥È¤òºîÀ®¤¹¤ë¤È¤­¤Ë»È¤ï¤ì¤ë¼¡¤ÎRID." - -#: ../templates/domain.php:117 ../templates/confwiz/ldaptest.php:353 -#: ../help/help.inc:301 -msgid "Next User RID" -msgstr "¼¡¤Î¥æ¡¼¥¶RID" - -#: ../templates/domain.php:241 ../templates/confwiz/ldaptest.php:249 -msgid "Next group RID is not a number!" -msgstr "¼¡¤Î¥°¥ë¡¼¥×RID¤ÏÈÖ¹æ¤Ç¤Ï¤Ê¤¤!" - -#: ../templates/domain.php:240 ../templates/confwiz/ldaptest.php:246 -msgid "Next user RID is not a number!" -msgstr "¼¡¤Î¥æ¡¼¥¶RID¤ÏÈÖ¹æ¤Ç¤Ï¤Ê¤¤!" - -#: ../templates/lists/listgroups.php:166 ../templates/lists/listgroups.php:175 -#: ../templates/lists/listgroups.php:179 -msgid "No Groups found!" -msgstr "¥°¥ë¡¼¥×¤¬¸«¤Ä¤«¤é¤Ê¤¤!" - -#: ../templates/lists/listdomains.php:106 -#: ../templates/lists/listdomains.php:112 -#: ../templates/lists/listdomains.php:116 -msgid "No Samba Domains found!" -msgstr "Samba¥É¥á¥¤¥ó¤¬¸«¤Ä¤«¤é¤Ê¤¤!" - -#: ../templates/lists/listhosts.php:170 ../templates/lists/listhosts.php:179 -#: ../templates/lists/listhosts.php:183 -msgid "No Samba Hosts found!" -msgstr "Samba¥Û¥¹¥È¤¬¸«¤Ä¤«¤é¤Ê¤¤!" - -#: ../templates/lists/listusers.php:208 ../templates/lists/listusers.php:219 -msgid "No Users found!" -msgstr "¥æ¡¼¥¶¤¬¸«¤Ä¤«¤é¤Ê¤¤!" - -#: ../templates/initsuff.php:170 -msgid "No changes were made." -msgstr "²¿¤é¤ÎÊѹ¹¤â¹Ô¤Ê¤ï¤ì¤Ê¤«¤Ã¤¿." - -#: ../templates/initsuff.php:154 ../templates/main.php:64 -#: ../templates/confwiz/ldaptest.php:311 -msgid "No domains found, please create one." -msgstr "¥É¥á¥¤¥ó¤¬¸«¤Ä¤«¤é¤Ê¤¤¡£ºîÀ®¤»¤è¡£." - -#: ../lib/account.inc:878 -msgid "No free ID-Number!" -msgstr "¼«Í³¤ÊIDÈֹ椬¤Ê¤¤!" - -#: ../templates/delete.php:240 -msgid "No group(s) were deleted" -msgstr "¥°¥ë¡¼¥×¤¬1¤Ä¤âºï½ü¤µ¤ì¤Ê¤«¤Ã¤¿" - -#: ../templates/delete.php:232 -msgid "No host(s) were deleted" -msgstr "¥Û¥¹¥È¤¬1¤Ä¤âºï½ü¤µ¤ì¤Ê¤«¤Ã¤¿" - -#: ../templates/config/confmain.php:82 -msgid "No password was entered!" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤!" - -#: ../templates/account/useredit.php:243 ../templates/masscreate.php:558 -msgid "No primary group defined!" -msgstr "¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤!" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/hostedit.php:285 ../templates/account/useredit.php:716 -msgid "No profilename given." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë̾¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤." - -#: ../templates/profedit/profilecreate.php:389 -msgid "No type specified!" -msgstr "¥¿¥¤¥×¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤!" - -#: ../lib/pdf.inc:255 -msgid "No user quotas defined or no quota support by filesystem." -msgstr "¥æ¡¼¥¶quota¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ëquota¥µ¥Ý¡¼¥È¤¬¤Ê¤¤." - -#: ../templates/delete.php:224 -msgid "No user(s) were deleted" -msgstr "¥æ¡¼¥¶¤¬°ì¿Í¤âºï½ü¤µ¤ì¤Ê¤«¤Ã¤¿" - -#: ../templates/account/groupedit.php:845 -#: ../templates/account/hostedit.php:459 -#: ../templates/account/useredit.php:1566 ../help/help.inc:47 -msgid "Note" -msgstr "¥Î¡¼¥È" - -#: ../help/help.inc:174 -msgid "" -"Number of days a user can login even his password has expired. -1=always." -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬Ëþλ¤Ë¤Ê¤Ã¤Æ¤â¥æ¡¼¥¶¤¬¥í¥°¥¤¥ó¤Ç¤­¤ëÆü¿ô¡£-1¤Ï̵´ü¸Â" - -#: ../help/help.inc:178 -msgid "" -"Number of days a user has to wait until he\\'s allowed to change his " -"password again. If set value must be 0<." -msgstr "" -"ºÆÅ٥ѥ¹¥ï¡¼¥É¤òÊѹ¹¤Ç¤­¤ë¤Þ¤ÇÂÔ¤¿¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤Æü¿ô¡£ÀßÄꤹ¤ë¤Ê¤é¤Ð0¤è¤êÂç" -"¤­¤¯¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£" - -#: ../help/help.inc:176 -msgid "" -"Number of days after a user has to change his password again. If set value " -"must be 0<." -msgstr "" -"ºÆÅ٥ѥ¹¥ï¡¼¥É¤òÊѹ¹¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤Æü¤«¤é¤ÎÆü¿ô¡£ÀßÄꤹ¤ë¤Ê¤é¤Ð0¤è¤êÂ礭¤¯" -"¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£" - -#: ../templates/ou_edit.php:58 ../templates/ou_edit.php:123 -#: ../templates/ou_edit.php:188 ../templates/ou_edit.php:253 -msgid "OU already exists!" -msgstr "OU ¤Ï¤¹¤Ç¤Ë¸ºß¤¹¤ë!" - -#: ../templates/ou_edit.php:69 ../templates/ou_edit.php:134 -#: ../templates/ou_edit.php:199 ../templates/ou_edit.php:264 -msgid "OU deleted successfully." -msgstr "OU ¤ÏÀµ¤·¤¯ºï½ü¤µ¤ì¤¿." - -#: ../templates/ou_edit.php:62 ../templates/ou_edit.php:127 -#: ../templates/ou_edit.php:192 ../templates/ou_edit.php:257 -msgid "OU is invalid!" -msgstr "OU ¤¬ÉÔÀµ!" - -#: ../templates/ou_edit.php:99 ../templates/ou_edit.php:164 -#: ../templates/ou_edit.php:229 ../templates/ou_edit.php:294 -msgid "OU is not empty or invalid!" -msgstr "OU ¤¬¶õÇò¤Ç¤Ê¤¤¤«ÉÔÀµ!" - -#: ../templates/main_header.php:54 ../help/help.inc:289 ../help/help.inc:291 -msgid "OU-Editor" -msgstr "OU-¥¨¥Ç¥£¥¿" - -#: ../templates/account/hostedit.php:222 ../templates/account/useredit.php:585 -msgid "ObjectClass posixAccount not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ posixAccount ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/account/groupedit.php:330 -msgid "ObjectClass posixGroup not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ posixGroup ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/account/hostedit.php:226 ../templates/account/useredit.php:594 -msgid "ObjectClass sambaAccount not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ sambaAccount ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/account/groupedit.php:328 -msgid "ObjectClass sambaGroupMapping not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ sambaGroupMapping ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/account/hostedit.php:224 ../templates/account/useredit.php:590 -msgid "ObjectClass sambaSamAccount not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ sambaSamAccount ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/account/useredit.php:587 -msgid "ObjectClass shadowAccount not found." -msgstr "¥ª¥Ö¥¸¥§¥¯¥È¥¯¥é¥¹ shadowAccount ¤¬¸«¤Ä¤«¤é¤Ê¤¤." - -#: ../templates/config/conflogin.php:118 -msgid "Ok" -msgstr "Ok" - -#: ../templates/confwiz/server2.php:221 -msgid "Optional settings" -msgstr "ÉÕ²ÃŪ¤ÊÀßÄê" - -#: ../templates/config/confmain.php:325 -msgid "PDF settings" -msgstr "PDFÀßÄê" - -#: ../templates/confwiz/o_daemon.php:126 -msgid "PDF text" -msgstr "PDF¥Æ¥­¥¹¥È" - -#: ../templates/account/hostedit.php:390 ../templates/account/useredit.php:316 -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:418 -#: ../templates/account/useredit.php:442 -#: ../templates/account/useredit.php:1061 ../templates/login.php:169 -#: ../templates/confwiz/server.php:159 ../templates/confwiz/start.php:141 -msgid "Password" -msgstr "¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/account/useredit.php:351 -msgid "Password Expire" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉËþλ" - -#: ../templates/config/confsave.php:214 -msgid "Password changed!" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬Êѹ¹¤µ¤ì¤¿!" - -#: ../templates/account/useredit.php:346 ../templates/account/useredit.php:442 -msgid "" -"Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and #*,.;:_-+!$%&/|?{[()]}= !" -msgstr "" -"¥Ñ¥¹¥ï¡¼¥É¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, A-Z, 0-9 ¤È #*,.;:_-+!$%&/|?" -"{[()]}= !" - -#: ../templates/account/useredit.php:1205 -#: ../templates/profedit/profileuser.php:257 ../help/help.inc:201 -msgid "Password does not expire" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬Ëþλ¤·¤Æ¤¤¤Ê¤¤" - -#: ../templates/account/useredit.php:1084 ../help/help.inc:173 -#: ../lib/pdf.inc:168 -msgid "Password expire" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉËþλ" - -#: ../templates/account/useredit.php:351 -msgid "Password expire must be are natural number or -1." -msgstr "¥Ñ¥¹¥ï¡¼¥ÉËþλÆü¤Ï¿ô»úËô¤Ï-1¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/profedit/profileuser.php:159 -msgid "Password expiry" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉËþλÆü" - -#: ../templates/profedit/profilecreate.php:147 -msgid "Password expiry is not numeric!" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉËþλÆü¤¬¿ô»ú¤Ç¤Ê¤¤!" - -#: ../templates/config/confsave.php:193 ../templates/confwiz/server2.php:71 -msgid "Password hash is invalid!" -msgstr "¥Ñ¥¹¥ï¡¼¥É¥Ï¥Ã¥·¥å¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:147 ../templates/confwiz/server2.php:176 -#: ../help/help.inc:105 ../lib/config.inc:272 -msgid "Password hash type" -msgstr "¥Ñ¥¹¥ï¡¼¥É¥Ï¥Ã¥·¥å·Á¼°" - -#: ../templates/account/useredit.php:348 ../templates/account/useredit.php:349 -msgid "Password maxage" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ÎºÇÂç´ü¸Â" - -#: ../templates/account/useredit.php:349 -msgid "Password maxage must be are natural number." -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ÎºÇÂç´ü¸Â¤Ï¿ô»ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/account/useredit.php:348 -msgid "Password maxage must bigger as Password Minage." -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ÎºÇÂç´ü¸Â¤Ï¥Ñ¥¹¥ï¡¼¥É¤ÎºÇ¾®´ü¸Â¤è¤êÂ礭¤¯¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/profedit/profilecreate.php:115 -msgid "Password maximum age is not numeric!" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÇÂç´ü¸Â¤¬¿ô»ú¤Ç¤Ê¤¤!" - -#: ../templates/account/useredit.php:347 -msgid "Password minage" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÇ¾®´ü¸Â" - -#: ../templates/account/useredit.php:347 -msgid "Password minage must be are natural number." -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÇ¾®´ü¸Â¤Ï¿ô»ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/profedit/profilecreate.php:107 -msgid "Password minimum age is not numeric!" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÇ¾®´ü¸Â¤¬¿ô»ú¤Ç¤Ê¤¤!" - -#: ../templates/account/useredit.php:352 -#: ../templates/account/useredit.php:1079 ../help/help.inc:171 -msgid "Password warn" -msgstr "¥Ñ¥¹¥ï¡¼¥É·Ù¹ðÆü" - -#: ../templates/account/useredit.php:352 -msgid "Password warn must be are natural number." -msgstr "¥Ñ¥¹¥ï¡¼¥É·Ù¹ðÆü¿ô»ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤." - -#: ../templates/profedit/profileuser.php:152 -msgid "Password warning" -msgstr "¥Ñ¥¹¥ï¡¼¥É·Ù¹ð" - -#: ../templates/config/confsave.php:208 -msgid "Passwords are different!" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬°Û¤Ê¤ë!" - -#: ../help/help.inc:215 -#, php-format -msgid "" -"Path of the userprofile. Can be a local absolute path or a UNC-path (\\" -"\\server\\share). $%s and $%s are replaced with user- and groupname." -msgstr "" -"¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¡£¥í¡¼¥«¥ëÀäÂХѥ¹¤«¡¢UNC¥Ñ¥¹(\\\\¥µ¡¼¥Ð\\¶¦Í­). $%s " -"¤È $%s ¤Ï¥æ¡¼¥¶¤È¥°¥ë¡¼¥×¤ËÃÖ¤­´¹¤¨¤é¤ì¤ë." - -#: ../templates/config/confmain.php:315 ../templates/confwiz/o_daemon.php:117 -#: ../lib/config.inc:290 -msgid "Path to external script" -msgstr "³°Éô¥¹¥¯¥ê¥×¥È¤Î¥Ñ¥¹" - -#: ../templates/account/useredit.php:795 ../templates/account/useredit.php:865 -#: ../templates/account/useredit.php:927 -#: ../templates/account/useredit.php:1048 -#: ../templates/account/useredit.php:1165 -#: ../templates/account/useredit.php:1404 -#: ../templates/account/useredit.php:1453 -#: ../templates/account/useredit.php:1533 -msgid "Personal" -msgstr "¥Ñ¡¼¥½¥Ê¥ë" - -#: ../lib/pdf.inc:78 -msgid "Personal User Infos" -msgstr "¸Ä¿Í¤Î¥æ¡¼¥¶¾ðÊó??" - -#: ../templates/account/useredit.php:1464 -msgid "Personal properties" -msgstr "¸Ä¿Í¤Î¥×¥í¥Ñ¥Æ¥£" - -#: ../lib/pdf.inc:109 -msgid "Phone" -msgstr "ÅÅÏÃÈÖ¹æ" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Please check settings on samba page." -msgstr "Samba¥Ú¡¼¥¸¾å¤ÎÀßÄê¤ò¥Á¥§¥Ã¥¯." - -#: ../templates/account/hostedit.php:99 ../templates/account/useredit.php:108 -msgid "Please create a group first." -msgstr "¥°¥ë¡¼¥×¤òÀè¤ËºîÀ®¤¹¤ë¤³¤È." - -#: ../templates/confwiz/start.php:117 -msgid "" -"Please enter a name for the new profile. The name may contain letters, " -"digits and -_." -msgstr "" -"¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë¤Î̾Á°¤òÆþÎÏ¡£Ì¾Á°¤Ë¤Ï±Ñʸ»ú¡¢¿ô»ú¤È -_. ¤ò´Þ¤á¤é¤ì¤ë¡£" - -#: ../templates/account/useredit.php:492 ../templates/masscreate.php:571 -#: ../templates/massdetail.php:156 -msgid "Please enter a valid eMail address!" -msgstr "Àµ¤·¤¤ÅŻҥ᡼¥ë¥¢¥É¥ì¥¹¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:496 ../templates/masscreate.php:575 -#: ../templates/massdetail.php:142 -msgid "Please enter a valid employee type!" -msgstr "Àµ¤·¤¤¿¦¶È¥¿¥¤¥×¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:491 ../templates/masscreate.php:570 -#: ../templates/massdetail.php:154 -msgid "Please enter a valid fax number!" -msgstr "Àµ¤·¤¤¥Õ¥¡¥¯¥¹ÈÖ¹æ¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:490 ../templates/masscreate.php:569 -#: ../templates/massdetail.php:152 -msgid "Please enter a valid mobile number!" -msgstr "Àµ¤·¤¤·ÈÂÓÅÅÏÃÈÖ¹æ¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:494 ../templates/masscreate.php:573 -#: ../templates/massdetail.php:148 -msgid "Please enter a valid postal address!" -msgstr "Àµ¤·¤¤½»½ê¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:497 ../templates/masscreate.php:576 -#: ../templates/massdetail.php:146 -msgid "Please enter a valid postal code!" -msgstr "Àµ¤·¤¤Í¹ÊØÈÖ¹æ¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:493 ../templates/masscreate.php:572 -#: ../templates/massdetail.php:144 -msgid "Please enter a valid street name!" -msgstr "Àµ¤·¤¤Ä®Ì¾(street name)¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:489 ../templates/masscreate.php:568 -#: ../templates/massdetail.php:150 -msgid "Please enter a valid telephone number!" -msgstr "Àµ¤·¤¤ÅÅÏÃÈÖ¹æ¤òÆþÎÏ!" - -#: ../templates/account/useredit.php:495 ../templates/masscreate.php:574 -#: ../templates/massdetail.php:140 -msgid "Please enter a valid title!" -msgstr "Àµ¤·¤¤¸ª½ñ¤­¤òÆþÎÏ!" - -#: ../lib/account.inc:890 -#, php-format -msgid "Please enter a value between %s and %s!" -msgstr "%s ¤È %s ¤Î´Ö¤ÎÀµ¤·¤¤ÃͤòÆþÎÏ!" - -#: ../templates/config/conflogin.php:91 -msgid "Please enter password to change preferences:" -msgstr "¥×¥ê¥Õ¥¡¥ì¥ó¥¹¤òÊѹ¹¤¹¤ë¤¿¤á¤ËÀµ¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ:" - -#: ../templates/confwiz/o_ranges.php:112 -msgid "Please enter the UID/GID ranges for your accounts:" -msgstr "¥¢¥«¥¦¥ó¥È¤ÎÀµ¤·¤¤UID/GID¥ì¥ó¥¸¤òÆþÎÏ:" - -#: ../templates/confwiz/server.php:123 -msgid "Please enter the URL of your LDAP server." -msgstr "LDAP¥µ¡¼¥Ð¤ÎÀµ¤·¤¤URL¤òÆþÎÏ." - -#: ../help/help.inc:37 -msgid "" -"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\"." -msgstr "" -"¹½À®¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¡£¤³¤ì¤ÏLDAP¥Ñ¥¹¥ï¡¼¥É¤È¤Ï°Û¤Ê¤ë¡£¤³¤ì¤Ï .conf¥Õ¥¡¥¤¥ë¤Ë" -"µ­Ï¿¤µ¤ì¤ë¡£¤â¤·¤â¤³¤ì¤¬ºÇ½é¤Î¥í¥°¥¤¥ó¤Ê¤é¤Ð¡¢\"lam\" ¤ÈÆþÎÏ." - -#: ../help/help.inc:122 -msgid "" -"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\"." -msgstr "" -"¥Þ¥¹¥¿¹½À®¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¡£¤³¤ì¤ÏLDAP¥Ñ¥¹¥ï¡¼¥É¤È¤Ï°Û¤Ê¤ë¡£¤³¤ì¤Ïconfig.cfg" -"¥Õ¥¡¥¤¥ë¤Ëµ­Ï¿¤µ¤ì¤ë¡£¤â¤·¤â¤³¤ì¤¬ºÇ½é¤Î¥í¥°¥¤¥ó¤Ê¤é¤Ð¡¢ \"lam\" ¤ÈÆþÎÏ." - -#: ../help/help.inc:110 -msgid "" -"Please enter the name of the new profile and the password to change its " -"settings. Profile names may contain letters, numbers and -/_." -msgstr "" -"¤½¤ÎÀßÄê¤òÊѹ¹¤¹¤ë¤¿¤á¤Î¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë̾¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¡£¥×¥í¥Õ¥¡¥¤¥ë" -"̾¤Ï±Ñʸ»ú¡¢¿ô»ú¤È -/_ ¤ò´Þ¤á¤é¤ì¤ë." - -#: ../help/help.inc:112 -msgid "" -"Please enter the new name of the profile. The name may contain letters, " -"numbers and -/_." -msgstr "¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë̾¤òÆþÎÏ¡£Ì¾Á°¤Ï±Ñʸ»ú¡¢¿ô»ú¤È -/_ ¤ò´Þ¤á¤é¤ì¤ë." - -#: ../templates/account/useredit.php:316 ../templates/account/useredit.php:418 -msgid "Please enter the same password in both password-fields." -msgstr "2¤Ä¤Î¥Ñ¥¹¥ï¡¼¥ÉÎΰè¤ËƱ¤¸¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ." - -#: ../templates/confwiz/server2.php:125 -msgid "" -"Please enter the suffixes of your LDAP tree where LAM should store the " -"accounts." -msgstr "LAM¤¬¥¢¥«¥¦¥ó¥È¤ò³ÊǼ¤¹¤ë¤È¤­¤ÎLDAPÌڤΥµ¥Õ¥£¥Ã¥¯¥¹¤òÆþÎÏ¡£" - -#: ../templates/confwiz/o_lists.php:103 -msgid "Please enter which attributes should be displayed in the list views." -msgstr "¥ê¥¹¥È¥Ó¥å¡¼Ãæ¤Ëɽ¼¨¤µ¤ì¤ë¤Ù¤­Â°À­¤òÆþÎÏ." - -#: ../templates/confwiz/start.php:162 -msgid "" -"Please enter your configuration master password. This password is \"lam\" by " -"default." -msgstr "¹½À®¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ¡£¤³¤Î¥Ñ¥¹¥ï¡¼¥É¤Ï´ûÄêÃͤǤÏ\"lam\" ¤Ç¤¢¤ë." - -#: ../templates/masscreate.php:349 -msgid "" -"Please provide a csv-file with the following syntax. Values with * are " -"required:" -msgstr "°Ê²¼¤Î·Á¼°¤ÇCSV¥Õ¥¡¥¤¥ë¤òÄ󶡤¹¤ë¤³¤È¡£*¤¬ÉÕ¤¤¤¿ÃͤÏɬ¿Ü¤Ç¤¢¤ë:" - -#: ../lib/status.inc:42 -msgid "" -"Please report this error to the Bug-Tracker at {link=http://lam.sf.net}LDAP " -"Account Manager Development Team{endlink}. The error number is {bold}0001:" -"Invalid/Missing Message type.{endbold} Thank you." -msgstr "" -"¤³¤Î¥¨¥é¡¼¤ò¥Ð¥°¥È¥é¥Ã¥«¡¼ {link=http://lam.sf.net}LDAP Account Manager ³«È¯" -"¥Á¡¼¥à{endlink}¤Ë¥ì¥Ý¡¼¥È¤·¤Æ¤Û¤·¤¤¡£¥¨¥é¡¼ÈÖ¹æ¤Ï {bold}0001:ÉÔÀµ/¸ºß¤·¤Ê¤¤" -"¥á¥Ã¥»¡¼¥¸¥¿¥¤¥×¡£{endbold}" - -#: ../templates/confwiz/server2.php:222 -msgid "" -"Please select here if you want to make additional changes to your " -"configuration profile or if LAM should use default values." -msgstr "" -"¤â¤·¤â¡¢¹½À®¥×¥í¥Õ¥¡¥¤¥ë¤ËÄɲäÎÊѹ¹¤ò¹Ô¤Ê¤¤¤¿¤¤¤«¡¢LAM¤¬´ûÄêÃͤÎÃͤò»È¤¦¤Ù¤­" -"»þ¤«¤ò¤³¤³¤ÇÁªÂò¡£" - -#: ../templates/account/groupedit.php:515 -#: ../templates/account/groupedit.php:572 -#: ../templates/account/groupedit.php:642 -#: ../templates/account/groupedit.php:736 -#: ../templates/account/groupedit.php:793 -#: ../templates/account/useredit.php:788 ../templates/account/useredit.php:858 -#: ../templates/account/useredit.php:920 -#: ../templates/account/useredit.php:1041 -#: ../templates/account/useredit.php:1158 -#: ../templates/account/useredit.php:1398 -#: ../templates/account/useredit.php:1446 -#: ../templates/account/useredit.php:1526 ../templates/masscreate.php:325 -msgid "Please select page:" -msgstr "¥Ú¡¼¥¸¤òÁªÂò:" - -#: ../templates/confwiz/o_lang.php:101 -msgid "Please select your prefered language." -msgstr "ɽ¼¨¸À¸ì¤òÁªÂò." - -#: ../help/help.inc:275 -msgid "Position in ldap-tree where the group should be created." -msgstr "¥°¥ë¡¼¥×¤òºîÀ®¤¹¤Ù¤­ldapÌڤξì½ê." - -#: ../help/help.inc:277 -msgid "Position in ldap-tree where the host should be created." -msgstr "¥Û¥¹¥È¤òºîÀ®¤¹¤Ù¤­ldapÌڤξì½ê." - -#: ../help/help.inc:273 -msgid "Position in ldap-tree where the user should be created." -msgstr "¥æ¡¼¥¶¤òºîÀ®¤¹¤Ù¤­ldapÌڤξì½ê." - -#: ../templates/account/useredit.php:494 -#: ../templates/account/useredit.php:1490 ../templates/masscreate.php:375 -#: ../templates/masscreate.php:573 ../templates/massdetail.php:148 -#: ../templates/massdetail.php:244 ../help/help.inc:256 ../lib/pdf.inc:101 -msgid "Postal address" -msgstr "½»½ê" - -#: ../help/help.inc:257 -msgid "Postal address, city" -msgstr "½»½ê¡¢¶è»ÔĮ¼." - -#: ../templates/account/useredit.php:497 -#: ../templates/account/useredit.php:1484 ../templates/masscreate.php:373 -#: ../templates/masscreate.php:576 ../templates/massdetail.php:146 -#: ../templates/massdetail.php:238 ../help/help.inc:254 ../help/help.inc:255 -#: ../lib/pdf.inc:97 -msgid "Postal code" -msgstr "͹ÊØÈÖ¹æ" - -#: ../templates/confwiz/o_lists.php:105 -msgid "Predefined attributes are of type \"#attribute\"." -msgstr "¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿Â°À­¤Ï¥¿¥¤¥×¤¬: \"#Attribute\"??." - -#: ../templates/confwiz/o_lists.php:111 ../help/help.inc:67 -msgid "Predefined values" -msgstr "¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿ÃÍ" - -#: ../templates/account/hostedit.php:376 ../templates/account/useredit.php:243 -#: ../templates/account/useredit.php:966 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:359 ../templates/masscreate.php:558 -#: ../templates/profedit/profilehost.php:68 -#: ../templates/profedit/profileuser.php:93 ../help/help.inc:153 -#: ../help/help.inc:167 ../lib/pdf.inc:310 ../lib/pdf.inc:354 -msgid "Primary group" -msgstr "¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×" - -#: ../templates/account/useredit.php:559 -msgid "" -"Primary group has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤¬Êѹ¹¤µ¤ì¤¿¡£Â¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤¹¤ë¤¿" -"¤á¤Ë°Ê²¼¤Î¥³¥Þ¥ó¥É¤òroot¤Ç¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£" - -#: ../templates/profedit/profilecreate.php:64 -#: ../templates/profedit/profilecreate.php:361 -msgid "Primary group name is invalid!" -msgstr "¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×ÌÀ¤¬ÉÔÀµ!" - -#: ../templates/main_header.php:43 ../help/help.inc:126 ../help/help.inc:130 -#: ../help/help.inc:134 -msgid "Profile Editor" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥¨¥Ç¥£¥¿" - -#: ../templates/config/profmanage.php:97 -msgid "Profile deleted." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤¿." - -#: ../templates/account/hostedit.php:278 -msgid "Profile loaded." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤¬¥í¡¼¥É¤µ¤ì¤¿." - -#: ../templates/config/profmanage.php:41 -#: ../templates/config/profmanage.php:144 ../help/help.inc:109 -#: ../help/help.inc:111 ../help/help.inc:113 ../help/help.inc:115 -#: ../help/help.inc:117 ../help/help.inc:119 ../help/help.inc:121 -msgid "Profile management" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë´ÉÍý" - -#: ../templates/config/profmanage.php:159 -#: ../templates/config/profmanage.php:206 ../templates/confwiz/start.php:123 -#: ../templates/profedit/profilegroup.php:143 -#: ../templates/profedit/profilehost.php:112 -#: ../templates/profedit/profileuser.php:420 ../help/help.inc:134 -msgid "Profile name" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë̾" - -#: ../templates/config/profmanage.php:81 ../templates/config/profmanage.php:92 -#: ../templates/confwiz/start.php:65 -msgid "Profile name is invalid!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë̾¤¬ÉÔÀµ!" - -#: ../templates/config/profmanage.php:170 -#: ../templates/config/profmanage.php:260 -msgid "Profile password" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/config/profmanage.php:79 -#: ../templates/config/profmanage.php:109 ../templates/confwiz/start.php:67 -msgid "Profile passwords are different or empty!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¥ï¡¼¥É¤¬°Û¤Ê¤ë¤«¶õÇò!" - -#: ../templates/account/useredit.php:435 ../templates/account/useredit.php:447 -#: ../templates/account/useredit.php:1267 -#: ../templates/profedit/profileuser.php:318 ../help/help.inc:214 -#: ../lib/pdf.inc:214 -msgid "Profile path" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹" - -#: ../templates/account/useredit.php:447 -#: ../templates/profedit/profilecreate.php:205 -msgid "Profile path is invalid!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¤¬ÉÔÀµ!" - -#: ../templates/profedit/profilecreate.php:280 -#: ../templates/profedit/profilecreate.php:345 -#: ../templates/profedit/profilecreate.php:383 -msgid "Profile was saved." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤¬¥»¡¼¥Ö¤µ¤ì¤¿." - -#: ../templates/account/groupedit.php:524 -#: ../templates/account/groupedit.php:581 -#: ../templates/account/groupedit.php:648 -#: ../templates/account/groupedit.php:744 -#: ../templates/account/groupedit.php:801 -#: ../templates/account/useredit.php:794 ../templates/account/useredit.php:864 -#: ../templates/account/useredit.php:926 -#: ../templates/account/useredit.php:1047 -#: ../templates/account/useredit.php:1164 -#: ../templates/account/useredit.php:1403 -#: ../templates/account/useredit.php:1452 -#: ../templates/account/useredit.php:1532 -msgid "Quota" -msgstr "Quota" - -#: ../lib/pdf.inc:233 -msgid "Quota Settings" -msgstr "Quota¤ÎÀßÄê" - -#: ../templates/account/groupedit.php:756 -#: ../templates/account/useredit.php:1415 -#: ../templates/profedit/profilegroup.php:95 -#: ../templates/profedit/profileuser.php:372 -msgid "Quota properties" -msgstr "Quota¥×¥í¥Ñ¥Æ¥£" - -#: ../lib/ldap.inc:215 -msgid "RID (Windows UID)" -msgstr "RID (Windows UID)" - -#: ../templates/config/confmain.php:192 -msgid "Ranges" -msgstr "ÈÏ°Ï" - -#: ../templates/confwiz/server2.php:224 -msgid "Ranges for UID and GID numbers" -msgstr "UID¤ÈGIDÈÖ¹æ¤ÎÈÏ°Ï" - -#: ../templates/config/confmain.php:356 ../templates/confwiz/start.php:149 -msgid "Reenter Password" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÆÆþÎÏ" - -#: ../templates/config/profmanage.php:337 -msgid "Reenter new master password" -msgstr "¿·¤·¤¤¥Þ¥¹¥¿¥Ñ¥¹¥ï¡¼¥É¤òºÆÆþÎÏ" - -#: ../templates/config/profmanage.php:179 -#: ../templates/config/profmanage.php:271 -msgid "Reenter profile password" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¥ï¡¼¥É¤òºÆÆþÎÏ" - -#: ../templates/masscreate.php:332 ../templates/lists/listdomains.php:220 -#: ../templates/lists/listgroups.php:340 ../templates/lists/listhosts.php:329 -#: ../templates/lists/listusers.php:398 -msgid "Refresh" -msgstr "¥ê¥Õ¥ì¥Ã¥·¥å" - -#: ../templates/config/profmanage.php:202 ../help/help.inc:111 -msgid "Rename profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë̾Êѹ¹" - -#: ../templates/config/profmanage.php:88 -msgid "Renamed profile." -msgstr "¥×¥í¥Õ¥¡¥¤¥ë̾¤¬Êѹ¹¤µ¤ì¤¿." - -#: ../templates/account/useredit.php:1067 -#: ../templates/account/useredit.php:1187 -msgid "Repeat password" -msgstr "¥Ñ¥¹¥ï¡¼¥ÉºÆÆþÎÏ" - -#: ../templates/account/useredit.php:296 -#, php-format -msgid "Replaced $%s or $%s in homedir." -msgstr "$%s ¤È $%s ¤Ï¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤­´¹¤¨¤é¤ì¤¿¡£" - -#: ../templates/domain.php:177 ../templates/config/confmain.php:368 -#: ../templates/profedit/profilegroup.php:152 -#: ../templates/profedit/profilehost.php:121 -#: ../templates/profedit/profileuser.php:429 -msgid "Reset" -msgstr "¥ê¥»¥Ã¥È" - -#: ../templates/account/groupedit.php:529 -#: ../templates/account/groupedit.php:586 -#: ../templates/account/groupedit.php:653 -#: ../templates/account/groupedit.php:749 -#: ../templates/account/groupedit.php:806 -#: ../templates/account/useredit.php:800 ../templates/account/useredit.php:870 -#: ../templates/account/useredit.php:932 -#: ../templates/account/useredit.php:1053 -#: ../templates/account/useredit.php:1170 -#: ../templates/account/useredit.php:1409 -#: ../templates/account/useredit.php:1458 -#: ../templates/account/useredit.php:1538 -msgid "Reset all changes." -msgstr "¤¹¤Ù¤Æ¤ÎÊѹ¹¤ò¥ê¥»¥Ã¥È." - -#: ../templates/account/hostedit.php:394 -msgid "Reset password" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤ò¥ê¥»¥Ã¥È" - -#: ../templates/account/groupedit.php:521 -#: ../templates/account/groupedit.php:578 -#: ../templates/account/groupedit.php:646 -#: ../templates/account/groupedit.php:742 -#: ../templates/account/groupedit.php:798 -#: ../templates/account/useredit.php:792 ../templates/account/useredit.php:862 -#: ../templates/account/useredit.php:924 -#: ../templates/account/useredit.php:1045 -#: ../templates/account/useredit.php:1162 -#: ../templates/account/useredit.php:1402 -#: ../templates/account/useredit.php:1450 -#: ../templates/account/useredit.php:1530 -#: ../templates/profedit/profilegroup.php:67 -msgid "Samba" -msgstr "Samba" - -#: ../templates/domain.php:234 ../templates/confwiz/ldaptest.php:239 -msgid "Samba 3 domain SID is invalid!" -msgstr "Samba 3 ¥É¥á¥¤¥ó¤ÎSID¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:183 ../lib/config.inc:274 -msgid "Samba 3.x schema" -msgstr "Samba 3.x ¥¹¥­¡¼¥Þ" - -#: ../templates/lists/listdomains.php:233 -msgid "Samba Domain(s) found" -msgstr "Samba¥É¥á¥¤¥ó¤¬¸«¤Ä¤«¤Ã¤¿" - -#: ../templates/profedit/profilemain.php:218 -msgid "Samba Host Profiles" -msgstr "Samba¥Û¥¹¥È¥×¥í¥Õ¥¡¥¤¥ë" - -#: ../templates/lists/listhosts.php:342 -msgid "Samba Host(s) found" -msgstr "Samba ¥Û¥¹¥È¤¬¸«¤Ä¤«¤Ã¤¿" - -#: ../templates/ou_edit.php:405 -msgid "Samba Hosts" -msgstr "Samba ¥Û¥¹¥È" - -#: ../templates/account/groupedit.php:323 -#: ../templates/account/useredit.php:566 ../templates/account/useredit.php:580 -msgid "Samba Options not set!" -msgstr "Samba¥ª¥×¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤!" - -#: ../templates/profedit/profileuser.php:232 -msgid "Samba account" -msgstr "Samba ¥¢¥«¥¦¥ó¥È" - -#: ../templates/profedit/profilecreate.php:196 -msgid "Samba home directory is invalid!" -msgstr "Samba¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤¬ÉÔÀµ!" - -#: ../templates/account/useredit.php:1184 -msgid "Samba password" -msgstr "Samba¥Ñ¥¹¥ï¡¼¥É" - -#: ../templates/account/groupedit.php:659 -#: ../templates/account/useredit.php:1178 -msgid "Samba properties" -msgstr "Samba¥×¥í¥Ñ¥Æ¥£" - -#: ../templates/config/confmain.php:178 -msgid "Samba settings" -msgstr "SambaÀßÄê" - -#: ../templates/confwiz/server.php:179 ../help/help.inc:98 -msgid "Samba version" -msgstr "Samba¥Ð¡¼¥¸¥ç¥ó" - -#: ../templates/config/confsave.php:83 -msgid "Samba version is not defined!" -msgstr "Samba¥Ð¡¼¥¸¥ç¥ó¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤!" - -#: ../templates/account/useredit.php:1277 ../help/help.inc:217 -msgid "Samba workstations" -msgstr "Samba ÇÛ²¼¤ÎPC" - -#: ../templates/profedit/profilecreate.php:222 -msgid "Samba workstations are invalid!" -msgstr "Samba ¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤¬ÉÔÀµ!" - -#: ../lib/pdf.inc:286 ../lib/pdf.inc:524 -msgid "Samba-Host information page" -msgstr "Samba¥Û¥¹¥È¾ðÊó" - -#: ../templates/profedit/profilegroup.php:151 -#: ../templates/profedit/profilehost.php:120 -#: ../templates/profedit/profileuser.php:428 -msgid "Save" -msgstr "Êݸ" - -#: ../templates/account/groupedit.php:432 -#: ../templates/account/groupedit.php:435 -#: ../templates/account/groupedit.php:436 -#: ../templates/account/groupedit.php:814 -#: ../templates/account/groupedit.php:818 -#: ../templates/account/hostedit.php:285 ../templates/account/hostedit.php:288 -#: ../templates/account/hostedit.php:289 ../templates/account/hostedit.php:447 -#: ../templates/account/hostedit.php:451 ../templates/account/useredit.php:716 -#: ../templates/account/useredit.php:719 ../templates/account/useredit.php:720 -#: ../templates/account/useredit.php:1546 -#: ../templates/account/useredit.php:1550 ../help/help.inc:266 -msgid "Save profile" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤òÊݸ" - -#: ../templates/config/confsave.php:199 ../templates/confwiz/o_daemon.php:60 -msgid "Saving PDF text failed!" -msgstr "PDF¥Æ¥­¥¹¥ÈÊݸ¤¬¼ºÇÔ!" - -#: ../help/help.inc:86 -msgid "Script path" -msgstr "¥¹¥¯¥ê¥×¥È¥Ñ¥¹" - -#: ../templates/confwiz/o_daemon.php:54 -msgid "Script path is invalid!" -msgstr "¥¹¥¯¥ê¥×¥È¥Ñ¥¹¤¬ÉÔÀµ!" - -#: ../help/help.inc:91 -msgid "Script server" -msgstr "¥¹¥¯¥ê¥×¥È¥µ¡¼¥Ð" - -#: ../templates/config/confsave.php:187 ../templates/confwiz/o_daemon.php:57 -msgid "Script server is invalid!" -msgstr "¥¹¥¯¥ê¥×¥È¥µ¡¼¥Ð¤¬ÉÔÀµ!" - -#: ../templates/config/confmain.php:307 -msgid "Script settings" -msgstr "¥¹¥¯¥ê¥×¥ÈÀßÄê" - -#: ../templates/config/confmain.php:339 -msgid "Security settings" -msgstr "¥»¥­¥å¥ê¥Æ¥£ÀßÄê" - -#: ../templates/lists/listdomains.php:101 -#: ../templates/lists/listgroups.php:161 ../templates/lists/listhosts.php:165 -#: ../templates/lists/listusers.php:203 -msgid "See README.openldap.txt to solve this problem." -msgstr "¤³¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤ËREADME.openldap¤ò»²¾È¤Î¤³¤È" - -#: ../templates/help.php:90 -msgid "See also" -msgstr "»²¾È" - -#: ../templates/lists/listgroups.php:280 ../templates/lists/listhosts.php:267 -#: ../templates/lists/listusers.php:322 -msgid "Select all" -msgstr "¤¹¤Ù¤Æ¤òÁªÂò" - -#: ../templates/masscreate.php:420 -msgid "Select file:" -msgstr "¥Õ¥¡¥¤¥ë¤ÎÁªÂò:" - -#: ../templates/masscreate.php:412 ../help/help.inc:268 -msgid "Select group profile" -msgstr "¥°¥ë¡¼¥×¥×¥í¥Õ¥¡¥¤¥ë¤ÎÁªÂò" - -#: ../templates/masscreate.php:386 -msgid "Select settings" -msgstr "ÀßÄê¤ÎÁªÂò" - -#: ../templates/masscreate.php:389 -msgid "Select user profile:" -msgstr "¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë¤ÎÁªÂò:" - -#: ../templates/account/useredit.php:808 -msgid "Select workstations" -msgstr "PC¤ÎÁªÂò" - -#: ../templates/account/useredit.php:881 -msgid "Selected groups" -msgstr "ÁªÂò¤µ¤ì¤¿¥°¥ë¡¼¥×" - -#: ../templates/config/confsave.php:89 ../templates/confwiz/server.php:74 -msgid "Server Address is empty!" -msgstr "¥µ¡¼¥Ð¥¢¥É¥ì¥¹¤¬¶õÇò!" - -#: ../templates/config/confmain.php:112 ../templates/confwiz/server.php:130 -#: ../help/help.inc:38 ../lib/config.inc:271 -msgid "Server address" -msgstr "¥µ¡¼¥Ð¥¢¥É¥ì¥¹" - -#: ../templates/config/confmain.php:311 ../templates/confwiz/o_daemon.php:113 -#: ../lib/config.inc:291 -msgid "Server of external script" -msgstr "³°Éô¥¹¥¯¥ê¥×¥È¤Î¤¿¤á¤Î¥µ¡¼¥Ð" - -#: ../templates/config/confmain.php:109 -msgid "Server settings" -msgstr "¥µ¡¼¥ÐÀßÄê" - -#: ../templates/profedit/profileuser.php:237 -msgid "Set Samba password" -msgstr "Samba¥Ñ¥¹¥ï¡¼¥ÉÀßÄê" - -#: ../templates/profedit/profileuser.php:142 -msgid "Set Unix Password" -msgstr "Unix¥Ñ¥¹¥ï¡¼¥ÉÀßÄê" - -#: ../templates/profedit/profileuser.php:247 ../help/help.inc:126 -msgid "Set Unix password for Samba" -msgstr "SambaÍѤÎUnix¥Ñ¥¹¥ï¡¼¥ÉÀßÄê" - -#: ../templates/config/profmanage.php:256 ../help/help.inc:115 -msgid "Set profile password" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¥Ñ¥¹¥ï¡¼¥ÉÀßÄê" - -#: ../templates/profedit/profilecreate.php:83 -msgid "Shell is invalid!" -msgstr "¥·¥§¥ë¤¬ÉÔÀµ!" - -#: ../templates/masscreate.php:292 -msgid "Show Details." -msgstr "¾ÜºÙɽ¼¨." - -#: ../templates/masscreate.php:309 -msgid "Show Errors." -msgstr "¥¨¥é¡¼É½¼¨." - -#: ../templates/masscreate.php:297 -msgid "Show Infos." -msgstr "¾ðÊóɽ¼¨??." - -#: ../templates/masscreate.php:303 -msgid "Show Warnings." -msgstr "·Ù¹ðɽ¼¨." - -#: ../lib/pdf.inc:241 -msgid "Soft block" -msgstr "¥½¥Õ¥È¥Ö¥í¥Ã¥¯" - -#: ../templates/account/groupedit.php:759 -#: ../templates/account/useredit.php:1418 -#: ../templates/profedit/profilegroup.php:100 -#: ../templates/profedit/profileuser.php:377 ../help/help.inc:228 -msgid "Soft block limit" -msgstr "¥½¥Õ¥È¥Ö¥í¥Ã¥¯À©¸ÂÃÍ" - -#: ../help/help.inc:229 -msgid "Soft block limit." -msgstr "¥½¥Õ¥È¥Ö¥í¥Ã¥¯À©¸ÂÃÍ." - -#: ../lib/pdf.inc:242 -msgid "Soft inode" -msgstr "¥½¥Õ¥Èinode" - -#: ../help/help.inc:240 -msgid "Soft inode (files) limit." -msgstr "¥½¥Õ¥Èinode(¥Õ¥¡¥¤¥ë)À©¸ÂÃÍ." - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 -#: ../templates/profedit/profilegroup.php:102 -#: ../templates/profedit/profileuser.php:379 ../help/help.inc:239 -msgid "Soft inode limit" -msgstr "¥½¥Õ¥ÈinodeÀ©¸ÂÃÍ" - -#: ../templates/help.php:65 -msgid "Sorry no help number submitted." -msgstr "¥Ø¥ë¥×Èֹ椬Ä󶡤µ¤ì¤Æ¤¤¤Ê¤¤." - -#: ../templates/help.php:75 -#, php-format -msgid "Sorry this help number ({bold}%d{endbold}) is not available." -msgstr "¤³¤Î¥Ø¥ë¥×ÈÖ¹æ({bold}%d{endbold})¤Ï̵¸ú" - -#: ../templates/account/useredit.php:493 -#: ../templates/account/useredit.php:1478 ../templates/masscreate.php:371 -#: ../templates/masscreate.php:572 ../templates/massdetail.php:144 -#: ../templates/massdetail.php:232 ../help/help.inc:252 ../help/help.inc:253 -#: ../lib/pdf.inc:93 -msgid "Street" -msgstr "Į̾" - -#: ../templates/domain.php:176 ../templates/ou_edit.php:94 -#: ../templates/ou_edit.php:159 ../templates/ou_edit.php:224 -#: ../templates/ou_edit.php:289 ../templates/ou_edit.php:472 -#: ../templates/config/confmain.php:367 ../templates/config/profmanage.php:356 -#: ../templates/profedit/profiledelete.php:97 -#: ../templates/profedit/profiledelete.php:109 -#: ../templates/profedit/profiledelete.php:121 -#: ../templates/profedit/profilemain.php:261 -msgid "Submit" -msgstr "¹¹¿·(Submit)" - -#: ../templates/account/groupedit.php:607 -#: ../templates/account/hostedit.php:417 -#: ../templates/account/useredit.php:1001 ../templates/domain.php:149 -#: ../templates/confwiz/ldaptest.php:384 -#: ../templates/lists/listdomains.php:187 -#: ../templates/lists/listgroups.php:300 ../templates/lists/listhosts.php:288 -#: ../templates/lists/listusers.php:341 ../help/help.inc:272 -#: ../help/help.inc:274 ../help/help.inc:276 ../help/help.inc:295 -msgid "Suffix" -msgstr "¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:283 -#: ../templates/masscreate.php:353 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 ../templates/massdetail.php:202 -#: ../help/help.inc:191 ../lib/pdf.inc:85 -msgid "Surname" -msgstr "Surname??" - -#: ../templates/account/useredit.php:238 ../templates/masscreate.php:552 -#: ../templates/massdetail.php:81 -msgid "Surname contains invalid characters" -msgstr "Surname¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë" - -#: ../help/help.inc:192 -msgid "Surname of user. Only letters, - and spaces are allowed." -msgstr "¥æ¡¼¥¶¤ÎSurname¡£Ê¸»ú¤È - ¤È¶õÇò¤Î¤ßÍ­¸ú." - -#: ../templates/account/useredit.php:489 -#: ../templates/account/useredit.php:1496 ../templates/masscreate.php:365 -#: ../templates/masscreate.php:568 ../templates/massdetail.php:150 -#: ../templates/massdetail.php:250 ../help/help.inc:258 ../help/help.inc:259 -msgid "Telephone number" -msgstr "ÅÅÏÃÈÖ¹æ" - -#: ../templates/config/confmain.php:329 ../help/help.inc:107 -#: ../lib/config.inc:293 -msgid "Text for user PDF" -msgstr "¥æ¡¼¥¶PDF¤Î¤¿¤á¤Î¥Æ¥­¥¹¥È" - -#: ../help/help.inc:154 -msgid "The Primary Group the user should be member of." -msgstr "¥æ¡¼¥¶¤¬¥á¥ó¥Ð¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×." - -#: ../help/help.inc:168 -msgid "The Primary group the host should be member of." -msgstr "¥Û¥¹¥È¤¬¥á¥ó¥Ð¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×." - -#: ../help/help.inc:298 -msgid "The SID of your Samba server. Get it with \"net getlocalsid\"." -msgstr "Samba¥µ¡¼¥Ð¤ÎSID. \"net getlocalsid\" ¤Ç¼èÆÀ." - -#: ../help/help.inc:296 -msgid "The domain entry will be saved under this suffix." -msgstr "¤³¤Î¥µ¥Õ¥£¥Ã¥¯¥¹²¼¤Ç¥É¥á¥¤¥ó¥¨¥ó¥È¥ê¤¬Êݸ¤µ¤ì¤¿." - -#: ../templates/confwiz/o_lists.php:107 -msgid "The entries are separated by semicolons." -msgstr "¥¨¥ó¥È¥ê¤Ï¥»¥ß¥³¥í¥ó¤ÇʬΥ¤µ¤ì¤ë." - -#: ../templates/config/confsave.php:220 ../templates/confwiz/final.php:52 -msgid "The following settings were saved to profile:" -msgstr "°Ê²¼¤ÎÀßÄê¤Ï¥×¥í¥Õ¥¡¥¤¥ë¤ËÊݸ¤µ¤ì¤ë:" - -#: ../templates/initsuff.php:189 -msgid "" -"The following suffix(es) are missing in LDAP. LAM can create them for you." -msgstr "°Ê²¼¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤ÏLDAP¤Ë¤Ê¤¤¡£LAM ¤Ï¤½¤ì¤òºîÀ®¤Ç¤­¤ë¡£" - -#: ../templates/confwiz/ldaptest.php:200 -msgid "" -"The following suffix(es) are missing in LDAP. LAM will create them for you." -msgstr "°Ê²¼¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤ÏLDAP¤Ë¤Ê¤¤¡£LAM¤Ï¤½¤ì¤òºîÀ®¤¹¤ë¤À¤í¤¦¡£" - -#: ../help/help.inc:294 -msgid "The name of your Windows domain or workgroup." -msgstr "Windows¤Î¥É¥á¥¤¥óËô¤Ï¥ï¡¼¥¯¥°¥ë¡¼¥×̾." - -#: ../templates/config/confmain.php:92 -msgid "The password is invalid! Please try again." -msgstr "¥Ñ¥¹¥ï¡¼¥É¤¬ÉÔÀµ!ºÆ¼Â¹Ô." - -#: ../templates/masscreate.php:321 -msgid "There are some errors." -msgstr "¤¤¤¯¤Ä¤«¤Î¥¨¥é¡¼¤¬Â¸ºß." - -#: ../templates/masscreate.php:322 -msgid "There are some warnings." -msgstr "¤¤¤¯¤Ä¤«¤Î·Ù¹ð¤¬Â¸ºß." - -#: ../help/help.inc:59 -msgid "" -"These are the minimum and maximum numbers to use for group IDs when creating " -"new group accounts. New group accounts will always get the highest number in " -"use plus one." -msgstr "" -"¿·¤·¤¤¥°¥ë¡¼¥×¥¢¥«¥¦¥ó¥È¤òºîÀ®¤¹¤ëºÝ¤Ë»È¤ï¤ì¤ë¥°¥ë¡¼¥×ID¤ÎºÇ¾®ÃͤȺÇÂçÃÍ¡£¿·" -"¤·¤¤¥°¥ë¡¼¥×¥¢¥«¥¦¥ó¥È¤Ï¡¢¤¤¤Ä¤Ç¤â´û¸¤Î¤â¤Î¤ÎºÇÂçÃÍ+1¤È¤Ê¤ë." - -#: ../help/help.inc:61 -msgid "" -"These are the minimum and maximum numbers to use for machine IDs when " -"creating new accounts for Samba hosts. The range should be different from " -"that of users. New host accounts will always get the highest number in use " -"plus one." -msgstr "" -"Samba¥Û¥¹¥È¤Î¤¿¤á¤Î¿·¤·¤¤¥¢¥«¥¦¥ó¥È¤òºîÀ®¤¹¤ëºÝ¤Ë»È¤ï¤ì¤ë¥Þ¥·¥óID¤ÎºÇ¾®ÃͤȺÇ" -"ÂçÃÍ¡£ÈϰϤϥ桼¥¶¤Î¤â¤Î¤È¤Ï°Û¤Ê¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¿·¤·¤¤¥Û¥¹¥È¥¢¥«¥¦¥ó¥È" -"¤Ï¡¢¤¤¤Ä¤Ç¤â´û¸¤Î¤â¤Î¤ÎºÇÂçÃÍ+1¤È¤Ê¤ë¡£" - -#: ../help/help.inc:57 -msgid "" -"These are the minimum and maximum numbers to use for user IDs when creating " -"new user accounts. The range should be different from that of machines. New " -"user accounts will always get the highest number in use plus one." -msgstr "" -"¿·¤·¤¤¥æ¡¼¥¶¥¢¥«¥¦¥ó¥È¤òºîÀ®¤¹¤ëºÝ¤Ë»È¤ï¤ì¤ë¥æ¡¼¥¶ID¤ÎºÇ¾®ÃͤȺÇÂçÃÍ¡£ÈϰϤÏ" -"¥Þ¥·¥ó(¥Û¥¹¥È)¤Î¤â¤Î¤È¤Ï°Û¤Ê¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¿·¤·¤¤¥æ¡¼¥¶¥¢¥«¥¦¥ó¥È¤Ï¡¢¤¤" -"¤Ä¤Ç¤â´û¸¤Î¤â¤Î¤ÎºÇÂçÃÍ+1¤È¤Ê¤ë¡£plus 1." - -#: ../templates/domain.php:237 ../templates/confwiz/ldaptest.php:231 -msgid "This Samba 3 domain is already present!" -msgstr "¤³¤ÎSamba 3 ¥É¥á¥¤¥ó¤Ï¤¹¤Ç¤Ë¸ºß¤·¤Æ¤¤¤ë!" - -#: ../templates/confwiz/o_lists.php:104 -msgid "" -"This can be a list of predefined attributes which have a description and are " -"translated or you can write your own description." -msgstr "" -"¤³¤ì¤Ï¡¢ÀâÌÀ¤ò»ý¤Ä¤«ËÝÌõ¤µ¤ì¤¿¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤µ¤ì¤¿Â°À­¤Î¥ê¥¹¥È¤Ë¤Ê¤ì¤ë¤«¡¢" -"¸ÇÍ­¤ÎÀâÌÀ¤ò½ñ¤¯¤³¤È¤¬¤Ç¤­¤ë¡£" - -#: ../help/help.inc:116 -msgid "This changes the password of the selected profile." -msgstr "¤³¤ì¤ÏÁªÂò¤µ¤ì¤¿¥×¥í¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤¹¤ë¡£" - -#: ../help/help.inc:118 -msgid "This changes the profile which is selected by default at login." -msgstr "¤³¤ì¤Ï¡¢¥í¥°¥¤¥ó»þ¤Ë´ûÄêÃͤÇÁªÂò¤µ¤ì¤¿¥×¥í¥Õ¥¡¥¤¥ë¤òÊѹ¹¤¹¤ë¡£" - -#: ../templates/confwiz/o_lang.php:102 ../help/help.inc:85 -msgid "" -"This defines the language of the login window and sets this language as the " -"default language. Users can change the language at login." -msgstr "" -"¤³¤ì¤Ï¡¢¥í¥°¥¤¥ó¥¦¥£¥ó¥É¥¦¤Î¸À¸ì¤òÄêµÁ¤·¡¢¤³¤Î¸À¸ì¤ò´ûÄêÃͤθÀ¸ì¤È¤·¤ÆÀßÄꤹ" -"¤ë¡£ÍøÍÑ¼Ô¤Ï¥í¥°¥¤¥ó»þ¤Ë¸À¸ì¤òÊѹ¹¤Ç¤­¤ë¡£" - -#: ../lib/pdf.inc:509 ../lib/pdf.inc:538 ../lib/pdf.inc:569 -msgid "This document was automatically created by LDAP Account Manager" -msgstr "¤³¤Îʸ½ñ¤ÏLDAP Account Manager¤Ë¤è¤Ã¤Æ¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤ë¡£" - -#: ../help/help.inc:78 -msgid "" -"This is a list of valid DN entries of all users that are allowed to login to " -"LDAP Account Manager. The user names have to be separated by semicolons." -msgstr "" -"¤³¤ì¤Ï¡¢LDAP Account Manager ¤Ë¥í¥°¥¤¥ó²Äǽ¤Ê¤¹¤Ù¤Æ¤Î¥æ¡¼¥¶¤ÎÍ­¸ú¤ÊDN¥¨¥ó¥È¥ê" -"¤Î°ìÍ÷¤Ç¤¢¤ë¡£¥æ¡¼¥¶Ì¾¤Ï¥»¥ß¥³¥í¥ó¤Ë¤è¤Ã¤ÆʬΥ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£" - -#: ../help/help.inc:87 -msgid "" -"This is the absolute path to an external script for setting quotas and " -"creating home directories." -msgstr "" -"¤³¤ì¤Ï¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤·¡¢quota¤òÀßÄꤹ¤ë¤¿¤á¤Î³°Éô¥¹¥¯¥ê¥×¥È¤ÎÀäÂÐ" -"¥Ñ¥¹¤Ç¤¢¤ë¡£" - -#: ../help/help.inc:63 -msgid "" -"This is the list of attributes to show in the user/group/host list. The " -"entries can either be predefined values, \"#attribute\", or individual ones, " -"\"attribute:description\". Several entries are seperated by semicolons." -msgstr "" -"¤³¤ì¤Ï¡¢¥æ¡¼¥¶/¥°¥ë¡¼¥×/¥Û¥¹¥ÈÃæ¤Ë°À­¤òɽ¼¨¤¹¤ë¥ê¥¹¥È¤Ç¤¢¤ë¡£¥¨¥ó¥È¥ê¤Ï¤¢¤é" -"¤«¤¸¤áÄêµÁ¤µ¤ì¤¿Ãͤ«¡¢\"#°À­\" ¤«¡¢ÆÃÄê¤Î¤â¤Î¤«¡¢\"°À­:ÀâÌÀ\"¤Ç¤¢¤ë¡£¤¤¤¯¤Ä" -"¤«¤Î¥¨¥ó¥È¥ê¤Ï¥»¥ß¥³¥í¥ó¤Ë¤è¤Ã¤ÆʬΥ¤µ¤ì¤ë¡£" - -#: ../help/help.inc:83 -msgid "" -"This is the number of rows to show in the user/group/host list. If more " -"entries are found the list will be split into several pages." -msgstr "" -"¥æ¡¼¥¶/¥°¥ë¡¼¥×/¥Û¥¹¥È¥ê¥¹¥ÈÃæ¤Ëɽ¼¨¤¹¤ë¹Ô¿ô¤Ç¤¢¤ë¡£¤â¤·¤â¤è¤ê¿¤¯¤Î¥¨¥ó¥È¥ê" -"¤¬¤¢¤ë¤Ê¤é¤Ð¡¢¥ê¥¹¥È¤ÏÊ£¿ô¤Î¥Ú¡¼¥¸¤Ëʬ³ä¤µ¤ì¤ë¡£" - -#: ../help/help.inc:39 -msgid "" -"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." -msgstr "" -"¤³¤ì¤ÏLDAP¥µ¡¼¥Ð¤Î¥¢¥É¥ì¥¹¤Ç¤¢¤ë¡£ldap:// ¤òɸ½àŪ¤ÊLDAPÀܳ¤Ë¡¢ldaps:// ¤ò°Å" -"¹æ²½¤µ¤ì¤¿(¥µ¡¼¥Ðǧ¾Ú¤¬É¬Í×)Àܳ¤Ë»È¤¦¤³¤È¡£" - -#: ../templates/confwiz/o_daemon.php:107 -msgid "" -"This is the server and path where the lamdaemon.pl script is stored. LDAP " -"Account Manager will make a SSH connection to this server with username and " -"password provided at login." -msgstr "" -"¤³¤ì¤Ïlamdaemon.pl ¥¹¥¯¥ê¥×¥È¤¬³ÊǼ¤µ¤ì¤ë¥Ñ¥¹¤È¥µ¡¼¥Ð¤Ç¤¢¤ë¡£LDAP Account " -"Manager ¤Ï¥í¥°¥¤¥ó»þ¤ËÄ󶡤µ¤ì¤¿¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤Ç¥µ¡¼¥Ð¤ËSSH¥»¥Ã¥·¥ç¥ó¤ò" -"Ä¥¤ë¡£" - -#: ../help/help.inc:92 -msgid "" -"This is the server where the lamdaemon script is stored. LDAP Account " -"Manager will make a SSH connection to this server with username and password " -"provided at login." -msgstr "" -"¤³¤ì¤Ïldapdaemon¥¹¥¯¥ê¥×¥È¤¬³ÊǼ¤µ¤ì¤ë¥µ¡¼¥Ð¤Ç¤¢¤ë¡£LDAP Account Manager¤Ï¥í" -"¥°¥¤¥ó»þ¤ËÄ󶡤µ¤ì¤¿¥æ¡¼¥¶Ì¾¤È¥Ñ¥¹¥ï¡¼¥É¤Ç¥µ¡¼¥Ð¤ËSSHÀܳ¤ò¹Ô¤Ê¤¦¡£" - -#: ../help/help.inc:51 -msgid "" -"This is the suffix of the LDAP tree from where to search for user/group/host " -"entries. Only entries in these subtrees will be displayed in the user/group/" -"host list. When creating a new accont this will be the DN where it is saved." -msgstr "" -"¤³¤ì¤Ï¡¢¥æ¡¼¥¶/¥°¥ë¡¼¥×/¥Û¥¹¥È¥¨¥ó¥È¥ê¤òõ¤¹¤¿¤á¤ÎldapÌڤΥµ¥Õ¥£¥Ã¥¯¥¹¤Ç¤¢" -"¤ë¡£¤³¤Î¥µ¥Ö¥Ä¥ê¡¼¤Î¥¨¥ó¥È¥ê¤Î¤ß¤¬¥æ¡¼¥¶/¥°¥ë¡¼¥×/¥Û¥¹¥È¥ê¥¹¥È¤Ëɽ¼¨¤µ¤ì¤ë¡£" -"¿·¤·¤¤¥¢¥«¥¦¥ó¥È¤¬ºîÀ®¤µ¤ì¤ë¤È¤­¤Ï¡¢¤³¤ì¤Ï¤½¤ì¤¬Êݸ¤µ¤ì¤ëDN¤Ë¤Ê¤ë¡£??" - -#: ../help/help.inc:104 -msgid "" -"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." -msgstr "" -"¤³¤ì¤Ï¡¢LDAP¸¡º÷¤òLAM¤¬¼õ¤±¼è¤ë»þ´Ö¤Ç¤¢¤ë¡£¤è¤êû¤¤»þ´Ö¤ÏLDAP¤Ë¤è¤êÉé²Ù¤ò¤«¤±" -"¤ë¤¬¡¢Êѹ¹¤¬¼±Ê̤µ¤ì¤Ê¤¤²ÄǽÀ­¤ò¸º¤é¤¹¡£" - -#: ../templates/confwiz/o_daemon.php:127 ../help/help.inc:108 -msgid "This text will appear on top of every user PDF file." -msgstr "¤³¤Î¥Æ¥­¥¹¥È¤Ï³Æ¡¹¤Î¥æ¡¼¥¶¤ÎPDF¥Õ¥¡¥¤¥ë¤Ë¸½¤ï¤ì¤ë¡£" - -#: ../templates/lists/userlink.php:54 -msgid "This user was not found!" -msgstr "¤³¤Î¥æ¡¼¥¶¤Ï̤ÄêµÁ¤Ç¤¢¤ë!" - -#: ../help/help.inc:290 -msgid "This will create a new organizational unit under the selected one." -msgstr "¤³¤ì¤Ï¡¢ÁªÂò¤µ¤ì¤¿¤â¤Î¤Ë¡¢¿·¤·¤¤ organizational unit ¤òºîÀ®¤¹¤ë¡£" - -#: ../help/help.inc:292 -msgid "" -"This will delete the selected organizational unit. The OU has to be empty." -msgstr "" -"¤³¤ì¤Ï¡¢ÁªÂò¤µ¤ì¤¿ organizational unit¤òºï½ü¤¹¤ë¤À¤í¤¦¡£OU¤Ï¶õ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é" -"¤Ê¤¤¡£" - -#: ../help/help.inc:114 -msgid "This will delete the selected profile." -msgstr "¤³¤ì¤ÏÁªÂò¤µ¤ì¤¿¥×¥í¥Õ¥¡¥¤¥ë¤òºï½ü¤¹¤ë¡£" - -#: ../help/help.inc:267 -msgid "" -"This will make a profile of the current account. The saved values are the " -"same as in the profile editor. Profile names may contain the letters a-z, 0-" -"9 and -_." -msgstr "" -"¤³¤ì¤Ï¡¢¸½ºß¤Î¥¢¥«¥¦¥ó¥È¤Î¥×¥í¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£Êݸ¤µ¤ì¤¿Ãͤϡ¢¥×¥í¥Õ¥¡¥¤" -"¥ë¥¨¥Ç¥£¥¿¤Î¤â¤Î¤ÈƱ¤¸¤Ç¤¢¤ë¡£¥×¥í¥Õ¥¡¥¤¥ë̾¤Ï a-z, 0-9 ¤È -_ ¤ò´Þ¤à¤³¤È¤¬¤Ç" -"¤­¤ë¡£" - -#: ../templates/account/useredit.php:495 -#: ../templates/account/useredit.php:1466 ../templates/masscreate.php:361 -#: ../templates/masscreate.php:574 ../templates/massdetail.php:140 -#: ../templates/massdetail.php:220 ../help/help.inc:248 ../lib/pdf.inc:81 -msgid "Title" -msgstr "¸ª½ñ" - -#: ../help/help.inc:249 -msgid "Title of user, Mr., Ms., ..." -msgstr "¥æ¡¼¥¶¤Î¸ª½ñ(Mr,Ms¤Ê¤É)." - -#: ../templates/confwiz/server.php:144 -msgid "" -"To connect to your LDAP server please enter now the DN of your " -"administrative user and the password." -msgstr "LDAP¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë¤¿¤á¤Ë¡¢´ÉÍý¼Ô¤Î¥æ¡¼¥¶¤ÎDN¤È¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ" - -#: ../help/help.inc:152 -msgid "" -"To disable login use /bin/false. List of shells is read from lam/config/" -"shells" -msgstr "" -"¥í¥°¥¤¥ó¤ò¶Ø»ß¤¹¤ë¤¿¤á¤Ë¤Ï/bin/false¤ò»È¤¦¤³¤È¡£¥·¥§¥ë¤Î°ìÍ÷¤Ï lam/config/" -"shells ¤Ë¤¢¤ë¡£" - -#: ../templates/lists/listusers.php:355 -msgid "Translate GID number to group name" -msgstr "GIDÈÖ¹æ¤ò¥°¥ë¡¼¥×̾¤ËÊÑ´¹" - -#: ../lib/pdf.inc:305 ../lib/pdf.inc:348 -msgid "UID" -msgstr "UID" - -#: ../templates/account/hostedit.php:370 ../templates/account/useredit.php:948 -#: ../help/help.inc:56 ../help/help.inc:141 ../help/help.inc:164 -#: ../lib/ldap.inc:194 ../lib/ldap.inc:217 -msgid "UID number" -msgstr "UIDÈÖ¹æ" - -#: ../templates/account/useredit.php:556 -msgid "" -"UID-number has changed. You have to run the following command as root in " -"order to change existing file-permissions:" -msgstr "" -"UIDÈֹ椬Êѹ¹¤µ¤ì¤¿¡£Â¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë¡¢°Ê²¼¤Î" -"¥³¥Þ¥ó¥É¤òroot¤Ç¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ë¡£" - -#: ../help/help.inc:220 -#, php-format -msgid "" -"UNC-path (\\\\server\\share) of homedirectory. $%s and $%s are replaced with " -"user- and groupname." -msgstr "" -"¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ÎUNC¥Ñ¥¹ (\\\\¥µ¡¼¥Ð\\¶¦Í­)¡£$%s ¤È $%s ¤Ï¥æ¡¼¥¶Ì¾¤È¥°¥ë¡¼" -"¥×̾¤ËÊÑ´¹¤µ¤ì¤ë¡£" - -#: ../templates/ou_edit.php:55 ../templates/ou_edit.php:120 -#: ../templates/ou_edit.php:185 ../templates/ou_edit.php:250 -msgid "Unable to create new OU!" -msgstr "¿·¤·¤¤OU¤òºîÀ®¤Ç¤­¤Ê¤¤!" - -#: ../templates/config/profmanage.php:77 ../templates/confwiz/start.php:63 -msgid "Unable to create new profile!" -msgstr "¿·¤·¤¤¥×¥í¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤­¤Ê¤¤!" - -#: ../templates/ou_edit.php:72 ../templates/ou_edit.php:137 -#: ../templates/ou_edit.php:202 ../templates/ou_edit.php:267 -msgid "Unable to delete OU!" -msgstr "OU¤òºï½ü¤Ç¤­¤Ê¤¤!" - -#: ../templates/domain.php:304 -msgid "Unable to delete domain!" -msgstr "¥É¥á¥¤¥ó¤òºï½ü¤Ç¤­¤Ê¤¤!" - -#: ../templates/config/profmanage.php:99 -#: ../templates/profedit/profiledelete.php:53 -#: ../templates/profedit/profiledelete.php:60 -#: ../templates/profedit/profiledelete.php:67 -msgid "Unable to delete profile!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤òºï½ü¤Ç¤­¤Ê¤¤!" - -#: ../templates/login.php:100 ../templates/config/confmain.php:296 -#: ../templates/confwiz/o_lang.php:134 -msgid "" -"Unable to load available languages. Setting English as default language. For " -"further instructions please contact the Admin of this site." -msgstr "" -"Í­¸ú¤Ê¸À¸ì¤ò¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£±Ñ¸ì¤ò´ûÄêÃͤθÀ¸ì¤È¤¹¤ë¡£¤è¤ê¾Ü¤·¤¤ÀâÌÀ¤Ï¤³¤Î¥µ" -"¥¤¥È¤Î´ÉÍý¼Ô¤Ë¥³¥ó¥¿¥¯¥È¤·¤Æ¤Û¤·¤¤¡£" - -#: ../lib/config.inc:184 ../lib/config.inc:735 -msgid "Unable to load configuration!" -msgstr "Kann Konfiguration nicht laden!" - -#: ../lib/profiles.inc:252 ../lib/profiles.inc:256 ../lib/profiles.inc:319 -#: ../lib/profiles.inc:323 ../lib/profiles.inc:375 ../lib/profiles.inc:379 -msgid "Unable to load profile!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤Ç¤­¤Ê¤¤!" - -#: ../templates/profedit/profilecreate.php:282 -#: ../templates/profedit/profilecreate.php:347 ../lib/profiles.inc:451 -#: ../lib/profiles.inc:486 ../lib/profiles.inc:514 -msgid "Unable to save profile!" -msgstr "¥×¥í¥Õ¥¡¥¤¥ë¤òÊݸ¤Ç¤­¤Ê¤¤!" - -#: ../templates/account/groupedit.php:531 -#: ../templates/account/groupedit.php:588 -#: ../templates/account/groupedit.php:655 -#: ../templates/account/groupedit.php:751 -#: ../templates/account/groupedit.php:808 -#: ../templates/account/useredit.php:802 ../templates/account/useredit.php:872 -#: ../templates/account/useredit.php:934 -#: ../templates/account/useredit.php:1055 -#: ../templates/account/useredit.php:1172 -#: ../templates/account/useredit.php:1411 -#: ../templates/account/useredit.php:1460 -#: ../templates/account/useredit.php:1540 ../templates/massdetail.php:72 -#: ../templates/massdetail.php:275 -msgid "Undo" -msgstr "Éü³è" - -#: ../templates/account/hostedit.php:437 -msgid "Undo changes" -msgstr "Éü³è¤ÎÊѹ¹??" - -#: ../templates/account/useredit.php:791 ../templates/account/useredit.php:861 -#: ../templates/account/useredit.php:923 -#: ../templates/account/useredit.php:1044 -#: ../templates/account/useredit.php:1161 -#: ../templates/account/useredit.php:1401 -#: ../templates/account/useredit.php:1449 -#: ../templates/account/useredit.php:1529 -msgid "Unix" -msgstr "Unix" - -#: ../lib/pdf.inc:124 -msgid "Unix User Settings" -msgstr "Unix¥æ¡¼¥¶ÀßÄê" - -#: ../templates/profedit/profileuser.php:88 -msgid "Unix account" -msgstr "Unix¥¢¥«¥¦¥ó¥È" - -#: ../templates/confwiz/ldaptest.php:483 -msgid "Unix group name" -msgstr "Unix¥°¥ë¡¼¥×̾" - -#: ../lib/pdf.inc:132 ../lib/pdf.inc:141 -msgid "Unix password" -msgstr "Unix¥Ñ¥¹¥ï¡¼¥É" - -#: ../lib/pdf.inc:134 -msgid "Unix password disabled!" -msgstr "Unix¥Ñ¥¹¥ï¡¼¥É¤¬Ìµ¸ú!" - -#: ../templates/account/useredit.php:1059 -msgid "Unix properties" -msgstr "Unix¥×¥í¥Ñ¥Æ¥£" - -#: ../templates/account/useredit.php:354 -#: ../templates/account/useredit.php:1127 -#: ../templates/profedit/profileuser.php:208 ../help/help.inc:280 -msgid "Unix workstations" -msgstr "Unix¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó" - -#: ../templates/profedit/profilecreate.php:131 -msgid "Unix workstations are invalid!" -msgstr "Unix¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤¬Ìµ¸ú!" - -#: ../templates/account/useredit.php:354 -msgid "Unix workstations is invalid." -msgstr "Unix¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤¬Ìµ¸ú." - -#: ../templates/confwiz/o_daemon.php:108 ../help/help.inc:89 -#: ../help/help.inc:94 -msgid "" -"Use it at your own risk and read the documentation for lamdaemon before you " -"use it!" -msgstr "»È¤¦Á°¤Ëlamdaemon¤Î¥É¥­¥å¥á¥ó¥È¤òÆɤߡ¢¤¢¤Ê¤¿¤ÎÀÕǤ¤Ç»È¤¦¤³¤È" - -#: ../templates/account/useredit.php:1073 -#: ../templates/account/useredit.php:1199 ../help/help.inc:195 -msgid "Use no password" -msgstr "¥Ñ¥¹¥ï¡¼¥É¤Ê¤·" - -#: ../templates/account/useredit.php:1193 ../help/help.inc:199 -msgid "Use unix password" -msgstr "Unix¥Ñ¥¹¥ï¡¼¥É¤ò»È¤¦" - -#: ../templates/account/groupedit.php:758 -#: ../templates/account/useredit.php:1417 ../help/help.inc:226 -msgid "Used blocks" -msgstr "»ÈÍѤ·¤¿¥Ö¥í¥Ã¥¯" - -#: ../help/help.inc:227 -msgid "Used blocks. 1000 blocks are usually 1MB" -msgstr "»ÈÍѤ·¤¿¥Ö¥í¥Ã¥¯¡£1000¥Ö¥í¥Ã¥¯¤ÏÄ̾ï1MB." - -#: ../help/help.inc:306 -msgid "Used for calculating RIDs from UID/GID. Do not change if unsure." -msgstr "RIDs ¤ò UID/GID ¤«¤é·×»»¤¹¤ë¤¿¤á¤Ë»È¤¦¡£¼«¿®¤¬¤Ê¤¤¤Ê¤éÊѹ¹¤·¤Ê¤¤¤³¤È¡£" - -#: ../templates/account/groupedit.php:760 -#: ../templates/account/useredit.php:1419 ../help/help.inc:237 -msgid "Used inodes" -msgstr "»ÈÍѤ·¤¿inode" - -#: ../help/help.inc:238 -msgid "Used inodes (files)" -msgstr "»ÈÍѤ·¤¿inode(¥Õ¥¡¥¤¥ë)" - -#: ../templates/account/useredit.php:1571 -#, php-format -msgid "User %s has been created." -msgstr "¥æ¡¼¥¶ %s ¤¬ºîÀ®¤µ¤ì¤¿" - -#: ../templates/account/useredit.php:1568 -#, php-format -msgid "User %s has been modified." -msgstr "¥æ¡¼¥¶ %s ¤ÏÊѹ¹¤µ¤ì¤¿" - -#: ../lib/ldap.inc:193 -msgid "User ID" -msgstr "¥æ¡¼¥¶ ID" - -#: ../templates/profedit/profilemain.php:128 -msgid "User Profiles" -msgstr "¥æ¡¼¥¶¥×¥í¥Õ¥¡¥¤¥ë" - -#: ../templates/account/useredit.php:1211 ../help/help.inc:130 -#: ../help/help.inc:203 -msgid "User can change password" -msgstr "¥æ¡¼¥¶¤Ï¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹²Äǽ" - -#: ../help/help.inc:150 -msgid "User description. If left empty sur- and give name will be used." -msgstr "¥æ¡¼¥¶¤ÎÀâÌÀ¡£¤â¤·¤â¶õÇò¤Ê¤é¤Ð¡¢sur-¤ÈÍ¿¤¨¤é¤ì¤¿Ì¾Á°¤¬»È¤ï¤ì¤ë." - -#: ../lib/pdf.inc:39 ../lib/pdf.inc:496 -msgid "User information page" -msgstr "¥æ¡¼¥¶¾ðÊó¥Ú¡¼¥¸" - -#: ../templates/initsuff.php:144 ../templates/initsuff.php:157 -#: ../templates/initsuff.php:163 ../templates/initsuff.php:172 -#: ../templates/masscreate.php:263 -msgid "User list" -msgstr "¥æ¡¼¥¶°ìÍ÷" - -#: ../templates/config/confsave.php:154 ../templates/confwiz/o_lists.php:54 -msgid "User list attributes are invalid!" -msgstr "¥æ¡¼¥¶°ìÍ÷°À­¤¬Ìµ¸ú!" - -#: ../templates/account/useredit.php:1230 ../help/help.inc:205 -msgid "User must change password" -msgstr "¥æ¡¼¥¶¤Ï¥Ñ¥¹¥ï¡¼¥É¤òÊѹ¹¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤" - -#: ../templates/masscreate.php:283 -msgid "User name" -msgstr "¥æ¡¼¥¶Ì¾" - -#: ../lib/pdf.inc:236 -msgid "User quota(s)" -msgstr "¥æ¡¼¥¶quota" - -#: ../templates/masscreate.php:396 -msgid "User suffix" -msgstr "¥æ¡¼¥¶¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/lists/listusers.php:411 -msgid "User(s) found" -msgstr "¥æ¡¼¥¶¤¬¸«¤Ä¤«¤Ã¤¿" - -#: ../help/help.inc:50 -msgid "User/Group/Host suffix" -msgstr "¥æ¡¼¥¶/¥°¥ë¡¼¥×/¥Û¥¹¥È¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/config/confmain.php:123 ../templates/confwiz/server2.php:131 -#: ../lib/config.inc:275 -msgid "UserSuffix" -msgstr "¥æ¡¼¥¶¥µ¥Õ¥£¥Ã¥¯¥¹" - -#: ../templates/config/confsave.php:104 ../templates/confwiz/server2.php:59 -msgid "UserSuffix is invalid!" -msgstr "¥æ¡¼¥¶¥µ¥Õ¥£¥Ã¥¯¥¹¤¬Ìµ¸ú!" - -#: ../templates/account/useredit.php:224 ../templates/account/useredit.php:246 -#: ../templates/account/useredit.php:291 ../templates/account/useredit.php:942 -#: ../templates/login.php:148 ../templates/masscreate.php:357 -#: ../templates/masscreate.php:545 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 ../templates/massdetail.php:136 -#: ../templates/massdetail.php:214 ../help/help.inc:139 ../lib/ldap.inc:196 -#: ../lib/pdf.inc:127 ../lib/pdf.inc:181 -msgid "Username" -msgstr "¥æ¡¼¥¶Ì¾" - -#: ../templates/account/useredit.php:246 ../templates/masscreate.php:561 -#: ../templates/massdetail.php:88 -msgid "" -"Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 " -"and .-_ !" -msgstr "¥æ¡¼¥¶Ì¾¤ËÉÔÀµ¤Êʸ»ú¤¬¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, A-Z, 0-9 ¤È .-_ !" - -#: ../templates/account/useredit.php:291 ../templates/masscreate.php:545 -#: ../templates/massdetail.php:136 -msgid "Username in use. Selected next free username." -msgstr "¥æ¡¼¥¶Ì¾¤¬»È¤ï¤ì¤Æ¤¤¤ë¡£¼¡¤Î¼«Í³¤Ê¥æ¡¼¥¶Ì¾¤¬ÁªÂò¤µ¤ì¤¿¡£" - -#: ../help/help.inc:140 -msgid "" -"Username of the user who should be created. Valid characters are: a-z,0-9, .-" -"_. Lam does not allow a number as first character because useradd also does " -"not allow it. Lam does not allow capital letters A-Z because it can cause " -"several problems. If username is already used username will be expanded with " -"a number. The next free number will be used. Warning: Older systems have " -"problems with usernames longer than 8 characters. You can not log in to " -"Windows if username is longer than 16 characters." -msgstr "" -"ºîÀ®¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥æ¡¼¥¶Ì¾¤¬ºîÀ®¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¡£Í­¸ú¤Êʸ»ú¤Ï: a-z, 0-" -"9 ¤È .-_¤Ç¤¢¤ë¡£LAM¤Þ¡¢useradd¤¬Ç§¤á¤Ê¤¤¤¿¤á¤Ë¡¢ºÇ½é¤Îʸ»ú¤Ë¿ô»ú¤òǧ¤á¤Ê¤¤¡£" -"Lam¤Ï¤¤¤¯¤Ä¤«¤ÎÌäÂê¤ò°ú¤­µ¯¤³¤¹¤¿¤á¡¢Âçʸ»ú A-Z¤òǧ¤á¤Ê¤¤¡£¤â¤·¤â¥æ¡¼¥¶Ì¾¤¬¤¹" -"¤Ç¤Ë»È¤ï¤ì¤Æ¤¤¤¿¤Ê¤é¤Ð¡¢¥æ¡¼¥¶Ì¾¤Ï¿ô»ú¤Ç³ÈÄ¥¤µ¤ì¤ë¡£¼¡¤Î¼«Í³¤ÊÈֹ椬»È¤ï¤ì" -"¤ë¡£·Ù¹ð:¸Å¤¤¥·¥¹¥Æ¥à¤Ç¤Ï8ʸ»ú¤è¤êÂ礭¤¤¥æ¡¼¥¶Ì¾¤ÇÌäÂ꤬ȯÀ¸¤¹¤ë¡£16ʸ»ú¤è¤ê" -"Â礭¤¤¥æ¡¼¥¶Ì¾¤Ç¤ÏWindows¤Ë¤Ï¥í¥°¥ª¥ó¤Ç¤­¤Ê¤¤¡£" - -#: ../templates/main_header.php:73 ../templates/main_header.php:78 -#: ../templates/ou_edit.php:339 ../templates/confwiz/o_lists.php:112 -#: ../help/help.inc:69 -msgid "Users" -msgstr "¥æ¡¼¥¶" - -#: ../help/help.inc:285 -msgid "Users also being member of the current group." -msgstr "¥æ¡¼¥¶¤Ï¸½ºß¤Î¥°¥ë¡¼¥×¤Î¥á¥ó¥Ð¡¼¤Ë¤¤¤ë¡£" - -#: ../help/help.inc:182 -msgid "Users wich are also members of group." -msgstr "¥æ¡¼¥¶¤Ï¥°¥ë¡¼¥×¤Î¥á¥ó¥Ð¡¼¤Ë¤â¤¤¤ë¡£" - -#: ../templates/confwiz/o_lang.php:145 ../help/help.inc:77 -msgid "Valid users" -msgstr "Í­¸ú¤Ê¥æ¡¼¥¶" - -#: ../templates/account/groupedit.php:619 -#: ../templates/account/hostedit.php:428 -#: ../templates/account/useredit.php:1013 -#: ../templates/account/useredit.php:1134 -msgid "Values with * are required" -msgstr "*°õ¤ÎÃͤÏɬ¿Ü¤Ç¤¢¤ë" - -#: ../templates/masscreate.php:284 -msgid "Warnings" -msgstr "·Ù¹ð" - -#: ../templates/masscreate.php:206 ../templates/masscreate.php:236 -#, php-format -msgid "Was unable to create %s." -msgstr "¤Ï %s ¤òºîÀ®¤Ç¤­¤Ê¤¤¡£" - -#: ../templates/confwiz/start.php:107 -msgid "Welcome to LAM Configuration wizard." -msgstr "LAM¹½À®¥¦¥£¥¶¡¼¥É¤Ø¤è¤¦¤³¤½" - -#: ../help/help.inc:49 -msgid "" -"When using ldaps:// be sure to use exactly the same IP/domain name as in " -"your certificate!" -msgstr "" -"ldaps:// ¤ò»È¤¦¤È¤­¤Ïǧ¾Ú¾ðÊóÃæ¤Î¤â¤Î¤È¡¢IP/¥É¥á¥¤¥ó̾¤¬Àµ³Î¤Ë°ìÃפ¹¤ë¤â¤Î¤ò" -"»È¤¦¤³¤È¡£" - -#: ../templates/confwiz/server.php:173 -msgid "Which Samba version do you use?" -msgstr "¤É¤Á¤é¤ÎSamba¤Î¥Ð¡¼¥¸¥ç¥ó¤ò»È¤¦¤«?" - -#: ../lib/pdf.inc:226 -msgid "Windows Domain" -msgstr "Windows¥É¥á¥¤¥ó" - -#: ../lib/pdf.inc:178 -msgid "Windows User Settings" -msgstr "Windows¥æ¡¼¥¶ÀßÄê" - -#: ../help/help.inc:184 -msgid "Windows clients will show display name as group description." -msgstr "Windows¥¯¥é¥¤¥¢¥ó¥È¤Ï¥°¥ë¡¼¥×¤ÎÀâÌÀ¤È¤·¤Æ̾Á°¤òɽ¼¨¤¹¤ë¡£" - -#: ../help/help.inc:270 -msgid "Windows domain" -msgstr "Windows¥É¥á¥¤¥ó" - -#: ../help/help.inc:271 -msgid "Windows domain of host." -msgstr "¥Û¥¹¥È¤ÎWindows¥É¥á¥¤¥ó" - -#: ../templates/confwiz/ldaptest.php:482 -msgid "Windows group name" -msgstr "Windows¥°¥ë¡¼¥×̾" - -#: ../templates/account/groupedit.php:665 -#: ../templates/account/useredit.php:1282 ../help/help.inc:278 -msgid "Windows groupname" -msgstr "Windows¥°¥ë¡¼¥×̾" - -#: ../lib/pdf.inc:222 -msgid "Windows home directory" -msgstr "Windows¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê" - -#: ../lib/pdf.inc:186 ../lib/pdf.inc:192 ../lib/pdf.inc:201 -msgid "Windows password" -msgstr "Windows¥Ñ¥¹¥ï¡¼¥É" - -#: ../lib/pdf.inc:188 -msgid "Windows password disabled!" -msgstr "Windows¥Ñ¥¹¥ï¡¼¥É¤¬Ìµ¸ú²½¤µ¤ì¤¿!" - -#: ../lib/pdf.inc:194 -msgid "Windows password set to unix password." -msgstr "Windows¥Ñ¥¹¥ï¡¼¥É¤òUnix¥Ñ¥¹¥ï¡¼¥É¤ËÀßÄê¡£" - -#: ../help/help.inc:283 -msgid "Windows-Domain of group." -msgstr "¥°¥ë¡¼¥×¤ÎWindows¥É¥á¥¤¥ó." - -#: ../help/help.inc:223 -msgid "Windows-Domain of user." -msgstr "¥æ¡¼¥¶¤ÎWindows¥É¥á¥¤¥ó." - -#: ../templates/profedit/profileuser.php:335 -msgid "Workstations" -msgstr "¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó" - -#: ../templates/login.php:321 ../templates/confwiz/server.php:70 -msgid "Wrong Password/Username combination. Try again." -msgstr "´Ö°ã¤Ã¤¿¥Ñ¥¹¥ï¡¼¥É/¥æ¡¼¥¶Ì¾¤ÎÁȤ߹ç¤ï¤»¡£ºÆ¼Â¹Ô." - -#: ../templates/profedit/profiledelete.php:73 -#: ../templates/profedit/profiledelete.php:130 -msgid "Wrong or missing type!" -msgstr "¥¿¥¤¥×¤Î´Ö°ã¤¤¤«È´¤±!" - -#: ../templates/profedit/profilecreate.php:171 -msgid "Wrong parameter for Samba option: Account does not expire!" -msgstr "´Ö°ã¤Ã¤¿Samba¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¡£¥¢¥«¥¦¥ó¥È¤ÏËþλ¤·¤Ê¤¤!" - -#: ../templates/profedit/profilecreate.php:179 -msgid "Wrong parameter for Samba option: Account is disabled!" -msgstr "´Ö°ã¤Ã¤¿Samba¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¡£¥¢¥«¥¦¥ó¥È¤Ï̵¸ú¤Ë¤Ê¤Ã¤¿!" - -#: ../templates/profedit/profilecreate.php:155 -msgid "Wrong parameter for Samba option: Set Samba Password!" -msgstr "´Ö°ã¤Ã¤¿Samba¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¡£Samba¥Ñ¥¹¥ï¡¼¥É¤òÀßÄê!" - -#: ../templates/profedit/profilecreate.php:163 -msgid "Wrong parameter for Samba option: Set Unix Password for Samba!" -msgstr "´Ö°ã¤Ã¤¿Samba¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿¡£SambaÍѤÎUnix¥Ñ¥¹¥ï¡¼¥É¤òÀßÄê!" - -#: ../templates/profedit/profilecreate.php:187 -msgid "Wrong parameter for Samba option: home drive!" -msgstr "´Ö°ã¤Ã¤¿Samba¥ª¥×¥·¥ç¥ó¥Ñ¥é¥á¡¼¥¿:¥Û¡¼¥à¥É¥é¥¤¥Ö!" - -#: ../templates/profedit/profilecreate.php:139 -msgid "Wrong parameter for Unix account activation!" -msgstr "´Ö°ã¤Ã¤¿Unix¥¢¥«¥¦¥ó¥ÈÍ­¸ú²½¥Ñ¥é¥á¡¼¥¿!" - -#: ../templates/profedit/profilecreate.php:123 -msgid "Wrong parameter for Unix password expiry!" -msgstr "´Ö°ã¤Ã¤¿Unix¥Ñ¥¹¥ï¡¼¥ÉËþλ¥Ñ¥é¥á¡¼¥¿!" - -#: ../templates/profedit/profilecreate.php:99 -msgid "Wrong parameter for Unix password warning!" -msgstr "´Ö°ã¤Ã¤¿Unix¥Ñ¥¹¥ï¡¼¥É·Ù¹ð¥Ñ¥é¥á¡¼¥¿!" - -#: ../templates/profedit/profilecreate.php:91 -msgid "Wrong parameter for login disable!" -msgstr "´Ö°ã¤Ã¤¿¥í¥°¥¤¥ó̵¸ú¥Ñ¥é¥á¡¼¥¿!" - -#: ../templates/account/groupedit.php:436 -#: ../templates/account/hostedit.php:289 ../templates/account/useredit.php:720 -msgid "Wrong profilename given." -msgstr "´Ö°ã¤Ã¤¿¥×¥í¥Õ¥¡¥¤¥ë̾¤¬Í¿¤¨¤é¤ì¤¿." - -#: ../templates/account/groupedit.php:158 -#: ../templates/account/hostedit.php:120 ../templates/account/useredit.php:224 -msgid "" -"You are using a capital letters. This can cause problems because not all " -"programs are case-sensitive." -msgstr "" -"Âçʸ»ú¤ò»È¤Ã¤Æ¤¤¤ë¡£¤³¤ì¤Ï¤¹¤Ù¤Æ¤Î¥×¥í¥°¥é¥à¤¬Âçʸ»ú/¾®Ê¸»ú¤ò¶èÊ̤¹¤ë¤È¤Ï¸Â¤é" -"¤Ê¤¤¤¿¤á¡¢ÌäÂê¤ò°ú¤­µ¯¤³¤¹¡£" - -#: ../help/help.inc:186 -msgid "" -"You can select a previous defined profile here. This will set all fields to " -"the profile values." -msgstr "" -"¤³¤³¤Ç¡¢°ÊÁ°¤ËÄêµÁ¤·¤¿¥×¥í¥Õ¥¡¥¤¥ë¤òÁªÂò¤Ç¤­¤ë¡£¤³¤ì¤Ï¤¹¤Ù¤Æ¤Î¥Õ¥£¡¼¥ë¥É¤ò" -"¥×¥í¥Õ¥¡¥¤¥ë¤Î²Á¤ÇÀßÄꤹ¤ë¡£" - -#: ../templates/logout.php:62 -msgid "You have been logged off from LDAP Account Manager." -msgstr "LDAP Account Manager¤«¤é¥í¥°¥ª¥Õ¤·¤¿" - -#: ../templates/login.php:192 -msgid "Your Language" -msgstr "¸À¸ì" - -#: ../templates/delete.php:196 -msgid "deleted" -msgstr "ºï½ü¤·¤¿" - -#: ../templates/account/useredit.php:492 -#: ../templates/account/useredit.php:1514 ../templates/masscreate.php:363 -#: ../templates/masscreate.php:571 ../templates/massdetail.php:156 -#: ../templates/massdetail.php:268 ../help/help.inc:264 ../help/help.inc:265 -msgid "eMail address" -msgstr "ÅŻҥ᡼¥ë¥¢¥É¥ì¥¹" - -#: ../lib/account.inc:276 ../lib/account.inc:278 -msgid "hours" -msgstr "»þ´Ö" - -#: ../help/help.inc:43 -msgid "" -"ldap://localhost:389 connects to localhost using a standard LDAP connection " -"on port 389" -msgstr "" -"ldaps://localhost:389 ¤Ïlocalhost¤Î¥Ý¡¼¥È389¤Øɸ½àŪ¤ÊLDAPÀܳ¤ò¹Ô¤Ê¤¦¡£" - -#: ../help/help.inc:45 -msgid "" -"ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP " -"connection." -msgstr "" -"ldaps://141.40.146.133 ¤Ï 141.40.146.133 ¤Ø°Å¹æ²½¤µ¤ì¤¿LDAPÀܳ¤ò¹Ô¤Ê¤¦¡£" - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "no" -msgstr "¤¤¤¤¤¨" - -#: ../templates/masscreate.php:279 -msgid "not found!" -msgstr "¸«ÉÕ¤«¤é¤Ê¤¤!" - -#: ../help/help.inc:55 -msgid "" -"ou=People,dc=yourcompany,dc=com will read and store all accounts in this " -"subtree." -msgstr "" -"ou=People,dc=yourcompany,dc=com ¤Ï¤³¤Î¥µ¥Ö¥Ä¥ê¡¼¤Î¤¹¤Ù¤Æ¤Î¥¢¥«¥¦¥ó¥È¤òÆɤ߽ñ" -"¤­¤¹¤ë¡£" - -#: ../templates/config/confmain.php:377 -msgid "required" -msgstr "ɬ¿Ü" - -#: ../templates/config/confmain.php:378 -msgid "required for Samba 3 schema" -msgstr "Samba 3 Schema¤¬É¬Í×" - -#: ../templates/masscreate.php:283 -msgid "row" -msgstr "¹Ô" - -#: ../lib/profiles.inc:466 -msgid "saveGroupProfile: account has wrong type!" -msgstr "saveGroupProfile: ¥¢¥«¥¦¥ó¥È¤Ë´Ö°ã¤Ã¤¿¥¿¥¤¥×¤¬¤¢¤ë!" - -#: ../lib/profiles.inc:501 -msgid "saveHostProfile: account has wrong type!" -msgstr "saveHostProfile: ¥¢¥«¥¦¥ó¥È¤Ë´Ö°ã¤Ã¤¿¥¿¥¤¥×¤¬¤¢¤ë!" - -#: ../lib/profiles.inc:393 -msgid "saveUserProfile: account has wrong type!" -msgstr "saveUserProfile: ¥¢¥«¥¦¥ó¥È¤Ë´Ö°ã¤Ã¤¿¥¿¥¤¥×¤¬¤¢¤ë!" - -#: ../templates/profedit/profileuser.php:144 -#: ../templates/profedit/profileuser.php:145 -#: ../templates/profedit/profileuser.php:220 -#: ../templates/profedit/profileuser.php:221 -#: ../templates/profedit/profileuser.php:239 -#: ../templates/profedit/profileuser.php:240 -#: ../templates/profedit/profileuser.php:249 -#: ../templates/profedit/profileuser.php:250 -#: ../templates/profedit/profileuser.php:259 -#: ../templates/profedit/profileuser.php:260 -#: ../templates/profedit/profileuser.php:269 -#: ../templates/profedit/profileuser.php:270 -msgid "yes" -msgstr "¤Ï¤¤" diff --git a/lam-0.4/po/make_mo b/lam-0.4/po/make_mo deleted file mode 100755 index 9a9eda20..00000000 --- a/lam-0.4/po/make_mo +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2003 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script generates a messages.mo file from the translated messages.po file. - -rm -f messages.mo -msgfmt -v messages.po -o messages.mo diff --git a/lam-0.4/po/make_po b/lam-0.4/po/make_po deleted file mode 100755 index 2b592ac4..00000000 --- a/lam-0.4/po/make_po +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2003 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script generates a messages.po file for translation from all .inc and .php files. - -cp messages.header messages.po -find ../ -name *.php -exec xgettext --keyword=_ -L PHP -j --omit-header -s {} \; -find ../ -name *.inc -exec xgettext --keyword=_ -L PHP -j --omit-header -s {} \; diff --git a/lam-0.4/po/make_po_de b/lam-0.4/po/make_po_de deleted file mode 100755 index 51a7393a..00000000 --- a/lam-0.4/po/make_po_de +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2003 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script is run after make_po to merge the existing German translations to messages.po - -msgmerge -v ../locale/de_DE/LC_MESSAGES/messages.po messages.po -o messages.po \ No newline at end of file diff --git a/lam-0.4/po/make_po_fr b/lam-0.4/po/make_po_fr deleted file mode 100755 index c4973610..00000000 --- a/lam-0.4/po/make_po_fr +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2003 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script is run after make_po to merge the existing German translations to messages.po - -msgmerge -v ../locale/fr_FR/LC_MESSAGES/messages.po messages.po -o messages.po diff --git a/lam-0.4/po/make_po_hu b/lam-0.4/po/make_po_hu deleted file mode 100755 index 69d82bfe..00000000 --- a/lam-0.4/po/make_po_hu +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2004 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script is run after make_po to merge the existing Hungarian translations to messages.po - -msgmerge -v ../locale/hu_HU/LC_MESSAGES/messages.po messages.po -o messages.po diff --git a/lam-0.4/po/make_po_jp b/lam-0.4/po/make_po_jp deleted file mode 100755 index 9f55f1b9..00000000 --- a/lam-0.4/po/make_po_jp +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# $Id$ -# -# Copyright (C) 2004 Roland Gruber -# This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - -# This script is run after make_po to merge the existing Japanese translations to messages.po - -msgmerge -v ../locale/ja_JP/LC_MESSAGES/messages.po messages.po -o messages.po diff --git a/lam-0.4/po/messages.header b/lam-0.4/po/messages.header deleted file mode 100644 index 9ea827a3..00000000 --- a/lam-0.4/po/messages.header +++ /dev/null @@ -1,16 +0,0 @@ -# -# LDAP Account Manager -# - -msgid "" -msgstr "" -"Project-Id-Version: LAM 0.4.2\n" -"Report-Msgid-Bugs-To: post@rolandgruber.de \n" -"POT-Creation-Date: 2004-01-14 17:45+0200\n" -"PO-Revision-Date: 2004-01-14 17:45+0200\n" -"Last-Translator: Roland Gruber \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-15\n" -"Content-Transfer-Encoding: 8bit\n" - diff --git a/lam-0.4/sess/.htaccess b/lam-0.4/sess/.htaccess deleted file mode 100644 index 11c59d17..00000000 --- a/lam-0.4/sess/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ - - Order allow,deny - Deny from all - diff --git a/lam-0.4/session-vars.txt b/lam-0.4/session-vars.txt deleted file mode 100644 index 76bae519..00000000 --- a/lam-0.4/session-vars.txt +++ /dev/null @@ -1,130 +0,0 @@ -Alle: - -- config: Config-Objekt für die Einstellungen -- ldap: LDAP-Objekt für Funktionen rund um LDAP -- language: Sprache für LAM -- header: String-Array mit Standard-HTML-Header -- lampath: String mit Pfad zum LAM-Verzeichnis - - -massdetail: -- mass_accounts: Array aus account-Objekten -- mass_errors: Array aus Fehlermeldungen. Index ist gleich Index von accounts - - -masscreate: -- mass_accounts: Array aus account-Objekten -- mass_pointer: Zeigt auf den aktuellen Startpunkt, ab dem Benutzer angelegt werden sollen. - Noetig, da mit Meta-Refreshs gearbeitet werden muss -- mass_errors: Array aus Fehlermeldungen. Index ist gleich Index von accounts -- mass_group_suffix: Suffix, unter welchem eine Gruppe bei Bedarf angelegt wird -- mass_group_selectprofile: Profil, mit dem eine Gruppe bei Bedarf angelegt werden soll - - -main: -- domain_message: Wird auf der "neue Domain" Seite ausgegeben, wenn keine Domäne gefunden wurde - - -listusers: -- trans_primary_hash: Tabelle mit GID - Gruppenname -- userlist: Useraccounts vom LDAP-Server -- usr_suffix: aktueller Suffix -- usr_units: Suffixliste für Benutzer - - -listhosts: -- hst_info: Hostaccounts vom LDAP-Server -- hst_suffix: aktueller Suffix -- hst_units: Suffixliste für Hosts - - -listgroups: -- grp_info: Gruppenaccounts vom LDAP-Server -- grp_suffix: aktueller Suffix -- grp_units: Suffixliste für Gruppen - - -listdomains: -- dom_info: Domänen vom LDAP-Server -- dom_suffix: aktueller Suffix -- dom_units: Suffixliste für Domänen - - -domain: -- domain_message: Wird auf der "neue Domain" Seite ausgegeben, wenn keine Domäne gefunden wurde - - -convsave, confmain, conflogin: -- conf_passwd: Eingabe von confmain -- conf_passwd1: Eingabe von confmain -- conf_passwd2: Eingabe von confmain -- conf_serverurl: Eingabe von confmain -- conf_cachetimeout: Eingabe von confmain -- conf_admins: Eingabe von confmain -- conf_suffusers: Eingabe von confmain -- conf_suffgroups: Eingabe von confmain -- conf_suffhosts: Eingabe von confmain -- conf_suffdomains: Eingabe von confmain -- conf_minUID: Eingabe von confmain -- conf_maxUID: Eingabe von confmain -- conf_minGID: Eingabe von confmain -- conf_maxGID: Eingabe von confmain -- conf_minMach: Eingabe von confmain -- conf_maxMach: Eingabe von confmain -- conf_usrlstattr: Eingabe von confmain -- conf_grplstattr: Eingabe von confmain -- conf_hstlstattr: Eingabe von confmain -- conf_maxlistentries: Eingabe von confmain -- conf_lang: Eingabe von confmain -- conf_scriptpath: Eingabe von confmain -- conf_scriptserver: Eingabe von confmain -- conf_samba3: Eingabe von confmain -- conf_filename: Dateiname des Profils - - -useredit: -- shellist: Array mit allen shells -- account_old: Object account. Hier wird beim laden eines Accounts alle alten Werte zwischengespeichert -- account: Object account. Hier wird der aktuelle Eintrag gespeichert -- final_changegids: boolean. Wenn gesetzt, werden die gids in ldap angepasst -- hostDN: Array mit allen hosts. - - -hostedit: -- account: s.o. -- account_old: -- final_changegids: -- shelllist: - - -groupedit: -- account: s.o. -- account_old: -- final_changeids: -- userDN: Array mit allen Benutzern -- Account: ??? Tipfehler - - -account.inc: -- userDN: array mit allen Benutzern -- groupDN: array mit allen Gruppen -- hostDN: array mit allen Gruppen -- account: s.o. -- final_changeids: s.o. - - -delete.php -- delete_dn : Liste der DNs, die gelscht werden sollen. - - -confwiz/*.php -- confwiz_config: Config-Objekt mit Optionen -- confwiz_ldap: LDAP-Objekt -- conwiz_masterpwd: Hauptpasswort für Einstellungen, zur Überprüfung des Admins - - - - - - - diff --git a/lam-0.4/style/layout.css b/lam-0.4/style/layout.css deleted file mode 100644 index be76102f..00000000 --- a/lam-0.4/style/layout.css +++ /dev/null @@ -1,511 +0,0 @@ -/* -$Id$ - - This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - Copyright (C) 2003 Leonhard Walchshäusl - - 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 detaexils. - - 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 - -*/ - -/* CSS layout for LAM */ - - -/** - * global page layout - * - */ - -h1,h2,h3,h4,p,ul,ol,li,div,td,th,address,blockquote,b,i { - font-family:Arial,Verdana,sans-serif; -} - -body { - background-color:#F5F5F5; -} - -/* links */ -a { -color:blue; -text-decoration:none; -} - -a:visited { -color:blue; -text-decoration:none; -} - -a:hover { -color:red; -text-decoration:none; -} - -a:active { -color:red; -text-decoration:none; -} - -form { } -input { -font-weight:bold; -background-color:#CCCCFF; -} - -fieldset { -background-color:#EEEEEE; -} - -legend { -color:#007a3b; -} - - -/** - * style for userlist.php - * - */ - -/* table preferences */ -table.userlist { - border-width:1px; - border-style:solid; - border-color:#9b8523; -} - -/* color of entry rows */ -tr.userlist { - background-color:#fffde2; -} - -/* color of head row */ -tr.userlist-head { - background-color:#fff2a3; - font-weight:bold; -} - -/* color of rows on mouseOver */ -tr.userlist-over { - background-color:#ccccff; -} - -/* color of checked rows */ -tr.userlist-checked { - background-color:#f27c71; -} - -/* color for active page digit */ -td.userlist-activepage { - color:red; -} - -/* style of navigation bar */ -td.userlist-navbar { - color:#AAAAAA; -} - -table.userlist-navbar { - background-color:#fff2a3; - border-width:1px; - border-style:solid; - border-color:#9b8523; -} - -td.userlist-navbartext { - color:green; - font-family:Verdana,sans-serif; - font-size:12px; -} - -/* style of active column */ -th.userlist-activecolumn { - background-color:#fffde2; -} - - -/** - * table style for grouplist.php - * - */ - -/* navigation bar */ -table.groupnav { - background-color:#a8c3ff; - border-width:1px; - border-style:solid; - border-color:#7167bf; -} - -/* text in navigation bar */ -td.groupnav-text { - color:green; - font-family:Verdana,sans-serif; - font-size:12px; -} - -/* color for active page digit */ -td.groupnav-activepage { - color:red; -} - -/* table preferences */ -table.grouplist { - border-width:1px; - border-style:solid; - border-color:#7167bf; -} - -/* color of entry rows */ -tr.grouplist { - background-color:#d6e3ff; -} - -/* color of head row */ -tr.grouplist-head { - background-color:#a8c3ff; -} - -/* color of sorted column in head row */ -th.grouplist-sort { - background-color:#d6e3ff; -} - -/* color of rows on mouseOver */ -tr.grouplist-over { - background-color:#C7E7C7; -} - -/* color of checked rows */ -tr.grouplist-checked { - background-color:#f27c71; -} - -/** - * table style for hostlist.php - * - */ - -/* */ -table.hostnav { - background-color:#ffc4ba; - border-width:1px; - border-style:solid; - border-color:#911a1a; -} - -/* text in navigation bar */ -td.hostnav-text { - color:green; - font-family:Verdana,sans-serif; - font-size:12px; -} - -/* color for active page digit */ -td.hostnav-activepage { - color:red; -} - -/* table preferences */ -table.hostlist { - border-width:1px; - border-style:solid; - border-color:#911a1a; -} - -/* color of entry rows */ -tr.hostlist { - background-color:#ffe2dd; -} - -/* color of head row */ -tr.hostlist-head { - background-color:#ffc4ba; -} - -/* color of sorted column in head row */ -th.hostlist-sort { - background-color:#ffe2dd; -} - -/* color of rows on mouseOver */ -tr.hostlist-over { - background-color:#ffe265; -} - -/* color of checked rows */ -tr.hostlist-checked { - background-color:#f27c71; -} - -/** - * table style for domainlist.php - * - */ - -/* */ -table.domainnav { - background-color:#a8ddbf; - border-width:1px; - border-style:solid; - border-color:#1d993e; -} - -/* text in navigation bar */ -td.domainnav-text { - color:green; - font-family:Verdana,sans-serif; - font-size:12px; -} - -/* color for active page digit */ -td.domainnav-activepage { - color:red; -} - -/* table preferences */ -table.domainlist { - border-width:1px; - border-style:solid; - border-color:#1d993e; -} - -/* color of entry rows */ -tr.domainlist { - background-color:#c9ddd2; -} - -/* color of head row */ -tr.domainlist-head { - background-color:#a8ddbf; -} - -/* color of sorted column in head row */ -th.domainlist-sort { - background-color:#c9ddd2; -} - -/* color of rows on mouseOver */ -tr.domainlist-over { - background-color:#ffe265; -} - -/* color of checked rows */ -tr.domainlist-checked { - background-color:#f27c71; -} - -/** - * style for domain.php - * - */ - -/* fieldset and legend */ - -fieldset.domedit { -background-color:#c9ddd2; -} - -legend.domedit { -color:blue; -} - - -/** - * table style for delete.php - * - */ - -/* table preferences */ -table.account { - border-width:0px; - border-style:solid; - border-color:#000000; -} - -/* color of entry rows */ -tr.account { - background-color:#FFFFEE; -} - - -/** - * Color and font definitions for templates/status.php - * - */ - -/* Background olor for the different Status Messages */ -div.statusInfo { - background-color:#5C7EC6; -} - -div.statusWarn { - background-color:#CE8037; -} - -div.statusError { - background-color:#C65146; -} - -/* H1 (MessageTyp) font size, family, color, and some more settings for the different Status Messages */ -h1.statusInfo { - font-size:16pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:20px; -} - -h1.statusWarn { - font-size:16pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:20px; -} - -h1.statusError { - font-size:16pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:20px; -} - -/* H2 (MessageHeadline) font size, family, color, and some more settings for the different Status Messages */ -h2.statusInfo { - font-size:13pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:25px; - margin-right:25px; -} - -h2.statusWarn { - font-size:13pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:25px; - margin-right:25px; -} - -h2.statusError { - font-size:13pt; - font-family:Arial,sans-serif; - color:#FFFFFF; - margin-left:25px; - margin-right:25px; -} - -/* P (MessageText) font size, family, color, and some more settings for the different Status Messages */ -p.statusInfo { - font-size:11pt; - font-family:Times,serif; - color:#FFFFFF; - margin-left:35px; - margin-right:35px; -} - -p.statusWarn { - font-size:11pt; - font-family:Times,serif; - color:#FFFFFF; - margin-left:35px; - margin-right:35px; -} - -p.statusError { - font-size:11pt; - font-family:Times,serif; - color:#FFFFFF; - margin-left:35px; - margin-right:35px; -} - -/** - * table style for groupedit.php - * - */ - -fieldset.groupedit-bright { - background-color:#d6e3ff; -} - -fieldset.groupedit-middle { - background-color:#C7E7C7; -} - -legend.groupedit-bright { - color:blue; -} - -fieldset.groupedit-dark { - background-color:#7167bf; -} - -legend.groupedit-dark { - color:blue; -} - -select.groupedit-bright { - background-color:#d6e3ff; -} - - -/** - * table style for hostedit.php - * - */ - -fieldset.hostedit-bright { - background-color:#ffe2dd; -} - -legend.hostedit-bright { - color:blue; -} - -fieldset.hostedit-dark { - background-color:#ffc4ba; -} - -legend.hostedit-dark { - color:blue; -} - -select.hostedit-bright { - background-color:#ffc4ba; -} - -/** - * table style for useredit.php - * - */ - -fieldset.useredit-bright { - background-color:#fff2a3; -} - -legend.useredit-bright { - color:blue; -} - -fieldset.useredit-dark { - background-color:#CCCCFF; -} - -legend.useredit-dark { - color:blue; -} - -select.useredit-bright { - background-color:#CCCCFF; -} - diff --git a/lam-0.4/templates/account/groupedit.php b/lam-0.4/templates/account/groupedit.php deleted file mode 100644 index ebc2b2a6..00000000 --- a/lam-0.4/templates/account/groupedit.php +++ /dev/null @@ -1,866 +0,0 @@ -general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - $final_changegids = ''; - // Display general-page - $select_local = 'general'; - } -// Startcondition. groupedit.php was called from outside to create a new group -else if (count($_POST)==0) { - // Create new account object with settings from default profile - $account_new = loadGroupProfile('default'); - $account_new ->type = 'group'; - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - $quotas = getquotas(array($account_new)); - for ($i=0; $iquota); $i++) $profile_quotas[] = $account_new->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas[0]->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas[0]->quota[$i][0], $profile_quotas)) $account_new->quota[]=$quotas[0]->quota[$i]; - } - else $account_new->quota[]=$quotas[0]->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($account_new->quota[$j][0])) { - // remove invalid quotas - if (!in_array($account_new->quota[$j][0], $real_quotas)) unset($account_new->quota[$j]); - else $j++; - } - // Beautify array, repair index - if (is_array($account_new->quota)) $account_new->quota = array_values($account_new->quota); - // Set used blocks - for ($i=0; $iquota); $i++) { - $account_new->quota[$i][1] = 0; - $account_new->quota[$i][5] = 0; - } - } - // Display general-page - $select_local = 'general'; - } - -switch ($_POST['select']) { - /* Select which part of page should be loaded and check values - * groupmembers = page with all users which are additional members of group - * general = startpage, general account paramters - * samba = page with all samba-related parameters e.g. smbpassword - * quota = page with all quota-related parameters e.g. hard file quota - * final = last page shown before account is created/modified - * finish = page shown after account has been created/modified - */ - case 'groupmembers': - do { // X-Or, only one if() can be true - if (isset($_POST['users']) && isset($_POST['add'])) { // Add users to list - // Add new user - if (!is_array($account_new->unix_memberUid)) $account_new->unix_memberUid = array(); - $account_new->unix_memberUid = array_merge($account_new->unix_memberUid, $_POST['users']); - // remove doubles - $account_new->unix_memberUid = array_flip($account_new->unix_memberUid); - array_unique($account_new->unix_memberUid); - $account_new->unix_memberUid = array_flip($account_new->unix_memberUid); - // sort users - sort($account_new->unix_memberUid); - break; - } - if (isset($_POST['members']) && isset($_POST['remove'])) { // remove users from list - $account_new->unix_memberUid = array_delete($_POST['members'], $account_new->unix_memberUid); - break; - } - } while(0); - // display groupmembers page - $select_local = 'groupmembers'; - break; - case 'general': - if (!$_POST['load']) { - if (($account_new->general_username != $_POST['f_general_username']) && ereg('[A-Z]$', $_POST['f_general_username'])) - $errors[] = array('WARN', _('Groupname'), _('You are using a capital letters. This can cause problems because not all programs are case-sensitive.')); - // Write all general attributes into $account_new if no profile should be loaded - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_gecos = $_POST['f_general_gecos']; - - // Check if values are OK and set automatic values. if not error-variable will be set - // Check if Groupname contains only valid characters - if ( !ereg('^([a-z]|[A-Z]|[0-9]|[.]|[-]|[_])*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Groupname'), _('Groupname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !')); - if ($account_new->general_gecos=='') { - $account_new->general_gecos = $account_new->general_username ; - $errors[] = array('INFO', _('Gecos'), _('Inserted groupname in gecos-field.')); - } - // Create automatic groupaccount with number if original group already exists - // Reset name to original name if new name is in use - if (ldapexists($account_new, $account_old) && is_object($account_old)) - $account_new->general_username = $account_old->general_username; - while ($temp = ldapexists($account_new, $account_old)) { - // get last character of username - $lastchar = substr($account_new->general_username, strlen($account_new->general_username)-1, 1); - // Last character is no number - if ( !ereg('^([0-9])+$', $lastchar)) - /* Last character is no number. Therefore we only have to - * add "2" to it. - */ - $account_new->general_username = $account_new->general_username . '2'; - else { - /* Last character is a number -> we have to increase the number until we've - * found a groupname with trailing number which is not in use. - * - * $i will show us were we have to split groupname so we get a part - * with the groupname and a part with the trailing number - */ - $i=strlen($account_new->general_username)-1; - $mark = false; - // Set $i to the last character which is a number in $account_new->general_username - while (!$mark) { - if (ereg('^([0-9])+$',substr($account_new->general_username, $i, strlen($account_new->general_username)-$i))) $i--; - else $mark=true; - } - // increase last number with one - $firstchars = substr($account_new->general_username, 0, $i+1); - $lastchars = substr($account_new->general_username, $i+1, strlen($account_new->general_username)-$i); - // Put groupname together - $account_new->general_username = $firstchars . (intval($lastchars)+1); - } - } - // Show warning if lam has changed groupname - if ($account_new->general_username != $_POST['f_general_username']) $errors[] = array('WARN', _('Groupname'), _('Groupname already in use. Selected next free groupname.')); - // Check if UID is valid. If none value was entered, the next useable value will be inserted - $temp = explode(':', checkid($account_new, $account_old)); - $account_new->general_uidNumber = $temp[0]; - // true if checkid has returned an error - if ($temp[1]!='') $errors[] = explode(';',$temp[1]); - // Check if Name-length is OK. minLength=3, maxLength=20 - if ( !ereg('.{3,20}', $account_new->general_username)) $errors[] = array('ERROR', _('Name'), _('Name must contain between 3 and 20 characters.')); - // Check if Name starts with letter - if ( !ereg('^([a-z]|[A-Z]).*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Name'), _('Name contains invalid characters. First character must be a letter.')); - } - break; - case 'samba': - // Write all samba attributes into $account_new - // Get all domains - $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - // Search the corrct domain in array - unset($account_new->smb_domain); - $i = 0; - while (!is_object($account_new->smb_domain) && isset($samba3domains[$i])) { - if ($_POST['f_smb_domain'] == $samba3domains[$i]->name) - $account_new->smb_domain = $samba3domains[$i]; - else $i++; - } - $account_new->smb_displayName = $_POST['f_smb_displayName']; - // Check if group SID should be mapped to a well known SID - switch ($_POST['f_smb_mapgroup']) { - case '*'._('Domain Guests'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '514'; break; - case '*'._('Domain Users'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '513'; break; - case '*'._('Domain Admins'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '512'; break; - case $account_new->general_username: - $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-". - (2 * $account_new->general_uidNumber + $account_new->smb_domain->RIDbase +1); - break; - } - // Check if values are OK and set automatic values. if not error-variable will be set - if (($account_new->smb_displayName=='') && isset($account_new->general_gecos)) { - $account_new->smb_displayName = $account_new->general_gecos; - $errors[] = array('INFO', _('Display name'), _('Inserted gecos-field as display name.')); - } - break; - case 'quota': - // Write all general values into $account_new - $i=0; - // loop for every mointpoint with quotas - while ($account_new->quota[$i][0]) { - $account_new->quota[$i][2] = $_POST['f_quota_'.$i.'_2']; - $account_new->quota[$i][3] = $_POST['f_quota_'.$i.'_3']; - $account_new->quota[$i][6] = $_POST['f_quota_'.$i.'_6']; - $account_new->quota[$i][7] = $_POST['f_quota_'.$i.'_7']; - // Check if values are OK and set automatic values. if not error-variable will be set - if (!ereg('^([0-9])*$', $account_new->quota[$i][2])) - $errors[] = array('ERROR', _('Block soft quota'), _('Block soft quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][3])) - $errors[] = array('ERROR', _('Block hard quota'), _('Block hard quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][6])) - $errors[] = array('ERROR', _('Inode soft quota'), _('Inode soft quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][7])) - $errors[] = array('ERROR', _('Inode hard quota'), _('Inode hard quota contains invalid characters. Only natural numbers are allowed')); - $i++; - } - break; - case 'final': - // Ask if we should change gidNumber of every user which is member of the group - if ($_POST['f_final_changegids']) $final_changegids = $_POST['f_final_changegids'] ; - break; - case 'finish': - // Check if pdf-file should be created - if ($_POST['outputpdf']) { - // Load quotas if not yet done because they are needed for the pdf-file - if ($config_intern->scriptServer && !isset($account_new->quota[0])) { // load quotas - $quotas = getquotas(array($account_old)); - $account_new->quota = $quotas[0]->quota; - } - // Create / display PDf-file - createGroupPDF(array($account_new)); - // Stop script - die; - } - break; - } - - -do { // X-Or, only one if() can be true - if ($_POST['next_members']) { - // Go from groupmembers to next page if no error did ocour - if (!is_array($errors)) $select_local='groupmembers'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_general']) { - // Go from general to next page if no error did ocour - if (!is_array($errors)) $select_local='general'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_samba']) { - // Go from samba to next page if no error did ocour - if (!is_array($errors)) $select_local='samba'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_quota']) { - // Go from quota to next page if no error did ocour - if (!is_array($errors)) $select_local='quota'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_final']) { - // Check if objectclasses are OK - if (is_array($errors)) $stay=true; - else $stay = false; - if ($config_intern->is_samba3() && !isset($account_new->smb_domain)) { - // Samba page not viewed; can not create group because if missing options - $errors[] = array("ERROR", _("Samba Options not set!"), _("Please check settings on samba page.")); - $stay = true; - } - if (isset($account_old->general_objectClass)) { - if (($config_intern->is_samba3()) && (!in_array('sambaGroupMapping', $account_old->general_objectClass))) - $errors[] = array('WARN', _('ObjectClass sambaGroupMapping not found.'), _('Have to add objectClass sambaGroupMapping.')); - if (!in_array('posixGroup', $account_old->general_objectClass)) - $errors[] = array('WARN', _('ObjectClass posixGroup not found.'), _('Have to add objectClass posixGroup.')); - } - // Show info if gidNumber has changed - if (($account_old) && ($account_new->general_uidNumber != $account_old->general_uidNumber)) - $errors[] = array('INFO', _('GID-number has changed. You have to run the following command as root in order to change existing file-permissions:'), - 'find / -gid ' . $account_old->general_uidNumber . ' -exec chgrp ' . $account_new->general_uidNumber . ' {} \;'); - // Go from final to next page if no error did ocour - if (!$stay) $select_local='final'; - else $select_local=$_POST['select']; - break; - } - // Reset account to original settings if undo-button was pressed - if ($_POST['next_reset']) { - $account_new = $account_old; - $account_new->general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - $select_local = $_POST['select']; - break; - } - // Create-Button was pressed - if ( $_POST['create'] ) { - // Create or modify an account - if ($account_old) $result = modifygroup($account_new,$account_old); - else $result = creategroup($account_new); // account.inc - if ( $result==4 || $result==5 ) $select_local = 'final'; - else $select_local = 'finish'; - break; - } - // Load Profile and reset all attributes to settings in profile - if ($_POST['createagain']) { - $select_local='general'; - unset ($_SESSION['account_'.$varkey.'_account_new']); - unset($account_new); - $_SESSION['account_'.$varkey.'_account_new'] = loadGroupProfile('default'); - $account_new =& $_SESSION['account_'.$varkey.'_account_new']; - $account_new ->type = 'group'; - break; - } - // Go back to listgroups.php - if ($_POST['backmain']) { - if (isset($_SESSION['account_'.$varkey.'_account_new'])) unset($_SESSION['account_'.$varkey.'_account_new']); - if (isset($_SESSION['account_'.$varkey.'_account_old'])) unset($_SESSION['account_'.$varkey.'_account_old']); - if (isset($_SESSION['account_'.$varkey.'_final_changegids'])) unset($_SESSION['account_'.$varkey.'_final_changegids']); - metaRefresh("../lists/listgroups.php"); - die; - break; - } - // Load Profile and reset all attributes to settings in profile - if ($_POST['load']) { - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_gecos = $_POST['f_general_gecos']; - // load profile - if ($_POST['f_general_selectprofile']!='') $values = loadGroupProfile($_POST['f_general_selectprofile']); - if (is_object($values)) { - while (list($key, $val) = each($values)) // Set only defined values - if (isset($val)) $account_new->$key = $val; - } - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - $quotas = getquotas(array($account_new)); - for ($i=0; $iquota); $i++) $profile_quotas[] = $account_new->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas[0]->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas[0]->quota[$i][0], $profile_quotas)) $account_new->quota[]=$quotas[0]->quota[$i]; - } - else $account_new->quota[]=$quotas[0]->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($account_new->quota[$j][0])) { - // remove invalid quotas - if (!in_array($account_new->quota[$j][0], $real_quotas)) unset($account_new->quota[$j]); - else $j++; - } - // Beautify array, repair index - if (is_array($account_new->quota)) $account_new->quota = array_values($account_new->quota); - // Set used blocks - if (isset($account_old)) { - for ($i=0; $iquota); $i++) - for ($j=0; $jquota); $j++) - if ($quotas[0]->quota[$j][0] == $account_new->quota[$i][0]) { - $account_new->quota[$i][1] = $quotas[0]->quota[$i][1]; - $account_new->quota[$i][4] = $quotas[0]->quota[$i][4]; - $account_new->quota[$i][5] = $quotas[0]->quota[$i][5]; - $account_new->quota[$i][8] = $quotas[0]->quota[$i][8]; - } - } - else for ($i=0; $iquota); $i++) { - $account_new->quota[$i][1] = 0; - $account_new->quota[$i][5] = 0; - } - } - // select general page after group has been loaded - $select_local='general'; - break; - } - // Save Profile - if ($_POST['save']) { - // save profile - if ($_POST['f_finish_safeProfile']=='') - $errors[] = array('ERROR', _('Save profile'), _('No profilename given.')); - else { - if (saveGroupProfile($account_new, $_POST['f_finish_safeProfile'])) - $errors[] = array('INFO', _('Save profile'), _('New profile created.')); - else $errors[] = array('ERROR', _('Save profile'), _('Wrong profilename given.')); - } - // select last page displayed before user is created - $select_local='final'; - break; - } - if ($_POST['groupmembers']) { - $select_local='groupmembers'; - break; - } - } while(0); - -// Write HTML-Header -echo $header_intern; -echo ""; -echo _("Create new Account"); -echo "\n". - "\n". - "\n". - "\n". - "\n". - "
\n". - "\n"; - -// Display errir-messages -if (is_array($errors)) - for ($i=0; $iunix_memberUid, $users); - /* Now we have to remove all users from list who are primary member of group - * At the moment lam is doing an extra ldap-search. In future this should be done - * via cache-array **** fixme - */ - // Do a ldap-search - if (isset($account_old->general_uidNumber)) - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), "(&(objectClass=PosixAccount)(gidNumber=$account_old->general_uidNumber))", array('uid')); - else $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), "(&(objectClass=PosixAccount)(gidNumber=$account_new->general_uidNumber))", array('uid')); - $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); - // loop for every user which is primary member of group - while ($entry) { - $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); - if (isset($attr['uid'][0])) { - // Remove user from user list - $users = @array_flip($users); - unset ($users[$attr['uid'][0]]); - $users = @array_flip($users); - } - // Go to next entry - $entry = ldap_next_entry($_SESSION['ldap']->server(), $entry); - } - - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - // samba 2.2 doesn't have any settings for groups - if ($config_intern->is_samba3()) { - echo "\n
"; - } - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "
". _('Additional group members') . "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n\n
"; - echo _('Group members'); - echo ""; - // display all users which are additional members of group - if (count($account_new->unix_memberUid)!=0) { - echo "\n"; - } - echo "
"; - echo " "; - echo "\">

"; - echo ""._('Help')."
"; - echo _('Available users'); - echo "\n"; - // Display all users which are not member of group in any way - if ((count($users)!=0) && is_array($users)) { - echo "\n"; - } - echo "
\n
\n
\n"; - break; - case 'general': - // General Account Settings - // load list of profiles - $profilelist = getGroupProfiles(); - // Show page info - echo "\n"; - echo "\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - // samba 2.2 doesn't have any settings for groups - if ($config_intern->is_samba3()) { - echo "\n
"; - } - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n\n
"; - echo "
"; - echo _("General properties"); - echo "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n". - "\n\n\n\n\n\n\n
"; - echo _("Groupname")."*"; - echo "". - "general_username."\">". - ""._('Help')."
"; - echo _('GID number'); - echo "general_uidNumber."\">". - ""._('Help'). - "
"; - echo _('Description'); - echo "general_gecos."\">"._('Help')."
"; - echo _('Suffix'); echo ""._('Help'). - "
"; - echo _('Values with * are required'); - echo "
\n
"; - // Show fieldset with list of all group profiles - if (count($profilelist)!=0) { - echo "
"; - echo _("Load profile"); - echo "\n\n\n\n\n
"; - echo "\n". - ""; - echo _('Help')."
\n
\n"; - } - echo "
\n
\n"; - break; - case 'samba': - // Samba Settings - // samba 2.2 doesn't have any settings for groups - $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "
"._('Samba properties')."\n"; - echo "\n\n\n\n\n\n\n'."\n".'\n\n"; - echo "
"; - echo _("Display name"); - echo "". - "smb_displayName."\">". - ""._('Help')."
"; - echo _('Windows groupname'); - echo "". - ''._('Help').''. - '
'; - echo _('Domain'); - echo ''; - // select which domain name should be displayed - if (count($samba3domains)!=0) { - echo ''; - } - echo ""._('Help')."
\n
\n
\n"; - break; - case 'quota': - // Quota Settings - // Load quotas if not yet done - if ($config_intern->scriptServer && !isset($account_new->quota[0]) ) { // load quotas - $quotas = getquotas(array($account_new)); - $account_new->quota = $quotas[0]->quota; - } - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - // samba 2.2 doesn't have any settings for groups - if ($config_intern->is_samba3()) { - echo "\n
"; - } - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo ''; - echo "
"._('Quota properties')."\n"; - echo "'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - echo ''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - $i=0; - // loop for every mointpoint with enabled quotas - while ($account_new->quota[$i][0]) { - echo ''; // used blocks - echo ''; // blocks soft limit - echo ''; // blocks hard limit - echo ''; // block grace period - echo ''; // used inodes - echo ''; // inodes soft limit - echo ''; // inodes hard limit - echo ''; // inodes grace period - $i++; - } - echo "
"; - echo _('Mountpoint'); echo ''; echo _('Used blocks'); echo ''; - echo _('Soft block limit'); echo ''; echo _('Hard block limit'); echo ''; echo _('Grace block period'); - echo ''; echo _('Used inodes'); echo ''; echo _('Soft inode limit'); echo ''; - echo _('Hard inode limit'); echo ''; echo _('Grace inode period'); echo '
'._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').'
'.$account_new->quota[$i][0].''.$account_new->quota[$i][1].''.$account_new->quota[$i][4].''.$account_new->quota[$i][5].''.$account_new->quota[$i][8].'
\n
\n
\n"; - break; - case 'final': - // Final Settings - $disabled = ""; - if ($config_intern->is_samba3() && !isset($account_new->smb_domain)) - // Samba page not viewed; can not create group because if missing options - $disabled = "disabled"; - - echo ''; - echo "\n"; - echo "\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - if ($config_intern->is_samba3()) { - echo "\n
"; - } - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n\n
"; - echo "
"; - echo _("Save profile"); - echo "\n"; - echo ''; - echo "  '._('Help'); - echo "\n
\n
\n"; - echo "
"; - if ($account_old) echo _('Modify'); - else echo _('Create'); - echo "\n"; - echo ""; - // Ask if gidNumbers of primary group members should be changed - if (($account_old) && ($account_new->general_uidNumber != $account_old->general_uidNumber)) { - echo ''."\n"; - } - echo "
'; - echo ''; - echo _('Change GID-Number of all users in group to new value'); - echo '
'."\n"; - echo "
\n
\n
"; - break; - - case 'finish': - // Final Settings - echo ''; - echo "
"._('Note')."\n"; - if ($account_old) { - printf(_("Group %s has been modified."), $account_new->general_username); - } - else { - printf(_("Group %s has been created."), $account_new->general_username); - } - echo "

"; - if (!$account_old) { - echo ''; - } - echo ''. - ' '. - ''; -?> diff --git a/lam-0.4/templates/account/hostedit.php b/lam-0.4/templates/account/hostedit.php deleted file mode 100644 index be933901..00000000 --- a/lam-0.4/templates/account/hostedit.php +++ /dev/null @@ -1,481 +0,0 @@ -general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - } -// Startcondition. hostedit.php was called from outside to create a new host -else if (count($_POST)==0) { - // Create new account object with settings from default profile - // Check if there are valid groups. Can not create user with no primary group - $groups = findgroups(); - if (count($groups)==0) { - // Write HTML-Header - echo $header_intern; - echo ""; - echo _("Create new Account"); - echo "\n". - "\n". - "\n". - "\n". - "\n"; - // Display errir-messages - StatusMessage("ERROR", _("Can not create any hosts."),_("Please create a group first.")); - echo ""._("Back to hostlist")."\n"; - echo ""; - die; - } - $account_new = loadHostProfile('default'); - $account_new ->type = 'host'; - $account_new->smb_flags['W'] = 1; - $account_new->general_homedir = '/dev/null'; - $account_new->general_shell = '/bin/false'; - } - -switch ($_POST['select']) { - /* Select which page should be displayed. For hosts we have - * only have general and finish - * general = page with all settings for hosts - * final = page which will be displayed if changes were made - */ - case 'general': - if (!$_POST['load']) { - if (($account_new->general_username != $_POST['f_general_username']) && ereg('[A-Z]$', $_POST['f_general_username'])) - $errors[] = array('WARN', _('Hostname'), _('You are using a capital letters. This can cause problems because not all programs are case-sensitive.')); - // Write all general values into $account_new if no profile should be loaded - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_group = $_POST['f_general_group']; - $account_new->general_gecos = $_POST['f_general_gecos']; - // Check if values are OK and set automatic values. if not error-variable will be set - // Add $ to end of hostname if hostname doesn't end with "$" - if ( substr($account_new->general_username, strlen($account_new->general_username)-1, strlen($account_new->general_username)) != '$' ) { - $account_new->general_username = $account_new->general_username . '$'; - $errors[] = array('WARN', _('Host name'), _('Added $ to hostname.')); - } - // Get copy of hostname so we can check if changes were made - $tempname = $account_new->general_username; - // Check if Hostname contains only valid characters - if ( !eregi('^([a-z0-9_]|[.]|[-]|[$])*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Host name'), _('Hostname contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !')); - - // Create automatic Hostname with number if original host already exists - // Reset name to original name if new name is in use - if (ldapexists($account_new, $account_old) && is_object($account_old)) - $account_new->general_username = $account_old->general_username; - while ($temp = ldapexists($account_new, $account_old)) { - // Remove "$" at end of hostname - $account_new->general_username = substr($account_new->general_username, 0, $account_new->general_username-1); - // get last character of username - $lastchar = substr($account_new->general_username, strlen($account_new->general_username)-1, 1); - if ( !ereg('^([0-9])+$', $lastchar)) { - /* Last character is no number. Therefore we only have to - * add "2" to it. - */ - $account_new->general_username = $account_new->general_username . '2$'; - } - else { - /* Last character is a number -> we have to increase the number until we've - * found a hostname with trailing number which is not in use. - * - * $i will show us were we have to split hostname so we get a part - * with the hostname and a part with the trailing number - */ - $i=strlen($account_new->general_username)-3; - $mark = false; - // Set $i to the last character which is a number in $account_new->general_username - while (!$mark) { - if (ereg('^([0-9])+$',substr($account_new->general_username, $i, strlen($account_new->general_username)-1))) $i--; - else $mark=true; - } - // increase last number with one - $firstchars = substr($account_new->general_username, 0, $i+2); - $lastchars = substr($account_new->general_username, $i+2, strlen($account_new->general_username)-$i); - // Put hostname together - $account_new->general_username = $firstchars . (intval($lastchars)+1). '$'; - } - } - // Show warning if lam has changed hostname - if ($account_new->general_username != $tempname) - $errors[] = array('WARN', _('Host name'), _('Hostname already in use. Selected next free hostname.')); - // Check if Name-length is OK. minLength=3, maxLength=20 - if ( !ereg('.{3,20}', $account_new->general_username)) $errors[] = array('ERROR', _('Name'), _('Name must contain between 3 and 20 characters.')); - // Check if Name starts with letter - if ( !eregi('^([a-z]).*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Name'), _('Name contains invalid characters. First character must be a letter.')); - // Set gecos-field to hostname if it's empty - if ($account_new->general_gecos=='') { - $account_new->general_gecos = $account_new->general_username; - $errors[] = array('INFO', _('Gecos'), _('Inserted hostname in gecos-field.')); - } - // Check if UID is valid. If none value was entered, the next useable value will be inserted - $temp = explode(':', checkid($account_new, $account_old)); - $account_new->general_uidNumber = $temp[0]; - // true if checkid has returned an error - if ($temp[1]!='') $errors[] = explode(';',$temp[1]); - // Set Samba-Domain - if ($config_intern->is_samba3()) { - // Samba 3 used a samba3domain object - // Get all domains - $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - // Search the corrct domain in array - unset($account_new->smb_domain); - $i = 0; - while (!is_object($account_new->smb_domain) && isset($samba3domains[$i])) { - if ($_POST['f_smb_domain'] == $samba3domains[$i]->name) - $account_new->smb_domain = $samba3domains[$i]; - else $i++; - } - } - // Samba 2.2 uses only a string as domainname - else { - $account_new->smb_domain = $_POST['f_smb_domain']; - // Check if Domain-name is OK - if ((!$account_new->smb_domain=='') && !ereg('^([a-z]|[A-Z]|[0-9]|[-])+$', $account_new->smb_domain)) - $errors[] = array('ERROR', _('Domain name'), _('Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and -.')); - } - // Reset password if reset button was pressed. Button only vissible if account should be modified - if ($_POST['respass']) { - $account_new->unix_password_no=true; - $account_new->smb_flags['N']=true; - } - } - // Check object classes. Display warning if object classes were not found - if (isset($account_old->general_objectClass)) { - if (!in_array('posixAccount', $account_old->general_objectClass)) $errors[] = array('WARN', _('ObjectClass posixAccount not found.'), _('Have to add objectClass posixAccount.')); - if ($config_intern->is_samba3()) { - if (!in_array('sambaSamAccount', $account_old->general_objectClass)) $errors[] = array('WARN', _('ObjectClass sambaSamAccount not found.'), _('Have to add objectClass sambaSamAccount. Host with sambaAccount will be updated.')); - } - else if (!in_array('sambaAccount', $account_old->general_objectClass)) $errors[] = array('WARN', _('ObjectClass sambaAccount not found.'), _('Have to add objectClass sambaAccount. Host with sambaSamAccount will be set back to sambaAccount.')); - } - - break; - case 'finish': - // Check if pdf-file should be created - if ($_POST['outputpdf']) { - createHostPDF(array($account_new)); - die; - } - break; - } - - -do { // X-Or, only one if() can be true - // Reset account to original settings if undo-button was pressed - if ($_POST['next_reset']) { - $account_new = $account_old; - $account_new->general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - break; - } - // Create-Button was pressed - if ( $_POST['create'] && !isset($errors)) { - // Create or modify an account - if ($account_old) $result = modifyhost($account_new,$account_old); - else $result = createhost($account_new); // account.inc - if ($result==5 || $result==4) $select_local = 'general'; - else $select_local = 'finish'; - } - // Back to main-page - if ($_POST['createagain']) { - $select_local='general'; - unset ($_SESSION['account_'.$varkey.'_account_new']); - unset($account_new); - $_SESSION['account_'.$varkey.'_account_new'] = loadHostProfile('default'); - $account_new =& $_SESSION['account_'.$varkey.'_account_new']; - $account_new ->type = 'host'; - $account_new->smb_flags['W'] = 1; - $account_new->general_homedir = '/dev/null'; - $account_new->general_shell = '/bin/false'; - break; - } - // Load Profile and reset all attributes to settings in profile - if ($_POST['load']) { - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_group = $_POST['f_general_group']; - $account_new->general_gecos = $_POST['f_general_gecos']; - // load profile - if ($_POST['f_general_selectprofile']!='') $values = loadHostProfile($_POST['f_general_selectprofile']); - if (is_object($values)) { - while (list($key, $val) = each($values)) // Set only defined values - if (isset($val)) $account_new->$key = $val; - } - $errors[] = array('INFO', _('Load profile'), _('Profile loaded.')); - break; - } - // Save Profile - if ($_POST['save']) { - // save profile - if ($_POST['f_finish_safeProfile']=='') - $errors[] = array('ERROR', _('Save profile'), _('No profilename given.')); - else { - if (saveHostProfile($account_new, $_POST['f_finish_safeProfile'])) - $errors[] = array('INFO', _('Save profile'), _('New profile created.')); - else $errors[] = array('ERROR', _('Save profile'), _('Wrong profilename given.')); - } - break; - } - // Go back to listhosts.php - if ($_POST['backmain']) { - if (isset($_SESSION['account_'.$varkey.'_account_new'])) unset($_SESSION['account_'.$varkey.'_account_new']); - if (isset($_SESSION['account_'.$varkey.'_account_old'])) unset($_SESSION['account_'.$varkey.'_account_old']); - metaRefresh("../lists/listhosts.php"); - die; - break; - } - } while(0); -// Display main page if nothing else was selected -if (!isset($select_local)) $select_local = 'general'; - - - -// Write HTML-Header -echo $header_intern; -echo ""; -echo _("Create new Account"); -echo "\n". - "\n". - "\n". - "\n". - "\n". - "\n". - "\n"; - -// Display errir-messages -if (is_array($errors)) - for ($i=0; $iis_samba3()) $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - - // Why this ?? fixme - if ($account_new->smb_flags['N']) echo ''; - - - // Show page info - echo ''; - // Show fieldset with list of all host profiles - if (count($profilelist)!=0) { - echo "
"; - echo _("Load profile"); - echo "\n\n\n\n\n
"; - echo "\n". - ""; - echo _('Help')."
\n
\n"; - } - // Show Fieldset with all host settings - echo "
"; - echo _("General properties"); - echo "\n\n\n\n\n\n\n\n\n\n\n\n'."\n".''."\n".''."\n\n\n
"; - echo _('Host name').'*'; - echo "". - ''. - "". - ''._('Help').''. - "
"; - echo _('UID number'); - echo "". - ''. - "". - ''._('Help').''. - "
"; - echo _('Primary group').'*'; - echo "'. - ''._('Help').''. - "
"; - echo _('Gecos'); - echo ''. - "". - ''._('Help').''. - '
'; - echo _('Password'); - echo ''; - if (isset($account_old)) { - echo ''; - } - echo "
"; - echo _('Domain'); - if ($config_intern->is_samba3()) { - // Get Domain-name from domainlist when using samba 3 - echo ''; - } - else { - // Display a textfield for samba 2.2 - echo ''; - } - echo ''._('Help').'
"; - // Display all allowed host suffixes - echo _('Suffix'); echo ''._('Help').''. - "
"; - echo _('Values with * are required'); - echo "
\n"; - // Show fieldset with modify, undo and back-button - echo "
"; - if ($account_old) echo _('Modify'); - else echo _('Create'); - echo "\n"; - // display undo-button when editing a host - if (isset($account_old)) { - echo "\n"; - } - echo ' "; - echo "
\n"; - // Show fieldset where to save a new profile - echo "
"; - echo _("Save profile"); - echo "\n\n\n\n\n
"; - echo ''; - echo ' '._('Help'); - echo "
\n
"; - break; - - case 'finish': - // Final Settings - echo ''; - echo "
"._('Note')."\n"; - if ($account_old) { - printf(_("Host %s has been modified."), $account_new->general_username); - } - else { - printf(_("Host %s has been created."), $account_new->general_username); - } - echo '

'; - if (!$account_old) { - echo ''; - } - echo ''. - ' '. - ''; -?> diff --git a/lam-0.4/templates/account/useredit.php b/lam-0.4/templates/account/useredit.php deleted file mode 100644 index 01ae8f90..00000000 --- a/lam-0.4/templates/account/useredit.php +++ /dev/null @@ -1,1586 +0,0 @@ -unix_password=''; - $account_new->smb_password=''; - $account_new->general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - // Display general-page - $select_local = 'general'; - } -// Startcondition. useredit.php was called from outside to create a new user - else if (count($_POST)==0) { - // Create new account object with settings from default profile - // Check if there are valid groups. Can not create user with no primary group - $groups = findgroups(); - if (count($groups)==0) { - // Write HTML-Header - echo $header_intern; - echo ""; - echo _("Create new Account"); - echo "\n". - "\n". - "\n". - "\n". - "\n"; - // Display errir-messages - StatusMessage("ERROR", _("Can not create any users."),_("Please create a group first.")); - echo ""._("Back to userlist")."\n"; - echo ""; - die; - } - $account_new = loadUserProfile('default'); - $account_new ->type = 'user'; - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - $quotas = getquotas($account_new); - for ($i=0; $iquota); $i++) $profile_quotas[] = $account_new->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas->quota[$i][0], $profile_quotas)) $account_new->quota[]=$quotas->quota[$i]; - } - else $account_new->quota[]=$quotas->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($account_new->quota[$j][0])) { - // remove invalid quotas - if (!in_array($account_new->quota[$j][0], $real_quotas)) unset($account_new->quota[$j]); - else $j++; - } - // Beautify array, repair index - if (is_array($account_new->quota)) $account_new->quota = array_values($account_new->quota); - // Set used blocks - for ($i=0; $iquota); $i++) { - $account_new->quota[$i][1] = 0; - $account_new->quota[$i][5] = 0; - } - } - // Display general-page - $select_local = 'general'; - } - - -switch ($_POST['select']) { - /* Select which part of page should be loaded and check values - * groups = page with all groups to which user is additional member - * workstations = page with all workstations the user is allowed to login - * general = startpage, general account paramters - * samba = page with all samba-related parameters e.g. smbpassword - * quota = page with all quota-related parameters e.g. hard file quota - * personal = page with all personal-related parametergs, e.g. phone number - * final = last page shown before account is created/modified - * finish = page shown after account has been created/modified - */ - case 'groups': - do { // X-Or, only one if() can be true - if (isset($_POST['allgroups']) && isset($_POST['add'])) { // Add groups to list - // Add new group - if (!is_array($account_new->general_groupadd)) $account_new->general_groupadd = array(); - $account_new->general_groupadd = array_merge($account_new->general_groupadd, $_POST['allgroups']); - // remove doubles - $account_new->general_groupadd = array_flip($account_new->general_groupadd); - array_unique($account_new->general_groupadd); - $account_new->general_groupadd = array_flip($account_new->general_groupadd); - // sort groups - sort($account_new->general_groupadd); - break; - } - if (isset($_POST['selectedgroups']) && isset($_POST['remove'])) { // remove groups from list - $account_new->general_groupadd = array_delete($_POST['selectedgroups'], $account_new->general_groupadd); - break; - } - } while(0); - // display group page - $select_local = 'groups'; - break; - case 'workstations': - do { // X-Or, only one if() can be true - if (isset($_POST['hosts']) && isset($_POST['add'])) { // Add workstations to list - $temp = str_replace(' ', '', $account_new->smb_smbuserworkstations); - $workstations = explode (',', $temp); - for ($i=0; $ismb_smbuserworkstations = $workstations[0]; - for ($i=1; $ismb_smbuserworkstations = $account_new->smb_smbuserworkstations . "," . $workstations[$i]; - } - break; - } - if (isset($_POST['members']) && isset($_POST['remove'])) { // remove // Add workstations from list - // Put all workstations in array - $temp = str_replace(' ', '', $account_new->smb_smbuserworkstations); - $workstations = explode (',', $temp); - for ($i=0; $ismb_smbuserworkstations = $workstations[0]; - for ($i=1; $ismb_smbuserworkstations = $account_new->smb_smbuserworkstations . "," . $workstations[$i]; - } - break; - } - } while(0); - // display workstations page - $select_local = 'workstations'; - break; - case 'general': - if (!$_POST['load']) { - if (($account_new->general_username != $_POST['f_general_username']) && ereg('[A-Z]$', $_POST['f_general_username'])) - $errors[] = array('WARN', _('Username'), _('You are using a capital letters. This can cause problems because not all programs are case-sensitive.')); - // Write all general values into $account_new if no profile should be loaded - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_surname = $_POST['f_general_surname']; - $account_new->general_givenname = $_POST['f_general_givenname']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_group = $_POST['f_general_group']; - $account_new->general_homedir = $_POST['f_general_homedir']; - $account_new->general_shell = $_POST['f_general_shell']; - $account_new->general_gecos = $_POST['f_general_gecos']; - // Check if givenname is valid - if ( !ereg('^([a-z]|[A-Z]|[-]|[ ]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])+$', $account_new->general_givenname)) $errors[] = array('ERROR', _('Given name'), _('Given name contains invalid characters')); - // Check if surname is valid - if ( !ereg('^([a-z]|[A-Z]|[-]|[ ]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])+$', $account_new->general_surname)) $errors[] = array('ERROR', _('Surname'), _('Surname contains invalid characters')); - if ( ($account_new->general_gecos=='') || ($account_new->general_gecos==' ')) { - $account_new->general_gecos = $account_new->general_givenname . " " . $account_new->general_surname ; - $errors[] = array('INFO', _('Gecos'), _('Inserted sur- and given name in gecos-field.')); - } - if ($account_new->general_group=='') $errors[] = array('ERROR', _('Primary group'), _('No primary group defined!')); - // Check if Username contains only valid characters - if ( !ereg('^([a-z]|[A-Z]|[0-9]|[.]|[-]|[_])*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Username'), _('Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !')); - // Check if user already exists - // Remove primary group from additional groups if set. - if (isset($account_new->general_groupadd) && in_array($account_new->general_group, $account_new->general_groupadd)) { - for ($i=0; $igeneral_groupadd); $i++ ) - if ($account_new->general_groupadd[$i] == $account_new->general_group) { - unset ($account_new->general_groupadd[$i]); - $account_new->general_groupadd = array_values($account_new->general_groupadd); - } - } - // Create automatic useraccount with number if original user already exists - // Reset name to original name if new name is in use - if (ldapexists($account_new, $account_old) && is_object($account_old)) - $account_new->general_username = $account_old->general_username; - while ($temp = ldapexists($account_new, $account_old)) { - // get last character of username - $lastchar = substr($account_new->general_username, strlen($account_new->general_username)-1, 1); - // Last character is no number - if ( !ereg('^([0-9])+$', $lastchar)) - /* Last character is no number. Therefore we only have to - * add "2" to it. - */ - $account_new->general_username = $account_new->general_username . '2'; - else { - /* Last character is a number -> we have to increase the number until we've - * found a groupname with trailing number which is not in use. - * - * $i will show us were we have to split groupname so we get a part - * with the groupname and a part with the trailing number - */ - $i=strlen($account_new->general_username)-1; - $mark = false; - // Set $i to the last character which is a number in $account_new->general_username - while (!$mark) { - if (ereg('^([0-9])+$',substr($account_new->general_username, $i, strlen($account_new->general_username)-$i))) $i--; - else $mark=true; - } - // increase last number with one - $firstchars = substr($account_new->general_username, 0, $i+1); - $lastchars = substr($account_new->general_username, $i+1, strlen($account_new->general_username)-$i); - // Put username together - $account_new->general_username = $firstchars . (intval($lastchars)+1); - } - } - // Show warning if lam has changed username - if ($account_new->general_username != $_POST['f_general_username']) $errors[] = array('WARN', _('Username'), _('Username in use. Selected next free username.')); - // Check if Homedir is valid - $account_new->general_homedir = str_replace('$group', $account_new->general_group, $account_new->general_homedir); - if ($account_new->general_username != '') - $account_new->general_homedir = str_replace('$user', $account_new->general_username, $account_new->general_homedir); - if ($account_new->general_homedir != $_POST['f_general_homedir']) $errors[] = array('INFO', _('Home directory'), _('Replaced $%s or $%s in homedir.'), array('user', 'group')); - if ( !ereg('^[/]([a-z]|[A-Z])([a-z]|[A-Z]|[0-9]|[.]|[-]|[_])*([/]([a-z]|[A-Z])([a-z]|[A-Z]|[0-9]|[.]|[-]|[_])*)*$', $account_new->general_homedir )) - $errors[] = array('ERROR', _('Home directory'), _('Homedirectory contains invalid characters.')); - // Check if UID is valid. If none value was entered, the next useable value will be inserted - $temp = explode(':', checkid($account_new, $account_old)); - $account_new->general_uidNumber = $temp[0]; - // true if checkid has returned an error - if ($temp[1]!='') $errors[] = explode(';',$temp[1]); - // Check if Name-length is OK. minLength=3, maxLength=20 - if ( !ereg('.{3,20}', $account_new->general_username)) $errors[] = array('ERROR', _('Name'), _('Name must contain between 3 and 20 characters.')); - // Check if Name starts with letter - if ( !ereg('^([a-z]|[A-Z]).*$', $account_new->general_username)) - $errors[] = array('ERROR', _('Name'), _('Name contains invalid characters. First character must be a letter.')); - } - break; - case 'unix': - // Write all general values into $account_new - if (isset($_POST['f_unix_password'])) { - // Encrypt password - if ($_POST['f_unix_password'] != $_POST['f_unix_password2']) { - $errors[] = array('ERROR', _('Password'), _('Please enter the same password in both password-fields.')); - unset ($_POST['f_unix_password2']); - } - else $account_new->unix_password = base64_encode($_SESSION['ldap']->encrypt($_POST['f_unix_password'])); - } - else $account_new->unix_password = ''; - if ($_POST['f_unix_password_no']) $account_new->unix_password_no = true; - else $account_new->unix_password_no = false; - $account_new->unix_pwdwarn = $_POST['f_unix_pwdwarn']; - $account_new->unix_pwdallowlogin = $_POST['f_unix_pwdallowlogin']; - $account_new->unix_pwdmaxage = $_POST['f_unix_pwdmaxage']; - $account_new->unix_pwdminage = $_POST['f_unix_pwdminage']; - $account_new->unix_host = $_POST['f_unix_host']; - $account_new->unix_pwdexpire = mktime(10, 0, 0, $_POST['f_unix_pwdexpire_mon'], - $_POST['f_unix_pwdexpire_day'], $_POST['f_unix_pwdexpire_yea']); - if ($_POST['f_unix_deactivated']) $account_new->unix_deactivated = $_POST['f_unix_deactivated']; - else $account_new->unix_deactivated = false; - if ($_POST['genpass']) { - // Generate a random password if generate-button was pressed - $account_new->unix_password = base64_encode($_SESSION['ldap']->encrypt(genpasswd())); - unset ($_POST['f_unix_password2']); - // Keep unix-page acitve - $select_local = 'unix'; - } - // Check if values are OK and set automatic values. if not error-variable will be set - else { // account.inc - if ($account_new->unix_password != '') { - $password = $_SESSION['ldap']->decrypt(base64_decode($account_new->unix_password)); - } - if (!ereg('^([a-z]|[A-Z]|[0-9]|[\|]|[\#]|[\*]|[\,]|[\.]|[\;]|[\:]|[\_]|[\-]|[\+]|[\!]|[\%]|[\&]|[\/]|[\?]|[\{]|[\[]|[\(]|[\)]|[\]]|[\}])*$', $password)) - $errors[] = array('ERROR', _('Password'), _('Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and #*,.;:_-+!$%&/|?{[()]}= !')); - if ( !ereg('^([0-9])*$', $account_new->unix_pwdminage)) $errors[] = array('ERROR', _('Password minage'), _('Password minage must be are natural number.')); - if ( $account_new->unix_pwdminage > $account_new->unix_pwdmaxage ) $errors[] = array('ERROR', _('Password maxage'), _('Password maxage must bigger as Password Minage.')); - if ( !ereg('^([0-9]*)$', $account_new->unix_pwdmaxage)) $errors[] = array('ERROR', _('Password maxage'), _('Password maxage must be are natural number.')); - if ( !ereg('^(([-][1])|([0-9]*))$', $account_new->unix_pwdallowlogin)) - $errors[] = array('ERROR', _('Password Expire'), _('Password expire must be are natural number or -1.')); - if ( !ereg('^([0-9]*)$', $account_new->unix_pwdwarn)) $errors[] = array('ERROR', _('Password warn'), _('Password warn must be are natural number.')); - if ((!$account_new->unix_host=='') && !ereg('^([a-z]|[A-Z]|[0-9]|[.]|[-])+(([,])+([ ])*([a-z]|[A-Z]|[0-9]|[.]|[-])+)*$', $account_new->unix_host)) - $errors[] = array('ERROR', _('Unix workstations'), _('Unix workstations is invalid.')); - } - break; - case 'samba': - // Write all general values into $account_new - $account_new->smb_pwdcanchange = mktime($_POST['f_smb_pwdcanchange_s'], $_POST['f_smb_pwdcanchange_m'], $_POST['f_smb_pwdcanchange_h'], - $_POST['f_smb_pwdcanchange_mon'], $_POST['f_smb_pwdcanchange_day'], $_POST['f_smb_pwdcanchange_yea']); - $account_new->smb_pwdmustchange = mktime($_POST['f_smb_pwdmustchange_s'], $_POST['f_smb_pwdmustchange_m'], $_POST['f_smb_pwdmustchange_h'], - $_POST['f_smb_pwdmustchange_mon'], $_POST['f_smb_pwdmustchange_day'], $_POST['f_smb_pwdmustchange_yea']); - if ($_POST['f_smb_flagsN']) $account_new->smb_flags['N'] = true; - else $account_new->smb_flags['N'] = false; - if ($_POST['f_smb_useunixpwd']) $account_new->smb_useunixpwd = true; - else $account_new->smb_useunixpwd = false; - $account_new->smb_homedrive = $_POST['f_smb_homedrive']; - if (get_magic_quotes_gpc() == 1) { - $_POST['f_smb_smbhome'] = stripslashes($_POST['f_smb_smbhome']); - $_POST['f_smb_profilePath'] = stripslashes($_POST['f_smb_profilePath']); - $_POST['f_smb_scriptpath'] = stripslashes($_POST['f_smb_scriptpath']); - } - $account_new->smb_scriptPath = $_POST['f_smb_scriptpath']; - $account_new->smb_smbhome = $_POST['f_smb_smbhome']; - $account_new->smb_profilePath = $_POST['f_smb_profilePath']; - $account_new->smb_displayName = $_POST['f_smb_displayName']; - if ($_POST['f_smb_flagsD']) $account_new->smb_flags['D'] = true; - else $account_new->smb_flags['D'] = false; - if ($_POST['f_smb_flagsX']) $account_new->smb_flags['X'] = true; - else $account_new->smb_flags['X'] = false; - - if ($config_intern->is_samba3()) { - // samba 3 uses object with SID and domainname - $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - for ($i=0; $iname) { - $account_new->smb_domain = $samba3domains[$i]; - } - // Check if user is member of a well known windows group - switch ($_POST['f_smb_mapgroup']) { - case '*'._('Domain Guests'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '514'; break; - case '*'._('Domain Users'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '513'; break; - case '*'._('Domain Admins'): $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-" . '512'; break; - case $account_new->general_group: - $account_new->smb_mapgroup = $account_new->smb_domain->SID . "-". - (2 * getgid($account_new->general_group) + $account_new->smb_domain->RIDbase +1); - break; - } - } - else { - // samba 2.2 only uses a string as domainname - if (isset($_POST['f_smb_domain'])) $account_new->smb_domain = $_POST['f_smb_domain']; - else $account_new->smb_domain = ''; - // Check if user is member of a well known windows group - switch ($_POST['f_smb_mapgroup']) { - case '*'._('Domain Guests'): $account_new->smb_mapgroup = '514'; break; - case '*'._('Domain Users'): $account_new->smb_mapgroup = '513'; break; - case '*'._('Domain Admins'): $account_new->smb_mapgroup = '512'; break; - case $account_new->general_group: - $account_new->smb_mapgroup = (2 * getgid($account_new->general_group) + 1001); - break; - } - } - // Set Samba password - if (isset($_POST['f_smb_password']) && !$account_new->smb_useunixpwd) { - // Encraypt password - if ($_POST['f_smb_password'] != $_POST['f_smb_password2']) { - $errors[] = array('ERROR', _('Password'), _('Please enter the same password in both password-fields.')); - unset ($_POST['f_smb_password2']); - } - else $account_new->smb_password = base64_encode($_SESSION['ldap']->encrypt($_POST['f_smb_password'])); - } - else $account_new->smb_password = ''; - if ( (($account_new->smb_useunixpwd && !$account_old) || ($account_new->smb_useunixpwd && $account_new->unix_password!='')) && isset($account_new->unix_password) ) { - // Set Samba-Password to unix-password if option is set - $smb_password = $_SESSION['ldap']->decrypt(base64_decode($account_new->unix_password)); - $account_new->smb_password = base64_encode($_SESSION['ldap']->encrypt($smb_password)); - } - // Check values - $account_new->smb_scriptPath = str_replace('$user', $account_new->general_username, $account_new->smb_scriptPath); - $account_new->smb_scriptPath = str_replace('$group', $account_new->general_group, $account_new->smb_scriptPath); - if ($account_new->smb_scriptPath != $_POST['f_smb_scriptpath']) $errors[] = array('INFO', _('Logon script'), _('Inserted user- or groupname in scriptpath.')); - $account_new->smb_profilePath = str_replace('$user', $account_new->general_username, $account_new->smb_profilePath); - $account_new->smb_profilePath = str_replace('$group', $account_new->general_group, $account_new->smb_profilePath); - if ($account_new->smb_profilePath != $_POST['f_smb_profilePath']) $errors[] = array('INFO', _('Profile path'), _('Inserted user- or groupname in profilepath.')); - $account_new->smb_smbhome = str_replace('$user', $account_new->general_username, $account_new->smb_smbhome); - $account_new->smb_smbhome = str_replace('$group', $account_new->general_group, $account_new->smb_smbhome); - if ($account_new->smb_smbhome != $_POST['f_smb_smbhome']) $errors[] = array('INFO', _('Home path'), _('Inserted user- or groupname in HomePath.')); - if ( (!$account_new->smb_smbhome=='') && (!ereg('^(([\][\])|(%))([a-z]|[A-Z]|[0-9]|[.]|[-]|[%])+([\]([a-z]|[A-Z]|[0-9]|[.]|[-]|[%]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])+)+$', $account_new->smb_smbhome))) - $errors[] = array('ERROR', _('Home path'), _('Home path is invalid.')); - if ( !ereg('^([a-z]|[A-Z]|[0-9]|[\|]|[\#]|[\*]|[\,]|[\.]|[\;]|[\:]|[\_]|[\-]|[\+]|[\!]|[\%]|[\&]|[\/]|[\?]|[\{]|[\[]|[\(]|[\)]|[\]]|[\}])*$', - $smb_password)) $errors[] = array('ERROR', _('Password'), _('Password contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and #*,.;:_-+!$%&/|?{[()]}= !')); - if ( (!$account_new->smb_scriptPath=='') && (!eregi('^([\\])*([a-z0-9\\._%äöüß-])+(\\\([a-z0-9\\._%äöüß-])+)*((\.bat)|(\.cmd)|(\.exe))$', $account_new->smb_scriptPath))) - $errors[] = array('ERROR', _('Logon script'), _('Logon script is invalid!')); - if ( (!$account_new->smb_profilePath=='') && (!eregi('^[/][a-z]([a-z]|[0-9]|[.]|[-]|[_]|[%])*([/][a-z]([a-z]|[0-9]|[.]|[-]|[_]|[%])*)*$', $account_new->smb_profilePath)) - && (!eregi('^(([\][\])|(%))([a-z0-9_]|[.]|[-]|[%])+([\]([a-z0-9_]|[.]|[-]|[%])+)+$', $account_new->smb_profilePath))) - $errors[] = array('ERROR', _('Profile path'), _('Profile path is invalid!')); - if ((!$account_new->smb_domain=='') && (!is_object($account_new->smb_domain)) && !ereg('^([a-z]|[A-Z]|[0-9]|[-])+$', $account_new->smb_domain)) - $errors[] = array('ERROR', _('Domain name'), _('Domain name contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and -.')); - if ($account_new->smb_useunixpwd) $account_new->smb_useunixpwd = 1; else $account_new->smb_useunixpwd = 0; - if (($account_new->smb_displayName=='') && isset($account_new->general_gecos)) { - $account_new->smb_displayName = $account_new->general_gecos; - $errors[] = array('INFO', _('Display name'), _('Inserted gecos-field as display name.')); - } - break; - case 'quota': - // Write all general values into $account_new - $i=0; - // loop for every mointpoint with quotas - while ($account_new->quota[$i][0]) { - $account_new->quota[$i][2] = $_POST['f_quota_'.$i.'_2']; - $account_new->quota[$i][3] = $_POST['f_quota_'.$i.'_3']; - $account_new->quota[$i][6] = $_POST['f_quota_'.$i.'_6']; - $account_new->quota[$i][7] = $_POST['f_quota_'.$i.'_7']; - // Check if values are OK and set automatic values. if not error-variable will be set - if (!ereg('^([0-9])*$', $account_new->quota[$i][2])) - $errors[] = array('ERROR', _('Block soft quota'), _('Block soft quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][3])) - $errors[] = array('ERROR', _('Block hard quota'), _('Block hard quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][6])) - $errors[] = array('ERROR', _('Inode soft quota'), _('Inode soft quota contains invalid characters. Only natural numbers are allowed')); - if (!ereg('^([0-9])*$', $account_new->quota[$i][7])) - $errors[] = array('ERROR', _('Inode hard quota'), _('Inode hard quota contains invalid characters. Only natural numbers are allowed')); - $i++; - } - break; - case 'personal': - // Write all general values into $account_new - $account_new->personal_title = $_POST['f_personal_title']; - $account_new->personal_mail = $_POST['f_personal_mail']; - $account_new->personal_telephoneNumber = $_POST['f_personal_telephoneNumber']; - $account_new->personal_mobileTelephoneNumber = $_POST['f_personal_mobileTelephoneNumber']; - $account_new->personal_facsimileTelephoneNumber = $_POST['f_personal_facsimileTelephoneNumber']; - $account_new->personal_street = $_POST['f_personal_street']; - $account_new->personal_postalCode = $_POST['f_personal_postalCode']; - $account_new->personal_postalAddress = $_POST['f_personal_postalAddress']; - $account_new->personal_employeeType = $_POST['f_personal_employeeType']; - // Check if values are OK and set automatic values. if not error-variable will be set - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/]|[-])*$', $account_new->personal_telephoneNumber)) $errors[] = array('ERROR', _('Telephone number'), _('Please enter a valid telephone number!')); - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/]|[-])*$', $account_new->personal_mobileTelephoneNumber)) $errors[] = array('ERROR', _('Mobile number'), _('Please enter a valid mobile number!')); - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/]|[-])*$', $account_new->personal_facsimileTelephoneNumber)) $errors[] = array('ERROR', _('Fax number'), _('Please enter a valid fax number!')); - if ( !ereg('^(([0-9]|[A-Z]|[a-z]|[.]|[-]|[_])+[@]([0-9]|[A-Z]|[a-z]|[-])+([.]([0-9]|[A-Z]|[a-z]|[-])+)*)*$', $account_new->personal_mail)) $errors[] = array('ERROR', _('eMail address'), _('Please enter a valid eMail address!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[-]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_street)) $errors[] = array('ERROR', _('Street'), _('Please enter a valid street name!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_postalAddress)) $errors[] = array('ERROR', _('Postal address'), _('Please enter a valid postal address!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[-]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_title)) $errors[] = array('ERROR', _('Job title'), _('Please enter a valid job title!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_employeeType)) $errors[] = array('ERROR', _('Employee type'), _('Please enter a valid employee type!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z])*$', $account_new->personal_postalCode)) $errors[] = array('ERROR', _('Postal code'), _('Please enter a valid postal code!')); - break; - case 'final': - // Write all general values into $account_new - break; - case 'finish': - // Check if pdf-file should be created - if ($_POST['outputpdf']) { - // Load quotas if not yet done because they are needed for the pdf-file - if ($config_intern->scriptServer && !isset($account_new->quota[0])) { // load quotas - $temp = getquotas($account_old); - $account_new->quota = $temp->quota; - unset($temp); - } - // Create / display PDf-file - createUserPDF(array($account_new)); - die; - } - break; - } - - - -do { // X-Or, only one if() can be true - if ($_POST['next_general']) { - // Go from general to next page if no error did ocour - if (!is_array($errors)) $select_local='general'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_unix']) { - // Go from unix to next page if no error did ocour - if (!is_array($errors)) $select_local='unix'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_samba']) { - // Go from samba to next page if no error did ocour - if (!is_array($errors)) $select_local='samba'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_quota']) { - // Go from quota to next page if no error did ocour - if (!is_array($errors)) $select_local='quota'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_personal']) { - // Go from personal to next page if no error did ocour - if (!is_array($errors)) $select_local='personal'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_final']) { - // Go from final to next page if no error did ocour - if (is_array($errors)) $stay=true; - else $stay = false; - if (($account_old) && ($account_new->general_uidNumber != $account_old->general_uidNumber)) - $errors[] = array('INFO', _('UID-number has changed. You have to run the following command as root in order to change existing file-permissions:'), - 'find / -gid ' . $account_old->general_uidNumber . ' -exec chown ' . $account_new->general_uidNumber . ' {} \;'); - if (($account_old) && ($account_new->general_group != $account_old->general_group)) - $errors[] = array('INFO', _('Primary group has changed. You have to run the following command as root in order to change existing file-permissions:'), - 'find / -uid ' . $account_new->general_uidNumber . ' -gid ' . getgid($account_old->general_group) .' -exec chown ' . $account_new->general_uidNumber . ':'.getgid($account_new->general_group). ' {} \;'); - if (($account_old) && ($account_new->general_homedir != $account_old->general_homedir)) - $errors[] = array('INFO', _('Home Directory has changed. You have to run the following command as root in order to change the existing homedirectory:'), - 'mv ' . $account_old->general_homedir . ' ' . $account_new->general_homedir); - if ($config_intern->is_samba3() && !isset($account_new->smb_domain)) { - // Samba page not viewed; can not create user because if missing options - $errors[] = array("ERROR", _("Samba Options not set!"), _("Please check settings on samba page.")); - $stay = true; - } - if (!$config_intern->is_samba3()) { - $found = false; - if (strstr($account_new->smb_scriptPath, '$group')) $found = true; - if (strstr($account_new->smb_scriptPath, '$user')) $found = true; - if (strstr($account_new->smb_profilePath, '$group')) $found = true; - if (strstr($account_new->smb_profilePath, '$user')) $found = true; - if (strstr($account_new->smb_smbhome, '$group')) $found = true; - if (strstr($account_new->smb_smbhome, '$user')) $found = true; - if ($found) { - // Samba page not viewed; can not create group because if missing options - $stay = true; - $errors[] = array("ERROR", _("Samba Options not set!"), _("Please check settings on samba page.")); - } - } - if (isset($account_old->general_objectClass)) { - if (!in_array('posixAccount', $account_old->general_objectClass)) - $errors[] = array('WARN', _('ObjectClass posixAccount not found.'), _('Have to add objectClass posixAccount.')); - if (!in_array('shadowAccount', $account_old->general_objectClass)) - $errors[] = array('WARN', _('ObjectClass shadowAccount not found.'), _('Have to add objectClass shadowAccount.')); - if ($config_intern->is_samba3()) { - if (!in_array('sambaSamAccount', $account_old->general_objectClass)) - $errors[] = array('WARN', _('ObjectClass sambaSamAccount not found.'), _('Have to add objectClass sambaSamAccount. User with sambaAccount will be updated.')); - } - else { - if (!in_array('sambaAccount', $account_old->general_objectClass)) - $errors[] = array('WARN', _('ObjectClass sambaAccount not found.'), _('Have to add objectClass sambaAccount. User with sambaSamAccount will be set back to sambaAccount.')); - } - } - if (!$stay) $select_local='final'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_workstations']) { - // Go from workstations to next page if no error did ocour - if (!is_array($errors)) $select_local='workstations'; - else $select_local=$_POST['select']; - break; - } - if ($_POST['next_groups']) { - // Go from groups to next page if no error did ocour - if (!is_array($errors)) $select_local='groups'; - else $select_local=$_POST['select']; - break; - } - // Reset account to original settings if undo-button was pressed - if ($_POST['next_reset']) { - $account_new = $account_old; - $account_new->unix_password=''; - $account_new->smb_password=''; - $account_new->general_dn = substr($account_new->general_dn, strpos($account_new->general_dn, ',')+1); - $select_local = $_POST['select']; - break; - } - if ( $_POST['create'] ) { // Create-Button was pressed - // Create or modify an account - if ($account_old) $result = modifyuser($account_new,$account_old); - else $result = createuser($account_new); // account.inc - if ( $result==4 || $result==5 ) $select_local = 'final'; - else $select_local = 'finish'; - break; - } - // Load Profile and reset all attributes to settings in profile - if ($_POST['createagain']) { - $select_local='general'; - unset ($_SESSION['account_'.$varkey.'_account_new']); - unset($account_new); - $_SESSION['account_'.$varkey.'_account_new'] = loadUserProfile('default'); - $account_new =& $_SESSION['account_'.$varkey.'_account_new']; - $account_new ->type = 'user'; - break; - } - // Load Profile and reset all attributes to settings in profile - if ($_POST['load']) { - $account_new->general_dn = $_POST['f_general_suffix']; - $account_new->general_username = $_POST['f_general_username']; - $account_new->general_surname = $_POST['f_general_surname']; - $account_new->general_givenname = $_POST['f_general_givenname']; - $account_new->general_uidNumber = $_POST['f_general_uidNumber']; - $account_new->general_group = $_POST['f_general_group']; - if (isset($_POST['f_general_groupadd'])) $account_new->general_groupadd = $_POST['f_general_groupadd']; - else $account_new->general_groupadd = array(''); - $account_new->general_homedir = $_POST['f_general_homedir']; - $account_new->general_shell = $_POST['f_general_shell']; - $account_new->general_gecos = $_POST['f_general_gecos']; - if ($_POST['f_general_selectprofile']!='') $values = loadUserProfile($_POST['f_general_selectprofile']); - if (is_object($values)) { - while (list($key, $val) = each($values)) // Set only defined values - if (isset($val)) $account_new->$key = $val; - } - // insert autoreplace values - $account_new->general_homedir = str_replace('$group', $account_new->general_group, $account_new->general_homedir); - if ($account_new->general_username != '') - $account_new->general_homedir = str_replace('$user', $account_new->general_username, $account_new->general_homedir); - $account_new->smb_scriptPath = str_replace('$group', $account_new->general_group, $account_new->smb_scriptPath); - if ($account_new->general_username != '') - $account_new->smb_scriptPath = str_replace('$user', $account_new->general_username, $account_new->smb_scriptPath); - $account_new->smb_profilePath = str_replace('$group', $account_new->general_group, $account_new->smb_profilePath); - if ($account_new->general_username != '') - $account_new->smb_profilePath = str_replace('$user', $account_new->general_username, $account_new->smb_profilePath); - $account_new->smb_smbhome = str_replace('$group', $account_new->general_group, $account_new->smb_smbhome); - if ($account_new->general_username != '') - $account_new->smb_smbhome = str_replace('$user', $account_new->general_username, $account_new->smb_smbhome); - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - if (isset($account_old)) $quotas = getquotas($account_old); - else $quotas = getquotas($account_new); - for ($i=0; $iquota); $i++) $profile_quotas[] = $account_new->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas->quota[$i][0], $profile_quotas)) $account_new->quota[]=$quotas->quota[$i]; - } - else $account_new->quota[]=$quotas->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($account_new->quota[$j][0])) { - // remove invalid quotas - if (!in_array($account_new->quota[$j][0], $real_quotas)) unset($account_new->quota[$j]); - else $j++; - } - // Beautify array, repair index - if (is_array($account_new->quota)) $account_new->quota = array_values($account_new->quota); - // Set used blocks - if (isset($account_old)) { - for ($i=0; $iquota); $i++) - for ($j=0; $jquota); $j++) - if ($quotas->quota[$j][0] == $account_new->quota[$i][0]) { - $account_new->quota[$i][1] = $quotas->quota[$i][1]; - $account_new->quota[$i][4] = $quotas->quota[$i][4]; - $account_new->quota[$i][5] = $quotas->quota[$i][5]; - $account_new->quota[$i][8] = $quotas->quota[$i][8]; - } - } - else for ($i=0; $iquota); $i++) { - $account_new->quota[$i][1] = 0; - $account_new->quota[$i][5] = 0; - } - } - // select general page after group has been loaded - $select_local='general'; - break; - } - // Save Profile - if ($_POST['save']) { - // save profile - if ($_POST['f_finish_safeProfile']=='') - $errors[] = array('ERROR', _('Save profile'), _('No profilename given.')); - else { - if (saveUserProfile($account_new, $_POST['f_finish_safeProfile'])) - $errors[] = array('INFO', _('Save profile'), _('New profile created.')); - else $errors[] = array('ERROR', _('Save profile'), _('Wrong profilename given.')); - } - // select last page displayed before user is created - $select_local='final'; - break; - } - // Go back to listgroups.php - if ($_POST['backmain']) { - if (isset($_SESSION['account_'.$varkey.'_account_new'])) unset($_SESSION['account_'.$varkey.'_account_new']); - if (isset($_SESSION['account_'.$varkey.'_account_old'])) unset($_SESSION['account_'.$varkey.'_account_old']); - if (isset($_SESSION['account_'.$varkey.'_final_changegids'])) unset($_SESSION['account_'.$varkey.'_final_changegids']); - if (isset($_SESSION['account_'.$varkey.'_shelllist'])) unset($_SESSION['account_'.$varkey.'_shelllist']); - metaRefresh("../lists/listusers.php"); - die; - break; - } - } while(0); - -// Write HTML-Header -echo $header_intern; -echo ""; -echo _("Create new Account"); -echo "\n". - "\n". -// "\n". -// "\n". - "\n". - "\n". - "\n"; - -// Display errir-messages -if (is_array($errors)) { - for ($i=0; $ismb_smbuserworkstations); - $workstations = explode (',', $temp); - // Remove workstations to which the user is allowed to login from array - $hosts = array_delete($workstations, $hosts); - echo ''; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n
"; - echo "
"; - echo _("Select workstations"); - echo "\n\n\n\n"; - echo "\n"; - echo "\n\n
"; - echo "
"; - echo _("Allowed workstations"); - echo "\n"; - // display all workstations the user is allowed to login - if (count($workstations)!=0) { - echo "\n"; - } - echo "
"; - echo " "; - echo "\">

"; - echo ""._('Help')."
"; - echo _('Available workstations'); - echo "\n"; - // Display all workstations without these the user is allowed to login - if (count($hosts)!=0) { - echo "\n"; - } - echo "
\n"; - echo "\n"; - echo "
\n
\n"; - break; - case 'groups': - // Validate cache-array - ldapreload('group'); - // Get copy of cache-array - $temp2 = $groupDN_intern; - // unset timestamp stored in $temp2[0] - unset($temp2[0]); - // load list with all groups - foreach ($temp2 as $temp) $groups[] = $temp['cn']; - // sort groups - sort($groups, SORT_STRING); - // remove groups the user is member of from grouplist - $groups = array_delete($account_new->general_groupadd, $groups); - // Remove primary group from grouplist - $groups = array_flip($groups); - if (isset($groups[$account_new->general_group])) unset ($groups[$account_new->general_group]); - $groups = array_flip($groups); - echo ''; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n
"; - echo "
"; - echo _("Additional groups"); - echo "\n\n\n\n"; - echo "\n"; - echo "\n\n
"; - echo "
"; - echo _("Selected groups"); - echo "\n"; - // Show all groups the user is additional member of - if (count($account_new->general_groupadd)!=0) { - echo "\n"; - } - echo "
"; - echo " "; - echo "\">

"; - echo ""._('Help')."
"; - echo _('Available groups'); - echo "\n"; - // show all groups expect these the user is member of - if (count($groups)!=0) { - echo "\n"; - } - echo "
\n"; - echo "\n"; - echo "
\n
\n"; - break; - case 'general': - // General Account Settings - // load list of all groups - $groups = findgroups(); - // load list of profiles - $profilelist = getUserProfiles(); - echo ''; - echo "\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n\n
"; - echo "
"; - echo _("General properties"); - echo "\n\n\n\n'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".'\n\n
"; - echo _('Username').'*'; - echo "". - ''. - ''. - ''._('Help').''. - '
'; - echo _('UID number'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('First name').'*'; - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Last name').'*'; - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Primary group').'*'; - echo ''. - ''._('Help').''. - '
'; - - echo _('Additional groups'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Home directory').'*'; - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Gecos'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Login shell').'*'; - echo ''. - ''._('Help').''. - '
'; - echo _('Suffix'); echo ''._('Help'). - "
"; - echo _('Values with * are required'); - echo "
\n
"; - // Show fieldset with list of all user profiles - if (count($profilelist)!=0) { - echo "
"; - echo _("Load profile"); - echo "\n\n\n\n\n
"; - echo "\n". - ""; - echo _('Help')."
\n
\n"; - } - echo "
\n
\n"; - break; - case 'unix': - // Unix Password Settings - // decrypt password - if ($account_new->unix_password != '') { - $password = $_SESSION['ldap']->decrypt(base64_decode($account_new->unix_password)); - } - else $password=''; - // Use dd-mm-yyyy format of date because it's easier to read for humans - $date = getdate ($account_new->unix_pwdexpire); - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "
"._('Unix properties')."\n"; - echo "'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - // show only hosts if schema does allow hosts - if ($_SESSION['ldap']->supports_unix_hosts) { - echo ''."\n".''."\n".'\n\n"; - } - echo "
"; - echo _('Password'); - echo ''. - ''. - ''. - '
'; - echo _('Repeat password'); - echo ''. - '
'; - echo _('Use no password'); - echo 'unix_password_no) echo ' checked '; - echo '>'. - ''._('Help').''. - '
'; - echo _('Password warn'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Password expire'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Maximum password age'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Minimum password age'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Expire date'); - echo ''. - ''._('Help').''. - '
'; - echo _('Account deactivated'); - echo 'unix_deactivated) echo ' checked '; - echo '>'. - ''._('Help').''. - '
'; - echo _('Unix workstations'); - echo ''. - ''. - ''._('Help'). - "
\n"; - echo _('Values with * are required'); - echo "
\n
\n"; - break; - case 'samba': - // Samba Settings - // decrypt password - if ($account_new->smb_password != '') { - $password = $_SESSION['ldap']->decrypt(base64_decode($account_new->smb_password)); - } - else $password = ""; - if ($config_intern->is_samba3()) $samba3domains = $ldap_intern->search_domains($config_intern->get_domainSuffix()); - // Use dd-mm-yyyy format of date because it's easier to read for humans - $canchangedate = getdate($account_new->smb_pwdcanchange); - $mustchangedate = getdate($account_new->smb_pwdmustchange); - echo ''; - // Save all values smaller than "day" so we don't loose them - echo ''. - ''. - ''. - ''. - ''. - ''; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n
"; - echo "
"; - echo _("Samba properties"); - echo "\n\n\n\n\n\n\n\n'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - echo "
"; - echo _("Display name"); - echo "". - "smb_displayName."\">". - ""._('Help')."
"; - echo _('Samba password'); - echo ''. - '
'; - echo _('Repeat password'); - echo ''. - '
'; - echo _('Use unix password'); - echo 'smb_useunixpwd) echo ' checked '; - echo '>'. - ''._('Help').''; - echo '
'; - echo _('Use no password'); - echo 'smb_flags['N']) echo ' checked '; - echo '>'. - ''._('Help').''. - '
'; - echo _('Password does not expire'); - echo 'smb_flags['X']) echo ' checked '; - echo '>'. - ''._('Help').''. - '
'; - echo _('User can change password'); - echo ''; - echo ''._('Help').''. - '
'; - echo _('User must change password'); - echo ''; - echo ''._('Help').''. - '
'; - echo _('Account is deactivated'); - echo 'smb_flags['D']) echo ' checked '; - echo '>'. - ''._('Help').''. - '
'; - echo _('Home drive'); - echo ''. - ''._('Help').''. - '
'; - echo _('Home path'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Profile path'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Logon script'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Samba workstations'); - echo ''. - ''. - ''._('Help').''. - '
'; - echo _('Windows groupname'); - echo ''. - ''._('Help').''. - '
'; - echo _('Domain'); - // select which domain name should be displayed - if ($config_intern->is_samba3()) { - // samba 3 uses object to store SID and name of domain - echo ''; - } - else { - // Samba 2.2 just uses a string as domain name - echo ''; - } - echo ''._('Help').'
\n
\n
\n"; - break; - case 'quota': - // Quota Settings - // Load quotas if not yet done - if (($config_intern->scriptServer) && !isset($account_new->quota[0])) { // load quotas - $temp = getquotas($account_old); - $account_new->quota = $temp->quota; - unset ($temp); - } - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "
"._('Quota properties')."\n"; - echo "'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - echo ''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - $i=0; - // loop for every mointpoint with enabled quotas - while ($account_new->quota[$i][0]) { - echo ''; // used blocks - echo ''; // blocks soft limit - echo ''; // blocks hard limit - echo ''; // block grace period - echo ''; // used inodes - echo ''; // inodes soft limit - echo ''; // inodes hard limit - echo ''; // inodes grace period - $i++; - } - echo "
"; - echo _('Mountpoint'); echo ''; echo _('Used blocks'); echo ''; - echo _('Soft block limit'); echo ''; echo _('Hard block limit'); echo ''; echo _('Grace block period'); - echo ''; echo _('Used inodes'); echo ''; echo _('Soft inode limit'); echo ''; - echo _('Hard inode limit'); echo ''; echo _('Grace inode period'); echo '
'._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').''._('Help').''. - ''._('Help').'
'.$account_new->quota[$i][0].''.$account_new->quota[$i][1].''.$account_new->quota[$i][4].''.$account_new->quota[$i][5].''.$account_new->quota[$i][8].'
\n
\n
\n"; - break; - case 'personal': - // Personal Settings - echo "\n"; - echo "\n\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "
"._('Personal properties')."\n"; - echo "'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - echo "
"; - echo _('Job title'); - echo ''. - ' '; - echo $account_new->general_givenname . ' ' . $account_new->general_surname . ''. - ''._('Help').''. - '
'; - echo _('Employee type'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Street'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Postal code'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Postal address'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Telephone number'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Mobile number'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('Fax number'); - echo ''. - ''. - ''. - ''._('Help').''. - '
'; - echo _('eMail address'); - echo ''. - ''. - ''. - ''._('Help').'
\n
\n
\n"; - break; - case 'final': - // Final Settings - echo ''; - echo "\n\n
"; - echo "
"; - echo _('Please select page:'); - echo "\n"; - echo "\n
"; - echo "\n
"; - echo "\n
"; - echo "scriptPath)) echo " disabled "; - echo "value=\""; echo _('Quota'); echo "\">\n
"; - echo "\n
"; - echo ""; - if (isset($account_old)) { - echo "

"; - echo _("Reset all changes."); - echo "
"; - echo "\n"; - } - echo "
"; - echo "\n\n
"; - echo "\n
"; - echo _("Save profile"); - echo "\n"; - echo ''; - echo "  '._('Help'); - echo "\n
\n
\n"; - echo "
"; - if ($account_old) echo _('Modify'); - else echo _('Create'); - echo "\n"; - echo "'."\n"; - echo "
\n
\n
"; - break; - case 'finish': - // Final Settings - echo ''; - echo "
"._('Note')."\n"; - if ($account_old) { - printf(_("User %s has been modified."), $account_new->general_username); - } - else { - printf(_("User %s has been created."), $account_new->general_username); - } - echo '

'; - if (!$account_old) { - echo ' '; - } - echo ''. - ' '. - ''; -?> diff --git a/lam-0.4/templates/config/conflogin.php b/lam-0.4/templates/config/conflogin.php deleted file mode 100644 index 151e9f53..00000000 --- a/lam-0.4/templates/config/conflogin.php +++ /dev/null @@ -1,147 +0,0 @@ - - - - <?php - echo _("Login"); - ?> - - - - -

- LDAP Account Manager -

-


- - - - - - - - - - - - -" . - "" . - ""); - echo ""; - } -?> - - - - - - - - - - - - - - - -
 
" . $message . "
 
- - - "> -
 
- - - -
- - -






- - -

- -

- - - diff --git a/lam-0.4/templates/config/confmain.php b/lam-0.4/templates/config/confmain.php deleted file mode 100644 index f98504e8..00000000 --- a/lam-0.4/templates/config/confmain.php +++ /dev/null @@ -1,391 +0,0 @@ -get_Passwd()) == $passwd)) { - $message = _("The password is invalid! Please try again."); - require('conflogin.php'); - exit; -} - -echo $_SESSION['header']; - -echo ("" . _("LDAP Account Manager Configuration") . "\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("

". - "\"LDAP

\n
\n

\n"); - -// display formular -echo ("
\n"); - -echo ("
" . _("Server settings") . ""); -echo (""); -// serverURL -echo ("". - "\n"); -echo ("\n"); - -// new line -echo (""); - -// user suffix -echo ("". - "\n"); -echo ("\n"); -// group suffix -echo ("". - "\n"); -echo ("\n"); -// host suffix -echo ("". - "\n"); -echo ("\n"); -// domain suffix -echo ("". - "\n"); -echo ("\n"); - -// new line -echo (""); - -// LDAP password hash type -echo ("". - "\n"); -echo ("\n"); - -// new line -echo (""); - -// LDAP cache timeout -echo ("". - "\n"); -echo ("\n"); - -echo ("
" . _("Server address") . " *: ". - "get_ServerURL() . "\">". - "" . _("Help") . "
 
". - _("UserSuffix") . " *: get_UserSuffix() . "\">" . _("Help") . "
". - _("GroupSuffix") . " *: get_GroupSuffix() . "\">" . _("Help") . "
". - _("HostSuffix") . " *: get_HostSuffix() . "\">" . _("Help") . "
". - _("DomainSuffix") . " **: get_DomainSuffix() . "\">" . _("Help") . "
 
". - _("Password hash type") . " *: " . _("Help") . "
 
". - _("Cache timeout") . " *: " . _("Help") . "
"); -echo ("
"); -echo ("

"); - -echo ("
" . _("Samba settings") . ""); -echo (""); - -// Samba version -echo (""); -else echo (""); -echo ("\n"); - -echo ("
". - _("Samba 3.x schema") . ": " . _("Help") . "
"); -echo ("
"); -echo ("

"); - -echo ("
" . _("Ranges") . ""); -echo (""); - -// minUID -echo ("\n"); -// maxUID -echo ("\n"); -// UID text -echo ("\n"); -// minGID -echo ("\n"); -// maxGID -echo ("\n"); -// GID text -echo ("\n"); -// minMach -echo ("\n"); -// maxMach -echo ("\n"); -// Machine text -echo ("\n"); - -echo ("
". - _("Minimum UID number") . " *: ". - "get_minUID() . "\">" . _("Maximum UID number") . " *: ". - "get_maxUID() . "\">" . _("Help") . "
". - _("Minimum GID number") . " *: ". - "get_minGID() . "\">" . _("Maximum GID number")." *: ". - "get_maxGID() . "\">" . _("Help") . "
". - _("Minimum Machine number") . " *: ". - "get_minMachine() . "\">" . _("Maximum Machine number") . " *: ". - "get_maxMachine() . "\">" . _("Help") . "
\n"); -echo ("
\n"); -echo ("

\n"); - -echo ("
" . _("LDAP List settings") . "\n"); -echo ("\n"); - -// user list attributes -echo ("". - ""); -echo ("\n"); -// group list attributes -echo ("". - ""); -echo ("\n"); -// host list attributes -echo ("". - ""); -echo ("\n"); - -echo ("\n"); - -// maximum list entries -echo ("". - "\n"); -echo ("\n"); - -echo ("
". - _("Attributes in User List") . " *:get_userlistAttributes() . "\">" . _("Help") . "
". - _("Attributes in Group List") . " *:get_grouplistAttributes() . "\">" . _("Help") . "
". - _("Attributes in Host List") . " *:get_hostlistAttributes() . "\">" . _("Help") . "
 
". - _("Maximum list entries") . " *: " . _("Help") . "
\n"); -echo ("
\n"); -echo ("

\n"); - -echo ("
" . _("Language settings") . "\n"); -echo ("\n"); - -// language -echo (""); -echo ("\n"); -echo ("\n"); - -echo ("
" . _("Default language") . ":\n"); -// read available languages -$languagefile = "../../config/language"; -if(is_file($languagefile)) -{ - $file = fopen($languagefile, "r"); - $i = 0; - while(!feof($file)) - { - $line = fgets($file, 1024); - if($line == "\n" || $line[0] == "#" || $line == "") continue; // ignore comment and empty lines - $languages[$i] = chop($line); - $i++; - } - fclose($file); -// generate language list -echo ("\n"); -} -else -{ - echo _("Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site."); -} -echo ("" . _("Help") . "
\n"); -echo ("
\n"); - -echo ("

\n"); - -// script settings -echo ("
" . _("Script settings") . "\n"); -echo ("\n"); - -echo ("". - "\n"); -echo ("\n"); -echo ("". - "\n"); -echo ("\n"); - -echo ("
". - _("Server of external script") . ": get_scriptServer() . "\">" . _("Help") . "
". - _("Path to external script") . ": get_scriptPath() . "\">" . _("Help") . "
\n"); -echo ("
\n"); - -echo ("

\n"); - -// PDF settings -echo ("
" . _("PDF settings") . "\n"); -echo ("\n"); - -echo ("". - "\n"); -echo ("\n"); - -echo ("
". - _("Text for user PDF") . ": " . _("Help") . "
\n"); -echo ("
\n"); - -echo ("

\n"); - -// security setings -echo ("
" . _("Security settings") . "\n"); -echo ("\n"); -// admin list -echo ("". - "\n"); -echo ("\n"); - -echo ("\n"); - -// new password -echo ("". - "\n"); -echo ("\n"); -// reenter password -echo ("". - "\n"); -echo ("
". - _("List of valid users") . " *: get_Adminstring() . "\">" . _("Help") . "
 
". - _("New Password") . ": " . _("Help") . "
". - _("Reenter Password") . ":
\n"); -echo ("
\n"); -echo ("

\n"); - - -// buttons -echo ("\n"); - -echo ("\n"); - -echo ("
".
-	"".
-	"".
-	"
\n"); - -echo ("

"); - -echo ("

* = ". _("required") . "

"); -echo ("

** = ". _("required for Samba 3 schema") . "

"); - -// password for configuration -echo ("

\n"); - -// config file -echo ("

\n"); - -echo ("
\n"); -echo ("\n"); -echo ("\n"); - -?> - diff --git a/lam-0.4/templates/config/confsave.php b/lam-0.4/templates/config/confsave.php deleted file mode 100644 index 087199ee..00000000 --- a/lam-0.4/templates/config/confsave.php +++ /dev/null @@ -1,263 +0,0 @@ -get_Passwd()) { - require('conflogin.php'); - exit; -} - -echo $_SESSION['header']; - -echo "" . _("LDAP Account Manager Configuration") . "\n"; -echo "\n"; -echo "\n"; - -echo ("

". - "\"LDAP




"); - -// remove double slashes if magic quotes are on -if (get_magic_quotes_gpc() == 1) { - $suffusers = stripslashes($suffusers); - $suffgroups = stripslashes($suffgroups); - $suffhosts = stripslashes($suffhosts); - $suffdomains = stripslashes($suffdomains); -} - -// check new preferences -if (!$conf->set_samba3($samba3)) { - echo ("" . _("Samba version is not defined!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_ServerURL($serverurl)) { - echo ("" . _("Server Address is empty!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_cacheTimeout($cachetimeout)) { - echo ("" . _("Cache timeout is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_Adminstring($admins)) { - echo ("" . _("List of admin users is empty or invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_UserSuffix($suffusers)) { - echo ("" . _("UserSuffix is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_GroupSuffix($suffgroups)) { - echo ("" . _("GroupSuffix is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_HostSuffix($suffhosts)) { - echo ("" . _("HostSuffix is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_DomainSuffix($suffdomains)) { - echo ("" . _("DomainSuffix is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_minUID($minUID)) { - echo ("" . _("Minimum UID number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_maxUID($maxUID)) { - echo ("" . _("Maximum UID number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_minGID($minGID)) { - echo ("" . _("Minimum GID number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_maxGID($maxGID)) { - echo ("" . _("Maximum GID number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_minMachine($minMach)) { - echo ("" . _("Minimum Machine number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_maxMachine($maxMach)) { - echo ("" . _("Maximum Machine number is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_userlistAttributes($usrlstattr)) { - echo ("" . _("User list attributes are invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_grouplistAttributes($grplstattr)) { - echo ("" . _("Group list attributes are invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_hostlistAttributes($hstlstattr)) { - echo ("" . _("Host list attributes are invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} -if (!$conf->set_MaxListEntries($maxlistentries)) { - echo ("" . _("Max list entries is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_defaultLanguage($lang)) { - echo ("" . _("Language is not defined!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_scriptpath($scriptpath)) { - echo ("" . _("Logon script is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_scriptserver($scriptserver)) { - echo ("" . _("Script server is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_pwdhash($pwdhash)) { - echo ("" . _("Password hash is invalid!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - -if (!$conf->set_pdftext($pdftext)) { - echo ("" . _("Saving PDF text failed!") . ""); - echo ("\n


" . _("Back to preferences...") . ""); - exit; -} - - -// check if password was changed -if ($passwd1) { - if ($passwd1 != $passwd2) { - echo ("" . _("Passwords are different!") . ""); - exit; - } - // set new password - if ($passwd1 != "") { - $conf->set_Passwd($passwd1); - echo ("" . _("Password changed!") . "

"); - } -} - -// save settings and display new settings -$conf->save(); -echo ("" . _("The following settings were saved to profile:") . " " . $filename . "

"); -$conf->printconf(); -echo ("




" . _("Back to Login") . ""); - -echo(""); - -// remove settings from session -unset($_SESSION['conf_passwd']); -unset($_SESSION['conf_passwd1']); -unset($_SESSION['conf_passwd2']); -unset($_SESSION['conf_serverurl']); -unset($_SESSION['conf_cachetimeout']); -unset($_SESSION['conf_admins']); -unset($_SESSION['conf_suffusers']); -unset($_SESSION['conf_suffgroups']); -unset($_SESSION['conf_suffhosts']); -unset($_SESSION['conf_suffdomains']); -unset($_SESSION['conf_minUID']); -unset($_SESSION['conf_maxUID']); -unset($_SESSION['conf_minGID']); -unset($_SESSION['conf_maxGID']); -unset($_SESSION['conf_minMach']); -unset($_SESSION['conf_maxMach']); -unset($_SESSION['conf_usrlstattr']); -unset($_SESSION['conf_grplstattr']); -unset($_SESSION['conf_hstlstattr']); -unset($_SESSION['conf_maxlistentries']); -unset($_SESSION['conf_lang']); -unset($_SESSION['conf_scriptpath']); -unset($_SESSION['conf_scriptserver']); -unset($_SESSION['conf_samba3']); -unset($_SESSION['conf_pwdhash']); -unset($_SESSION['conf_pdf_usertext']); -unset($_SESSION['conf_filename']); - -?> diff --git a/lam-0.4/templates/config/profmanage.php b/lam-0.4/templates/config/profmanage.php deleted file mode 100644 index ca499241..00000000 --- a/lam-0.4/templates/config/profmanage.php +++ /dev/null @@ -1,370 +0,0 @@ - - - - <?php - echo _("Profile management"); - ?> - - - - -

- LDAP Account Manager -

-

- -password != $_POST['passwd']) { - $error = _("Master password is wrong!"); - } - // add new profile - elseif ($_POST['action'] == "add") { - if (eregi("^[a-z0-9\-_]+$", $_POST['addprofile']) && !in_array($_POST['addprofile'], getConfigProfiles())) { - // check profile password - if ($_POST['addpassword'] && $_POST['addpassword2'] && ($_POST['addpassword'] == $_POST['addpassword2'])) { - // create new profile file - @copy("../../config/lam.conf_sample", "../../config/" . $_POST['addprofile'] . ".conf"); - @chmod ("../../config/" . $_POST['addprofile'] . ".conf", 0600); - $file = is_file("../../config/" . $_POST['addprofile'] . ".conf"); - if ($file) { - // load as config and write new password - $conf = new Config($_POST['addprofile']); - $conf->Passwd = $_POST['addpassword']; - $conf->save(); - $msg = _("Created new profile."); - } - else $error = _("Unable to create new profile!"); - } - else $error = _("Profile passwords are different or empty!"); - } - else $error = _("Profile name is invalid!"); - } - // rename profile - elseif ($_POST['action'] == "rename") { - if (eregi("^[a-z0-9\-_]+$", $_POST['renfilename']) && !in_array($_POST['renprofile'], getConfigProfiles())) { - if (rename("../../config/" . $_POST['oldfilename'] . ".conf", - "../../config/" . $_POST['renfilename'] . ".conf")) { - $msg = _("Renamed profile."); - } - else $error = _("Could not rename file!"); - } - else $error = _("Profile name is invalid!"); - } - // delete profile - elseif ($_POST['action'] == "delete") { - if (@unlink("../../config/" . $_POST['delfilename'] . ".conf")) { - $msg = _("Profile deleted."); - } - else $error = _("Unable to delete profile!"); - } - // set new profile password - elseif ($_POST['action'] == "setpass") { - if ($_POST['setpassword'] && $_POST['setpassword2'] && ($_POST['setpassword'] == $_POST['setpassword2'])) { - $config = new Config($_POST['setprofile']); - $config->set_Passwd($_POST['setpassword']); - $config->save(); - $msg = _("New password set successfully."); - } - else $error = _("Profile passwords are different or empty!"); - } - // set master password - elseif ($_POST['action'] == "setmasterpass") { - if ($_POST['masterpassword'] && $_POST['masterpassword2'] && ($_POST['masterpassword'] == $_POST['masterpassword2'])) { - $config = new CfgMain(); - $config->password = $_POST['masterpassword']; - $config->save(); - $msg = _("New master password set successfully."); - } - else $error = _("Master passwords are different or empty!"); - } - // set default profile - elseif ($_POST['action'] == "setdefault") { - $config = new CfgMain(); - $config->default = $_POST['defaultfilename']; - $config->save(); - $msg = _("New default profile set successfully."); - } - // print messages - if ($error || $msg) { - if ($error) StatusMessage("ERROR", "", $error); - if ($msg) StatusMessage("INFO", "", $msg); - } - else exit; -} - -?> - -
- -
- - -
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -   - -
   - - -
   - - -
 
- - - - - - - - - -   - -
 
- - - - - - -   - -
 
- - - - - - - - - -   - -
   - - -  
 
 
- - - - - - -    - -
 
- - - - - - - - -   - -
   - - -  
-

-
-

 

- - - - - -   - -   - "> -   - - -
-


- - -

- -

- - - - diff --git a/lam-0.4/templates/confwiz/final.php b/lam-0.4/templates/confwiz/final.php deleted file mode 100644 index bf3dd756..00000000 --- a/lam-0.4/templates/confwiz/final.php +++ /dev/null @@ -1,65 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - - -echo $_SESSION['header']; - -echo "" . _("Configuration wizard") . "\n"; -echo "\n"; -echo "\n"; - -echo ("

". - "\"LDAP




\n"); -echo ("" . _("The following settings were saved to profile:") . " " . $_SESSION['confwiz_config']->file . "

"); - -$_SESSION['confwiz_config']->printconf(); -echo ("




" . _("Back to Login") . ""); - -echo(""); - - -// remove config wizard settings -unset($_SESSION['confwiz_config']); -unset($_SESSION['confwiz_ldap']); -unset($_SESSION['confwiz_masterpwd']); - -?> diff --git a/lam-0.4/templates/confwiz/ldaptest.php b/lam-0.4/templates/confwiz/ldaptest.php deleted file mode 100644 index 55c6bc13..00000000 --- a/lam-0.4/templates/confwiz/ldaptest.php +++ /dev/null @@ -1,580 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// check if user clicked cancel button -if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); -} - -// check if all suffixes exist -$conf = $_SESSION['confwiz_config']; -$new_suffs = array(); -if ($conf->get_UserSuffix() && ($conf->get_UserSuffix() != "")) { - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $conf->get_UserSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if (!$res && !in_array($conf->get_UserSuffix(), $new_suffs)) $new_suffs[] = $conf->get_UserSuffix(); -} -if ($conf->get_GroupSuffix() && ($conf->get_GroupSuffix() != "")) { - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $conf->get_GroupSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if (!$res && !in_array($conf->get_GroupSuffix(), $new_suffs)) $new_suffs[] = $conf->get_GroupSuffix(); -} -if ($conf->get_HostSuffix() && ($conf->get_HostSuffix() != "")) { - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $conf->get_HostSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if (!$res && !in_array($conf->get_HostSuffix(), $new_suffs)) $new_suffs[] = $conf->get_HostSuffix(); -} -if ($conf->is_samba3() && $conf->get_DomainSuffix() && ($conf->get_DomainSuffix() != "")) { - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $conf->get_DomainSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if (!$res && !in_array($conf->get_DomainSuffix(), $new_suffs)) $new_suffs[] = $conf->get_DomainSuffix(); -} - -if (sizeof($new_suffs) > 0) { - // check if user wanted to create suffixes - if ($_POST['createsuff']) { - $fail = array(); - $errors = array(); - // add entries - for ($i = 0; $i < sizeof($new_suffs); $i++) { - // check if entry is already present - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $new_suffs[$i], "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if ($res) continue; - $suff = $new_suffs[$i]; - // generate DN and attributes - $tmp = explode(",", $suff); - $name = explode("=", $tmp[0]); - array_shift($tmp); - $end = implode(",", $tmp); - if ($name[0] != "ou") { // add root entry - $attr = array(); - $attr[$name[0]] = $name[1]; - $attr['objectClass'] = 'organization'; - $dn = $suff; - if (!@ldap_add($_SESSION['confwiz_ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - continue; - } - } - else { // add organizational unit - $name = $name[1]; - $attr = array(); - $attr['objectClass'] = "organizationalunit"; - $attr['ou'] = $name; - $dn = $suff; - if (!@ldap_add($_SESSION['confwiz_ldap']->server(), $dn, $attr)) { - // check if we have to add parent entries - if (ldap_errno($_SESSION['confwiz_ldap']->server()) == 32) { - $temp = explode(",", $suff); - $subsuffs = array(); - // make list of subsuffixes - for ($k = 0; $k < sizeof($temp); $k++) { - $part = explode("=", $temp[$k]); - if ($part[0] == "ou") $subsuffs[] = implode(",", array_slice($temp, $k)); - else { - $subsuffs[] = implode(",", array_slice($temp, $k)); - break; - } - } - // create missing entries - for ($k = sizeof($subsuffs) - 1; $k >= 0; $k--) { - // check if subsuffix is present - $info = @ldap_search($_SESSION['confwiz_ldap']->server, $subsuffs[$k], "", array()); - $res = @ldap_get_entries($_SESSION['confwiz_ldap']->server, $info); - if (!$res) { - $suffarray = explode(",", $subsuffs[$k]); - $headarray = explode("=", $suffarray[0]); - if ($headarray[0] == "ou") { // add ou entry - $attr = array(); - $attr['objectClass'] = 'organizationalunit'; - $attr['ou'] = $headarray[1]; - $dn = $subsuffs[$k]; - if (!@ldap_add($_SESSION['confwiz_ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['confwiz_ldap']->server()); - break; - } - } - else { // add root entry - $attr = array(); - $attr['objectClass'][] = 'organization'; - $attr[$headarray[0]] = $headarray[1]; - if ($headarray[0] == "dc") { - $attr['o'] = $headarray[1]; - $attr['objectClass'][] = 'dcObject'; - } - $dn = $subsuffs[$k]; - if (!@ldap_add($_SESSION['confwiz_ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['confwiz_ldap']->server()); - break; - } - } - } - } - } - else { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['confwiz_ldap']->server()); - } - } - } - } - // show errors - if (sizeof($fail) > 0) { - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - // print failed suffixes - for ($i = 0; $i < sizeof($fail); $i++) { - StatusMessage("ERROR", _("Failed to create entry!") . "
" . $error[$i], $fail[$i]); - } - echo "

 

\n"; - echo "



" . _("Back to server settings") . "

\n"; - echo "\n"; - exit; - } - } - // show needed suffixes - else { - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - echo "

" . _("The following suffix(es) are missing in LDAP. LAM will create them for you.") . "

\n"; - echo "

 

\n"; - // print missing suffixes - for ($i = 0; $i < sizeof($new_suffs); $i++) { - echo "

" . $new_suffs[$i] . "

\n"; - } - echo "

 

\n"; - echo "
\n"; - echo ""; - echo ""; - echo "
\n"; - echo "\n"; - exit; - } -} - -// check if domain object is present -if ($_SESSION['confwiz_config']->is_samba3()) { - // get list of domains - $domlist = $_SESSION['confwiz_ldap']->search_domains($_SESSION['confwiz_config']->get_domainSuffix()); - if (sizeof($domlist) < 1) { - if ($_POST['createdom']) { - // check input - $suffix = $_SESSION['confwiz_config']->get_DomainSuffix(); - $server = $_SESSION['confwiz_ldap']->server; - $filter = "(|(sambasid=" . $_POST['dom_SID'] . ")(sambadomainname=" . $_POST['dom_name'] . "))"; - $sr = @ldap_search($server, $suffix, $filter, array()); - $info = @ldap_get_entries($_SESSION["confwiz_ldap"]->server, $sr); - $errors = array(); - // check for existing domains - if ($info["count"] > 0) { - $errors[] = _("This Samba 3 domain is already present!"); - } - // check domain name - if (!eregi("^[a-z0-9_\\-]+$", $_POST['dom_name'])) { - $errors[] = _("Domain name is invalid!"); - } - // check SID - if (!eregi("^S-[0-9]-[0-9]-[0-9]{2,2}-[0-9]*-[0-9]*-[0-9]*$", $_POST['dom_SID'])) { - $errors[] = _("Samba 3 domain SID is invalid!"); - } - // check numbers - if ($_POST['dom_nextRID'] && !is_numeric($_POST['dom_nextRID'])) { - $errors[] = _("Next RID is not a number!"); - } - if ($_POST['dom_nextUserRID'] && !is_numeric($_POST['dom_nextUserRID'])) { - $errors[] = _("Next user RID is not a number!"); - } - if ($_POST['dom_nextGroupRID'] && !is_numeric($_POST['dom_nextGroupRID'])) { - $errors[] = _("Next group RID is not a number!"); - } - if (!is_numeric($_POST['dom_RIDbase'])) { - $errors[] = _("Algorithmic RID base is not a number!"); - } - // try to create domain if no error occured - if (sizeof($errors) < 1) { - $DN = "sambaDomainName" . "=" . $_POST['dom_name'] . "," . $_POST['dom_suffix']; - $attr = array(); - $attr['objectclass'] = "sambaDomain"; - $attr['sambaDomainName'] = $_POST['dom_name']; - $attr['sambaSID'] = $_POST['dom_SID']; - if ($_POST['dom_nextRID']) $attr['sambaNextRid'] = $_POST['dom_nextRID']; - if ($_POST['dom_nextGroupRID']) $attr['sambaNextGroupRid'] = $_POST['dom_nextGroupRID']; - if ($_POST['dom_nextUserRID']) $attr['sambaNextUserRid'] = $_POST['dom_nextUserRID']; - $attr['sambaAlgorithmicRidBase'] = $_POST['dom_RIDbase']; - // write to LDAP - if (! @ldap_add($_SESSION['confwiz_ldap']->server(), $DN, $attr)) { - $errors[] = _("Failed to add domain!") . "\n
" . ldap_error($_SESSION['confwiz_ldap']->server()); - } - else { - // remember domain SID - $_SESSION["confwiz_domainsid"] = $_POST['dom_SID']; - } - } - // show error messages - if (sizeof($errors) > 1) { - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - // print errors - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "

 

\n"; - echo "



" . _("Back to server settings") . "

\n"; - echo "\n"; - exit; - } - } - else { - // get possible suffixes - $domsuff = $_SESSION['confwiz_ldap']->search_units($_SESSION['confwiz_config']->get_domainSuffix()); - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - echo "

". _("No domains found, please create one.") . "

\n"; - echo "

 

\n"; - echo "
\n"; - echo "
\n"; - echo "" . _("Domain Settings") . "\n"; - echo "\n"; - // domain name - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // domain SID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // next RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - // next user RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - // next group RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // algorithmic RID base - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // domain suffix - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - echo "" . _("Domain name") . ":\n"; - echo "\n"; - echo "\n"; - echo "" . _("Help") . "
  
\n"; - echo "" . _("Domain SID") . ": \n"; - echo "\n"; - echo "\n"; - echo "" . _("Help") . "
  
" . _("Next RID") . " " . _("(optional)") . ": \n"; - echo "\n"; - echo "" . _("Help") . "
" . _("Next User RID") . " " . _("(optional)") . ": \n"; - echo "\n"; - echo "" . _("Help") . "
" . _("Next Group RID") . " " . _("(optional)") . ": \n"; - echo "\n"; - echo "" . _("Help") . "
  
" . _("Algorithmic RID Base") . ": \n"; - echo "\n"; - echo "" . _("Help") . "
  
\n"; - echo "" . _("Suffix") . ": \n"; - echo "\n"; - echo ""; - echo "" . _("Help") . "
  
\n"; - echo "
\n"; - echo "

 

\n"; - echo ""; - echo ""; - echo "
\n"; - echo "\n"; - exit; - } - } - else { - // remember domain SID - $_SESSION["confwiz_domainsid"] = $domlist[0]->SID; - } -} - - -// check if essential default Samba groups are present -if ($_SESSION['confwiz_config']->is_samba3() && !$_POST['creategroups'] && !$_POST['ignoregroups']) { - $d512 = $d513 = $d514 = false; - $suffix = $_SESSION['confwiz_config']->get_groupSuffix(); - $domSID = $_SESSION['confwiz_domainsid']; - $filter = "(objectclass=sambagroupmapping)"; - $server = $_SESSION['confwiz_ldap']->server; - $sr = @ldap_search($server, $suffix, $filter, array("sambaSID")); - if ($sr) { - $info = @ldap_get_entries($_SESSION["confwiz_ldap"]->server, $sr); - if ($info) { - // check SIDs - array_shift($info); - for ($i = 0; $i < sizeof($info); $i++) { - if ($info[$i]['sambasid']['0'] == $domSID . "-512") { - $d512 = true; - } - elseif ($info[$i]['sambasid']['0'] == $domSID . "-513") { - $d513 = true; - } - elseif ($info[$i]['sambasid']['0'] == $domSID . "-514") { - $d514 = true; - } - } - } - } - // make a list of missing groups - $missing_groups = array(); - if (!$d512) { - $temp = array(); - $temp['sambasid'] = $domSID . "-512"; - $temp['displayname'] = "Domain Admins"; - $temp['cn'] = "domainadmins"; - $missing_groups[] = $temp; - } - if (!$d513) { - $temp = array(); - $temp['sambasid'] = $domSID . "-513"; - $temp['displayname'] = "Domain Users"; - $temp['cn'] = "domainusers"; - $missing_groups[] = $temp; - } - if (!$d514) { - $temp = array(); - $temp['sambasid'] = $domSID . "-514"; - $temp['displayname'] = "Domain Guests"; - $temp['cn'] = "domainguests"; - $missing_groups[] = $temp; - } - $_SESSION['conwiz_missing_groups'] = $missing_groups; - if (sizeof($missing_groups) > 0) { - // show user a list of missing groups - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - echo "

" . _("LAM detected that one or more essential Samba groups are missing. They are listed below.") . - " " . _("LAM can create them for you or you have to create them manually later.") . "

\n"; - echo "

 

\n"; - for ($i = 0; $i < sizeof($missing_groups); $i++) { - echo "

" . _("Windows group name") . ": " . $missing_groups[$i]['displayname'] . "

\n"; - echo "

" . _("Unix group name") . ": " . $missing_groups[$i]['cn'] . "

\n"; - echo "

" . _("Group SID") . ": " . $missing_groups[$i]['sambasid'] . "

\n"; - echo "

 

\n"; - echo "

 

\n"; - } - echo "
\n"; - echo ""; - echo ""; - echo ""; - echo "
\n"; - echo "\n"; - exit; - } -} - -// create needed Samab groups -if ($_SESSION['confwiz_config']->is_samba3() && $_POST['creategroups']) { - $suffix = $_SESSION['confwiz_config']->get_groupSuffix(); - $domSID = $_SESSION['confwiz_domainsid']; - $filter = "(objectclass=posixgroup)"; - $server = $_SESSION['confwiz_ldap']->server; - $sr = @ldap_search($server, $suffix, $filter, array("gidnumber")); - if ($sr) { - $info = @ldap_get_entries($_SESSION["confwiz_ldap"]->server, $sr); - if ($info) { - array_shift($info); - // create list of GID numbers - $gid_numbers = array(); - for ($i = 0; $i < sizeof($info); $i++) { - // ignore GIDs that are out of range - if ($info[$i]['gidnumber'][0] <= $_SESSION['confwiz_config']->get_maxGID()) { - if ($info[$i]['gidnumber'][0] >= $_SESSION['confwiz_config']->get_minGID()) { - $gid_numbers[] = $info[$i]['gidnumber'][0]; - } - } - } - // if no GIDs are used add (minGID -1) - if (sizeof($gid_numbers) < 1) $gid_numbers[] = $_SESSION['confwiz_config']->get_minGID() - 1; - sort($gid_numbers); - $missing_groups = $_SESSION['conwiz_missing_groups']; - $errors = array(); - // check if free GID numbers exist - if ($gid_numbers[sizeof($gid_numbers) - 1] < $_SESSION['confwiz_config']->get_maxGID() - 3) { - $gidnumber = $gid_numbers[sizeof($gid_numbers) - 1]; - for ($i = 0; $i < sizeof($missing_groups); $i++) { - $gidnumber++; - $attributes = array(); - $attributes['objectclass'][] = 'posixGroup'; - $attributes['objectclass'][] = 'sambaGroupMapping'; - $attributes['sambaGroupType'] = 2; - $attributes['gidnumber'] = $gidnumber; - $attributes['sambaSID'] = $missing_groups[$i]['sambasid']; - $attributes['description'] = $missing_groups[$i]['displayname']; - $attributes['displayname'] = $missing_groups[$i]['displayname']; - $attributes['cn'] = $missing_groups[$i]['cn']; - $dn = 'cn=' . $attributes['cn'] . ',' . $_SESSION['confwiz_config']->get_groupSuffix(); - if (!ldap_add($_SESSION['confwiz_ldap']->server(), $dn, $attributes)) { - $errors[] = 'Unable to create group:' . " " . $missing_groups[$i]['cn']; - } - } - } - // not enough free GIDs - else { - $errors[] = 'There are not enough free GID numbers in the GID range!'; - } - if (sizeof($errors) < 1) { - metarefresh('final.php'); - } - else { - echo $_SESSION['header']; - echo ""; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - echo "

 

\n"; - // print errors - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ''); - } - echo "

 

\n"; - echo "



" . _("Back to server settings") . "

\n"; - echo "\n"; - exit; - } - } - } - exit; -} - -// if nothing is missing go to last page -metarefresh('final.php'); - -?> diff --git a/lam-0.4/templates/confwiz/o_daemon.php b/lam-0.4/templates/confwiz/o_daemon.php deleted file mode 100644 index 3f3f15cd..00000000 --- a/lam-0.4/templates/confwiz/o_daemon.php +++ /dev/null @@ -1,156 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// check if user clicked on cancel button -if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - exit; -} - -// check if user clicked on next button -if ($_POST['submit']) { - $errors = array(); - if (!$_SESSION['confwiz_config']->set_scriptpath($_POST['scriptpath'])) { - $errors[] = _("Script path is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_scriptserver($_POST['scriptserver'])) { - $errors[] = _("Script server is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_pdftext($_POST['pdf_usertext'])) { - $errors[] = _("Saving PDF text failed!"); - } - // if no errors save and go back to optional.php - if (sizeof($errors) < 1) { - $_SESSION['confwiz_config']->save(); - $_SESSION['confwiz_optional']['daemon'] = 'done'; - metarefresh('optional.php'); - } - else { - // errors occured - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "



" . _("Back to lamdaemon and PDF settings") . "

\n"; - echo "\n"; - exit; - } -} - - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

 

\n"; - - // lamdaemon - echo "

Lamdaemon.pl:

\n"; - echo "

" . _("If you want to manage quotas and homedirectories with LAM you need to setup lamdaemon.pl.") . - "
" . - _("This is the server and path where the lamdaemon.pl script is stored. LDAP Account Manager will make a SSH connection to this server with username and password provided at login.") . - "

" . _("Use it at your own risk and read the documentation for lamdaemon before you use it!") . "

\n"; - - echo (""); - -echo ("". - "\n"); -echo ("\n"); -echo ("". - "\n"); -echo ("\n"); - - echo "
". - _("Server of external script") . ": get_scriptServer() . "\">
". - _("Path to external script") . ": get_scriptPath() . "\">
\n"; - - echo "


\n"; - - // PDF text - echo "

" . _("PDF text") . ":

\n"; - echo "

" . _("This text will appear on top of every user PDF file.") . "

\n"; - - echo (""); - -echo ""; - echo "\n"; -echo ("\n"); - - echo "
\n"; - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> - - - - - - - diff --git a/lam-0.4/templates/confwiz/o_lang.php b/lam-0.4/templates/confwiz/o_lang.php deleted file mode 100644 index 84fb3bf6..00000000 --- a/lam-0.4/templates/confwiz/o_lang.php +++ /dev/null @@ -1,176 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// check if user clicked on cancel button -if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - exit; -} - -// check if user clicked on next button -if ($_POST['submit']) { - $errors = array(); - if (!$_SESSION['confwiz_config']->set_defaultLanguage($_POST['lang'])) { - $errors[] = _("Language is not defined!"); - } - if (!$_SESSION['confwiz_config']->set_Adminstring($_POST['admins'])) { - $errors[] = _("List of admin users is empty or invalid!"); - } - // if no errors save and go back to optional.php - if (sizeof($errors) < 1) { - $_SESSION['confwiz_config']->save(); - $_SESSION['confwiz_optional']['lang'] = 'done'; - metarefresh('optional.php'); - } - else { - // errors occured - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "



" . _("Back to language and admin settings.") . "

\n"; - echo "\n"; - exit; - } -} - - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

 

\n"; - - // language - echo "

" . _("Please select your prefered language.") . "

\n"; - echo "

" . _("This defines the language of the login window and sets this language as the default language. Users can change the language at login.") . - "

\n"; - - echo (""); - - echo (""); - echo ("\n"); - echo ("\n"); - - echo "
" . _("Default language") . ":\n"); - // read available languages - $languagefile = "../../config/language"; - if(is_file($languagefile)) - { - $file = fopen($languagefile, "r"); - $i = 0; - while(!feof($file)) - { - $line = fgets($file, 1024); - if($line == "\n" || $line[0] == "#" || $line == "") continue; // ignore comment and empty lines - $languages[$i] = chop($line); - $i++; - } - fclose($file); - // generate language list - echo ("\n"); - } - else - { - echo _("Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site."); - } - echo ("
\n"; - - echo "


\n"; - echo "


\n"; - - // admin users - echo "

" . _("Valid users") . ":

\n"; - echo "

" . _("If you want more than one user to login to LAM please enter its DN(s) here. Multiple entries are seperated by semicolons.") . "

\n"; - echo "

" . _("Example") . ": cn=admin,dc=yourdomain,dc=org;cn=manager,dc=yourdomain,dc=org

\n"; - - echo (""); - - echo ("". - "\n"); - echo ("\n"); - - echo "
". - _("List of valid users") . ": get_Adminstring() . "\">
\n"; - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> - - - - - - diff --git a/lam-0.4/templates/confwiz/o_lists.php b/lam-0.4/templates/confwiz/o_lists.php deleted file mode 100644 index acca91cc..00000000 --- a/lam-0.4/templates/confwiz/o_lists.php +++ /dev/null @@ -1,160 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// check if user clicked on cancel button -if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - exit; -} - -// check if user clicked on next button -if ($_POST['submit']) { - $errors = array(); - if (!$_SESSION['confwiz_config']->set_userlistAttributes($_POST['usrlstattr'])) { - $errors[] = _("User list attributes are invalid!"); - } - if (!$_SESSION['confwiz_config']->set_grouplistAttributes($_POST['grplstattr'])) { - $errors[] = _("Group list attributes are invalid!"); - } - if (!$_SESSION['confwiz_config']->set_hostlistAttributes($_POST['hstlstattr'])) { - $errors[] = _("Host list attributes are invalid!"); - } - // if no errors save and go back to optional.php - if (sizeof($errors) < 1) { - $_SESSION['confwiz_config']->save(); - $_SESSION['confwiz_optional']['lists'] = 'done'; - metarefresh('optional.php'); - } - else { - // errors occured - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "



" . _("Back to list settings") . "

\n"; - echo "\n"; - exit; - } -} - - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

 

\n"; - - echo "

" . _("Please enter which attributes should be displayed in the list views.") . "

\n"; - echo "

" . _("This can be a list of predefined attributes which have a description and are translated or you can write your own description.") . - " " . _("Predefined attributes are of type \"#attribute\".") . - " " . _("If you want to input your own description it would look like this: \"attribute:description\".") . - "
" . _("The entries are separated by semicolons.") . - "


" . - _("Example") . - ": #homeDirectory;#uid;#uidNumber;#gidNumber;mail:Mail address


" . - _("Predefined values") . ":

" . - _("Users") . - ": #uid, #uidNumber, #gidNumber, #cn, #host, #givenName, #sn, #homeDirectory, #loginShell, #mail, #gecos". - "
" . - _("Groups") . - ": #cn, #gidNumber, #memberUID, #member, #description". - "
" . - _("Hosts") . - ": #uid, #cn, #rid, #description" . "

\n"; - echo "

 

\n"; - - echo (""); - -// user list attributes -echo ("". - ""); -echo ("\n"); -// group list attributes -echo ("". - ""); -echo ("\n"); -// host list attributes -echo ("". - ""); -echo ("\n"); - - echo "
". - _("Attributes in User List") . ":get_userlistAttributes() . "\">
". - _("Attributes in Group List") . ":get_grouplistAttributes() . "\">
". - _("Attributes in Host List") . ":get_hostlistAttributes() . "\">
\n"; - - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> - - - - - diff --git a/lam-0.4/templates/confwiz/o_ranges.php b/lam-0.4/templates/confwiz/o_ranges.php deleted file mode 100644 index 98e70add..00000000 --- a/lam-0.4/templates/confwiz/o_ranges.php +++ /dev/null @@ -1,164 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// check if user clicked on cancel button -if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - exit; -} - -// check if user clicked on next button -if ($_POST['submit']) { - $errors = array(); - if (!$_SESSION['confwiz_config']->set_minUID($_POST['minUID'])) { - $errors[] = _("Minimum UID number is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_maxUID($_POST['maxUID'])) { - $errors[] = _("Maximum UID number is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_minGID($_POST['minGID'])) { - $errors[] = _("Minimum GID number is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_maxGID($_POST['maxGID'])) { - $errors[] = _("Maximum GID number is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_minMachine($_POST['minMach'])) { - $errors[] = _("Minimum Machine number is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_maxMachine($_POST['maxMach'])) { - $errors[] = _("Maximum Machine number is invalid!"); - } - // if no errors save and go back to optional.php - if (sizeof($errors) < 1) { - $_SESSION['confwiz_config']->save(); - $_SESSION['confwiz_optional']['ranges'] = 'done'; - metarefresh('optional.php'); - } - else { - // errors occured - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "



" . _("Back to range settings") . "

\n"; - echo "\n"; - exit; - } -} - - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

 

\n"; - - echo "

" . _("Please enter the UID/GID ranges for your accounts:") . "

\n"; - echo "

 

\n"; - - echo (""); - - // minUID - echo ("\n"); - // maxUID - echo ("\n"); - // UID text - echo ("\n"); - // minGID - echo ("\n"); - // maxGID - echo ("\n"); - // GID text - echo ("\n"); - // minMach - echo ("\n"); - // maxMach - echo ("\n"); - // Machine text - echo ("\n"); - - echo "
". - _("Minimum UID number") . ": ". - "get_minUID() . "\"> " . _("Maximum UID number") . ": ". - "get_maxUID() . "\">" . _("Help") . "
". - _("Minimum GID number") . ": ". - "get_minGID() . "\"> " . _("Maximum GID number").": ". - "get_maxGID() . "\">" . _("Help") . "
". - _("Minimum Machine number") . ": ". - "get_minMachine() . "\"> " . _("Maximum Machine number") . ": ". - "get_maxMachine() . "\">" . _("Help") . "
\n"; - - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> - - - - diff --git a/lam-0.4/templates/confwiz/optional.php b/lam-0.4/templates/confwiz/optional.php deleted file mode 100644 index 2cf69886..00000000 --- a/lam-0.4/templates/confwiz/optional.php +++ /dev/null @@ -1,80 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - -// if no optional pages should be displayed go to ldaptest -if (sizeof($_SESSION['confwiz_optional']) < 1) { - metarefresh('ldaptest.php'); - exit; -} - -// UID/GID ranges -if ($_SESSION['confwiz_optional']['ranges'] == 'yes') { - metarefresh('o_ranges.php'); - exit; -} - -// list attributes -if ($_SESSION['confwiz_optional']['lists'] == 'yes') { - metarefresh('o_lists.php'); - exit; -} - -// language, admins -if ($_SESSION['confwiz_optional']['lang'] == 'yes') { - metarefresh('o_lang.php'); - exit; -} - -// lamdaemon and PDF text -if ($_SESSION['confwiz_optional']['daemon'] == 'yes') { - metarefresh('o_daemon.php'); - exit; -} - -// if all pages were displayed go to ldaptest -metarefresh('ldaptest.php'); - -?> - - - - diff --git a/lam-0.4/templates/confwiz/server.php b/lam-0.4/templates/confwiz/server.php deleted file mode 100644 index bbb0360f..00000000 --- a/lam-0.4/templates/confwiz/server.php +++ /dev/null @@ -1,204 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - - -// check if user clicked on buttons -if ($_POST['submit'] || $_POST['cancel']) { - unset($error); - unset($ret); - if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - } - else { - // check server URL - if ($_SESSION['confwiz_config']->set_serverURL($_POST['serverurl'])) { - // set Samba version - if ($_POST['sambaversion'] == "2") $_SESSION['confwiz_config']->set_samba3("no"); - else $_SESSION['confwiz_config']->set_samba3("yes"); - $_SESSION['confwiz_config']->set_Adminstring($_POST['ldapadmin']); - // save settings - $_SESSION['confwiz_config']->save(); - // create LDAP object and test connection - $_SESSION['confwiz_ldap'] = new Ldap($_SESSION['confwiz_config']); - $ret = $_SESSION['confwiz_ldap']->connect($_POST['ldapadmin'], $_POST['ldappwd']); - if ($ret === 0) { - metarefresh('server2.php'); - exit; - } - elseif ($ret === False) $error = _("Cannot connect to specified LDAP-Server. Please try again."); - elseif ($ret == 81) $error = _("Cannot connect to specified LDAP-Server. Please try again."); - elseif ($ret == 49) $error = _("Wrong Password/Username combination. Try again."); - else $error = _("LDAP error, server says:") . "\n
($ret) " . ldap_err2str($ret); - } - else { - $error = _("Server Address is empty!"); - } - // print error message if needed - if ($error) { - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - StatusMessage("ERROR", $error, ""); - echo "



" . _("Back to last page") . "

\n"; - echo "\n"; - } - // if all ok, go to next page - else { - metarefresh('server2.php'); - } - } - exit; -} - -// check if back button was pressed -$back = false; -if ($_GET['back'] || $_POST['back']) { - $back = true; - $auth = $_SESSION['confwiz_ldap']->decrypt_login(); -} - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; -// formular -echo "
\n"; - echo "

\n"; - echo "\n"; - - // server URL - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - - // admin user+password - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - - // master password - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "
\n"; - echo _("Please enter the URL of your LDAP server.") . "

" . - _("Examples") . ":

ldap://myserver.mydomain.org
ldaps://myserver.mydomain.org
localhost:389" . "\n"; - echo "
 
\n"; - echo "" . _("Server address") . ":\n"; - echo "\n"; - if ($back) echo "get_ServerURL() . "\">\n"; - else echo "\n"; - echo "
 
 
\n"; - echo _("To connect to your LDAP server please enter now the DN of your administrative user and the password.") . "\n"; - echo "
 
\n"; - echo "" . _("LDAP admin DN") . ":\n"; - echo "\n"; - if ($back) echo "\n"; - else echo "\n"; - echo "
\n"; - echo "" . _("Password") . ":\n"; - echo "\n"; - if ($back) echo "\n"; - else echo "\n"; - echo "
 
 
\n"; - echo _("Which Samba version do you use?") . "\n"; - echo "
 
\n"; - echo "" . _("Samba version") . ":\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> diff --git a/lam-0.4/templates/confwiz/server2.php b/lam-0.4/templates/confwiz/server2.php deleted file mode 100644 index eb13572c..00000000 --- a/lam-0.4/templates/confwiz/server2.php +++ /dev/null @@ -1,243 +0,0 @@ -password != $_SESSION['confwiz_masterpwd']) { - require("../config/conflogin.php"); - exit; -} - - -// check if user clicked on buttons -if ($_POST['submit'] || $_POST['cancel'] || $_POST['back']) { - unset($error); - unset($ret); - if ($_POST['cancel']) { - @unlink("../../config/" . $_SESSION['confwiz_config']->file . ".conf"); - metarefresh('../config/conflogin.php'); - } - elseif ($_POST['back']) { - metarefresh('server.php?back=true'); - } - else { - // set input values - $errors = array(); - if (!$_SESSION['confwiz_config']->set_UserSuffix($_POST['usersuffix'])) { - $error = _("UserSuffix is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_GroupSuffix($_POST['groupsuffix'])) { - $error = _("GroupSuffix is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_HostSuffix($_POST['hostsuffix'])) { - $error = _("HostSuffix is invalid!"); - } - if ($_SESSION['confwiz_config']->is_samba3() && !$_SESSION['confwiz_config']->set_DomainSuffix($_POST['domainsuffix'])) { - $error = _("DomainSuffix is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_pwdhash($_POST['pwdhash'])) { - $error = _("Password hash is invalid!"); - } - if (!$_SESSION['confwiz_config']->set_cacheTimeout($_POST['cachetimeout'])) { - $error = _("Cache timeout is invalid!"); - } - $_SESSION['confwiz_config']->save(); - // print error message if needed - if (sizeof($errors) > 0) { - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - for ($i = 0; $i < sizeof($errors); $i++) { - StatusMessage("ERROR", $errors[$i], ""); - } - echo "



" . _("Back to last page") . "

\n"; - echo "\n"; - } - // if all ok, go to next page - else { - $_SESSION['confwiz_optional'] = array(); - if ($_POST['ranges']) $_SESSION['confwiz_optional']['ranges'] = 'yes'; - if ($_POST['lists']) $_SESSION['confwiz_optional']['lists'] = 'yes'; - if ($_POST['lang']) $_SESSION['confwiz_optional']['lang'] = 'yes'; - if ($_POST['daemon']) $_SESSION['confwiz_optional']['daemon'] = 'yes'; - metarefresh('optional.php'); - } - } - exit; -} - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

\n"; - echo "\n"; - - // suffixes - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - if ($_SESSION['confwiz_config']->is_samba3()) { - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - } - - echo "\n"; - echo "\n"; - - // password hash - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - - // cache timeout - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "
\n"; - echo _("Please enter the suffixes of your LDAP tree where LAM should store the accounts."); - echo "
 
\n"; - echo "" . _("UserSuffix") . ":\n"; - echo "\n"; - echo "get_userSuffix() . "\">\n"; - echo "
\n"; - echo "" . _("GroupSuffix") . ":\n"; - echo "\n"; - echo "get_groupSuffix() . "\">\n"; - echo "
\n"; - echo "" . _("HostSuffix") . ":\n"; - echo "\n"; - echo "get_hostSuffix() . "\">\n"; - echo "
\n"; - echo "" . _("DomainSuffix") . ":\n"; - echo "\n"; - echo "get_domainSuffix() . "\">\n"; - echo "
 
 
\n"; - echo _("LAM supports CRYPT, SHA, SSHA, MD5 and SMD5 to generate the hash value of an user password. SSHA and CRYPT are the most common but CRYPT does not support passwords greater than 8 letters. We do not recommend to use plain text passwords.") . "\n"; - echo "
 
\n"; - echo "" . _("Password hash type") . ":\n"; - echo "\n"; - echo "\n"); - echo "
 
 
\n"; - echo _("LAM caches its LDAP searches, you can set the cache time here. Shorter times will stress LDAP more but decrease the possibility that changes are not identified.") . "\n"; - echo "
 
\n"; - echo "" . _("Cache timeout") . ":\n"; - echo "\n"; - echo "\n"); - echo "
\n"; - - echo "


\n"; - -// optional pages - echo "
" . _("Optional settings") . "\n"; - echo "

" . _("Please select here if you want to make additional changes to your configuration profile or if LAM should use default values.") . - "

\n"; - echo "" . _("Ranges for UID and GID numbers") . "
\n"; - echo "" . _("Attributes in list views") . "
\n"; - echo "" . _("Language and additional admin users") . "
\n"; - echo "" . _("Lamdaemon settings and PDF text") . "
\n"; - echo "
\n"; - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> diff --git a/lam-0.4/templates/confwiz/start.php b/lam-0.4/templates/confwiz/start.php deleted file mode 100644 index 802cd205..00000000 --- a/lam-0.4/templates/confwiz/start.php +++ /dev/null @@ -1,189 +0,0 @@ -password != $_POST['masterpwd']) { - $error = _("Master password is wrong!"); - } - // check if passwords are equal and not empty - elseif ($_POST['passwd1'] && ($_POST['passwd1'] != "") && ($_POST['passwd1'] == $_POST['passwd2'])) { - // check if profile name is valid - if (eregi("^[a-z0-9\-_]+$", $_POST['profname']) && !in_array($_POST['profname'], getConfigProfiles())) { - // create new profile file - @copy("../../config/lam.conf_sample", "../../config/" . $_POST['profname'] . ".conf"); - @chmod ("../../config/" . $_POST['profname'] . ".conf", 0600); - $file = is_file("../../config/" . $_POST['profname'] . ".conf"); - if ($file) { - // load as config and write new password - $conf = new Config($_POST['profname']); - $conf->Passwd = $_POST['passwd1']; - $conf->save(); - $_SESSION['confwiz_config'] = $conf; - $_SESSION['confwiz_masterpwd'] = $_POST['masterpwd']; - } - else $error = _("Unable to create new profile!"); - } - else $error = _("Profile name is invalid!"); - } - else $error = _("Profile passwords are different or empty!"); - // print error message if needed - if ($error) { - echo $_SESSION['header']; - echo "\n"; - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; - StatusMessage("ERROR", $error, ""); - echo "



" . _("Back to profile login") . "

\n"; - echo "\n"; - } - // if all ok, go to next page - else { - metarefresh('server.php'); - } - } - exit; -} - -// remove variables of older wizard calls -unset($_SESSION['conwiz_masterpwd']); -unset($_SESSION['confwiz_config']); - -echo $_SESSION['header']; - - echo "\n"; - echo _("Configuration wizard"); - echo "\n"; - echo "\n"; -echo "\n"; -echo "\n"; - echo "

\n"; - echo "\"LDAP\n"; - echo "

\n"; - echo "
\n"; - -// formular -echo "
\n"; - echo "

" . _("Welcome to LAM Configuration wizard.") . "

\n"; - echo "

\n"; - echo "This druid will help you to create a configuration file for LAM and set up LDAP.\n"; - echo "

\n"; - echo "

\n"; - echo "\n"; - - // profile name - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - - // password - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - - // master password - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "
\n"; - echo _("Please enter a name for the new profile. The name may contain letters, digits and -_.") . "\n"; - echo "
 
\n"; - echo "" . _("Profile name") . ":\n"; - echo "\n"; - echo "\n"; - echo "
 
\n"; - echo _("Configuration profiles are protected with a password from unauthorised access. Please enter it here.") . "\n"; - echo "
 
\n"; - echo "" . _("Password") . ":\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - echo "" . _("Reenter Password") . ":\n"; - echo "\n"; - echo "\n"; - echo "
 
 
\n"; - echo _("Please enter your configuration master password. This password is \"lam\" by default.") . "\n"; - echo "
 
\n"; - echo "" . _("Master password") . ":\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - - echo "


\n"; - -// next/cancel button - echo "

\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - -echo "
\n"; - -echo "\n\n"; - -?> diff --git a/lam-0.4/templates/delete.php b/lam-0.4/templates/delete.php deleted file mode 100644 index 44d5f048..00000000 --- a/lam-0.4/templates/delete.php +++ /dev/null @@ -1,253 +0,0 @@ -'; -echo _('Delete Account'); -echo ''."\n". - ''."\n". - ''."\n". - ''."\n". - '
'."\n"; - - -if ($_GET['type']) { - // $_GET['type'] is true if delete.php was called from *list.php - // Store $_GET['type'] as $_POST['type'] - // Replace wrong chars from Session - echo ''; - switch ($_GET['type']) { - // Select which layout and text should be displayed - case 'user': - echo "
"; - echo _('Delete user(s)'); - echo "\n"; - echo ''._('Do you really want to delete user(s):').''; - break; - case 'host': - echo "
"; - echo _('Delete host(s)'); - echo "\n"; - echo ''._('Do you really want to delete host(s):').''; - break; - case 'group': - echo "
"; - echo _('Delete group(s)'); - echo "\n"; - echo ''._('Do you really want to delete group(s):').''; - break; - } - echo "
\n"; - // display all DNs in a tables - echo "\n"; - foreach ($delete_dn as $dn) echo ''; - echo "
'.$dn.'
\n"; - - // Ask if lam should delete homedirs if users are deleted and lamdaemon.pl is in use - if (($_GET['type']== user) && $config_intern->scriptServer) { - echo "
\n"; - echo "\n"; - echo ''."\n".''."\n"; - echo "
'; - echo _('Delete also Homedirectories'); - echo ''. - '
\n"; - } - - // Print buttons - echo "
\n"; - echo ''; - echo ' '; - echo "
\n"; - } - - -if ($_POST['delete_yes']) { - // deletion has been confirmed. - switch ($_POST['type']) { - case 'user': - echo "
"; - echo _('Deleting user(s)...'); - echo "\n"; - break; - case 'host': - echo "
"; - echo _('Deleting host(s)...'); - echo "\n"; - break; - case 'group': - echo "
"; - echo _('Deleting group(s)...'); - echo "\n"; - break; - } - // Store kind of DNs - echo ''; - echo "
\n"; - // Loop for every DN which should be deleted - foreach ($delete_dn as $dn) { - switch ($_POST['type']) { - case 'user': - // Get username from DN - $temp=explode(',', $dn); - $username = str_replace('uid=', '', $temp[0]); - // Fill array with groupnames - $usernames[] = $username; - // Search for groups which have memberUid set to username - $result = ldap_search($ldap_intern->server(), $config_intern->get_GroupSuffix(), "(&(objectClass=PosixGroup)(memberUid=$username))", array('')); - $entry = ldap_first_entry($ldap_intern->server(), $result); - // loop for every found group and remove membership - while ($entry) { - $success = ldap_mod_del($ldap_intern->server(), ldap_get_dn($ldap_intern->server(), $entry) , array('memberUid' => $username)); - // *** fixme add error-message if memberUid couldn't be deleted - $entry = ldap_next_entry($ldap_intern->server(), $entry); - } - if ($config_intern->scriptServer && isset($username)) { - // Remove homedir if required - if ($_POST['f_rem_home']) remhomedir($username); - // Remove quotas if lamdaemon.pl is used - remquotas($username, 'user'); - } - // Delete user itself - $success = ldap_delete($ldap_intern->server(), $dn); - if (!$success) $error = _('Could not delete user:').' '.$dn; - break; - case 'host': - // Delete host itself - $success = ldap_delete($ldap_intern->server(), $dn); - if (!$success) $error = _('Could not delete host:').' '.$dn; - break; - case 'group': - /* First we have to check if any user uses $group - * as primary group. It's not allowed to delete a - * group if it still contains primaty members - */ - $temp=explode(',', $dn); - $groupname = str_replace('cn=', '', $temp[0]); - // Fill array with groupnames - $usernames[] = $groupname; - // Get group GIDNumber - $groupgid = getgid($groupname); - // Search for users which have gid set to current gid - $result = ldap_search($ldap_intern->server(), $config_intern->get_UserSuffix(), "gidNumber=$groupgid", array('')); - // Print error if still users in group - if (!$result) $error = _('Could not delete group. Still users in group:').' '.$dn; - else { - // Remove quotas if lamdaemon.pl is used - if ($config_intern->scriptServer && isset($groupname)) { - remquotas($groupname, 'group'); - } - // Delete group itself - $success = ldap_delete($ldap_intern->server(), $dn); - if (!$success) $error = _('Could not delete group:').' '.$dn; - } - break; - } - // Remove DNs from cache-array - if ($success && isset($_SESSION[$_POST['type'].'DN'][$dn])) unset($_SESSION[$_POST['type'].'DN'][$dn]); - // Display success or error-message - if (!$error) echo "\n"; - else echo "\n"; - } - echo "
$dn ". _('deleted').".
$error

\n"; - switch ($_POST['type']) { - // Select which page should be displayd if back-button will be pressed - case 'user': - echo ''; - break; - case 'group': - echo ''; - break; - case 'host': - echo ''; - break; - } - echo "
\n"; - } - -if ($_POST['delete_no']) { - // Delete no accounts - echo ''; - switch ($_POST['type']) { - // Select which page should be displayd if back-button will be pressed - case 'user': - echo "
"; - echo _('Deleting user(s) canceled.'); - echo "\n"; - echo _('No user(s) were deleted'); - echo "
"; - echo ''; - break; - case 'host': - echo "
"; - echo _('Deleting host(s) canceled.'); - echo "\n"; - echo _('No host(s) were deleted'); - echo "
"; - echo ''; - break; - case 'group': - echo "
"; - echo _('Deleting group(s) canceled.'); - echo "\n"; - echo _('No group(s) were deleted'); - echo "
"; - echo ''; - break; - } - echo "
\n"; - } - -echo ''."\n"; -?> diff --git a/lam-0.4/templates/domain.php b/lam-0.4/templates/domain.php deleted file mode 100644 index ce46cbfe..00000000 --- a/lam-0.4/templates/domain.php +++ /dev/null @@ -1,312 +0,0 @@ -search_domains($_SESSION['config']->get_domainSuffix()); - // get possible suffixes - $domsuff = $_SESSION['ldap']->search_units($_SESSION['config']->get_domainSuffix()); - if ($_GET['action'] == "edit") { - // remove "\'" - $_GET['DN'] = str_replace("\\", "", $_GET['DN']); - $_GET['DN'] = str_replace("'", "", $_GET['DN']); - // load attributes from domain - for ($i = 0; $i < sizeof($domlist); $i++) { - if ($domlist[$i]->dn == $_GET['DN']) { - $domain = $domlist[$i]; - break; - } - } - // get suffix - $tmp_arr = explode(",", $domain->dn); - array_shift($tmp_arr); - $domain_suffix = implode(",", $tmp_arr); - } - else { - $domain = new samba3domain(); - $domain_suffix = $_SESSION['config']->get_domainSuffix(); - } - // display page - echo $_SESSION['header']; - echo "Domain Management\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // print message, if needed - if ($_SESSION['domain_message']) StatusMessage("INFO", $_SESSION['domain_message'], ""); - // print fieldset - echo "
\n"; - echo "

 

\n"; - echo "
\n"; - echo "" . _("Domain Settings") . "\n"; - echo "\n"; - // domain name - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // domain SID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // next RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - // next user RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - // next group RID - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // algorithmic RID base - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // domain suffix - echo "\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - echo "" . _("Domain name") . ":\n"; - echo "\n"; - if ($_GET['action'] == "edit") { - echo $domain->name . "\n"; - } - else echo "\n"; - echo "" . _("Help") . "
  
\n"; - echo "" . _("Domain SID") . ": \n"; - echo "\n"; - if ($_GET['action'] == "edit") { - echo $domain->SID . "\n"; - } - else echo "\n"; - echo "" . _("Help") . "
  
" . _("Next RID") . ": \n"; - echo "nextRID . "\">\n"; - echo "" . _("Help") . "
" . _("Next User RID") . ": \n"; - echo "nextUserRID . "\">\n"; - echo "" . _("Help") . "
" . _("Next Group RID") . ": \n"; - echo "nextGroupRID . "\">\n"; - echo "" . _("Help") . "
  
" . _("Algorithmic RID Base") . ": \n"; - if ($_GET['action'] == "edit") echo $domain->RIDbase . "\n"; - else echo "RIDbase . "\">\n"; - echo "" . _("Help") . "
  
\n"; - echo "" . _("Suffix") . ": \n"; - echo "\n"; - echo ""; - echo "" . _("Help") . "
  
\n"; - echo "
\n"; - // post DN and old RID values - echo "dn . "\">"; - echo "nextRID . "\">"; - echo "nextUserRID . "\">"; - echo "nextGroupRID . "\">"; - // edit or add operation - if ($_GET['action'] == "edit") echo ""; - else echo ""; - echo "

 

\n"; - echo "

\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "

\n"; - echo "
\n"; - echo "\n"; - echo "\n"; -} - - -// delete domain, ask if sure -elseif ($_GET['action'] == "delete") { - // remove "\'" and make array - $DNs = str_replace("\\", "", $_GET['DN']); - $DNs = str_replace("'", "", $DNs); - $DNs = explode(";", $DNs); - // display page - echo $_SESSION['header']; - echo "Domain Management\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "

 

\n"; - echo "
" . _("Delete domain(s)") . "\n"; - echo "

" . _("Do you really want to delete domain(s):") . "

\n"; - echo "

 

\n"; - for ($i = 0; $i < sizeof($DNs); $i++) { - echo "

" . $DNs[$i] . "

\n"; - } - echo "

 

\n"; - echo "
\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "
\n"; - echo "
\n"; - echo "\n"; - echo "\n"; -} - - -// save domain -elseif ($_POST['sub_save']) { - echo $_SESSION['header']; - echo "Domain Management\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // check input - if ($_POST['add']) { // check for existing domains - $suffix = $_SESSION['config']->get_DomainSuffix(); - $server = $_SESSION['ldap']->server; - $filter = "(|(sambasid=" . $_POST['dom_SID'] . ")(sambadomainname=" . $_POST['dom_name'] . "))"; - $sr = @ldap_search($server, $suffix, $filter, array()); - $info = @ldap_get_entries($_SESSION["ldap"]->server, $sr); - } - if ($_POST['add'] && !eregi("^[a-z0-9_\\-]+$", $_POST['dom_name'])) StatusMessage("ERROR", "", _("Domain name is invalid!")); - elseif ($_POST['add'] && !eregi("^S-[0-9]-[0-9]-[0-9]{2,2}-[0-9]*-[0-9]*-[0-9]*$", $_POST['dom_SID'])) { - StatusMessage("ERROR", "", _("Samba 3 domain SID is invalid!")); - } - elseif ($_POST['add'] && ($info["count"] > 0)) { - StatusMessage("ERROR", "", _("This Samba 3 domain is already present!")); - } - elseif ($_POST['dom_nextRID'] && !is_numeric($_POST['dom_nextRID'])) StatusMessage("ERROR", "", _("Next RID is not a number!")); - elseif ($_POST['dom_nextUserRID'] && !is_numeric($_POST['dom_nextUserRID'])) StatusMessage("ERROR", "", _("Next user RID is not a number!")); - elseif ($_POST['dom_nextGroupRID'] && !is_numeric($_POST['dom_nextGroupRID'])) StatusMessage("ERROR", "", _("Next group RID is not a number!")); - elseif ($_POST['add'] && !is_numeric($_POST['dom_RIDbase'])) StatusMessage("ERROR", "", _("Algorithmic RID base is not a number!")); - // edit entry - elseif ($_POST['edit'] == "yes") { - $success = true; - // change attributes - $attr = array(); - if ($_POST['dom_nextRID'] != $_POST['dom_oldnextRID']) $attr['sambaNextRid'] = $_POST['dom_nextRID']; - if ($_POST['dom_nextUserRID'] != $_POST['dom_oldnextUserRID']) $attr['sambaNextUserRid'] = $_POST['dom_nextUserRID']; - if ($_POST['dom_nextGroupRID'] != $_POST['dom_oldnextGroupRID']) $attr['sambaNextGroupRid'] = $_POST['dom_nextGroupRID']; - if (sizeof($attr) > 0) $success = ldap_modify($_SESSION['ldap']->server(), $_POST['dom_DN'], $attr); - // change suffix - $RDN = explode(",", $_POST['dom_DN']); - $RDN = $RDN[0]; - $newDN = $RDN . "," . $_POST['dom_suffix']; - if ($_POST['dom_DN'] != $newDN) { - $success = ldap_rename($_SESSION['ldap']->server(), $_POST['dom_DN'], $RDN, $_POST['dom_suffix'], true); - } - if ($success) StatusMessage("INFO", _("Domain has been modified."), $DN); - else StatusMessage("ERROR", "", _("Failed to modify domain!")); - } - // add entry - else { - $DN = "sambaDomainName" . "=" . $_POST['dom_name'] . "," . $_POST['dom_suffix']; - $attr = array(); - $attr['objectclass'] = "sambaDomain"; - $attr['sambaDomainName'] = $_POST['dom_name']; - $attr['sambaSID'] = $_POST['dom_SID']; - if ($_POST['dom_nextRID']) $attr['sambaNextRid'] = $_POST['dom_nextRID']; - if ($_POST['dom_nextGroupRID']) $attr['sambaNextGroupRid'] = $_POST['dom_nextGroupRID']; - if ($_POST['dom_nextUserRID']) $attr['sambaNextUserRid'] = $_POST['dom_nextUserRID']; - $attr['sambaAlgorithmicRidBase'] = $_POST['dom_RIDbase']; - // write to LDAP - if (@ldap_add($_SESSION['ldap']->server(), $DN, $attr)) { - StatusMessage("INFO", "Domain has been created.", $DN); - } - else StatusMessage("ERROR", "", _("Failed to add domain!") . "\n
" . ldap_error($_SESSION['ldap']->server())); - } - echo "

 

\n"; - echo "

" . _("Back to domain list") . "

\n"; - echo "\n"; - echo "\n"; -} - - -// back to list -elseif ($_POST['sub_back']) { - metaRefresh("lists/listdomains.php"); -} - - -// delete domain, user was sure -elseif ($_POST['sub_delete']) { - $DNs = explode(";", $_POST['delDN']); - // display page - echo $_SESSION['header']; - echo "Domain Management\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // delete DNs - for ($i = 0; $i < sizeof($DNs); $i++) { - if (ldap_delete($_SESSION['ldap']->server(), $DNs[$i])) StatusMessage("INFO", _("Domain deleted successfully."), $DNs[$i]); - else StatusMessage("ERROR", _("Unable to delete domain!"), $DNs[$i]); - } - echo "

 

\n"; - echo "

" . _("Back to domain list") . "

\n"; - echo "\n"; - echo "\n"; -} - -?> diff --git a/lam-0.4/templates/help.php b/lam-0.4/templates/help.php deleted file mode 100644 index 27964637..00000000 --- a/lam-0.4/templates/help.php +++ /dev/null @@ -1,111 +0,0 @@ - - LDAP Account Manager Help Center - - - - - - -" . $helpArray[$helpNumber]['Headline'] . "\n"; - $format = "

" . $helpArray[$helpNumber]['Text'] . "

\n"; - printf($format,$helpArray[$helpNumber]['variables'][0],$helpArray[$helpNumber]['variables'][1],$helpArray[$helpNumber]['variables'][2],$helpArray[$helpNumber]['variables'][3],$helpArray[$helpNumber]['variables'][4],$helpArray[$helpNumber]['variables'][5],$helpArray[$helpNumber]['variables'][6],$helpArray[$helpNumber]['variables'][7],$helpArray[$helpNumber]['variables'][8],$helpArray[$helpNumber]['variables'][9]); - //echo "

" . $helpArray[$helpNumber]['Text'] . "

\n"; - if($helpArray[$helpNumber]["SeeAlso"] <> "") - { - echo "

" . _("See also") . ": " . $helpArray[$helpNumber]['SeeAlso'] . "

\n"; - } - echoHTMLFoot(); - } - /* Load external help page */ - elseif($helpArray[$helpNumber]["ext"] == "TRUE") - { - echoHTMLHead(); - include_once("../help/" . $helpArray[$helpNumber]["Link"]); - echoHTMLFoot(); - } - /* Print empty page in all other cases */ - else - { - echoHTMLHead(); - echoHTMLFoot(); - } -} - -displayHelp($_GET['HelpNumber']); - -?> diff --git a/lam-0.4/templates/initsuff.php b/lam-0.4/templates/initsuff.php deleted file mode 100644 index dedad13b..00000000 --- a/lam-0.4/templates/initsuff.php +++ /dev/null @@ -1,202 +0,0 @@ -server, $new_suff[$i], "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if ($res) continue; - $suff = $new_suff[$i]; - // generate DN and attributes - $tmp = explode(",", $suff); - $name = explode("=", $tmp[0]); - array_shift($tmp); - $end = implode(",", $tmp); - if ($name[0] != "ou") { // add root entry - $attr = array(); - $attr[$name[0]] = $name[1]; - $attr['objectClass'] = 'organization'; - $dn = $suff; - if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - continue; - } - } - else { // add organizational unit - $name = $name[1]; - $attr = array(); - $attr['objectClass'] = "organizationalunit"; - $attr['ou'] = $name; - $dn = $suff; - if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) { - // check if we have to add parent entries - if (ldap_errno($_SESSION['ldap']->server()) == 32) { - $temp = explode(",", $suff); - $subsuffs = array(); - // make list of subsuffixes - for ($k = 0; $k < sizeof($temp); $k++) { - $part = explode("=", $temp[$k]); - if ($part[0] == "ou") $subsuffs[] = implode(",", array_slice($temp, $k)); - else { - $subsuffs[] = implode(",", array_slice($temp, $k)); - break; - } - } - // create missing entries - for ($k = sizeof($subsuffs) - 1; $k >= 0; $k--) { - // check if subsuffix is present - $info = @ldap_search($_SESSION['ldap']->server, $subsuffs[$k], "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if (!$res) { - $suffarray = explode(",", $subsuffs[$k]); - $headarray = explode("=", $suffarray[0]); - if ($headarray[0] == "ou") { // add ou entry - $attr = array(); - $attr['objectClass'] = 'organizationalunit'; - $attr['ou'] = $headarray[1]; - $dn = $subsuffs[$k]; - if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['ldap']->server()); - break; - } - } - else { // add root entry - $attr = array(); - $attr['objectClass'][] = 'organization'; - $attr[$headarray[0]] = $headarray[1]; - if ($headarray[0] == "dc") { - $attr['o'] = $headarray[1]; - $attr['objectClass'][] = 'dcObject'; - } - $dn = $subsuffs[$k]; - if (!@ldap_add($_SESSION['ldap']->server(), $dn, $attr)) { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['ldap']->server()); - break; - } - } - } - } - } - else { - $fail[] = $suff; - $error[] = ldap_error($_SESSION['ldap']->server()); - } - } - } - } - } - echo $_SESSION['header']; - echo "initsuff\n"; - echo "\n"; - echo "\n\n"; - // print error/success messages - if ($_POST['add_suff']) { - if (sizeof($fail) > 0) { - // print error messages - for ($i = 0; $i < sizeof($fail); $i++) { - StatusMessage("ERROR", _("Failed to create entry!") . "
" . $error[$i], $fail[$i]); - } - echo "

 

\n"; - echo "" . _("User list") . "\n"; - echo "\n"; - } - else { - // print success message - StatusMessage("INFO", "", _("All changes were successful.")); - if ($_SESSION['config']->is_samba3()) { - $doms = $_SESSION['ldap']->search_domains($_SESSION['config']->get_domainSuffix()); - echo "

 

\n"; - if (sizeof($doms) == 0) { - echo "" . _("No domains found, please create one.") . "\n"; - } - else { - echo "" . _("User list") . "\n"; - } - echo "\n"; - } - else { - echo "

 

\n"; - echo "" . _("User list") . "\n"; - echo "\n"; - } - } - } - else { - // no suffixes were created - StatusMessage("INFO", "", _("No changes were made.")); - echo "

 

\n"; - echo "" . _("User list") . "\n"; - echo "\n"; - } - exit; -} - -// first show of page -$new_suff = $_GET['suffs']; -$new_suff = str_replace("\\", "", $new_suff); -$new_suff = str_replace("'", "", $new_suff); -$new_suff = explode(";", $new_suff); - -echo $_SESSION['header']; -echo "initsuff\n"; -echo "\n"; -echo "\n"; - echo "

 

\n"; - echo "

" . _("The following suffix(es) are missing in LDAP. LAM can create them for you.") . "

\n"; - echo "

 

\n"; - // print missing suffixes - for ($i = 0; $i < sizeof($new_suff); $i++) { - echo "

" . $new_suff[$i] . "

\n"; - } - echo "

 

\n"; - echo "
\n"; - echo "\n"; - echo ""; - echo ""; - echo "
\n"; -echo "\n"; -?> diff --git a/lam-0.4/templates/lists/listdomains.php b/lam-0.4/templates/lists/listdomains.php deleted file mode 100644 index cee3c073..00000000 --- a/lam-0.4/templates/lists/listdomains.php +++ /dev/null @@ -1,275 +0,0 @@ -listdomains\n"; -echo "\n"; -echo "\n"; -echo "\n"; - -// get current page -$page = $_GET["page"]; -if (!$page) $page = 1; -// take maximum count of domain entries shown on one page out of session -if ($_SESSION["config"]->get_MaxListEntries() <= 0) - $max_pageentrys = 10; // default setting, if not yet set -else - $max_pageentrys = $_SESSION["config"]->get_MaxListEntries(); - - -// generate attribute and description tables -$attr_array = array(); // list of LDAP attributes to show -$desc_array = array(); // list of descriptions for the attributes -$attr_array[] = "sambaDomainName"; -$attr_array[] = "sambaSID"; -$attr_array[] = "dn"; -$desc_array[] = strtoupper(_("Domain name")); -$desc_array[] = strtoupper(_("Domain SID")); -$desc_array[] = "DN"; - -// check search suffix -if ($_POST['dom_suffix']) $dom_suffix = $_POST['dom_suffix']; // new suffix selected via combobox -elseif ($_SESSION['dom_suffix']) $dom_suffix = $_SESSION['dom_suffix']; // old suffix from session -else $dom_suffix = $_SESSION["config"]->get_DomainSuffix(); // default suffix - -// first time page is shown -if (! $_GET['norefresh']) { - // configure search filter - $filter = "(objectClass=sambaDomain)"; - $attrs = $attr_array; - $sr = @ldap_search($_SESSION["ldap"]->server(), $dom_suffix, $filter, $attrs); - if (ldap_errno($_SESSION["ldap"]->server()) == 4) { - StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem.")); - } - if ($sr) { - $dom_info = ldap_get_entries($_SESSION["ldap"]->server, $sr); - ldap_free_result($sr); - if ($dom_info["count"] == 0) StatusMessage("WARN", "", _("No Samba Domains found!")); - // delete first array entry which is "count" - array_shift($dom_info); - // sort rows by sort column ($sort) - usort($dom_info, "cmp_array"); - } - else StatusMessage("ERROR", _("LDAP Search failed! Please check your preferences."), _("No Samba Domains found!")); -} -// use search result from session -else { - if (sizeof($dom_info) == 0) StatusMessage("WARN", "", _("No Samba Domains found!")); - // sort rows by sort column ($sort) - if ($dom_info) usort($dom_info, "cmp_array"); -} - -echo ("
\n"); - -// draw navigation bar if domain accounts were found -if (sizeof($dom_info) > 0) { -draw_navigation_bar(sizeof($dom_info)); -echo ("
\n"); -} - -// print domain table header -echo "\n"; -echo ""; -// table header -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (strtolower($attr_array[$k]) == $sort) { - echo ""; - } - else echo ""; -} -echo "\n"; - -// calculate which rows to show -$table_begin = ($page - 1) * $max_pageentrys; -if (($page * $max_pageentrys) > sizeof($dom_info)) $table_end = sizeof($dom_info); -else $table_end = ($page * $max_pageentrys); - -// print domain list -for ($i = $table_begin; $i < $table_end; $i++) { - echo("" . - " " . - " "); - for ($k = 0; $k < sizeof($attr_array); $k++) { - echo (""); - } - echo("\n"); -} -echo ("
" . $desc_array[$k] . "" . $desc_array[$k] . "
" . _("Edit") . ""); - // print all attribute entries seperated by "; " - if (sizeof($dom_info[$i][strtolower($attr_array[$k])]) > 0) { - // delete first array entry which is "count" - if ((! $_GET['norefresh']) && (is_array($dom_info[$i][strtolower($attr_array[$k])]))) array_shift($dom_info[$i][strtolower($attr_array[$k])]); - if (is_array($dom_info[$i][strtolower($attr_array[$k])])) echo implode("; ", $dom_info[$i][strtolower($attr_array[$k])]); - else echo $dom_info[$i][strtolower($attr_array[$k])]; - } - echo ("
"); - -echo ("
"); - -// draw navigation bar if domain accounts were found -if (sizeof($dom_info) > 0) { -draw_navigation_bar(sizeof($dom_info)); -echo ("
\n"); -} - -if (! $_GET['norefresh']) { - // generate list of possible suffixes -$dom_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_DomainSuffix()); -} - -// print combobox with possible sub-DNs -if (sizeof($dom_units) > 1) { - echo ("

\n"); - echo ("" . _("Suffix") . ": "); - echo ("\n"); - echo (""); - echo ("

\n"); - echo ("

 

\n"); -} - -echo ("

\n"); -echo ("\n"); -if (sizeof($dom_info) > 0) echo ("\n"); -echo ("

\n"); - -echo ("
\n"); -echo "\n"; - -/** - * @brief draws a navigation bar to switch between pages - * - * - * @return void - */ -function draw_navigation_bar ($count) { - global $max_pageentrys; - global $page; - global $sort; - - echo ("\n"); - echo ("\n"); - echo (""); - - echo (""); - - echo ("
  "); - if ($page != 1) - echo ("<=\n"); - else - echo ("<="); - echo (" "); - - if ($page < ($count / $max_pageentrys)) - echo ("=>\n"); - else - echo ("=>"); - echo " " . $count . " " . _("Samba Domain(s) found"); - echo (""); - for ($i = 0; $i < ($count / $max_pageentrys); $i++) { - if ($i == $page - 1) - echo (" " . ($i + 1)); - else - echo (" " . ($i + 1) . "\n"); - } - echo ("
\n"); -} - -// compare function used for usort-method -// rows are sorted with the first attribute entry of the sort column -// if objects have attributes with multiple values the others are ignored -function cmp_array($a, $b) { - // sort specifies the sort column - global $sort; - global $attr_array; - // sort by first column if no attribute is given - if (!$sort) $sort = strtolower($attr_array[0]); - if ($sort != "dn") { - // sort by first attribute with name $sort - if ($a[$sort][0] == $b[$sort][0]) return 0; - else if ($a[$sort][0] == max($a[$sort][0], $b[$sort][0])) return 1; - else return -1; - } - else { - if ($a[$sort] == $b[$sort]) return 0; - else if ($a[$sort] == max($a[$sort], $b[$sort])) return 1; - else return -1; - } -} - - -// save variables to session -$_SESSION['dom_info'] = $dom_info; -$_SESSION['dom_units'] = $dom_units; -$_SESSION['dom_suffix'] = $dom_suffix; - -?> diff --git a/lam-0.4/templates/lists/listgroups.php b/lam-0.4/templates/lists/listgroups.php deleted file mode 100644 index d69438de..00000000 --- a/lam-0.4/templates/lists/listgroups.php +++ /dev/null @@ -1,392 +0,0 @@ - 0) { - metaRefresh("../delete.php?type=group"); - exit; - } - } - // PDF for selected groups - elseif ($_POST['pdf_group']){ - // search for checkboxes - $hosts = array_keys($_POST, "on"); - $list = array(); - // load groups from LDAP - for ($i = 0; $i < sizeof($hosts); $i++) { - $list[$i] = loadgroup($hosts[$i]); - } - if (sizeof($list) > 0) { - createGroupPDF($list); - exit; - } - } - // PDF for all groups - elseif ($_POST['pdf_all']){ - $list = array(); - for ($i = 0; $i < sizeof($_SESSION['grp_info']); $i++) { - $list[$i] = loadgroup($_SESSION['grp_info'][$i]['dn']); - } - if (sizeof($list) > 0) { - createGroupPDF($list); - exit; - } - } -} - -echo $_SESSION['header']; -echo "listgroups\n"; -echo "\n"; -echo "\n"; -echo "\n"; - -// generate attribute-description table -$attr_array = array(); // list of LDAP attributes to show -$desc_array = array(); // list of descriptions for the attributes -$attr_string = $_SESSION["config"]->get_grouplistAttributes(); -$temp_array = explode(";", $attr_string); -$hash_table = $_SESSION["ldap"]->attributeGroupArray(); - -// get current page -$page = $_GET["page"]; -if (!$page) $page = 1; -// take maximum count of group entries shown on one page out of session -if ($_SESSION["config"]->get_MaxListEntries() <= 0) - $max_pageentrys = 10; // default setting, if not yet set -else - $max_pageentrys = $_SESSION["config"]->get_MaxListEntries(); - -// generate column attributes and descriptions -for ($i = 0; $i < sizeof($temp_array); $i++) { - // if value is predifined, look up description in hash_table - if (substr($temp_array[$i],0,1) == "#") { - $attr = strtolower(substr($temp_array[$i],1)); - $attr_array[$i] = $attr; - if ($hash_table[$attr]) $desc_array[] = strtoupper($hash_table[$attr]); - else $desc_array[] = strtoupper($attr); - } - // if not predefined, the attribute is seperated by a ":" from description - else { - $attr = explode(":", $temp_array[$i]); - $attr_array[$i] = $attr[0]; - if ($attr[1]) $desc_array[$i] = strtoupper($attr[1]); - else $desc_array[$i] = strtoupper($attr[0]); - } -} - -// check search suffix -if ($_POST['grp_suffix']) $grp_suffix = $_POST['grp_suffix']; // new suffix selected via combobox -elseif ($_SESSION['grp_suffix']) $grp_suffix = $_SESSION['grp_suffix']; // old suffix from session -else $grp_suffix = $_SESSION["config"]->get_GroupSuffix(); // default suffix - -// generate search filter for sort links -$searchfilter = ""; -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) { - $searchfilter = $searchfilter . "&filter" . strtolower($attr_array[$k]) . "=". - $_POST["filter" . strtolower($attr_array[$k])]; - } -} - -if (! $_GET['norefresh']) { - // configure search filter - // Groups have the attribute "posixGroup" - $filter = "(&(objectClass=posixGroup)"; - for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) - $filter = $filter . "(" . strtolower($attr_array[$k]) . "=" . - $_POST["filter" . strtolower($attr_array[$k])] . ")"; - else - $_POST["filter" . strtolower($attr_array[$k])] = ""; - } - $filter = $filter . ")"; - $attrs = $attr_array; - $sr = @ldap_search($_SESSION["ldap"]->server(), $grp_suffix, $filter, $attrs); - if (ldap_errno($_SESSION["ldap"]->server()) == 4) { - StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem.")); - } - if ($sr) { - $grp_info = ldap_get_entries($_SESSION["ldap"]->server, $sr); - ldap_free_result($sr); - if ($grp_info["count"] == 0) StatusMessage("WARN", "", _("No Groups found!")); - // delete first array entry which is "count" - array_shift($grp_info); - // sort rows by sort column ($sort) - usort($grp_info, "cmp_array"); - } - else { - $grp_info = array(); - $_SESSION['grp_info'] = array(); - StatusMessage("ERROR", _("LDAP Search failed! Please check your preferences."), _("No Groups found!")); - } -} -else { - if (sizeof($grp_info) == 0) StatusMessage("WARN", "", _("No Groups found!")); - // sort rows by sort column ($sort) - if ($grp_info) usort($grp_info, "cmp_array"); -} - -echo ("
\n"); - -// draw navigation bar if group accounts were found -if (sizeof($grp_info) > 0) { -draw_navigation_bar(sizeof($grp_info)); -echo ("
"); -} - -// print group table header -echo "\n"; -echo ""; -// table header -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (strtolower($attr_array[$k]) == $sort) { - echo ""; - } - else echo ""; -} -echo "\n"; - -// print filter row -echo ""; -// print input boxes for filters -for ($k = 0; $k < sizeof ($desc_array); $k++) { - echo ""; -} -echo "\n"; - -// calculate which rows to show -$table_begin = ($page - 1) * $max_pageentrys; -if (($page * $max_pageentrys) > sizeof($grp_info)) $table_end = sizeof($grp_info); -else $table_end = ($page * $max_pageentrys); - -if (sizeof($grp_info) > 0) { - // print group list - for ($i = $table_begin; $i < $table_end; $i++) { - echo(""); - if ($_GET['selectall'] == "yes") { - echo " "; - } - else { - echo " "; - } - echo (" "); - for ($k = 0; $k < sizeof($attr_array); $k++) { - echo (""); - } - echo("\n"); - } - // display select all link - $colspan = sizeof($attr_array) + 1; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; -} -echo ("
" . $desc_array[$k] . "" . $desc_array[$k] . "
"; -echo ""; -echo ""; - echo (""); - echo "
" . _("Edit") . ""); - // print all attribute entries seperated by "; " - if (sizeof($grp_info[$i][strtolower($attr_array[$k])]) > 0) { - // delete first array entry which is "count" - if ((! $_GET['norefresh']) && (is_array($grp_info[$i][strtolower($attr_array[$k])]))) array_shift($grp_info[$i][strtolower($attr_array[$k])]); - // generate links for group members - if (strtolower($attr_array[$k]) == "memberuid") { - // sort array - sort($grp_info[$i][strtolower($attr_array[$k])]); - // make a link for each member of the group - $linklist = array(); - for ($d = 0; $d < sizeof($grp_info[$i][strtolower($attr_array[$k])]); $d++) { - $user = $grp_info[$i][strtolower($attr_array[$k])][$d]; // user name - $linklist[$d] = "" . $user . ""; - } - echo implode("; ", $linklist); - } - // print all other attributes - else { - if (is_array($grp_info[$i][strtolower($attr_array[$k])])) { - // delete "count" entry - unset($grp_info[$i][strtolower($attr_array[$k])]['count']); - // sort array - sort($grp_info[$i][strtolower($attr_array[$k])]); - echo utf8_decode(implode("; ", $grp_info[$i][strtolower($attr_array[$k])])); - } - else echo utf8_decode($grp_info[$i][strtolower($attr_array[$k])]); - } - } - echo ("
\"select " . - "" . _("Select all") . "
"); -echo ("
"); - -// draw navigation bar if group accounts were found -if (sizeof($grp_info) > 0) { -draw_navigation_bar(sizeof($grp_info)); -echo ("
\n"); -} - -if (! $_GET['norefresh']) { - // generate list of possible suffixes - $grp_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_GroupSuffix()); -} - -// print combobox with possible sub-DNs -if (sizeof($grp_units) > 1) { - echo ("

\n"); - echo ("" . _("Suffix") . ": "); - echo ("\n"); - echo (""); - echo ("

\n"); - echo ("

 

\n"); -} - -echo ("\n"); -if (sizeof($grp_info) > 0) { - echo ("\n"); - echo ("


\n"); - echo "
PDF\n"; - echo ("\n"); - echo " "; - echo ("\n"); - echo "
"; -} - -echo ("
\n"); -echo "\n"; - -/** - * @brief draws a navigation bar to switch between pages - * - * - * @return void - */ -function draw_navigation_bar ($count) { - global $max_pageentrys; - global $page; - global $sort; - global $searchfilter; - - echo ("\n"); - echo ("\n"); - echo (""); - - echo (""); - - echo ("
  "); - if ($page != 1) - echo ("<=\n"); - else - echo ("<="); - echo (" "); - - if ($page < ($count / $max_pageentrys)) - echo ("=>\n"); - else - echo ("=>"); - echo " " . $count . " " . _("Group(s) found"); - echo (""); - for ($i = 0; $i < ($count / $max_pageentrys); $i++) { - if ($i == $page - 1) - echo (" " . ($i + 1)); - else - echo (" " . ($i + 1) . "\n"); - } - echo ("
\n"); -} - -// compare function used for usort-method -// rows are sorted with the first attribute entry of the sort column -// if objects have attributes with multiple values the others are ignored -function cmp_array($a, $b) { - // sort specifies the sort column - global $sort; - global $attr_array; - // sort by first column if no attribute is given - if (!$sort) $sort = strtolower($attr_array[0]); - if ($sort != "dn") { - // sort by first attribute with name $sort - if ($a[$sort][0] == $b[$sort][0]) return 0; - else if ($a[$sort][0] == max($a[$sort][0], $b[$sort][0])) return 1; - else return -1; - } - else { - if ($a[$sort] == $b[$sort]) return 0; - else if ($a[$sort] == max($a[$sort], $b[$sort])) return 1; - else return -1; - } -} - -// save variables to session -$_SESSION['grp_info'] = $grp_info; -$_SESSION['grp_units'] = $grp_units; -$_SESSION['grp_suffix'] = $grp_suffix; - -?> diff --git a/lam-0.4/templates/lists/listhosts.php b/lam-0.4/templates/lists/listhosts.php deleted file mode 100644 index 87a03130..00000000 --- a/lam-0.4/templates/lists/listhosts.php +++ /dev/null @@ -1,383 +0,0 @@ - 0) { - metaRefresh("../delete.php?type=host"); - exit; - } - } - // PDF for selected hosts - elseif ($_POST['pdf_host']){ - // search for checkboxes - $hosts = array_keys($_POST, "on"); - $list = array(); - // load hosts from LDAP - for ($i = 0; $i < sizeof($hosts); $i++) { - $list[$i] = loadhost($hosts[$i]); - } - if (sizeof($list) > 0) { - createHostPDF($list); - exit; - } - } - // PDF for all hosts - elseif ($_POST['pdf_all']){ - $list = array(); - for ($i = 0; $i < sizeof($_SESSION['hst_info']); $i++) { - $list[$i] = loadhost($_SESSION['hst_info'][$i]['dn']); - } - if (sizeof($list) > 0) { - createHostPDF($list); - exit; - } - } -} - -echo $_SESSION['header']; -echo "listhosts\n"; -echo "\n"; -echo "\n"; -echo "\n"; - -// generate attribute-description table -$attr_array = array(); // list of LDAP attributes to show -$desc_array = array(); // list of descriptions for the attributes -$attr_string = $_SESSION["config"]->get_hostlistAttributes(); -$temp_array = explode(";", $attr_string); -$hash_table = $_SESSION["ldap"]->attributeHostArray(); - -// get current page -$page = $_GET["page"]; -if (!$page) $page = 1; -// take maximum count of host entries shown on one page out of session -if ($_SESSION["config"]->get_MaxListEntries() <= 0) - $max_pageentrys = 10; // default setting, if not yet set -else - $max_pageentrys = $_SESSION["config"]->get_MaxListEntries(); - -// generate column attributes and descriptions -for ($i = 0; $i < sizeof($temp_array); $i++) { -// if value is predifined, look up description in hash_table -if (substr($temp_array[$i],0,1) == "#") { - $attr = strtolower(substr($temp_array[$i],1)); - $attr_array[$i] = $attr; - if ($hash_table[$attr]) $desc_array[] = strtoupper($hash_table[$attr]); - else $desc_array[] = strtoupper($attr); -} -// if not predefined, the attribute is seperated by a ":" from description -else { - $attr = explode(":", $temp_array[$i]); - $attr_array[$i] = $attr[0]; - if ($attr[1]) $desc_array[$i] = strtoupper($attr[1]); - else $desc_array[$i] = strtoupper($attr[0]); -} -} - -// check search suffix -if ($_POST['hst_suffix']) $hst_suffix = $_POST['hst_suffix']; // new suffix selected via combobox -elseif ($_SESSION['hst_suffix']) $hst_suffix = $_SESSION['hst_suffix']; // old suffix from session -else $hst_suffix = $_SESSION["config"]->get_HostSuffix(); // default suffix - -// generate search filter for sort links -$searchfilter = ""; -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) { - $searchfilter = $searchfilter . "&filter" . strtolower($attr_array[$k]) . "=". - $_POST["filter" . strtolower($attr_array[$k])]; - } -} - -if (! $_GET['norefresh']) { - // configure search filter - if ($_SESSION['config']->is_samba3()) { - // Samba hosts have the attribute "sambaSamAccount" and end with "$" - $filter = "(&(objectClass=sambaSamAccount) (uid=*$)"; - } - else { - // Samba hosts have the attribute "sambaAccount" and end with "$" - $filter = "(&(objectClass=sambaAccount) (uid=*$)"; - } - for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) - $filter = $filter . "(" . strtolower($attr_array[$k]) . "=" . - $_POST["filter" . strtolower($attr_array[$k])] . ")"; - else - $_POST["filter" . strtolower($attr_array[$k])] = ""; - } - $filter = $filter . ")"; - $attrs = $attr_array; - $sr = @ldap_search($_SESSION["ldap"]->server(), $hst_suffix, $filter, $attrs); - if (ldap_errno($_SESSION["ldap"]->server()) == 4) { - StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem.")); - } - if ($sr) { - $hst_info = ldap_get_entries($_SESSION["ldap"]->server, $sr); - ldap_free_result($sr); - if ($hst_info["count"] == 0) StatusMessage("WARN", "", _("No Samba Hosts found!")); - // delete first array entry which is "count" - array_shift($hst_info); - // sort rows by sort column ($sort) - usort($hst_info, "cmp_array"); - } - else { - $hst_info = array(); - $_SESSION['hst_info'] = array(); - StatusMessage("ERROR", _("LDAP Search failed! Please check your preferences."), _("No Samba Hosts found!")); - } -} -else { - if (sizeof($hst_info) == 0) StatusMessage("WARN", "", _("No Samba Hosts found!")); - // sort rows by sort column ($sort) - if ($hst_info) usort($hst_info, "cmp_array"); -} - -echo ("
\n"); - -// draw navigation bar if host accounts were found -if (sizeof($hst_info) > 0) { -draw_navigation_bar(sizeof($hst_info)); -echo ("
\n"); -} - -// print host table header -echo "\n"; -echo ""; -// table header -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (strtolower($attr_array[$k]) == $sort) { - echo ""; - } - else echo ""; -} -echo "\n"; - -// print filter row -echo ""; -// print input boxes for filters -for ($k = 0; $k < sizeof ($desc_array); $k++) { - echo ""; -} -echo "\n"; - -// calculate which rows to show -$table_begin = ($page - 1) * $max_pageentrys; -if (($page * $max_pageentrys) > sizeof($hst_info)) $table_end = sizeof($hst_info); -else $table_end = ($page * $max_pageentrys); - -if (sizeof($hst_info) > 0) { - // print host list - for ($i = $table_begin; $i < $table_end; $i++) { - echo(""); - if ($_GET['selectall'] == "yes") { - echo " "; - } - else { - echo " "; - } - echo (" "); - for ($k = 0; $k < sizeof($attr_array); $k++) { - echo (""); - } - echo("\n"); - } - // display select all link - $colspan = sizeof($attr_array) + 1; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; -} -echo ("
" . $desc_array[$k] . "" . $desc_array[$k] . "
"; -echo ""; -echo ""; - echo (""); - echo "
" . _("Edit") . ""); - // print all attribute entries seperated by "; " - if (sizeof($hst_info[$i][strtolower($attr_array[$k])]) > 0) { - // delete "count" entry - unset($hst_info[$i][strtolower($attr_array[$k])]['count']); - if (is_array($hst_info[$i][strtolower($attr_array[$k])])) { - // sort array - sort($hst_info[$i][strtolower($attr_array[$k])]); - echo utf8_decode(implode("; ", $hst_info[$i][strtolower($attr_array[$k])])); - } - else echo utf8_decode($hst_info[$i][strtolower($attr_array[$k])]); - } - echo ("
\"select " . - "" . _("Select all") . "
"); - -echo ("
"); - -// draw navigation bar if host accounts were found -if (sizeof($hst_info) > 0) { -draw_navigation_bar(sizeof($hst_info)); -echo ("
\n"); -} - -if (! $_GET['norefresh']) { - // generate list of possible suffixes -$hst_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_HostSuffix()); -} - -// print combobox with possible sub-DNs -if (sizeof($hst_units) > 1) { -echo ("

\n"); -echo ("" . _("Suffix") . ": "); -echo ("\n"); -echo (""); -echo ("

\n"); -echo ("

 

\n"); -} - -// add/delete/PDF buttons -echo ("\n"); -if (sizeof($hst_info) > 0) { - echo ("\n"); - echo ("


\n"); - echo "
PDF\n"; - echo ("\n"); - echo " "; - echo ("\n"); - echo "
"; -} - -echo ("
\n"); -echo "\n"; - -/** - * @brief draws a navigation bar to switch between pages - * - * - * @return void - */ -function draw_navigation_bar ($count) { - global $max_pageentrys; - global $page; - global $sort; - global $searchfilter; - - echo ("\n"); - echo ("\n"); - echo (""); - - echo (""); - - echo ("
  "); - if ($page != 1) - echo ("<=\n"); - else - echo ("<="); - echo (" "); - - if ($page < ($count / $max_pageentrys)) - echo ("=>\n"); - else - echo ("=>"); - echo " " . $count . " " . _("Samba Host(s) found"); - echo (""); - for ($i = 0; $i < ($count / $max_pageentrys); $i++) { - if ($i == $page - 1) - echo (" " . ($i + 1)); - else - echo (" " . ($i + 1) . "\n"); - } - echo ("
\n"); -} - -// compare function used for usort-method -// rows are sorted with the first attribute entry of the sort column -// if objects have attributes with multiple values the others are ignored -function cmp_array($a, $b) { - // sort specifies the sort column - global $sort; - global $attr_array; - // sort by first column if no attribute is given - if (!$sort) $sort = strtolower($attr_array[0]); - if ($sort != "dn") { - // sort by first attribute with name $sort - if ($a[$sort][0] == $b[$sort][0]) return 0; - else if ($a[$sort][0] == max($a[$sort][0], $b[$sort][0])) return 1; - else return -1; - } - else { - if ($a[$sort] == $b[$sort]) return 0; - else if ($a[$sort] == max($a[$sort], $b[$sort])) return 1; - else return -1; - } -} - -// save variables to session -$_SESSION['hst_info'] = $hst_info; -$_SESSION['hst_units'] = $hst_units; -$_SESSION['hst_suffix'] = $hst_suffix; - -?> diff --git a/lam-0.4/templates/lists/listusers.php b/lam-0.4/templates/lists/listusers.php deleted file mode 100644 index 2eed6984..00000000 --- a/lam-0.4/templates/lists/listusers.php +++ /dev/null @@ -1,452 +0,0 @@ -get_groupSuffix(); - $filter = "objectClass=posixGroup"; - $attrs = array("cn", "gidNumber"); - $sr = @ldap_search($_SESSION["ldap"]->server(), $suffix, $filter, $attrs); - if ($sr) { - $info = @ldap_get_entries($_SESSION["ldap"]->server(), $sr); - array_shift($info); // delete count entry - for ($i = 0; $i < sizeof($info); $i++) { - $trans_primary_hash[$info[$i]['gidnumber'][0]] = $info[$i]['cn'][0]; - } - $_SESSION['trans_primary_hash'] = $trans_primary_hash; - } -} - - -$usr_units = $_SESSION['usr_units']; - -// check if button was pressed and if we have to add/delete a user or create a PDF -if ($_POST['new_user'] || $_POST['del_user'] || $_POST['pdf_user'] || $_POST['pdf_all']){ - // add new user - if ($_POST['new_user']){ - metaRefresh("../account/useredit.php?type=user"); - exit; - } - // delete user(s) - elseif ($_POST['del_user']){ - // search for checkboxes - while ($entry = @array_pop($_POST)) { - if (eregi("^uid=.*$", $entry)) $users[] = $entry; - } - $_SESSION['delete_dn'] = $users; - if (sizeof($users) > 0) { - metaRefresh("../delete.php?type=user"); - exit; - } - } - // PDF for selected users - elseif ($_POST['pdf_user']){ - // search for checkboxes - while ($entry = @array_pop($_POST)) { - if (eregi("^uid=.*$", $entry)) $users[] = $entry; - } - $list = array(); - // load users from LDAP - for ($i = 0; $i < sizeof($users); $i++) { - $list[$i] = loaduser($users[$i]); - $list[$i]->unix_password = ""; - $list[$i]->smb_password = ""; - } - if (sizeof($list) > 0) { - if ($_SESSION['config']->get_scriptServer()) $list = getquotas($list); - createUserPDF($list); - exit; - } - } - // PDF for all users - elseif ($_POST['pdf_all']){ - $list = array(); - for ($i = 0; $i < sizeof($_SESSION['userlist']); $i++) { - $list[$i] = loaduser($_SESSION['userlist'][$i]['dn']); - $list[$i]->unix_password = ""; - $list[$i]->smb_password = ""; - } - if (sizeof($list) > 0) { - if ($_SESSION['config']->get_scriptServer()) $list = getquotas($list); - createUserPDF($list); - exit; - } - } -} - -echo $_SESSION['header']; - -echo "listusers\n"; -echo "\n"; -echo "\n"; -echo "\n"; - -$page = $_GET["page"]; -if (!$page) $page = 1; - -// take maximum count of user entries shown on one page out of session -if ($_SESSION["config"]->get_MaxListEntries() <= 0) { - $max_pageentrys = 10; // default setting, if not yet set -} -else $max_pageentrys = $_SESSION["config"]->get_MaxListEntries(); - -// generate attribute-description table -$attr_array = array(); // list of LDAP attributes to show -$desc_array = array(); // list of descriptions for the attributes -$attr_string = $_SESSION["config"]->get_userlistAttributes(); -$temp_array = explode(";", $attr_string); -$hash_table = $_SESSION["ldap"]->attributeUserArray(); - -// generate column attributes and descriptions -for ($i = 0; $i < sizeof($temp_array); $i++) { - // if value is predifined, look up description in hash_table - if (substr($temp_array[$i],0,1) == "#") { - $attr = strtolower(substr($temp_array[$i],1)); - $attr_array[$i] = $attr; - if ($hash_table[$attr]) $desc_array[] = strtoupper($hash_table[$attr]); - else $desc_array[] = strtoupper($attr); - } - // if not predefined, the attribute is seperated by a ":" from description - else { - $attr = explode(":", $temp_array[$i]); - $attr_array[$i] = $attr[0]; - if ($attr[1]) $desc_array[$i] = strtoupper($attr[1]); - else $desc_array[$i] = strtoupper($attr[0]); - } -} - -$sortattrib = $_GET["sortattrib"]; -if (!$sortattrib) - $sortattrib = strtolower($attr_array[0]); - -// check search suffix -if ($_POST['usr_suffix']) $usr_suffix = $_POST['usr_suffix']; // new suffix selected via combobox -elseif ($_SESSION['usr_suffix']) $usr_suffix = $_SESSION['usr_suffix']; // old suffix from session -else $usr_suffix = $_SESSION["config"]->get_UserSuffix(); // default suffix - - -// generate search filter for sort links -$searchfilter = ""; -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) { - $searchfilter = $searchfilter . "&filter" . - strtolower($attr_array[$k]) . "=". - $_POST["filter" . strtolower($attr_array[$k])]; - } -} - -// configure search filter -// Unix/Samba3 users have the attribute "posixAccount" and do not end with "$" -$filter = "(&(objectClass=posixAccount) (!(uid=*$))"; -for ($k = 0; $k < sizeof($desc_array); $k++) { - if (eregi("^([0-9a-z_\\*\\+\\-])+$", $_POST["filter" . strtolower($attr_array[$k])])) - $filter = $filter . "(" . strtolower($attr_array[$k]) . "=" . - $_POST["filter" . strtolower($attr_array[$k])] . ")"; - else - $_POST["filter" . strtolower($attr_array[$k])] = ""; -} -$filter = $filter . ")"; - -// read entries only from ldap server if not yet stored in session or if refresh -// button is pressed or if filter is applied -if ($_SESSION["userlist"] && $_GET["norefresh"]) { - usort ($_SESSION["userlist"], "cmp_array"); - $userinfo = $_SESSION["userlist"]; -} -else { - $attrs = $attr_array; - $sr = @ldap_search($_SESSION["ldap"]->server(), $usr_suffix, $filter, $attrs); - if (ldap_errno($_SESSION["ldap"]->server()) == 4) { - StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem.")); - } - if ($sr) { - $userinfo = ldap_get_entries ($_SESSION["ldap"]->server, $sr); - ldap_free_result ($sr); - if ($userinfo["count"] == 0) StatusMessage("WARN", "", _("No Users found!")); - // delete first array entry which is "count" - array_shift($userinfo); - usort ($userinfo, "cmp_array"); - $_SESSION["userlist"] = $userinfo; - } - else { - $_SESSION['userlist'] = array(); - $userinfo = array(); - StatusMessage("ERROR", - _("LDAP Search failed! Please check your preferences."), - _("No Users found!")); - } -} - -$user_count = sizeof ($_SESSION["userlist"]); - -echo ("
\n"); - -// display table only if users exist in LDAP -if ($user_count != 0) { - - // create navigation bar on top of user table - draw_navigation_bar ($user_count); - - echo ("
"); -} - - // print user table header - echo "\n"; - - - echo "\n"; - // table header - for ($k = 0; $k < sizeof ($desc_array); $k++) { - if ($sortattrib == strtolower($attr_array[$k])) - echo "\n"; - } - echo "\n"; - - echo "\n\n"; - - // print input boxes for filters - for ($k = 0; $k < sizeof ($desc_array); $k++) { - echo "\n"; - } - echo "\n"; - -if ($user_count != 0) { - // translate GIDs and resort array if selected - if ($trans_primary == "on") { - // translate GIDs - for ($i = 0; $i < sizeof($userinfo); $i++) { - if ($trans_primary_hash[$userinfo[$i]['gidnumber'][0]]) { - $userinfo[$i]['gidnumber'][0] = $trans_primary_hash[$userinfo[$i]['gidnumber'][0]]; - } - } - // resort if needed - if ($sortattrib == "gidnumber") { - usort ($userinfo, "cmp_array"); - } - } - // print user list - $userinfo = array_slice ($userinfo, ($page - 1) * $max_pageentrys, $max_pageentrys); - for ($i = 0; $i < sizeof ($userinfo); $i++) { // ignore last entry in array which is "count" - echo("\n"); - // checkboxes if selectall = "yes" - if ($_GET['selectall'] == "yes") { - echo "\n"; - } - else { - echo "\n"; - } - echo ("\n"); - for ($k = 0; $k < sizeof($attr_array); $k++) { - echo ("\n"); - } - echo("\n"); - } - // display select all link - $colspan = sizeof($attr_array) + 1; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; -} -echo ("
\n"; - else - echo "\n"; - echo "" . - $desc_array[$k] . "
\n"; - echo "\n"; - echo "\n"; - echo ("\n"); - echo "
\n\n\n\n\n" . - _("Edit") . "\n\n"); - // print attribute values - if (sizeof($userinfo[$i][strtolower($attr_array[$k])]) > 0) { - if (is_array($userinfo[$i][strtolower($attr_array[$k])])) { - // delete first array entry which is "count" - array_shift($userinfo[$i][strtolower($attr_array[$k])]); - // sort array - sort($userinfo[$i][strtolower($attr_array[$k])]); - // print all attribute entries seperated by "; " - echo utf8_decode(implode("; ", $userinfo[$i][strtolower($attr_array[$k])])) . "\n"; - } - else echo utf8_decode($userinfo[$i][strtolower($attr_array[$k])]) . "\n"; - } - echo ("
\"select " . - "" . _("Select all") . "
\n"); - -echo ("
"); -if ($user_count != 0) { - draw_navigation_bar ($user_count); - echo ("
"); -} - -if (! $_GET['norefresh']) { - // generate list of possible suffixes - $usr_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_UserSuffix()); -} - -// print combobox with possible sub-DNs -if (sizeof($usr_units) > 1) { - echo ("

\n"); - echo ("" . _("Suffix") . ": "); - echo ("\n"); - echo (""); - echo ("

\n"); -} - -// show translate GID to group name box if there is a column with gidnumber -if (in_array("gidnumber", $attr_array)) { - echo "

\n"; - echo "" . _("Translate GID number to group name") . ": "; - if ($trans_primary == "on") { - echo ""; - } - else echo ""; - echo ("  "); - echo "

\n"; -} - -echo ("

 

\n"); - -// new/delete/PDF buttons -echo ("\n"); -if ($user_count != 0) { - echo ("\n"); - echo ("


\n"); - echo "
PDF\n"; - echo ("\n"); - echo " "; - echo ("\n"); - echo "
"; -} - -echo ("

 

\n"); - -echo ("
\n"); -echo "\n"; - -/** - * @brief draws a navigation bar to switch between pages - * - * - * @return void - */ -function draw_navigation_bar ($user_count) { - global $max_pageentrys; - global $page; - global $sortattrib; - global $searchfilter; - global $trans_primary; - - echo ("\n"); - echo ("\n"); - echo ("\n"); - - - echo ("\n
\n\n  "); - if ($page != 1) - echo ("<=\n"); - else echo ("<="); - echo (" "); - - if ($page < ($user_count / $max_pageentrys)) - echo ("=>\n"); - else echo ("=>"); - echo ("\n"); - echo " " . $user_count . " " . _("User(s) found") . "\n"; - echo (""); - for ($i = 0; $i < ($user_count / $max_pageentrys); $i++) { - if ($i == $page - 1) echo (" " . ($i + 1)); - else echo (" " . ($i + 1) . "\n"); - } - echo ("
\n"); -} - - -// compare function used for usort-method -// rows are sorted with the first attribute entry of the sort column -// if objects have attributes with multiple values the others are ignored -function cmp_array($a, $b) { - // sortattrib specifies the sort column - global $sortattrib; - global $attr_array; - // sort by first attribute with name $sortattrib - if (!$sortattrib) $sortattrib = strtolower($attr_array[0]); - if ($sortattrib != "dn") { - // sort by first column if no attribute is given - if ($a[$sortattrib][0] == $b[$sortattrib][0]) return 0; - else if ($a[$sortattrib][0] == max($a[$sortattrib][0], $b[$sortattrib][0])) return 1; - else return -1; - } - else { - if ($a[$sortattrib] == $b[$sortattrib]) return 0; - else if ($a[$sortattrib] == max($a[$sortattrib], $b[$sortattrib])) return 1; - else return -1; - } -} - -// save variables to session -$_SESSION['usr_units'] = $usr_units; -$_SESSION['usr_suffix'] = $usr_suffix; - -?> diff --git a/lam-0.4/templates/lists/userlink.php b/lam-0.4/templates/lists/userlink.php deleted file mode 100644 index f7d62d55..00000000 --- a/lam-0.4/templates/lists/userlink.php +++ /dev/null @@ -1,61 +0,0 @@ -search_username($user); - -if ($dn) { - // redirect to account/useredit.php - metaRefresh("../account/useredit.php?type=user&DN='$dn'"); - -} -else { - // print error message if user was not found - echo $_SESSION['header']; - echo "userlink\n"; - echo "\n"; - echo "\n"; - StatusMessage("ERROR", "", _("This user was not found!") . " (" . $user . ")"); - echo "

 

"; - echo "

" . _("Back to group list") . "

"; - echo ("\n"); -} - - - diff --git a/lam-0.4/templates/login.php b/lam-0.4/templates/login.php deleted file mode 100644 index b0eeba16..00000000 --- a/lam-0.4/templates/login.php +++ /dev/null @@ -1,371 +0,0 @@ -get_defaultLanguage(); - - $current_language = explode(":",$_SESSION['language']); - $_SESSION['header'] = "\n"; - $_SESSION['header'] .= "\n\n"; - $_SESSION['header'] .= "\n\n"; - $_SESSION['header'] .= "\n"; - $_SESSION['header'] .= "\n "; - - // loading available languages from language.conf file - $languagefile = "../config/language"; - if(is_file($languagefile) == True) - { - $file = fopen($languagefile, "r"); - $i = 0; - while(!feof($file)) - { - $line = fgets($file, 1024); - if($line == "" || $line == "\n" || $line[0] == "#") continue; // ignore comment and empty lines - $value = explode(":", $line); - $languages[$i]["link"] = $value[0] . ":" . $value[1]; - $languages[$i]["descr"] = $value[2]; - if(rtrim($line) == $_SESSION["language"]) - { - $languages[$i]["default"] = "YES"; - } - else - { - $languages[$i]["default"] = "NO"; - } - $i++; - } - fclose($file); - } - else - { - //TODO Generate Status message - $message = _("Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site."); - } - - $profiles = getConfigProfiles(); - - setlanguage(); // setting correct language - - echo $_SESSION["header"]; - ?> - LDAP Account Manager -Login- - - - -

- LDAP Account Manager -

- - - - -
- -
-


- 4.3."); - echo "

"; - } - // check if PHP has LDAP support - if (! function_exists('ldap_search')) { - StatusMessage("ERROR", "Your PHP has no LDAP support!", "Please install the LDAP extension for PHP."); - echo "

"; - } - ?> - - - - - - - - -
- Logo - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -   -
- -    - -
- -    - -
- - - -    - -
- - " tabindex="3"> -
- " . $error_message . ""; - } - ?> -
-
-
-
- - - - - - - - - - - -
-
- - - get_ServerURL(); ?> -
- file; - } - ?> - - - - - " tabindex="5"> -
-
-
-

- - -connect($_POST['username'],$_POST['passwd']); // Connect to LDAP server for verifing username/password - - if($result === 0) // Username/password correct. Do some configuration and load main frame. - { - $_SESSION['loggedIn'] = true; - $_SESSION['language'] = $_POST['language']; // Write selected language in session - $current_language = explode(":",$_SESSION['language']); - $_SESSION['header'] = "\n"; - $_SESSION['header'] .= "\n\n"; - $_SESSION['header'] .= "\n\n"; - $_SESSION['header'] .= "\n"; - $_SESSION['header'] .= "\n "; - - include("./main.php"); // Load main frame - } - else - { - if ($result === False) - { - $error_message = _("Cannot connect to specified LDAP-Server. Please try again."); - display_LoginPage($_SESSION['config'],""); // connection failed - } - elseif ($result == 81) - { - $error_message = _("Cannot connect to specified LDAP-Server. Please try again."); - display_LoginPage($_SESSION['config'],""); // connection failed - } - elseif ($result == 49) - { - $error_message = _("Wrong Password/Username combination. Try again."); - display_LoginPage($_SESSION['config'],""); // Username/password invalid. Return to login page. - } - else - { - $error_message = _("LDAP error, server says:") . "\n
($result) " . ldap_err2str($result); - display_LoginPage($_SESSION['config'],""); // other errors - } - } - } -} -// Reload loginpage after a profile change -elseif($_POST['profileChange']) { - $_SESSION['config'] = new Config($_POST['profile']); // Recreate the config object with the submited - - display_LoginPage($_SESSION['config'],""); // Load login page -} -// Load login page -else -{ - $_SESSION['loggedIn'] = false; - $default_Config = new CfgMain(); - $default_Profile = $default_Config->default; - $_SESSION["config"] = new Config($default_Profile); // Create new Config object - - display_LoginPage($_SESSION["config"],$default_Profile); // Load Login page -} -?> diff --git a/lam-0.4/templates/logout.php b/lam-0.4/templates/logout.php deleted file mode 100644 index 560f7cbc..00000000 --- a/lam-0.4/templates/logout.php +++ /dev/null @@ -1,65 +0,0 @@ -destroy(); - -setlanguage(); - -echo $_SESSION['header']; - -// destroy session -session_destroy(); -unset($_SESSION); - -// print logout message -?> - - - <?php echo _("Logout"); ?> - - - - -

- LDAP Account Manager -

-
-
-

-




- - diff --git a/lam-0.4/templates/main.php b/lam-0.4/templates/main.php deleted file mode 100644 index 91956a7d..00000000 --- a/lam-0.4/templates/main.php +++ /dev/null @@ -1,84 +0,0 @@ -get_UserSuffix() && ($conf->get_UserSuffix() != "")) { - $info = @ldap_search($_SESSION['ldap']->server, $conf->get_UserSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if (!$res && !in_array($conf->get_UserSuffix(), $new_suffs)) $new_suffs[] = $conf->get_UserSuffix(); -} -if ($conf->get_GroupSuffix() && ($conf->get_GroupSuffix() != "")) { - $info = @ldap_search($_SESSION['ldap']->server, $conf->get_GroupSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if (!$res && !in_array($conf->get_GroupSuffix(), $new_suffs)) $new_suffs[] = $conf->get_GroupSuffix(); -} -if ($conf->get_HostSuffix() && ($conf->get_HostSuffix() != "")) { - $info = @ldap_search($_SESSION['ldap']->server, $conf->get_HostSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if (!$res && !in_array($conf->get_HostSuffix(), $new_suffs)) $new_suffs[] = $conf->get_HostSuffix(); -} -if ($conf->get_DomainSuffix() && ($conf->get_DomainSuffix() != "")) { - $info = @ldap_search($_SESSION['ldap']->server, $conf->get_DomainSuffix(), "", array()); - $res = @ldap_get_entries($_SESSION['ldap']->server, $info); - if (!$res && !in_array($conf->get_DomainSuffix(), $new_suffs)) $new_suffs[] = $conf->get_DomainSuffix(); -} - -if ($_SESSION['config']->is_samba3()) { - $doms = $_SESSION['ldap']->search_domains($_SESSION['config']->get_domainSuffix()); -} - -// get encoding -$lang = explode(":",$_SESSION['language']); -$lang = $lang[1]; - -echo "\n"; -echo "\n"; -echo "\n"; -echo "\n"; -echo "\n"; -echo "\n"; -echo "\n"; -echo ("LDAP Account Manager\n"); -echo (""); -echo ("\n"); -echo ("\n"); -echo ("\n"); -// display page to add suffixes or add domain, if needed -if (sizeof($new_suffs) > 0) echo ("\n"); -elseif (($_SESSION['config']->is_samba3()) && (sizeof($doms) < 1)) { - $_SESSION['domain_message'] = _("No domains found, please create one."); - echo ("\n"); -} -else echo ("\n"); -echo ("\n"); -echo ("This page requires a browser that can show frames!\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -?> diff --git a/lam-0.4/templates/main_header.php b/lam-0.4/templates/main_header.php deleted file mode 100644 index 4df20bab..00000000 --- a/lam-0.4/templates/main_header.php +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - is_samba3()) echo " - - - - - - - - - - - is_samba3()) echo "\n"; - else echo "\n"; - ?> - - - - is_samba3()) { - echo '' . "\n"; - echo '' . "\n"; - echo '' . "\n"; - echo '' . "\n"; - } - else { - echo '' . "\n"; - echo '' . "\n"; - echo '' . "\n"; - } - ?> - - -
\n"; - else echo "\n"; - ?> - LDAP Account Manager -
  
' . _("Domains") . '' . _("Users") . '' . _("Groups") . '' . _("Hosts") . '' . _("Users") . '' . _("Groups") . '' . _("Hosts") . '
- - diff --git a/lam-0.4/templates/masscreate.php b/lam-0.4/templates/masscreate.php deleted file mode 100644 index c31f03ec..00000000 --- a/lam-0.4/templates/masscreate.php +++ /dev/null @@ -1,590 +0,0 @@ -0)) $select = 'list'; - // Go the corresponding page if button was pressed - else if ($_POST['list2']) $select = 'list2'; - else if ($_POST['back']) $select = 'main'; - else if ($_POST['cancel']) $select = 'cancel'; - else if ($_POST['create']) $select = 'create'; - else if ($_POST['pdf']) { - // Create PDF-File - createUserPDF($_SESSION['mass_accounts']); - // Stop script - die; - } - } - -switch ($select) { - /* Select which part of page should be loaded - * cacnel = Go back to listusers.php - * list = Load csv-file. Refresh to list2 - */ - case 'cancel' : - // go back to user list page - metaRefresh("lists/listusers.php"); - // Stop script - die; - break; - case 'list' : - if (loadfile()) { - // Do Refresh to masscreate.php itself if csv-file was loaded successfully - $_SESSION['mass_group_suffix'] = $_POST['f_group_suffix']; - $_SESSION['mass_group_selectprofile'] = $_POST['f_selectgroupprofile']; - metaRefresh("masscreate.php?list2=true"); - // Stop script - die; - } - else { - /* Loadfile has returned an error because masscreate.php can only - * handle max 400 new users. - * lam will show an error-page with a notice everything after line - * 400 in csv-file will be ignored - */ - echo $_SESSION['header']; - echo ''; - echo _('Create new Accounts'); - echo ''."\n". - ''."\n". - ''."\n". - '
'."\n". - ''. - ''."\n"; - echo '
'; - echo _('Max 400 users allowed. Ignored additional users.'); - echo '
'; - echo _('Cancel'); - echo ''; - echo _('Contiune'); - echo "
\n"; - // Stop script - die; - } - break; - } - -// Write HTML-Header -echo $_SESSION['header']; -echo ''; -echo _('Create new Accounts'); -echo ''."\n". - ''."\n"; - -switch ($select) { - /* Select which part of page should be loaded - * create = Create new users - * list2 = Show page with all users who should be created. - * main = Show startpegae where settings and file can be selected - */ - case 'create': - /* Set Metarefresh to max_execution_time - 5sec - * 5 sec. should be enough to create the current - * user - */ - if ($_SESSION['mass_pointer'] < sizeof($_SESSION['mass_accounts'])) { - $refresh = get_cfg_var('max_execution_time')-5; - echo ''."\n"; - } - // Display start of body - echo ''."\n". - ''."\n". - "
"; - echo _('Creating users. Please stand by ....'); - echo "\n\n"; - $stay=true; - // Stay in loop as long there are still users to create and no error did ocour - while (isset($_SESSION['mass_pointer']) && ($_SESSION['mass_pointer'] < sizeof($_SESSION['mass_accounts'])) && $stay) { - if (getgid($_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group)==-1) { - // Create group if it doesn't exist yet - $group = LoadGroupProfile($_SESSION['mass_group_selectprofile']); - $group->type = 'group'; - // load quotas from profile and check if they are valid - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - $quotas = getquotas(array($group)); - for ($i=0; $iquota); $i++) $profile_quotas[] = $group->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas[0]->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas[0]->quota[$i][0], $profile_quotas)) $group->quota[]=$quotas[0]->quota[$i]; - } - else $group->quota[]=$quotas[0]->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($group->quota[$j][0])) { - // remove invalid quotas - if (!in_array($group->quota[$j][0], $real_quotas)) unset($group->quota[$j]); - else $j++; - } - // Beautify array, repair index - $group->quota = array_values($group->quota); - } - // Get groupname from current user - $group->general_username=$_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group; - // gid Number - $temp = explode(':', checkid($group)); - $group->general_uidNumber = $temp[0]; - // Set Gecos to groupname - $group->general_gecos=$_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group; - // Set DN - $group->general_dn=$_SESSION['mass_group_suffix']; - // Create group - $error = creategroup($group); - // Show success or failure-message about group creation - if ($error==1) { - echo ''."\n"; - } - else { - $stay = false; - StatusMessage('ERROR', _('Could not create group!'), sprintf (_('Was unable to create %s.'), $_SESSION['mass_accounts'][$row]->general_group)); - } - } - // Check if Homedir is valid - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_homedir = str_replace('$group', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_homedir); - if ($_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username != '') - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_homedir = str_replace('$user', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_homedir); - // Set uid number - $temp = explode(':', checkid($_SESSION['mass_accounts'][$_SESSION['mass_pointer']])); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_uidNumber = $temp[0]; - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_scriptPath = str_replace('$user', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_scriptPath); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_scriptPath = str_replace('$group', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_scriptPath); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_profilePath = str_replace('$user', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_profilePath); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_profilePath = str_replace('$group', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_profilePath); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_smbhome = str_replace('$user', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_smbhome); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_smbhome = str_replace('$group', $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group, $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_smbhome); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->unix_password = base64_encode($_SESSION['ldap']->encrypt(genpasswd())); - $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->smb_password = $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->unix_password; - // Only create user if we have at least 5sec time to create the user - if ( (time()-$time)<(get_cfg_var('max_execution_time')-10)) { - $error = createuser($_SESSION['mass_accounts'][$_SESSION['mass_pointer']], false); - // Show error or success message - if ($error==1) { - $_SESSION['mass_pointer']++; - echo ''."\n"; - } - else { - $stay = false; - StatusMessage('ERROR', _('Could not create user!'), sprintf (_('Was unable to create %s.'), $_SESSION['mass_accounts'][$row]->general_username)); - } - } - // End loop if we don't have enough time to create user - else $stay=false; - } - echo "
'; - sprintf (_('Created group %s.'), $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_group); - echo '
'; - sprintf (_('Created user %s.'), $_SESSION['mass_accounts'][$_SESSION['mass_pointer']]->general_username); - echo '
\n"; - if (!$stay) { - // Display rest of meta-refreh page if there are still users to create - echo ''; - echo _('Click here if you are not directed to the next page.'); - echo '
'."\n"; - echo ''; - echo "
\n"; - } - else { - // Write homedirs and quotas if needed - if ($_SESSION['config']->scriptServer) { - setquotas ($_SESSION['mass_accounts']); - // Get array with new usernames - foreach ($_SESSION['mass_accounts'] as $account) $users[] = $account->general_username; - addhomedir($users); - } - // Show success-page - echo _('All Users have been created'); - echo "
\n"; - echo ''; - echo ' '; - echo "
\n"; - // unset variables - if ( isset($_SESSION['mass_pointer'])) unset($_SESSION['mass_pointer']); - if ( isset($_SESSION['mass_errors'])) unset($_SESSION['mass_errors']); - if ( isset($_SESSION['mass_group_suffix'])) unset($_SESSION['mass_group_suffix']); - if ( isset($_SESSION['mass_group_selectprofile'])) unset($_SESSION['mass_group_selectprofile']); - } - break; - case 'list2': - // Show table with all users - echo ''."\n". - ''."\n"; - for ($i=0; $igeneral_group!='') - StatusMessage('INFO', _('Group').' '. $_SESSION['mass_accounts'][$i]->general_group.' '._('not found!'), _('It will be created.')); - echo "
"; - echo _('Confirm List'); - echo "\n\n"; - echo ''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - $end = sizeof($_SESSION['mass_accounts']); - for ($row=0; $row<$end; $row++) { // loops for every row - echo ''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n"; - } - $noerrors=true; - for ($i=0; $i'; - if (!$noerrors) { echo ''."\n"; } - if (!$nowarn) { echo ''."\n"; } - echo '
'._('row').''. _('Surname'). ''. _('Given name'). ''. _('User name'). ''. _('Primary group'). ''. - _('Details'). '' . _('Infos'). '' . _('Warnings'). '' . _('Errors') . '
'.$row.''. - $_SESSION['mass_accounts'][$row]->general_surname.''. - $_SESSION['mass_accounts'][$row]->general_givenname.''. - $_SESSION['mass_accounts'][$row]->general_username.''. - $_SESSION['mass_accounts'][$row]->general_group.''. - ''._('Show Details.').''; - $found=false; - // Show infos - for ($i=0; $i'._('Show Infos.').''; - echo ''; - $found=false; - // Show warnings - for ($i=0; $i'._('Show Warnings.').''; - echo ''; - $found=false; - // Show errors - for ($i=0; $i'._('Show Errors.').''; - echo '
'. _('There are some errors.') . '
'. _('There are some warnings.') . '
'; - echo "
"; - echo _('Please select page:'); - echo "\n"; - if ($noerrors) { - echo '  '; - } - echo '"; - echo ' "; - echo '  '; - echo "
"; - break; - case 'main': - // Unset old variables - if ( isset($_SESSION['mass_accounts'])) unset($_SESSION['mass_accounts']); - if ( isset($_SESSION['mass_pointer'])) unset($_SESSION['mass_pointer']); - if ( isset($_SESSION['mass_errors'])) unset($_SESSION['mass_errors']); - if ( isset($_SESSION['mass_group_suffix'])) unset($_SESSION['mass_group_suffix']); - if ( isset($_SESSION['mass_group_selectprofile'])) unset($_SESSION['mass_group_selectprofile']); - // Set pointer to 0, first user - $_SESSION['mass_pointer']=0; - echo ''."\n". - ''."\n". - "
"; - echo _('File Upload'); - echo "\n\n\n
"; - echo _('Please provide a csv-file with the following syntax. Values with * are required:'); - echo '
'. - ''. - ''."\n".''."\n".'\n'."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".''."\n".'
'."\n"; - echo _('Surname').'*,'; - echo ''; - echo _('Given name').'*,'; - echo ''; - echo _('Username').'*,'; - echo ""; - echo _('Primary group').','; - echo ''; - echo _('Job title').','; - echo ''; - echo _('eMail address').','; - echo ''; - echo _('Telephone number').','; - echo '
'; - echo _('Mobile number').','; - echo ''; - echo _('Fax number').','; - echo ''; - echo _('Street').','; - echo ''; - echo _('Postal code').','; - echo ''; - echo _('Postal address').','; - echo ''; - echo _('Employee type'); - echo '<CR>'; - echo '
'; - echo "
"; - echo _('If Primary group is not given it\'ll used from profile.'); - echo "
"; - echo _('If Primary group does not exist it will be created.'); - echo "
\n"; - echo "
"; - echo _('Select settings'); - echo "\n". - '\n\n\n'."\n".''."\n".'\n\n\n'."\n".'\n\n\n'."\n". - ''."\n"."
'."\n"; - echo _('Select user profile:'); - echo ''; - echo ""; - echo _('Help')."
"; - echo _('User suffix'); echo ''._('Help').''. - '
'."\n"; - echo _("Expand suffix with primary groupname"); - echo ''; - echo ""; - echo _('Help')."
"; - echo _('Group suffix'); echo ''._('Help').''. - '
'."\n"; - echo _('Select group profile'); - echo ''; - echo ""; - echo _('Help')."
"; - echo ''; - echo _('Select file:'); - echo '
'."\n". - '
\n
\n"; - break; - } - -echo ''; - - -/* Whis function will load a csv-file and -* load all attributes into $_SESSION['mass_accounts'][$row] which -* is an array of account objects -* The csv file is using the following syntax: -*/ -function loadfile() { - if ($_FILES['userfile']['size']>0) { - // Array with all OUs from users - $OUs = $_SESSION['ldap']->search_units($_SESSION['config']->get_UserSuffix()); - // fixme **** load all existing OUs in Array - // open csv-file - $handle = fopen($_FILES['userfile']['tmp_name'], 'r'); - // Load profile which should be used for all users - $profile = loadUserProfile($_POST['f_selectprofile']) ; - // Set type to user - $profile->type = 'user'; - if ($config_intern->scriptServer) { - // load quotas and check if quotas from profile are valid - $quotas = getquotas(array($profile)); - for ($i=0; $iquota); $i++) $profile_quotas[] = $profile->quota[$i][0]; - for ($i=0; $iquota); $i++) { - $real_quotas[] = $quotas[0]->quota[$i][0]; - if (is_array($profile_quotas)) { - if (!in_array($quotas[0]->quota[$i][0], $profile_quotas)) $profile->quota[]=$quotas[0]->quota[$i]; - } - else $profile->quota[]=$quotas[0]->quota[$i]; - } - $j=0; - // delete not existing quotas - while (isset($profile->quota[$j][0])) { - // remove invalid quotas - if (!in_array($profile->quota[$j][0], $real_quotas)) unset($profile->quota[$j]); - else $j++; - } - // Beautify array, repair index - $profile->quota = array_values($profile->quota); - } - // Get keys to en/decrypt passwords - for ($row=0; $line_array=fgetcsv($handle,2048); $row++) { - // loops for every row - // Set corrent user to profile - $_SESSION['mass_accounts'][$row] = $profile; - // Load values from file into array - if (isset($line_array[0])) $_SESSION['mass_accounts'][$row]->general_surname = $line_array[0]; - if (isset($line_array[1])) $_SESSION['mass_accounts'][$row]->general_givenname = $line_array[1]; - if (isset($line_array[2])) $_SESSION['mass_accounts'][$row]->general_username = $line_array[2]; - if (isset($line_array[3])) $_SESSION['mass_accounts'][$row]->general_group = $line_array[3]; - if (isset($line_array[4])) $_SESSION['mass_accounts'][$row]->personal_title = $line_array[4]; - if (isset($line_array[5])) $_SESSION['mass_accounts'][$row]->personal_mail = $line_array[5]; - if (isset($line_array[6])) $_SESSION['mass_accounts'][$row]->personal_telephoneNumber = $line_array[6]; - if (isset($line_array[7])) $_SESSION['mass_accounts'][$row]->personal_mobileTelephoneNumber = $line_array[7]; - if (isset($line_array[8])) $_SESSION['mass_accounts'][$row]->personal_facsimileTelephoneNumber = $line_array[8]; - if (isset($line_array[9])) $_SESSION['mass_accounts'][$row]->personal_street = $line_array[9]; - if (isset($line_array[10])) $_SESSION['mass_accounts'][$row]->personal_postalCode = $line_array[10]; - if (isset($line_array[11])) $_SESSION['mass_accounts'][$row]->personal_postalAddress = $line_array[11]; - if (isset($line_array[12])) $_SESSION['mass_accounts'][$row]->personal_employeeType = $line_array[12]; - if ($_POST['f_ou_expand']) { - // Expand DN of user with ou=$group - $_SESSION['mass_accounts'][$row]->general_dn = "ou=".$_SESSION['mass_accounts'][$row]->general_group .','. $_POST['f_general_suffix']; - // Create OUs if needed - if (!in_array("ou=".$_SESSION['mass_accounts'][$row]->general_group.",".$_POST['f_general_suffix'], $OUs)) { - $attr['objectClass']= 'organizationalUnit'; - $attr['ou'] = $_SESSION['mass_accounts'][$row]->general_group; - $success = ldap_add($_SESSION['ldap']->server(), $_SESSION['mass_accounts'][$row]->general_dn, $attr); - if ($success) $OUs[] = "ou=".$_SESSION['mass_accounts'][$row]->general_group.",".$_POST['f_general_suffix']; - } - } - // Set DN without uid=$username - else $_SESSION['mass_accounts'][$row]->general_dn = $_POST['f_general_suffix']; - // Create Random Password - $_SESSION['mass_accounts'][$row]->unix_password = base64_encode($_SESSION['ldap']->encrypt(genpasswd())); - $_SESSION['mass_accounts'][$row]->smb_password=$_SESSION['mass_accounts'][$row]->unix_password; - } - } - // Validate cache-array - ldapreload('user'); - // Get List with all existing usernames - $users = array(); - foreach ($_SESSION['userDN'] as $user_array) $users[] = $user_array['uid']; - for ($row2=0; $row2general_username, $users)) { - // get last character of username - $lastchar = substr($_SESSION['mass_accounts'][$row2]->general_username, strlen($_SESSION['mass_accounts'][$row2]->general_username)-1, 1); - // Last character is no number - if ( !ereg('^([0-9])+$', $lastchar)) - /* Last character is no number. Therefore we only have to - * add "2" to it. - */ - $_SESSION['mass_accounts'][$row2]->general_username = $_SESSION['mass_accounts'][$row2]->general_username . '2'; - else { - /* Last character is a number -> we have to increase the number until we've - * found a groupname with trailing number which is not in use. - * - * $i will show us were we have to split groupname so we get a part - * with the groupname and a part with the trailing number - */ - $i=strlen($_SESSION['mass_accounts'][$row2]->general_username)-1; - $mark = false; - // Set $i to the last character which is a number in $account_new->general_username - while (!$mark) { - if (ereg('^([0-9])+$',substr($_SESSION['mass_accounts'][$row2]->general_username, $i, strlen($_SESSION['mass_accounts'][$row2]->general_username)-$i))) $i--; - else $mark=true; - } - // increase last number with one - $firstchars = substr($_SESSION['mass_accounts'][$row2]->general_username, 0, $i+1); - $lastchars = substr($_SESSION['mass_accounts'][$row2]->general_username, $i+1, strlen($_SESSION['mass_accounts'][$row2]->general_username)-$i); - // Put username together - $_SESSION['mass_accounts'][$row2]->general_username = $firstchars . (intval($lastchars)+1); - } - $_SESSION['mass_errors'][$row2][] = array('WARN', _('Username'), _('Username in use. Selected next free username.')); - } - // Add uername to array so it's not used again for another user in masscreate - $users[] = $_SESSION['mass_accounts'][$row2]->general_username; - // Check if givenname is valid - if ( !ereg('^([a-z]|[A-Z]|[-]|[ ]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])+$', $_SESSION['mass_accounts'][$row2]->general_givenname)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Given name'), _('Given name contains invalid characters')); - // Check if surname is valid - if ( !ereg('^([a-z]|[A-Z]|[-]|[ ]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])+$', $_SESSION['mass_accounts'][$row2]->general_surname)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Surname'), _('Surname contains invalid characters')); - if ( ($_SESSION['mass_accounts'][$row2]->general_gecos=='') || ($_SESSION['mass_accounts'][$row2]->general_gecos==' ')) { - $_SESSION['mass_accounts'][$row2]->general_gecos = $_SESSION['mass_accounts'][$row2]->general_givenname . " " . $_SESSION['mass_accounts'][$row2]->general_surname ; - $_SESSION['mass_errors'][$row2][] = array('INFO', _('Gecos'), _('Inserted sur- and given name in gecos-field.')); - } - $_SESSION['mass_accounts'][$row2]->smb_displayName = $_SESSION['mass_accounts'][$row2]->general_gecos; - if ($_SESSION['mass_accounts'][$row2]->general_group=='') $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Primary group'), _('No primary group defined!')); - // Check if Username contains only valid characters - if ( !ereg('^([a-z]|[0-9]|[.]|[-]|[_])*$', $_SESSION['mass_accounts'][$row2]->general_username)) - $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Username'), _('Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !')); - // Check if Name-length is OK. minLength=3, maxLength=20 - if ( !ereg('.{3,20}', $_SESSION['mass_accounts'][$row2]->general_username)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Name'), _('Name must contain between 3 and 20 characters.')); - // Check if Name starts with letter - if ( !ereg('^([a-z]|[A-Z]).*$', $_SESSION['mass_accounts'][$row2]->general_username)) - $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Name'), _('Name contains invalid characters. First character must be a letter.')); - // Personal Settings - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_SESSION['mass_accounts'][$row2]->personal_telephoneNumber)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Telephone number'), _('Please enter a valid telephone number!')); - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_SESSION['mass_accounts'][$row2]->personal_mobileTelephoneNumber)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Mobile number'), _('Please enter a valid mobile number!')); - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_SESSION['mass_accounts'][$row2]->personal_facsimileTelephoneNumber)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Fax number'), _('Please enter a valid fax number!')); - if ( !ereg('^(([0-9]|[A-Z]|[a-z]|[.]|[-]|[_])+[@]([0-9]|[A-Z]|[a-z]|[-])+([.]([0-9]|[A-Z]|[a-z]|[-])+)*)*$', $_SESSION['mass_accounts'][$row2]->personal_mail)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('eMail address'), _('Please enter a valid eMail address!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])*$', $_SESSION['mass_accounts'][$row2]->personal_street)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Street'), _('Please enter a valid street name!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])*$', $_SESSION['mass_accounts'][$row2]->personal_postalAddress)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Postal address'), _('Please enter a valid postal address!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])*$', $_SESSION['mass_accounts'][$row2]->personal_title)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Job title'), _('Please enter a valid job title!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[ä]|[Ä]|[ö]|[Ö]|[ü]|[Ü]|[ß])*$', $_SESSION['mass_accounts'][$row2]->personal_employeeType)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Employee type'), _('Please enter a valid employee type!')); - if ( !ereg('^([0-9]|[A-Z]|[a-z])*$', $_SESSION['mass_accounts']->personal_postalCode)) $_SESSION['mass_errors'][$row2][] = array('ERROR', _('Postal code'), _('Please enter a valid postal code!')); - } - } - // Close file if it was opened - if ($_FILES['userfile']['size']>0) { - fclose($handle); - unlink($_FILES['userfile']['tmp_name']); - } - // Return false if more than 400 users were found - if ($row2>400) return false; - else return true; - } - - -?> diff --git a/lam-0.4/templates/massdetail.php b/lam-0.4/templates/massdetail.php deleted file mode 100644 index 29f5de79..00000000 --- a/lam-0.4/templates/massdetail.php +++ /dev/null @@ -1,281 +0,0 @@ -general_surname = $_POST['f_general_surname']; - // Check if givenname is valid - if ( !eregi('^([a-z öüäß-])+$', $_POST['f_general_givenname'])) $errors2[] = array('ERROR', _('Given name'), _('Given name contains invalid characters')); - else $_SESSION['mass_accounts'][$row]->general_givenname = $_POST['f_general_givenname']; - // Check if username is valid - if ( !eregi('^([a-z]|[0-9]|[.]|[-]|[_])*$', $_POST['f_general_username'])) - $errors2[] = array('ERROR', _('Username'), _('Username contains invalid characters. Valid characters are: a-z, A-Z, 0-9 and .-_ !')); - else if ( !ereg('^([a-z]|[A-Z]).*$', $_POST['f_general_username'])) - $errors2[] = array('ERROR', _('Name'), _('Name contains invalid characters. First character must be a letter.')); - else { - // Create Array with all users in ldap and in array - // Validate cache-array - ldapreload('user'); - // Get List with all existing usernames - foreach ($_SESSION['userDN'] as $user_array) $users[] = $user_array['uid']; - // Get List with all users in array - foreach ($_SESSION['mass_accounts'] as $user_array) $users[] = $user_array->general_username; - // unset old username in user-array - $users = @array_flip($users); - unset ($users[$_SESSION['mass_accounts'][$row]->general_username]); - $users = array_flip($users); - // Store new username - $_SESSION['mass_accounts'][$row]->general_username = $_POST['f_general_username']; - // Set all usernames to unique usernames - while (in_array($_SESSION['mass_accounts'][$row2]->general_username, $users)) { - // get last character of username - $lastchar = substr($_SESSION['mass_accounts'][$row2]->general_username, strlen($_SESSION['mass_accounts'][$row2]->general_username)-1, 1); - // Last character is no number - if ( !ereg('^([0-9])+$', $lastchar)) - /* Last character is no number. Therefore we only have to - * add "2" to it. - */ - $_SESSION['mass_accounts'][$row2]->general_username = $_SESSION['mass_accounts'][$row2]->general_username . '2'; - else { - /* Last character is a number -> we have to increase the number until we've - * found a groupname with trailing number which is not in use. - * - * $i will show us were we have to split groupname so we get a part - * with the groupname and a part with the trailing number - */ - $i=strlen($_SESSION['mass_accounts'][$row2]->general_username)-1; - $mark = false; - // Set $i to the last character which is a number in $account_new->general_username - while (!$mark) { - if (ereg('^([0-9])+$',substr($_SESSION['mass_accounts'][$row2]->general_username, $i, strlen($_SESSION['mass_accounts'][$row2]->general_username)-$i))) $i--; - else $mark=true; - } - // increase last number with one - $firstchars = substr($_SESSION['mass_accounts'][$row2]->general_username, 0, $i+1); - $lastchars = substr($_SESSION['mass_accounts'][$row2]->general_username, $i+1, strlen($_SESSION['mass_accounts'][$row2]->general_username)-$i); - // Put username together - $_SESSION['mass_accounts'][$row2]->general_username = $firstchars . (intval($lastchars)+1); - } - // Show warning if lam has changed username - $errors2[] = array('WARN', _('Username'), _('Username in use. Selected next free username.')); - } - } - // Check personal settings - if ( !eregi('^([a-z öüäß\\.-])*$', $_POST['f_personal_title'])) $errors2[] = array('ERROR', _('Job title'), _('Please enter a valid job title!')); - else $_SESSION['mass_accounts'][$row]->personal_title = $_POST['f_personal_title']; - if ( !eregi('^([a-z0-9 öüäß\\.-])*$', $_POST['f_personal_employeeType'])) $errors2[] = array('ERROR', _('Employee type'), _('Please enter a valid employee type!')); - else $_SESSION['mass_accounts'][$row]->personal_employeeType = $_POST['f_personal_employeeType']; - if ( !eregi('^([a-z0-9 öüäß\\.-])*$', $_POST['f_personal_street'])) $errors2[] = array('ERROR', _('Street'), _('Please enter a valid street name!')); - else $_SESSION['mass_accounts'][$row]->personal_street = $_POST['f_personal_street']; - if ( !ereg('^([0-9]|[A-Z]|[a-z])*$', $_POST['f_personal_postalCode'])) $errors2[] = array('ERROR', _('Postal code'), _('Please enter a valid postal code!')); - else $_SESSION['mass_accounts'][$row]->personal_postalCode = $_POST['f_personal_postalCode']; - if ( !eregi('^([a-z öüäß\\.-])*$', $_POST['f_personal_postalAddress'])) $errors2[] = array('ERROR', _('Postal address'), _('Please enter a valid postal address!')); - else $_SESSION['mass_accounts'][$row]->personal_postalAddress = $_POST['f_personal_postalAddress']; - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_POST['f_personal_telephoneNumber'])) $errors2[] = array('ERROR', _('Telephone number'), _('Please enter a valid telephone number!')); - else $_SESSION['mass_accounts'][$row]->personal_telephoneNumber = $_POST['f_personal_telephoneNumber']; - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_POST['f_personal_mobileTelephoneNumber'])) $errors2[] = array('ERROR', _('Mobile number'), _('Please enter a valid mobile number!')); - else $_SESSION['mass_accounts'][$row]->personal_mobileTelephoneNumber = $_POST['f_personal_mobileTelephoneNumber']; - if ( !ereg('^(\+)*([0-9]|[ ]|[.]|[(]|[)]|[/])*$', $_POST['f_personal_facsimileTelephoneNumber'])) $errors2[] = array('ERROR', _('Fax number'), _('Please enter a valid fax number!')); - else $_SESSION['mass_accounts'][$row]->personal_facsimileTelephoneNumber = $_POST['f_personal_facsimileTelephoneNumber']; - if ( !ereg('^(([0-9]|[A-Z]|[a-z]|[.]|[-]|[_])+[@]([0-9]|[A-Z]|[a-z]|[-])+([.]([0-9]|[A-Z]|[a-z]|[-])+)*)*$', $_POST['f_personal_mail'])) $errors2[] = array('ERROR', _('eMail address'), _('Please enter a valid eMail address!')); - else $_SESSION['mass_accounts'][$row]->personal_mail = $_POST['f_personal_mail']; - } - -// Print header and part of body -echo $_SESSION['header']; -echo ''; -echo _('Create new accounts'); -echo ''. - ''. - ''. - '
'; -// Display errir-messages -if (is_array($errors2)) - for ($i=0; $i'; - // Store variabled in $_POST - echo ''; - echo ''; - echo ''; - echo _('Surname').'*'; - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Given name').'*'; - echo ''."\n".''. - ''. - ''."\n".''. - ''._('Help').''. - ''."\n".''; - echo _('Username').'*'; - echo "\n". - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Job title'); - echo ''."\n".''. - ' '; - echo $_SESSION['mass_accounts']->general_surname . ' ' . $_SESSION['mass_accounts']->general_givenname . ''. - ''._('Help').''. - ''."\n".''; - echo _('Employee type'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Street'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Postal code'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Postal address'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Telephone number'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Mobile number'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('Fax number'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''."\n".''; - echo _('eMail address'); - echo ''."\n".''. - ''. - ''. - ''._('Help').''. - ''; - echo '

'; - echo ' '; - break; - } - -// Print end of HTML-Page -echo '

'; -?> diff --git a/lam-0.4/templates/ou_edit.php b/lam-0.4/templates/ou_edit.php deleted file mode 100644 index 4b11b3e7..00000000 --- a/lam-0.4/templates/ou_edit.php +++ /dev/null @@ -1,475 +0,0 @@ -search_units($_POST['usersuff_n']))) { - // add new ou - $ou = array(); - $ou['objectClass'] = "organizationalunit"; - $ou['ou'] = $_POST['newsuff_u']; - $ret = @ldap_add($_SESSION['ldap']->server(), $new_dn, $ou); - if ($ret) { - $message = _("New OU created successfully."); - } - else { - $error = _("Unable to create new OU!"); - } - } - else $error = _("OU already exists!"); - } - // show errormessage if ou is invalid - else { - $error = _("OU is invalid!") . " " . $_POST['newsuff_u']; - } - } - // delete ou, user was sure - elseif (($_POST['type'] == "del_usr") && ($_POST['sure'])) { - $ret = @ldap_delete($_SESSION['ldap']->server(), $_POST['usersuff_d']); - if ($ret) { - $message = _("OU deleted successfully."); - } - else { - $error = _("Unable to delete OU!"); - } - } - // do not delete ou - elseif (($_POST['type'] == "del_usr") && ($_POST['abort'])) { - display_main(); - exit; - } - // ask if user is sure to delete - elseif ($_POST['type'] == "del_usr") { - // check for sub entries - $sr = @ldap_list($_SESSION['ldap']->server(), $_POST['usersuff_d'], "ObjectClass=*", array("")); - $info = @ldap_get_entries($_SESSION['ldap']->server(), $sr); - if ($sr && $info['count'] == 0) { - $text = "
\n" . - "

" . _("Do you really want to delete this OU?") . " " . "\n" . - "
\n

" . $_POST['usersuff_d'] . "

\n" . - "
\n" . - "
\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "
"; - } - else { - $error = _("OU is not empty or invalid!"); - } - } - - // group operations - // new group ou - if ($_POST['type'] == "new_grp") { - // create ou if valid - if (eregi("^[a-z0-9 _\\-]+$", $_POST['newsuff_g'])) { - // check if ou already exists - $new_dn = "ou=" . $_POST['newsuff_g'] . "," . $_POST['groupsuff_n']; - if (!in_array(strtolower($new_dn), $_SESSION['ldap']->search_units($_POST['groupsuff_n']))) { - // add new ou - $ou = array(); - $ou['objectClass'] = "organizationalunit"; - $ou['ou'] = $_POST['newsuff_g']; - $ret = @ldap_add($_SESSION['ldap']->server(), $new_dn, $ou); - if ($ret) { - $message = _("New OU created successfully."); - } - else { - $error = _("Unable to create new OU!"); - } - } - else $error = _("OU already exists!"); - } - // show errormessage if ou is invalid - else { - $error = _("OU is invalid!") . " " . $_POST['newsuff_g']; - } - } - // delete ou, user was sure - elseif (($_POST['type'] == "del_grp") && ($_POST['sure'])) { - $ret = @ldap_delete($_SESSION['ldap']->server(), $_POST['groupsuff_d']); - if ($ret) { - $message = _("OU deleted successfully."); - } - else { - $error = _("Unable to delete OU!"); - } - } - // do not delete ou - elseif (($_POST['type'] == "del_grp") && ($_POST['abort'])) { - display_main(); - exit; - } - // ask if user is sure to delete - elseif ($_POST['type'] == "del_grp") { - // check for sub entries - $sr = @ldap_list($_SESSION['ldap']->server(), $_POST['groupsuff_d'], "ObjectClass=*", array("")); - $info = @ldap_get_entries($_SESSION['ldap']->server(), $sr); - if ($sr && $info['count'] == 0) { - $text = "
\n" . - "

" . _("Do you really want to delete this OU?") . " " . "\n" . - "
\n

" . $_POST['groupsuff_d'] . "

\n" . - "
\n" . - "
\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "
"; - } - else { - $error = _("OU is not empty or invalid!"); - } - } - - // host operations - // new host ou - if ($_POST['type'] == "new_hst") { - // create ou if valid - if (eregi("^[a-z0-9 _\\-]+$", $_POST['newsuff_h'])) { - // check if ou already exists - $new_dn = "ou=" . $_POST['newsuff_h'] . "," . $_POST['hostsuff_n']; - if (!in_array(strtolower($new_dn), $_SESSION['ldap']->search_units($_POST['hostsuff_n']))) { - // add new ou - $ou = array(); - $ou['objectClass'] = "organizationalunit"; - $ou['ou'] = $_POST['newsuff_h']; - $ret = @ldap_add($_SESSION['ldap']->server(), $new_dn, $ou); - if ($ret) { - $message = _("New OU created successfully."); - } - else { - $error = _("Unable to create new OU!"); - } - } - else $error = _("OU already exists!"); - } - // show errormessage if ou is invalid - else { - $error = _("OU is invalid!") . " " . $_POST['newsuff_h']; - } - } - // delete ou, user was sure - elseif (($_POST['type'] == "del_hst") && ($_POST['sure'])) { - $ret = @ldap_delete($_SESSION['ldap']->server(), $_POST['hostsuff_d']); - if ($ret) { - $message = _("OU deleted successfully."); - } - else { - $error = _("Unable to delete OU!"); - } - } - // do not delete ou - elseif (($_POST['type'] == "del_hst") && ($_POST['abort'])) { - display_main(); - exit; - } - // ask if user is sure to delete - elseif ($_POST['type'] == "del_hst") { - // check for sub entries - $sr = @ldap_list($_SESSION['ldap']->server(), $_POST['hostsuff_d'], "ObjectClass=*", array("")); - $info = @ldap_get_entries($_SESSION['ldap']->server(), $sr); - if ($sr && $info['count'] == 0) { - $text = "
\n" . - "

" . _("Do you really want to delete this OU?") . " " . "\n" . - "
\n

" . $_POST['hostsuff_d'] . "

\n" . - "
\n" . - "
\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "
"; - } - else { - $error = _("OU is not empty or invalid!"); - } - } - - // domain operations - // new domain ou - if ($_POST['type'] == "new_dom") { - // create ou if valid - if (eregi("^[a-z0-9 _\\-]+$", $_POST['newsuff_d'])) { - // check if ou already exists - $new_dn = "ou=" . $_POST['newsuff_d'] . "," . $_POST['domsuff_n']; - if (!in_array(strtolower($new_dn), $_SESSION['ldap']->search_units($_POST['domsuff_n']))) { - // add new ou - $ou = array(); - $ou['objectClass'] = "organizationalunit"; - $ou['ou'] = $_POST['newsuff_d']; - $ret = @ldap_add($_SESSION['ldap']->server(), $new_dn, $ou); - if ($ret) { - $message = _("New OU created successfully."); - } - else { - $error = _("Unable to create new OU!"); - } - } - else $error = _("OU already exists!"); - } - // show errormessage if ou is invalid - else { - $error = _("OU is invalid!") . " " . $_POST['newsuff_d']; - } - } - // delete ou, user was sure - elseif (($_POST['type'] == "del_dom") && ($_POST['sure'])) { - $ret = @ldap_delete($_SESSION['ldap']->server(), $_POST['domsuff_d']); - if ($ret) { - $message = _("OU deleted successfully."); - } - else { - $error = _("Unable to delete OU!"); - } - } - // do not delete ou - elseif (($_POST['type'] == "del_dom") && ($_POST['abort'])) { - display_main(); - exit; - } - // ask if user is sure to delete - elseif ($_POST['type'] == "del_dom") { - // check for sub entries - $sr = @ldap_list($_SESSION['ldap']->server(), $_POST['domsuff_d'], "ObjectClass=*", array("")); - $info = @ldap_get_entries($_SESSION['ldap']->server(), $sr); - if ($sr && $info['count'] == 0) { - $text = "
\n" . - "

" . _("Do you really want to delete this OU?") . " " . "\n" . - "
\n

" . $_POST['domsuff_d'] . "

\n" . - "
\n" . - "
\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "\n" . - "
"; - } - else { - $error = _("OU is not empty or invalid!"); - } - } - - // print header - echo $_SESSION['header']; - echo ("OU-Editor\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // display messages - if ($error || $message || $text) { - if ($text) echo $text; - elseif ($error) { - StatusMessage("ERROR", "", $error); - echo ("
" . _("Back to OU-Editor") . "\n"); - } - else { - StatusMessage("INFO", "", $message); - echo ("
" . _("Back to OU-Editor") . "\n"); - } - } - -echo ("\n"); -exit; -} -else display_main(); - -function display_main() { - // generate lists of possible suffixes - $usr_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_UserSuffix()); - $grp_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_GroupSuffix()); - $hst_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_HostSuffix()); - $dom_units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_DomainSuffix()); - - // display main page - echo $_SESSION['header']; - echo ("OU-Editor\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
\n"); - echo ("
\n"); - - // user OUs - echo ("
" . _("Users") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); - - // group OUs - echo ("
" . _("Groups") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); - - // host OUs - echo ("
" . _("Samba Hosts") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); - - // domain OUs - if ($_SESSION['config']->is_samba3()) { - echo ("
" . _("Domains") . "\n"); - echo ("\n"); - // new OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - // delete OU - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("\n"); - echo ("
" . _("New organizational unit") . ": \n"); - echo ("". _("Help") ."
" . _("Delete organizational unit") . ": \n"); - echo (" ". _("Help") ."
\n"); - echo ("
\n"); - echo ("
\n"); - } - - echo (""); - echo ("
\n"); - echo ("\n"); -} diff --git a/lam-0.4/templates/profedit/profilecreate.php b/lam-0.4/templates/profedit/profilecreate.php deleted file mode 100644 index cafb2076..00000000 --- a/lam-0.4/templates/profedit/profilecreate.php +++ /dev/null @@ -1,395 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// print header -echo $_SESSION['header']; -echo "\n\n"; -echo "\n\n
\n"; - -// save user profile -if ($_GET['type'] == "user") { - $acct = new account(); - // check input - if ($_POST['general_group'] && eregi("^[a-z]([a-z0-9_\\-])*$", $_POST['general_group'])) { - $acct->general_group = $_POST['general_group']; - } - else { - StatusMessage("ERROR", _("Primary group name is invalid!"), $_POST['general_group']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['general_groupadd']) { - $acct->general_groupadd = $_POST['general_groupadd']; - } - if ($_POST['general_homedir'] && eregi("^[/]([a-z0-9])+([/][a-z0-9_\\-\\$]+)*$", $_POST['general_homedir'])) { - $acct->general_homedir = $_POST['general_homedir']; - } - elseif ($_POST['general_homedir']) { - StatusMessage("ERROR", _("Homedir is invalid!"), $_POST['general_homedir']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['general_shell'] && eregi("^[/]([a-z])+([/][a-z]+)*$", $_POST['general_shell'])) { - $acct->general_shell = $_POST['general_shell']; - } - else { - StatusMessage("ERROR", _("Shell is invalid!"), $_POST['general_shell']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['unix_password_no'] == "1") || ($_POST['unix_password_no'] == "0")) { - $acct->unix_password_no = $_POST['unix_password_no']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for login disable!"), $_POST['unix_password_no']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['unix_pwdwarn'] && is_numeric($_POST['unix_pwdwarn'])) { - $acct->unix_pwdwarn = $_POST['unix_pwdwarn']; - } - elseif ($_POST['unix_pwdwarn']) { - StatusMessage("ERROR", _("Wrong parameter for Unix password warning!"), $_POST['unix_pwdwarn']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['unix_pwdminage'] && is_numeric($_POST['unix_pwdminage'])) { - $acct->unix_pwdminage = $_POST['unix_pwdminage']; - } - elseif ($_POST['unix_pwdminage']) { - StatusMessage("ERROR", _("Password minimum age is not numeric!"), $_POST['unix_pwdminage']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['unix_pwdmaxage'] && is_numeric($_POST['unix_pwdmaxage'])) { - $acct->unix_pwdmaxage = $_POST['unix_pwdmaxage']; - } - elseif ($_POST['unix_pwdmaxage']) { - StatusMessage("ERROR", _("Password maximum age is not numeric!"), $_POST['unix_pwdmaxage']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (is_numeric($_POST['unix_pwdexpire_day']) && is_numeric($_POST['unix_pwdexpire_mon']) && is_numeric($_POST['unix_pwdexpire_yea'])) { - $acct->unix_pwdexpire = mktime(0, 0, 0, $_POST['unix_pwdexpire_mon'], $_POST['unix_pwdexpire_day'], $_POST['unix_pwdexpire_yea']); - } - else { - StatusMessage("ERROR", _("Wrong parameter for Unix password expiry!")); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['unix_host'] && eregi("^[a-z0-9]+(,[a-z0-9]+)*$", $_POST['unix_host'])) { - $acct->unix_host = $_POST['unix_host']; - } - elseif ($_POST['unix_host']) { - StatusMessage("ERROR", _("Unix workstations are invalid!"), $_POST['unix_host']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['unix_deactivated'] == "1") || ($_POST['unix_deactivated'] == "0")) { - $acct->unix_deactivated = $_POST['unix_deactivated']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Unix account activation!"), $_POST['unix_deactivated']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['unix_pwdallowlogin'] && is_numeric($_POST['unix_pwdallowlogin'])) { - $acct->unix_pwdallowlogin = $_POST['unix_pwdallowlogin']; - } - elseif ($_POST['unix_pwdallowlogin']) { - StatusMessage("ERROR", _("Password expiry is not numeric!"), $_POST['unix_pwdallowlogin']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['smb_password_no'] == "1") || ($_POST['smb_password_no'] == "0")) { - $acct->smb_flags['N'] = $_POST['smb_password_no']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Samba option: Set Samba Password!"), $_POST['smb_password_no']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['smb_useunixpwd'] == "1") || ($_POST['smb_useunixpwd'] == "0")) { - $acct->smb_useunixpwd = $_POST['smb_useunixpwd']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Samba option: Set Unix Password for Samba!"), $_POST['smb_useunixpwd']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['smb_flagsD'] == "1") || ($_POST['smb_flagsD'] == "0")) { - $acct->smb_flags['D'] = $_POST['smb_flagsD']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Samba option: Account does not expire!"), $_POST['smb_flagsD']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (($_POST['smb_flagsX'] == "1") || ($_POST['smb_flagsX'] == "0")) { - $acct->smb_flags['X'] = $_POST['smb_flagsX']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Samba option: Account is disabled!"), $_POST['smb_flagsX']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['smb_homedrive'] && ereg("^[D-Z]:$", $_POST['smb_homedrive'])) { - $acct->smb_homedrive = $_POST['smb_homedrive']; - } - else { - StatusMessage("ERROR", _("Wrong parameter for Samba option: home drive!"), $_POST['smb_homedrive']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (get_magic_quotes_gpc() == 1) $_POST['smb_smbhome'] = stripslashes($_POST['smb_smbhome']); - if ($_POST['smb_smbhome'] && eregi("^[\][\]([a-z0-9])+([\][a-z0-9_\\-\\$%]+)+$", $_POST['smb_smbhome'])) { - $acct->smb_smbhome = $_POST['smb_smbhome']; - } - elseif ($_POST['smb_smbhome']) { - StatusMessage("ERROR", _("Samba home directory is invalid!"), $_POST['smb_smbhome']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (get_magic_quotes_gpc() == 1) $_POST['smb_profilepath'] = stripslashes($_POST['smb_profilepath']); - if ($_POST['smb_profilepath'] && (eregi("^[\][\]([a-z0-9])+([\][a-z0-9_\\-\\$%]+)+$", $_POST['smb_profilepath']) || - eregi('^[/][a-z]([a-z]|[0-9]|[.]|[-]|[_]|[%])*([/][a-z]([a-z]|[0-9]|[.]|[-]|[_]|[%])*)*$', $_POST['smb_profilepath']))) { - $acct->smb_profilePath = $_POST['smb_profilepath']; - } - elseif ($_POST['smb_profilepath']) { - StatusMessage("ERROR", _("Profile path is invalid!"), $_POST['smb_profilepath']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (get_magic_quotes_gpc() == 1) $_POST['smb_scriptPath'] = stripslashes($_POST['smb_scriptPath']); - if ($_POST['smb_scriptPath'] && is_string($_POST['smb_scriptPath'])) { - $acct->smb_scriptPath = $_POST['smb_scriptPath']; - } - elseif ($_POST['smb_scriptPath']) { - StatusMessage("ERROR", _("Logon script is invalid!"), $_POST['smb_scriptPath']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['smb_smbuserworkstations'] && eregi("^[a-z0-9\\.\\-_]+( [a-z0-9\\.\\-_]+)*$", $_POST['smb_smbuserworkstations'])) { - $acct->smb_smbuserworkstations = $_POST['smb_smbuserworkstations']; - } - elseif ($_POST['smb_smbuserworkstations']) { - StatusMessage("ERROR", _("Samba workstations are invalid!"), $_POST['smb_smbuserworkstations']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['smb_domain'] && is_string($_POST['smb_domain'])) { - $acct->smb_domain = $_POST['smb_domain']; - } - elseif ($_POST['smb_domain']) { - StatusMessage("ERROR", _("Domain name is invalid!"), $_POST['smb_domain']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - - // check quota settings if script is given - if ($_SESSION['config']->get_scriptPath()) { - if ($_POST['quotacount'] && ($_POST['quotacount'] > 0)) { - for ($i = 0; $i < $_POST['quotacount']; $i++) { - $acct->quota[$i][0] = $_POST['f_quota_'.$i.'_0']; - $acct->quota[$i][2] = $_POST['f_quota_'.$i.'_2']; - $acct->quota[$i][3] = $_POST['f_quota_'.$i.'_3']; - $acct->quota[$i][6] = $_POST['f_quota_'.$i.'_6']; - $acct->quota[$i][7] = $_POST['f_quota_'.$i.'_7']; - // Check if values are OK - if (!ereg('^([0-9])+$', $acct->quota[$i][2])) { - StatusMessage('ERROR', _('Block soft quota'), _('Block soft quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][3])) { - StatusMessage('ERROR', _('Block hard quota'), _('Block hard quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][6])) { - StatusMessage('ERROR', _('Inode soft quota'), _('Inode soft quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][7])) { - StatusMessage('ERROR', _('Inode hard quota'), _('Inode hard quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - } - } - } - - if ($_POST['profname'] && eregi("^[0-9a-z_\\-]+$", $_POST['profname'])) { - $profname = $_POST['profname']; - } - else { - StatusMessage("ERROR", _("Invalid profile name!"), $_POST['profname']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - - // save profile - if (saveUserProfile($acct, $profname)) { - StatusMessage("INFO", _("Profile was saved."), $profname); - } - else StatusMessage("ERROR", _("Unable to save profile!"), $profname); - - echo ("

" . _("Back to Profile Editor") . "

"); -} - - -// save group profile -elseif ($_GET['type'] == "group") { - $acct = new account(); - // check input - if ($_POST['smb_domain'] && is_string($_POST['smb_domain'])) { - $acct->smb_domain = $_POST['smb_domain']; - } - elseif ($_POST['smb_domain']) { - StatusMessage("ERROR", _("Domain name is invalid!"), $_POST['smb_domain']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - // check quota settings if script is given - if ($_SESSION['config']->get_scriptPath()) { - if ($_POST['quotacount'] && ($_POST['quotacount'] > 0)) { - for ($i = 0; $i < $_POST['quotacount']; $i++) { - $acct->quota[$i][0] = $_POST['f_quota_'.$i.'_0']; - $acct->quota[$i][2] = $_POST['f_quota_'.$i.'_2']; - $acct->quota[$i][3] = $_POST['f_quota_'.$i.'_3']; - $acct->quota[$i][6] = $_POST['f_quota_'.$i.'_6']; - $acct->quota[$i][7] = $_POST['f_quota_'.$i.'_7']; - // Check if values are OK - if (!ereg('^([0-9])+$', $acct->quota[$i][2])) { - StatusMessage('ERROR', _('Block soft quota'), _('Block soft quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][3])) { - StatusMessage('ERROR', _('Block hard quota'), _('Block hard quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][6])) { - StatusMessage('ERROR', _('Inode soft quota'), _('Inode soft quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if (!ereg('^([0-9])+$', $acct->quota[$i][7])) { - StatusMessage('ERROR', _('Inode hard quota'), _('Inode hard quota contains invalid characters. Only natural numbers are allowed')); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - } - } - } - - if ($_POST['profname'] && eregi("^[0-9a-z_\\-]+$", $_POST['profname'])) { - $profname = $_POST['profname']; - } - else { - StatusMessage("ERROR", _("Invalid profile name!"), $_POST['profname']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - - // save profile - if (savegroupProfile($acct, $profname)) { - StatusMessage("INFO", _("Profile was saved."), $profname); - } - else StatusMessage("ERROR", _("Unable to save profile!"), $profname); - - echo ("

" . _("Back to Profile Editor") . "

"); -} - - -// save host profile -elseif ($_GET['type'] == "host") { - $acct = new account(); - // check input - if ($_POST['general_group'] && eregi("^[a-z]([a-z0-9_\\-])*$", $_POST['general_group'])) { - $acct->general_group = $_POST['general_group']; - } - else { - StatusMessage("ERROR", _("Primary group name is invalid!"), $_POST['general_group']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['smb_domain'] && is_string($_POST['smb_domain'])) { - $acct->smb_domain = $_POST['smb_domain']; - } - elseif ($_POST['smb_domain']) { - StatusMessage("ERROR", _("Domain name is invalid!"), $_POST['smb_domain']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - if ($_POST['profname'] && eregi("^[0-9a-z_\\-]+$", $_POST['profname'])) { - $profname = $_POST['profname']; - } - else { - StatusMessage("ERROR", _("Invalid profile name!"), $_POST['profname']); - echo ("

" . _("Back to Profile Editor") . ""); - exit; - } - // save profile - if (saveHostProfile($acct, $profname)) { - echo StatusMessage("INFO", _("Profile was saved."), $profname); - } - else StatusMessage("ERROR", _("Unable to save profile!"), $profname); - echo ("

" . _("Back to Profile Editor") . "

"); -} - -// error: no or wrong type -else StatusMessage("ERROR", "", _("No type specified!")); - -echo ("\n"); - -?> diff --git a/lam-0.4/templates/profedit/profiledelete.php b/lam-0.4/templates/profedit/profiledelete.php deleted file mode 100644 index 9a2c82c4..00000000 --- a/lam-0.4/templates/profedit/profiledelete.php +++ /dev/null @@ -1,132 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// print standard header -echo $_SESSION['header']; -echo ("" . _("Delete User Profile") . "\n"); -echo "\n"; -echo ("\n\n


\n"); - -// check if admin has submited delete operation -if ($_POST['submit']) { - // delete user profile - if ($_POST['type'] == "user") { - if (!delUserProfile($_POST['del'])) { - StatusMessage("ERROR", "", _("Unable to delete profile!") . " " . $_POST['del']); - } - else StatusMessage("INFO", "", _("Deleted profile:") . " " . $_POST['del']); - } - // delete group profile - elseif ($_POST['type'] == "group") { - if (!delGroupProfile($_POST['del'])) { - StatusMessage("ERROR", "", _("Unable to delete profile!") . " " . $_POST['del']); - } - else StatusMessage("INFO", "", _("Deleted profile:") . " " . $_POST['del']); - } - // delete host profile - elseif ($_POST['type'] == "host") { - if (!delHostProfile($_POST['del'])) { - StatusMessage("ERROR", "", _("Unable to delete profile!") . " " . $_POST['del']); - } - else StatusMessage("INFO", "", _("Deleted profile:") . " " . $_POST['del']); - } - // wrong profile type - else { - StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $_POST['type']); - } - echo ("
" . _("Back to Profile Editor") . ""); - echo ("\n"); - exit; -} - -// check if admin has aborted delete operation -if ($_POST['abort']) { - StatusMessage("INFO", "", _("Delete operation canceled.")); - echo ("
" . _("Back to Profile Editor") . ""); - echo ("\n"); - exit; -} - -// check if right type was given -$type = $_GET['type']; -if (($type == "user") || ($type == "host") || ($type == "group")) { - // user profile - if ($type == "user") { - echo ("

" . _("Do you really want to delete this profile?") . " "); - echo ($_GET['del'] . "

\n"); - echo ("
\n"); - echo ("

\n"); - echo ("\n"); - echo ("\n"); - echo (""); - echo (""); - echo ("

\n"); - } - // group profile - elseif ($type == "group") { - echo ("

" . _("Do you really want to delete this profile?") . " "); - echo ($_GET['del'] . "

\n"); - echo ("
\n"); - echo ("

\n"); - echo ("\n"); - echo ("\n"); - echo (""); - echo (""); - echo ("

\n"); - } - // host profile - elseif ($type == "host") { - echo ("

" . _("Do you really want to delete this profile?") . " "); - echo ($_GET['del'] . "

\n"); - echo ("
\n"); - echo ("

\n"); - echo ("\n"); - echo ("\n"); - echo (""); - echo (""); - echo ("

\n"); - } -} -else{ - // no valid profile type - StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $type); - echo ("" . _("Back to Profile Editor") . ""); -} diff --git a/lam-0.4/templates/profedit/profilegroup.php b/lam-0.4/templates/profedit/profilegroup.php deleted file mode 100644 index 26803d32..00000000 --- a/lam-0.4/templates/profedit/profilegroup.php +++ /dev/null @@ -1,158 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// load quota list -if ($_SESSION['config']->get_scriptPath()) { - $tempacc = new account(); - $tempacc->type = "group"; - $acct_q = getquotas(array($tempacc)); -} - -// print header -echo $_SESSION['header']; -echo "\n\n"; -echo "
\n"; - -$acct = new Account(); - -// check if profile should be edited -if ($_GET['edit']) { - $acct = loadGroupProfile($_GET['edit']); -} - -// display formular -echo ("
\n"); - -if ($_SESSION['config']->is_samba3()) { - // Samba part - echo ("
" . _("Samba") . "\n"); - echo ("\n"); - - // domain - echo ("\n"); - echo ("\n"); - echo "\n"; - echo ("\n"); - echo ("\n"); - - echo ("
" . _("Domain") . ": " . _("Help") . "
\n"); - echo ("
\n"); -} - - -// Quota settings if script is given -if ($_SESSION['config']->get_scriptPath()) { - echo ("
"); - echo "
"._('Quota properties')."\n"; - echo "\n"; - // description line - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // help line - echo "'."\n". - "'."\n". - "'."\n". - "'."\n". - "'."\n". - ''."\n"; - // quota settings - for ($i = 0; $i < (sizeof($acct_q[0]->quota)); $i++) { - // load values from profile - for ($k = 0; $k < sizeof($acct->quota); $k++) { - // check for equal mountpoints - if ($acct->quota[$k][0] == $acct_q[0]->quota[$i][0]) { - $acct_q[0]->quota[$i][2] = $acct->quota[$i][2]; - $acct_q[0]->quota[$i][3] = $acct->quota[$i][3]; - $acct_q[0]->quota[$i][6] = $acct->quota[$i][6]; - $acct_q[0]->quota[$i][7] = $acct->quota[$i][7]; - } - } - echo "\n"; - echo '\n"; // mountpoint - echo '\n"; // blocks soft limit - echo '\n"; // blocks hard limit - echo '\n"; // inodes soft limit - echo '\n"; // inodes hard limit - echo "\n"; - } - echo "
" . _('Mountpoint') . "  " . _('Soft block limit') . "  " . _('Hard block limit') . "  " . _('Soft inode limit') . "  " . _('Hard inode limit') . "  
"._('Help').'"._('Help').'"._('Help').'"._('Help').'"._('Help').'
' . $acct_q[0]->quota[$i][0] . "quota[$i][0] . "\">
\n"; - // save number of mountpoints - echo "quota)) . "\">\n"; - echo "
\n"; -} - -echo ("

\n"); - -// profile name and submit/abort buttons -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("
" . _("Profile name") . ":" . _("Help") . "
 
\n"); -echo (" 
\n"); - -echo ("
\n"); diff --git a/lam-0.4/templates/profedit/profilehost.php b/lam-0.4/templates/profedit/profilehost.php deleted file mode 100644 index f0c34e46..00000000 --- a/lam-0.4/templates/profedit/profilehost.php +++ /dev/null @@ -1,131 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// print header -echo $_SESSION['header']; -echo "\n\n"; -echo "
\n"; - -$acct = new Account(); - -// check if profile should be edited -if ($_GET['edit']) { - $acct = loadHostProfile($_GET['edit']); -} - -// search available groups -$groups = findgroups(); - -// display formular -echo ("
\n"); - - -// Unix part -echo ("
" . _("Host attributes") . "\n"); -echo ("\n"); - -// primary group -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// domain -echo ("\n"); -echo ("\n"); -if ($_SESSION['config']->is_samba3()) { - echo "\n"; -} -else { - echo ("\n"); -} -echo ("\n"); -echo ("\n"); - -echo ("
" . _("Primary group") . ": " . _("Help") . "
   
" . _("Domain") . ": smb_domain . "\" name=\"smb_domain\">" . _("Help") . "
\n"); -echo ("
\n"); - - -echo ("

\n"); - -// profile name and submit/abort buttons -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("
" . _("Profile name") . ":" . _("Help") . "
 
\n"); -echo (" 
\n"); - -echo ("
\n"); - - - -?> diff --git a/lam-0.4/templates/profedit/profilemain.php b/lam-0.4/templates/profedit/profilemain.php deleted file mode 100644 index ff51da1c..00000000 --- a/lam-0.4/templates/profedit/profilemain.php +++ /dev/null @@ -1,267 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// check if user has pressed submit or abort button -if ($_POST['forward'] == "yes") { - // on abort go back to main page - if ($_POST['abort']) { - metaRefresh("../lists/listusers.php"); - } - // on submit forward to other profile pages - elseif ($_POST['submit']) { - // create new user profile - if ($_POST['profile'] == "newuser") { - metaRefresh("profileuser.php"); - } - // edit user profile - elseif($_POST['profile'] == "edituser") { - metaRefresh("profileuser.php?edit=" . $_POST['e_user']); - } - // delete user profile - elseif($_POST['profile'] == "deluser") { - metaRefresh("profiledelete.php?type=user&del=" . $_POST['d_user']); - } - if ($_SESSION['config']->is_samba3() || $_SESSION['config']->get_scriptPath()) { - // create new group profile - if ($_POST['profile'] == "newgroup") { - metaRefresh("profilegroup.php"); - } - // edit group profile - elseif($_POST['profile'] == "editgroup") { - metaRefresh("profilegroup.php?edit=" . $_POST['e_group']); - } - // delete group profile - elseif($_POST['profile'] == "delgroup") { - metaRefresh("profiledelete.php?type=group&del=" . $_POST['d_group']); - } - } - // create new host profile - if ($_POST['profile'] == "newhost") { - metaRefresh("profilehost.php"); - } - // edit host profile - elseif($_POST['profile'] == "edithost") { - metaRefresh("profilehost.php?edit=" . $_POST['e_host']); - } - // delete user profile - elseif($_POST['profile'] == "delhost") { - metaRefresh("profiledelete.php?type=host&del=" . $_POST['d_host']); - } - } - exit; -} - -// get list of user profiles and generate entries for dropdown box -$usrprof = getUserProfiles(); -$userprofiles = ""; -for ($i = 0; $i < sizeof($usrprof); $i++) { - $userprofiles = $userprofiles . "\n"; -} - -if ($_SESSION['config']->is_samba3() || $_SESSION['config']->get_scriptPath()) { - // get list of group profiles and generate entries for dropdown box - $grpprof = getGroupProfiles(); - $groupprofiles = ""; - for ($i = 0; $i < sizeof($grpprof); $i++) { - $groupprofiles = $groupprofiles . "\n"; - } -} - -// get list of host profiles and generate entries for dropdown box -$hstprof = getHostProfiles(); -$hostprofiles = ""; -for ($i = 0; $i < sizeof($hstprof); $i++) { - $hostprofiles = $hostprofiles . "\n"; -} - -echo $_SESSION['header']; -?> - - LDAP Account Manager - - - -

-
- - -
- - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - -
-
- -

- -is_samba3() || $_SESSION['config']->get_scriptPath()) { - echo " "; - echo "
"; - echo " "; - echo " " . _("Group Profiles") . ""; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - if ($groupprofiles != "") { - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - } - echo "
"; - echo " "; - echo " " . _("Create a new Group Profile") . "
"; - echo " "; - echo " "; - echo " "; - echo " " . _("Edit Group Profile") . "
"; - echo " "; - echo " "; - echo " "; - echo " " . _("Delete Group Profile") . "
"; - echo "
"; - - echo "

"; -} -?> - - -
- - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - -
-
- -

- - -

- - - "> - "> -

- -
- - diff --git a/lam-0.4/templates/profedit/profileuser.php b/lam-0.4/templates/profedit/profileuser.php deleted file mode 100644 index 55b53fcc..00000000 --- a/lam-0.4/templates/profedit/profileuser.php +++ /dev/null @@ -1,435 +0,0 @@ -server()) { - metaRefresh("../login.php"); - exit; -} - -// load quota list -if ($_SESSION['config']->get_scriptPath()) { - $tempacc = new account(); - $tempacc->type = "user"; - $acct_q = getquotas(array($tempacc)); -} - -// print header -echo $_SESSION['header']; -echo "\n\n"; -echo "
\n"; - -$acct = new Account(); - -// get list of login shells -$shelllist = file('../../config/shells'); -$hells = array(); -for ($i = 0; $i < sizeof($shelllist); $i++) { - $shelllist[$i] = chop($shelllist[$i]); - $shelllist[$i] = trim($shelllist[$i]); - if ($shelllist[$i] != "") $shells[sizeof($shells)] = $shelllist[$i]; -} - -// check if profile should be edited -if ($_GET['edit']) { - $acct = loadUserProfile($_GET['edit']); -} - -// search available groups -$groups = findgroups(); - -// calculate date for unix password expiry -if ($acct->unix_pwdexpire) { -$tstamp = $acct->unix_pwdexpire; -$tdate = date(dmY, $acct->unix_pwdexpire); -$unix_pwdexpire_day = substr($tdate, 0, 2); -$unix_pwdexpire_mon = substr($tdate, 2, 2); -$unix_pwdexpire_yea = substr($tdate, 4, 4); -} - -// display formular -echo ("
\n"); - - -// Unix part -echo ("
" . _("Unix account") . "\n"); -echo ("\n"); - -// primary group -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// additional groups -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// path to home directory -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// login shell -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// no Unix password -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// Unix: password expiry warn -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// Unix: password expiry -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// maximum password age -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// minimum password age -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// password expire date -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// unix workstations -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// deactivate account -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - - -echo ("
" . _("Primary group") . ": " . _("Help") . "
" . _("Additional groups") . ": " . _("Help") . "
   
" . _("Home Directory") . ": general_homedir . "\" name=\"general_homedir\">" . _("Help") . "
" . _("Login shell") . ": " . _("Help") . "
   
" . _("Set Unix Password") . ": " . _("Help") . "
" . _("Password warning") . ": unix_pwdwarn . "\">" . _("Help") . "
" . _("Password expiry") . ": unix_pwdallowlogin . "\">" . _("Help") . "
" . _("Maximum password age") . ": unix_pwdmaxage . "\">" . _("Help") . "
" . _("Minimum password age") . ": unix_pwdminage . "\">" . _("Help") . "
" . _("Account expires on") . ": \n"); -echo ("\n"); -echo ("\n"); -echo ("" . _("Help") . "
   
" . _("Unix workstations") . ": unix_host . "\">" . _("Help") . "
   
" . _("Account is deactivated") . ": " . _("Help") . "
\n"); -echo ("
\n"); -echo ("
"); - -// Samba part -echo ("
" . _("Samba account") . "\n"); -echo ("\n"); - -// no Samba password -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// use Unix password as Samba password -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// password expires -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// account is disabled -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// drive letter for home directory -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// path to home directory -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// path to profile -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// path to logon scripts -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// workstations -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); - -// empty row -echo ("\n"); - -// domain -echo ("\n"); -echo ("\n"); -if ($_SESSION['config']->is_samba3()) { - echo "\n"; -} -else { - echo ("\n"); -} -echo ("\n"); -echo ("\n"); - -echo ("
" . _("Set Samba password") . ": " . _("Help") . "
" . _("Set Unix password for Samba") . ": " . _("Help") . "
" . _("Password does not expire") . ": " . _("Help") . "
" . _("Account is deactivated") . ": " . _("Help") . "
   
" . _("Home drive") . ": " . _("Help") . "
" . _("Home path") . ": smb_smbhome . "\" name=\"smb_smbhome\">" . _("Help") . "
" . _("Profile path") . ": smb_profilePath . "\" name=\"smb_profilepath\">" . _("Help") . "
" . _("Logon script") . ": smb_scriptPath . "\" name=\"smb_scriptPath\">" . _("Help") . "
   
" . _("Workstations") . ": smb_smbuserworkstations . "\" name=\"smb_smbuserworkstations\">" . _("Help") . "
   
" . _("Domain") . ": smb_domain . "\" name=\"smb_domain\">" . _("Help") . "
\n"); -echo ("
\n"); - - -// Quota settings if script is given -if ($_SESSION['config']->get_scriptPath()) { - echo ("
"); - echo "
"._('Quota properties')."\n"; - echo "\n"; - // description line - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - // help line - echo "'."\n". - "'."\n". - "'."\n". - "'."\n". - "'."\n". - ''."\n"; - // quota settings - for ($i = 0; $i < (sizeof($acct_q[0]->quota)); $i++) { - // load values from profile - for ($k = 0; $k < sizeof($acct->quota); $k++) { - // check for equal mountpoints - if ($acct->quota[$k][0] == $acct_q[0]->quota[$i][0]) { - $acct_q[0]->quota[$i][2] = $acct->quota[$i][2]; - $acct_q[0]->quota[$i][3] = $acct->quota[$i][3]; - $acct_q[0]->quota[$i][6] = $acct->quota[$i][6]; - $acct_q[0]->quota[$i][7] = $acct->quota[$i][7]; - } - } - echo "\n"; - echo '\n"; // mountpoint - echo '\n"; // blocks soft limit - echo '\n"; // blocks hard limit - echo '\n"; // inodes soft limit - echo '\n"; // inodes hard limit - echo "\n"; - } - echo "
" . _('Mountpoint') . "  " . _('Soft block limit') . "  " . _('Hard block limit') . "  " . _('Soft inode limit') . "  " . _('Hard inode limit') . "  
"._('Help').'"._('Help').'"._('Help').'"._('Help').'"._('Help').'
' . $acct_q[0]->quota[$i][0] . "quota[$i][0] . "\">
\n"; - // save number of mountpoints - echo "quota)) . "\">\n"; - echo "
\n"; -} - -echo ("

\n"); - -// profile name and submit/abort buttons -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("
" . _("Profile name") . ":" . _("Help") . "
 
\n"); -echo (" 
\n"); - -echo ("
\n"); diff --git a/lam-0.4/tests/conf-main-test.php b/lam-0.4/tests/conf-main-test.php deleted file mode 100644 index 152886b5..00000000 --- a/lam-0.4/tests/conf-main-test.php +++ /dev/null @@ -1,62 +0,0 @@ -"; -echo (" Current Values

"); -echo "Password: " . $conf->password . "
\n"; -echo "Default: " . $conf->default . "
\n"; -echo ("

Starting Test...

"); -// now all prferences are loaded -echo ("Loading preferences..."); -$password = $conf->password; -$default = $conf->default; -echo ("done
"); -// next we modify them and save config.cfg -echo ("Changing preferences..."); -$conf->password = "123456"; -$conf->default = "lam"; -$conf->save(); -echo ("done
"); -// at last all preferences are read from lam.conf and compared -echo ("Loading and comparing..."); -$conf = new CfgMain(); -if ($conf->password != "123456") echo ("
Saving password failed!
"); -if ($conf->default != "lam") echo ("
Saving Default failed!
"); -echo ("done
"); -// restore old values -echo ("Restoring old preferences..."); -$conf->password = $password; -$conf->default = $default; -$conf->save(); -echo ("done
"); -// finished -echo ("
Test is complete."); -echo ("

Current Config

"); -echo "Password: " . $conf->password . "
\n"; -echo "Default: " . $conf->default . "
\n"; - -?> diff --git a/lam-0.4/tests/conf-test.php b/lam-0.4/tests/conf-test.php deleted file mode 100644 index 070f3323..00000000 --- a/lam-0.4/tests/conf-test.php +++ /dev/null @@ -1,144 +0,0 @@ -"; -echo (" Current Config

"); -$conf->printconf(); -echo ("

Starting Test...

"); -// now all preferences are loaded -echo ("Loading preferences..."); -$ServerURL = $conf->get_ServerURL(); -$cachetimeout = $conf->get_cacheTimeout(); -$Passwd = $conf->get_Passwd(); -$Adminstring = $conf->get_Adminstring(); -$Suff_users = $conf->get_UserSuffix(); -$Suff_groups = $conf->get_GroupSuffix(); -$Suff_hosts = $conf->get_HostSuffix(); -$Suff_domains = $conf->get_DomainSuffix(); -$MinUID = $conf->get_minUID(); -$MaxUID = $conf->get_maxUID(); -$MinGID = $conf->get_minGID(); -$MaxGID = $conf->get_maxGID(); -$MinMachine = $conf->get_minMachine(); -$MaxMachine = $conf->get_maxMachine(); -$userlistAttributes = $conf->get_userlistAttributes(); -$grouplistAttributes = $conf->get_grouplistAttributes(); -$hostlistAttributes = $conf->get_hostlistAttributes(); -$maxlistentries = $conf->get_maxlistentries(); -$defaultlanguage = $conf->get_defaultlanguage(); -$scriptpath = $conf->get_scriptPath(); -$scriptServer = $conf->get_scriptServer(); -$samba3 = $conf->get_samba3(); -$pwdhash = $conf->get_pwdhash(); -echo ("done
"); -// next we modify them and save lam.conf -echo ("Changing preferences..."); -$conf->set_ServerURL("ldap://123.345.678.123:777"); -$conf->set_cacheTimeout("33"); -$conf->set_Passwd("123456abcde"); -$conf->set_Adminstring("uid=test,o=test,dc=org;uid=root,o=test2,c=de"); -$conf->set_UserSuffix("ou=test,o=test,c=de"); -$conf->set_GroupSuffix("ou=testgrp,o=test,c=de"); -$conf->set_HostSuffix("ou=testhst,o=test,c=de"); -$conf->set_DomainSuffix("ou=testdom,o=test,c=de"); -$conf->set_minUID("25"); -$conf->set_maxUID("254"); -$conf->set_minGID("253"); -$conf->set_maxGID("1234"); -$conf->set_minMachine("3"); -$conf->set_maxMachine("47"); -$conf->set_userlistAttributes("#uid;#cn"); -$conf->set_grouplistAttributes("#gidNumber;#cn;#memberUID"); -$conf->set_hostlistAttributes("#cn;#uid;#description"); -$conf->set_maxlistentries("54"); -$conf->set_defaultlanguage("de_AT:iso639_de:Deutsch (Oesterreich)"); -$conf->set_scriptPath("/var/www/lam/lib/script"); -$conf->set_scriptServer("127.0.0.1"); -$conf->set_samba3("yes"); -$conf->set_pwdhash("SMD5"); -$conf->save(); -echo ("done
"); -// at last all preferences are read from lam.conf and compared -echo ("Loading and comparing..."); -$conf2 = new Config('test'); -if ($conf2->get_ServerURL() != "ldap://123.345.678.123:777") echo ("
Saving ServerURL failed!
"); -if ($conf2->get_cacheTimeout() != "33") echo ("
Saving Cache timeout failed!
"); -if ($conf2->get_Passwd() != "123456abcde") echo ("
Saving password failed!
"); -if ($conf2->get_Adminstring() != "uid=test,o=test,dc=org;uid=root,o=test2,c=de") echo ("
Saving admin string failed!
"); -if ($conf2->get_UserSuffix() != "ou=test,o=test,c=de") echo ("
Saving user suffix failed!
"); -if ($conf2->get_GroupSuffix() != "ou=testgrp,o=test,c=de") echo ("
Saving group suffix failed!
"); -if ($conf2->get_HostSuffix() != "ou=testhst,o=test,c=de") echo ("
Saving host suffix failed!
"); -if ($conf2->get_DomainSuffix() != "ou=testdom,o=test,c=de") echo ("
Saving domain suffix failed!
"); -if ($conf2->get_minUID() != "25") echo ("
Saving minUID failed!
"); -if ($conf2->get_maxUID() != "254") echo ("
Saving maxUID failed!
"); -if ($conf2->get_minGID() != "253") echo ("
Saving minGID failed!
"); -if ($conf2->get_maxGID() != "1234") echo ("
Saving maxGID failed!
"); -if ($conf2->get_minMachine() != "3") echo ("
Saving maxMachine failed!
"); -if ($conf2->get_maxMachine() != "47") echo ("
Saving minMachine failed!
"); -if ($conf2->get_userlistAttributes() != "#uid;#cn") echo ("
Saving userlistAttributes failed!
"); -if ($conf2->get_grouplistAttributes() != "#gidNumber;#cn;#memberUID") echo ("
Saving grouplistAttributes failed!
"); -if ($conf2->get_hostlistAttributes() != "#cn;#uid;#description") echo ("
Saving hostlistAttributes failed!
"); -if ($conf2->get_maxlistentries() != "54") echo ("
Saving maxlistentries failed!
"); -if ($conf2->get_defaultlanguage() != "de_AT:iso639_de:Deutsch (Oesterreich)") echo ("
Saving default language failed!
"); -if ($conf2->get_scriptPath() != "/var/www/lam/lib/script") echo ("
Saving script path failed!
"); -if ($conf2->get_scriptServer() != "127.0.0.1") echo ("
Saving script server failed!
"); -if ($conf2->get_samba3() != "yes") echo ("
Saving samba3 failed!
"); -if ($conf2->get_pwdhash() != "SMD5") echo ("
Saving pwdhash failed!
"); -echo ("done
"); -// restore old values -echo ("Restoring old preferences..."); -$conf2->set_ServerURL($ServerURL); -$conf2->set_cacheTimeout($cachetimeout); -$conf2->set_Passwd($Passwd); -$conf2->set_Adminstring($Adminstring); -$conf2->set_UserSuffix($Suff_users); -$conf2->set_GroupSuffix($Suff_groups); -$conf2->set_HostSuffix($Suff_hosts); -$conf2->set_DomainSuffix($Suff_domains); -$conf2->set_minUID($MinUID); -$conf2->set_maxUID($MaxUID); -$conf2->set_minGID($MinGID); -$conf2->set_maxGID($MaxGID); -$conf2->set_minMachine($MinMachine); -$conf2->set_maxMachine($MaxMachine); -$conf2->set_userlistAttributes($userlistAttributes); -$conf2->set_grouplistAttributes($grouplistAttributes); -$conf2->set_hostlistAttributes($hostlistAttributes); -$conf2->set_maxlistentries($maxlistentries); -$conf2->set_defaultLanguage($defaultlanguage); -$conf2->set_scriptPath($scriptpath); -$conf2->set_scriptServer($scriptServer); -$conf2->set_samba3($samba3); -$conf2->set_pwdhash($pwdhash); -$conf2->save(); -echo ("done
"); -// finished -echo ("
Test is complete."); -echo ("

Current Config

"); -$conf2->printconf(); - -?> diff --git a/lam-0.4/tests/ldap-test.php b/lam-0.4/tests/ldap-test.php deleted file mode 100644 index f5c0b3b7..00000000 --- a/lam-0.4/tests/ldap-test.php +++ /dev/null @@ -1,70 +0,0 @@ -connect($user, $pass)) echo "ok"; - echo "
Check if __sleep/__wakeup works"; - $ldap->__sleep(); - $ldap->__wakeup(); - echo "
Closing connection"; - $ldap->destroy(); - echo "


If you do not see any error messages all should be ok."; - exit; -} -// display login page -else { - // generate 256 bit key and initialization vector for user/passwd-encryption - $key = mcrypt_create_iv(32, MCRYPT_DEV_RANDOM); - $iv = mcrypt_create_iv(32, MCRYPT_DEV_RANDOM); - - // save both in cookie - setcookie("Key", base64_encode($key), 0, "/"); - setcookie("IV", base64_encode($iv), 0, "/"); -} -?> - - - - <?php - echo ("Login"); - ?> - - - -
-

Server URL:

-

Username:

-

Password:

-

-
- - diff --git a/lam-0.4/tests/lib-pdf-test.php b/lam-0.4/tests/lib-pdf-test.php deleted file mode 100644 index 03080b85..00000000 --- a/lam-0.4/tests/lib-pdf-test.php +++ /dev/null @@ -1,73 +0,0 @@ -type = "user"; -$account->general_username = "mamu1"; -$account->general_uidnumber = "501"; -$account->general_surname = "Mustermann"; -$account->general_givenname = "Max"; -$account->general_group = "tg1"; -$account->general_groupadd = array("tg2","tg3"); -$account->general_homedir = "/home/m/mamu1"; -$account->general_shell = array("/bin/bash","/bin/sh"); -$account->unix_password = "secret1"; -$account->unix_password_no = "1"; -$account->smb_flags['N'] = "1"; -array_push($accounts,$account); -$account = new Account(); -$account->type = "user"; -$account->general_username = "mamu1"; -$account->general_uidnumber = "501"; -$account->general_surname = "Mustermann"; -$account->general_givenname = "Max"; -$account->general_group = "tg1"; -$account->general_groupadd = array("tg2","tg3"); -$account->general_homedir = "/home/m/mamu1"; -$account->general_shell = array("/bin/bash"); -$account->unix_password = "secret1"; -$account->unix_password_no = "0"; -$account->smb_useunixpwd = "1"; -array_push($accounts,$account); -$account = new Account(); -$account->type = "user"; -$account->general_username = "mamu1"; -$account->general_uidnumber = "501"; -$account->general_surname = "Mustermann"; -$account->general_givenname = "Max"; -$account->general_group = "tg1"; -$account->general_groupadd = array("tg2","tg3"); -$account->general_homedir = "/home/m/mamu1"; -$account->general_shell = array("/bin/bash","/bin/sh"); -$account->unix_password = "secret1"; -$account->unix_password_no = "0"; -$account->smb_useunixpwd = "0"; -array_push($accounts,$account); - -createUserPDF($accounts); -?> diff --git a/lam-0.4/tests/status-test.php b/lam-0.4/tests/status-test.php deleted file mode 100644 index ae6a7d68..00000000 --- a/lam-0.4/tests/status-test.php +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - diff --git a/lam-0.4/tmp/.htaccess b/lam-0.4/tmp/.htaccess deleted file mode 100644 index 5a928f6d..00000000 --- a/lam-0.4/tmp/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Options -Indexes diff --git a/lam-web/changelog/index.htm b/lam-web/changelog/index.htm deleted file mode 100644 index e22b5f69..00000000 --- a/lam-web/changelog/index.htm +++ /dev/null @@ -1,913 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Changelog

-
-

- - - - - - - - - - - -
2.3.0 (2008-04-30)
-
    -
  • added Polish translation
  • -
  • support phpGroupWare accounts
  • -
  • password policies
  • -
  • redesigned PDF editor
  • -
  • show mail addresses as link in account list
  • -
  • Unix: allow primary group members to be added as memberUid
  • -
  • Kolab: support LAM Pro self service
  • -
  • LAM Pro: new account type for groupOf(Unique)Names
  • -
  • fixed bugs:
  • -
      -
    • XHTML headers should be removed (1912736)
    • -
    -
-

- - - - - - - - - - -
2.2.0 (2008-01-23)
-
    -
  • account lists:
  • -
      -
    • allow to switch sorting
    • -
    • added separate configuration page and store settings in cookies
    • -
    • list size can now be set individually for each account type on the list configuration page
    • -
    • new PDF buttons
    • -
    -
  • use suffix from account list as default for new accounts (patch 1823583)
  • -
  • Security: passwords in configuration files are now saved as hash values
  • -
  • improved design
  • -
  • style fixes for Internet Explorer users
  • -
  • Unix:
  • -
      -
    • allow to set host passwords (RFE 1754069)
    • -
    • allow to generate random passwords for users
    • -
    -
  • Samba 3 groups: Samba part is now optional
  • -
  • Personal: add object classes person and organizationalPerson for new accounts (RFE 1830033)
  • -
  • new LDAP schema check on tests page
  • -
  • LAM Pro:
  • -
      -
    • added possibility for deskside support to reset passwords at account list page
    • -
    • access levels (read only, change passwords, write access) for server profiles
    • -
    -
-

- - - - - - - - - - -
2.1.0 (2007-11-07)
-
    -
  • tabular design for account pages
  • -
  • show DN on account pages
  • -
  • Samba 3: made Samba account optional
  • -
  • Samba 3: manages now terminal server settings
  • -
  • fixed bugs:
  • -
      -
    • LAM Pro: UTF-8 characters are invalid displayed on configuration page (1788752)
    • -
    • LAM works again on PHP 5.1.x (1792447)
    • -
    • Quota: managing group quotas does not work (1811728)
    • -
    • Samba 3 domains: lockout users after bad logon attempts must allow 0 - 999 (1814578)
    • -
    -
-
-

- - - - - - - - - - -
2.0.0 (2007-08-08)
-
    -
  • new translations: Chinese (Simplified), Czech and Portuguese
  • -
  • usability improvements
  • -
  • LDAP accounts including child entries can now be moved
  • -
  • group list can show primary members (RFE 1517679 and patch 1722460)
  • -
  • more translated example texts (RFE 1702140)
  • -
  • inetOrgPerson: now manages homePhone, roomNumber, businessCategory
  • -
  • posixAccount: allow to create home directories in file upload (RFE 1665034)
  • -
  • account lists: display buttons on top and bottom (RFE 1702136)
  • -
  • fixed bugs:
  • -
      -
    • OU editor: help images (1702132)
    • -
    • config editor: extra space (1702269)
    • -
    • fixed some inconsistent help entries (1694863)
    • -
    • user list: refreshing GID translation did not work (1719168)
    • -
    • allow uid as RDN attribute for inetOrgPerson (1740499)
    • -
    • PHP Warning: mcrypt_decrypt(): The IV parameter must be ... (1742543)
    • -
    • uid attribute no longer required for InetOrgPerson (1757215)
    • -
    -
-
-

- - - - - - - - - - -
1.3.0 (2007-03-28)
-
    -
  • improved design
  • -
  • user list can now display jpegPhoto attributes
  • -
  • lamdaemon: support for multiple servers
  • -
  • LAM Pro: users may change their photos (jpegPhoto)
  • -
  • fixed bugs:
  • -
      -
    • ShadowAccount: PDF entry for expire date was wrong (1658868)
    • -
    • Samba groups: fixed help entry (patch 1664542)
    • -
    • Debian package did not include lamdaemonOld.pl (1660493)
    • -
    • NIS mail aliases: allow more characters in alias name (1674198)
    • -
    • fixed syntax errors in some .htaccess files
    • -
    • security fix: HTML special characters in LDAP data were not escaped
    • -
    -
-
-

- - - - - - - - - - -
1.2.0 (2007-01-24)
-
    -
  • Samba 3: better handling of date values
  • -
  • Samba 3: Handling of locked accounts (RFE 1609076)
  • -
  • LAM Pro: modules can define configuration settings (Unix: password hashing)
  • -
  • LAM Pro: management of groupOfNames and groupOfUniqueNames entries (RFE 875482)
  • -
  • fixed bugs:
  • -
      -
    • Lamdaemon test did not work on PHP 4
    • -
    • InetOrgPerson: Problems with error messages (1628799)
    • -
    -
-
-

- - - - - - - - - -
1.1.1 (2006-11-01)
-
    -
  • Lamdaemon: added test page (Tools -> Tests -> Lamdaemon test)
  • -
  • LAM Pro: Samba passwords can now be synchronized with Unix password
  • -
  • Shadow account: better management of expiration date
  • -
  • fixed bugs:
  • -
      -
    • Unix: password hashing problem (1562426)
    • -
    • Unix: No error message for wrong UID numbers in file upload
    • -
    • Filters in account lists get lost when sorting the table
    • -
    -
-
-

- - - - - - - - - -
1.1.0 (2006-09-20)
-
    -
  • Lamdaemon now uses the SSH implementation from PECL which is much more stable
  • -
  • Samba 2/3: "Use Unix password" now on by default (1517678)
  • -
-
-

- - - - - - - - - -
1.0.4 (2006-08-10)
-
    -
  • added Russian translation
  • -
  • Samba 3: added policies for domain objects
  • -
  • inetLocalMailRecipient: print warning if local address is already in use
  • -
-
-

- - - - - - - - - -
1.0.3 (2006-07-05)
-
    -
  • fixed bugs:
  • -
      -
    • Kolab: fixed problem with message about missing password
    • -
    • Unix groups: fixed auto GID
    • -
    • Unix users/groups: fixed silent unlocking of passwords
    • -
    • Unix users/groups: removed invalid password option
    • -
    • Shadow: account expiration date was incorrect in some time zones
    • -
    • User list: fixed problems when deleting users and translated GIDs are activated (1503367)
    • -
    -
-
-

- - - - - - - - - -
1.0.2 (2006-05-24)
-
    -
  • security enhancements: session timeout, logging, host restrictions
  • -
  • handle LDAP attribute aliases correctly
  • -
  • fixed bugs:
  • -
      -
    • PDF creation bug when GID translation is activated (1477111)
    • -
    • allow "@" in passwords (1477878)
    • -
    • Samba 2/3: fixed NT hashes
    • -
    • fixed handling of multi-value attributes (e.g. in inetLocalMailRecipient)
    • -
    -
-
-

- - - - - - - - - -
1.0.1 (2006-04-12)
-
    -
  • LAM can now be installed with "configure" and "make install"
  • -
  • added workaround for misspelled object classes (e.g. sambaSAMAccount by smbldap-tools)
  • -
  • Unix: merged password hash settings for Unix users and groups
  • -
  • Samba 3: added Windows group to profile options
  • -
  • security: LAM checks the session id and client IP
  • -
  • fixed bugs:
  • -
      -
    • Samba 3: hash values were wrong in some rare cases (1440021)
    • -
    • Samba 3: readded time zone selection for logon hours (1407761)
    • -
    • Unix: call of unknown function (1450464)
    • -
    -
-
-

- - - - - - - - - -
1.0.0 (2006-03-01)
-
    -
  • new architecture with support for more account types
  • -
  • new translations: Traditional Chinese, Dutch
  • -
  • fixed bugs:
  • -
      -
    • Samba groups: editing of special groups fixed
    • -
    • changed check for mail addresses (patch 1403922)
    • -
    • fixed JPG upload when MCrypt is enabled
    • -
    • fixed login problems for AD servers
    • -
    • improved sorting of account lists
    • -
    • fixed language setting in default configuration profile
    • -
    • fixed PHP5 warnings (getdate() and mktime())
    • -
    • error messages in Samba domain module (1437425)
    • -
    • fixed expired passwords with shadowAccount module
    • -
    • added lamdaemon.pl compatibility and security patches by Tim Rice
    • -
    -
-
-

- - - - - - - - - -
0.5.3 (2005-12-14)
-
    -
  • accounts are now deleted with subentries
  • -
  • big update for Italian translation
  • -
  • inetOrgPerson: support jpegPhoto images
  • -
  • less restrictive input checks
  • -
  • fixed bugs:
  • -
      -
    • fixed problems with case-insensitive DNs
    • -
    • file upload did not work when max_execution_time=0 (1367957)
    • -
    • posixGroup: fixed help entries
    • -
    -
-
-

- - - - - - - - - -
0.5.2 (2005-11-16)
-
    -
  • new module for SSH public keys
  • -
  • check file permissions on login page
  • -
  • fixed bugs:
  • -
      -
    • creation of home directories did not work
    • -
    • allow spaces in profile names (1333058)
    • -
    • fixed problem with magic_quotes_gpc in profile editor (1333069)
    • -
    • inetOrgPerson: deletion of postal address and fax number now works
    • -
    -
-
-

- - - - - - - - - -
0.5.1 (2005-10-19)
-
    -
  • Samba 3: added support for account expiration
  • -
  • fixed bugs:
  • -
      -
    • automatic UID/GID assignment did not fully work
    • -
    • PDF: additional groups for Unix users
    • -
    • inetOrgPerson: fixed mobile number
    • -
    • Samba 2/3: passwords fixed for file uploads (1311561)
    • -
    • Samba 3: fixed logon hours (patch 1311915)
    • -
    • Samba 3: loading of domain setting from profile did not work
    • -
    • Quota: profile settings fixed
    • -
    • reduced memory usage
    • -
    -
-
-

- - - - - - - - - -
0.5.0 (2005-09-28)
-
    -
  • new architecture:
  • -
      -
    • possibility to create Unix-only accounts
    • -
    • enhanced PDF output
    • -
    • enhanced file upload
    • -
    • enhanced editor for account profiles
    • -
    • dynamic configuration options (based on modules)
    • -
    -
  • new plugin for managing NIS mail aliases (RFE 1050036)
  • -
  • new plugin for managing mail routing with inetLocalMailRecipient (RFE 1092137)
  • -
  • new plugin for managing MAC addresses (RFE 926017)
  • -
  • tree view
  • -
  • schema browser
  • -
  • added developer documentation
  • -
  • all pages in UTF-8
  • -
-
-

- - - - - - - - - -
0.4.10 (2005-07-28)
-
    -
  • added PHP5 support
  • -
-
-
-

- - - - - - - - - -
0.4.9 (2005-03-09)
- fixed bugs:
-  -> fixed error messages when moving an user account
-  -> fixed problem with special group SIDs
-  -> lamdaemon.pl security fix
-
-
-

- - - - - - - - - -
0.4.8 (2005-01-26)
- allow "%" at the beginning of Samba home/profile path -(1107998)
-- fixed bugs:
-  -> fixed IE fix ;-)
-  -> no more warnings for profiles with no additional -groups set
-
-
-

- - - - - - - - - -
0.4.7 (2004-12-18)
- Added "*.exe" to Samba logon script regex (1081715)
-- fixed bugs:
-  -> Fixed doctype of main frame
-  -> Removed syntax check for LDAP suffixes
-  -> Fixed IE bug at login
-  -> Fixed encoding in HTTP header
-  -> Passwords with "'" are now handled correctly at login -(1081460)
-  -> Fixed Samba flags if multiple hosts were created
-  -> Updated .htaccess files to be compatible with newer -Apache versions
-
-
-

- - - - - - - - - -
0.4.6 (2004-05-28)
- fixed bugs:
-  -> Password hashes were not disabled correctly
-  -> Street was copied to postal code on modify (938502)
-  -> Samba host passwords were still wrong
-  -> Underscore was not allowed for host names (934445)
-  -> Deleting postal address or facsimile number failed -(948616)
-  -> TLS error handling (958497)
-  -> Smaller fixes on personal settings page
-
-
-

- - - - - - - - - -
0.4.5 (2004-03-21)
- added French translation
-- fixed bugs:
-  -> StatusMessages with additional variables did not work
-  -> Samba hosts had unnecessary objectClass shadowAccount -(910084)
-  -> Samba host passwords were still wrong
-  -> LAM had problems with non-standard spelled object -classes (907636)
-  -> Perl scripts did not work if Perl is not installed in -/usr/bin/perl (913554)
-  -> roblems when cn!=uid (915041)
-  -> home directories were not deleted by lamdaemon.pl -(913552)
-
-
-

- - - - - - - - - -
0.4.4 (2004-02-29)
- fixed bugs:
-  -> plain posix groups could not be used as Samba 3 -primary group
-  -> if magic_quotes_gpc in php.ini is was set to "Off", -several pages did not work
-  -> some smaller bugs in mass upload
-  -> Samba hash values for hosts were not correct
-  -> Unix passwords could be disabled but not reenabled
-  -> fixed problem with eval() in status.inc (894433)
-
-
-

- - - - - - - - - -
0.4.3 (2004-02-09)
- new login layout
-- added Hungarian and Japanese translations
-- fixed bugs:
-  -> Samba paswords were sometimes empty for new users -(892272)
-  -> links in list views may not work with web servers -other than Apache
-
-
-

- - - - - - - - - -
0.4.2 (2004-01-21)
- added config wizard
-- MHash is only needed for PHP < 4.3
-- use Blowfish for encryption instead of MCrypt
-
-
-

- - - - - - - - - -
0.4.1 (2003-12-29)
- better error handling at login
-- support spaces in DNs
-- PDF text for users
-- create missing OUs recursivly
-- fixed bugs:
-  -> SMD5 passwords were wrong
-  -> primaryGroupSID wrong if SID has no relation to -Algorithmic RID Base
-  -> Samba 2 accounts could not be created
-
-

- - - - - - - - - -
0.4 (Beta 1) (2003-10-29)
- improved design
-- improved documentation
-- Fixed possible error which could delete entries if objectclass didn't -fit
-- Fixed many samba 3.0 related bugs, most related to SIDs
-- edit group members directly
-- support for several password hashes (CRYPT/SHA/SSHA/MD5/SMD5/PLAIN)
-- PDF output for groups and hosts
-
-
-

- - - - - - - - - -
0.3 (Alpha 3) (2003-08-31)
- Samba 3 support
-- manage Samba 3 domains
-- multiple configuration files
-- PDF output
-- better mass creation
-
-

- - - - - - - - - -
0.2 (Alpha 2) (2003-06-05)
- support for multiple OUs + OU-Editor
-- account creation via file upload
-- profile editor
-- experimental Samba 3 support
-- fixed a lot of bugs
-
-

- - - - - - - - - -
0.1 (Alpha 1) (2003-05-24)
Initial release
-
-
- -
- - - - diff --git a/lam-web/cvs-access/index.htm b/lam-web/cvs-access/index.htm deleted file mode 100755 index 130dee75..00000000 --- a/lam-web/cvs-access/index.htm +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

CVS-Access

-

There are basically two ways of accessing the LDAP Account Manager (LAM) CVS repository.

-The first one is through WebCVS. -You can view all LAM CVS files by simply browsing the archive with your browser.
-The second way is through anonymous CVS access with a CVS client of your choice. The commands are:

-cvs -d:pserver:anonymous@lam.cvs.sourceforge.net:/cvsroot/lam login
-cvs -z3 -d:pserver:anonymous@lam.cvs.sourceforge.net:/cvsroot/lam co lam


-More information concerning LAM and CVS can be found at http://sourceforge.net/cvs/?group_id=73243.

- -
- - - - diff --git a/lam-web/debian-packages/ldap-account-manager_2.3.0-1.diff.gz b/lam-web/debian-packages/ldap-account-manager_2.3.0-1.diff.gz deleted file mode 100644 index eb0e2ed4..00000000 Binary files a/lam-web/debian-packages/ldap-account-manager_2.3.0-1.diff.gz and /dev/null differ diff --git a/lam-web/debian-packages/ldap-account-manager_2.3.0-1.dsc b/lam-web/debian-packages/ldap-account-manager_2.3.0-1.dsc deleted file mode 100644 index 6196a9ba..00000000 --- a/lam-web/debian-packages/ldap-account-manager_2.3.0-1.dsc +++ /dev/null @@ -1,29 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -Format: 1.0 -Source: ldap-account-manager -Binary: ldap-account-manager -Architecture: all -Version: 2.3.0-1 -Maintainer: Roland Gruber -Homepage: http://lam.sourceforge.net/ -Standards-Version: 3.7.3 -Build-Depends: debhelper (>= 4.1.16), po-debconf -Checksums-Sha1: - 93ff3426a34c0a2109526e9e37f201a208a45ff8 2443111 ldap-account-manager_2.3.0.orig.tar.gz - 09ad837d20dbb8ddd328048704b4eefc20b50244 17095 ldap-account-manager_2.3.0-1.diff.gz -Checksums-Sha256: - 443e869033ea4d7ae69c80bb375a7916ebf3b40809d157203fba2dd939fbc16c 2443111 ldap-account-manager_2.3.0.orig.tar.gz - 21bb3e6ee92f1ebcbe73b39e699e08bf2132169c665048041533954748449dcb 17095 ldap-account-manager_2.3.0-1.diff.gz -Files: - ceb5c6b795be2f3030b695b7f105e6f2 2443111 ldap-account-manager_2.3.0.orig.tar.gz - b3e08d226bc819ac5b7c4b87ad481cc5 17095 ldap-account-manager_2.3.0-1.diff.gz - ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFIFhYFq/ywNCsrGZ4RAldzAJ0bEFMFAX4oajce4Hy6vWg2/i+I2ACfdy1o -UGp534ucMMbMN7QRuWOcAIs= -=Vv8k ------END PGP SIGNATURE----- diff --git a/lam-web/debian-packages/ldap-account-manager_2.3.0-1_all.deb b/lam-web/debian-packages/ldap-account-manager_2.3.0-1_all.deb deleted file mode 100644 index 18d349d2..00000000 Binary files a/lam-web/debian-packages/ldap-account-manager_2.3.0-1_all.deb and /dev/null differ diff --git a/lam-web/debian-packages/ldap-account-manager_2.3.0-1_i386.changes b/lam-web/debian-packages/ldap-account-manager_2.3.0-1_i386.changes deleted file mode 100644 index 20822879..00000000 --- a/lam-web/debian-packages/ldap-account-manager_2.3.0-1_i386.changes +++ /dev/null @@ -1,44 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -Format: 1.8 -Date: Tue, 28 Apr 2008 16:44:55 +0200 -Source: ldap-account-manager -Binary: ldap-account-manager -Architecture: source all -Version: 2.3.0-1 -Distribution: unstable -Urgency: low -Maintainer: Roland Gruber -Changed-By: Roland Gruber -Description: - ldap-account-manager - webfrontend for managing accounts in an LDAP directory -Closes: 462336 471953 -Changes: - ldap-account-manager (2.3.0-1) unstable; urgency=low - . - * Installation fails if php4 is not installed (Closes: #471953) - * password quality checking (Closes: #462336) -Checksums-Sha1: - 56d82f80161cc8e05a413eeddbec0a0e42d68478 1101 ldap-account-manager_2.3.0-1.dsc - 93ff3426a34c0a2109526e9e37f201a208a45ff8 2443111 ldap-account-manager_2.3.0.orig.tar.gz - 09ad837d20dbb8ddd328048704b4eefc20b50244 17095 ldap-account-manager_2.3.0-1.diff.gz - c032c4bcb93fa3143e9530df8c08c3c0e43523c1 2393982 ldap-account-manager_2.3.0-1_all.deb -Checksums-Sha256: - e51615b58306001d1d34b8c0d22c4a77921c6d4029c8b81ca242a343b0bdb5df 1101 ldap-account-manager_2.3.0-1.dsc - 443e869033ea4d7ae69c80bb375a7916ebf3b40809d157203fba2dd939fbc16c 2443111 ldap-account-manager_2.3.0.orig.tar.gz - 21bb3e6ee92f1ebcbe73b39e699e08bf2132169c665048041533954748449dcb 17095 ldap-account-manager_2.3.0-1.diff.gz - 5a6229d04d63210a676ac3565df22a92ac047b9a59a980b5066af4233e9ac6ea 2393982 ldap-account-manager_2.3.0-1_all.deb -Files: - dd1328bcde69a51c3264f1f1a82b6742 1101 web extra ldap-account-manager_2.3.0-1.dsc - ceb5c6b795be2f3030b695b7f105e6f2 2443111 web extra ldap-account-manager_2.3.0.orig.tar.gz - b3e08d226bc819ac5b7c4b87ad481cc5 17095 web extra ldap-account-manager_2.3.0-1.diff.gz - baf89645f900a8f907e05f1e3bb2257b 2393982 web extra ldap-account-manager_2.3.0-1_all.deb - ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFIFhYKq/ywNCsrGZ4RAuJ/AJ0TTviInZxpvODvWMj8hloARr7PgACeLrf9 -zxgekEUyGNjOc2Fd2U3Lbw4= -=m8dD ------END PGP SIGNATURE----- diff --git a/lam-web/debian-packages/ldap-account-manager_2.3.0.orig.tar.gz b/lam-web/debian-packages/ldap-account-manager_2.3.0.orig.tar.gz deleted file mode 100644 index c5fb62ad..00000000 Binary files a/lam-web/debian-packages/ldap-account-manager_2.3.0.orig.tar.gz and /dev/null differ diff --git a/lam-web/developers/devel/FAQ.htm b/lam-web/developers/devel/FAQ.htm deleted file mode 100644 index d5b344b5..00000000 --- a/lam-web/developers/devel/FAQ.htm +++ /dev/null @@ -1,105 +0,0 @@ - - - - Developer FAQ - - - - -
-

Developer FAQ
-

-
-
Q: -Where is the ldap/config object?
-
-A: The ldap object -is in $_SESSION['ldap'] -and the config object in $_SESSION['config'].
-
-
-
-

-
-
Q: -How can I make LDAP operations, where is the user name and password?
-
-A: LAM -automatically reconnects to the LDAP server on every page load. You can -use $_SESSION['ldap']->server() -which is the LDAP server handle.
-Be sure to include ldap.inc before (automatically included for account -modules).
-
-Example: ldap_search($_SESSION['ldap']->server(), $suffix, $filter, $attributes)
-
-
-
-Q: What is the LDAP suffix for -the different account types?
-
-A: Just call $_SESSION['config']->get_Suffix($scope) -where $scope is the account type (user,group, ...).
-Be sure to include ldap.inc before (automatically included for account -modules).
-
-Example: $suffix = $_SESSION['config']->get_Suffix('user')
-
-
-
-Q: How can I check if the user is -really logged in and not calling the scripts by hand?
-
-A: After the user -successfully logged in to LAM the variable $_SESSION['loggedIn'] -is set to true.
-
-
-
-Q: What is the command for these error/warning/info messages?

-
-A: Your script must -include status.inc (automatically included for account -modules) to display these messages.
-The command is StatusMessage(<type>, -<headline>, <text>[, <variables>]).
-
-Parameters:
-
    -
  • <type>: message -type ("ERROR", "WARN", "INFO")
  • -
  • <headline>: -headline for the message (may include format tags)
    -
  • -
  • <type>: text for -the message (may include format tags)
  • -
  • <variables>: -optional, array of variables to include in headline/text
    -The positions in headline/text must be marked with %s before.
  • -
-
-Format of special tags:
-
    -
  • {bold}text{endbold}: "text" is printed bold
  • -
  • {color=#123456}text{endcolor}: "text" is printed in -given color
  • -
  • {link=http://nodomain.org}text{endlink}: This will add a link to -http://nodomain.org which will be labeled "text"
    -
  • -
-
-
-
-
-
- - diff --git a/lam-web/developers/devel/account_modules.htm b/lam-web/developers/devel/account_modules.htm deleted file mode 100644 index 3a468b35..00000000 --- a/lam-web/developers/devel/account_modules.htm +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Account modules - - - -

Account modules
-

-
base module
-
-

-
The account modules control all the -functionality which is specific for LDAP accounts or parts of them. -E.g. they define the account detail pages where the user can edit -accounts, the profile editor sections and much more. They are the core -of LAM.
-
-All account modules are saved in lib/modules/.
-If your module needs any include files etc. please save it in lib/modules/<name of your module>.
-
-Please take a look at the module HowTo for -an example to write your own modules.
-The complete specification for the module interface can be found here.
-
-

Superclass

-All account modules should be -subclasses of the baseModule.
-This allows them to benefit from the meta data in the baseModule and -reduces very much the code since not the complete module interface has -to be implemented.
-
-
-

Module detection

-New modules can simply be copied to lib/modules. -LAM will check what files are inside the directory and provide the user -new modules automatically.
-There is no extra configuration file.
-
-
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/account_modules_lib.htm b/lam-web/developers/devel/account_modules_lib.htm deleted file mode 100644 index fe8fc887..00000000 --- a/lam-web/developers/devel/account_modules_lib.htm +++ /dev/null @@ -1,141 +0,0 @@ - - - - - Account modules (modules.inc) - - - - -

Account modules (modules.inc)
-

-
-Modules.inc provides the -interface to all module specific functions. It includes a list of -account independent function and the accountContainer -class. This class represents an LDAP account.
-You should never call module functions directly, always use a function -in modules.inc.
-
-

Account independent functions:

-
-

General functions:

-getModuleAlias: This returns -the alias name of a module. It is used to label buttons or fieldsets.
-
-parseHtml: Converts the LAM -meta HTML code to real HTML code.
-
-
-

Functions for LAM configuration:

-is_base_module: When the given -module is a base module then -this returns true. Every -account type needs exactly one base -module.
-
-getModulesDependencies: Account -modules can specify dependencies to other modules. E.g. Samba accounts -always need a Unix part.
-
-check_module_depends/check_module_conflicts: -This function checks if all module dependencies are satisfied.
-
-getAvailableModules: Returns a -list of available modules. If you need a list of all active modules use -$_SESSION['config']->get_AccountModules().
-
-getConfigOptions: Returns a -list of all configuration options which were defined by the modules.
-
-getConfigDescriptions: Returns -a list of all configuration descriptions and titles for the fieldsets.
-
-checkConfigOptions: Checks if -the user filled in valid values for each option.
-
-
-

Account list functions:

-get_ldap_filter: Each account -list shows only entries which match a given LDAP search filter.
-
-
-

Profile/account pages:

-getRDNAttributes: This returns -a list of possible LDAP RDN -attributes. LAM needs this to build the DN for new accounts.
-
-getProfileOptions: Returns a -list of all profile options which were defined by the account modules.
-
-checkProfileOptions: Checks if -all module options are correct.
-
-
-

Help functions:

-getHelp: Returns a module help -entry.
-
-
-

PDF functions:

-getAvailablePDFFields: Returns -a list of possible PDF fields.
-
-
-

Upload functions:

-getUploadColumns: Returns a -list of possible upload columns and additional information like a -description, help entry and example value.
-
-buildUploadAccounts: Takes the -input of the CSV file and builds the LDAP accounts.
-
-doUploadPostActions: Manages -the execution of actions which need to be done after the accounts are -created.
-
-
-

Class accountContainer:

-This class represents a complete LDAP account. It manages all functions -which concern a specific LDAP entry.
-
-

Important variables:

-There are some class variables which can be of important use in the -account modules.
-
-module: List of account modules -(array('name' => 'object')).
-
-isNewAccount: This variable is true when the account is newly -created, false if loaded from -LDAP.
-
-

Function list:

-continue_main: This function is -called when an account page is displayed. It generates the HTML code -for the account pages.
-
-save_module_attributes: -Finds -differences between current and original account.
-
-load_account: Loads an LDAP -account.
-
-new_account: Creates a new -account.
-
-save_account: Saves an account -to LDAP.
-
-get_pdfEntries: Returns the PDF -values of an account.
-
-
-
- - diff --git a/lam-web/developers/devel/account_pages.htm b/lam-web/developers/devel/account_pages.htm deleted file mode 100644 index c7506423..00000000 --- a/lam-web/developers/devel/account_pages.htm +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Account pages - - - - -

Account pages
-

-
-The account pages are the user interface to create/modify LDAP -accounts. It allows setting basic attributes like the LDAP suffix and -is responsible to show module specific pages.
-
-
-The main script for the account pages is located in templates/account/edit.php. It has -a very simple content. If the page is loaded for the first time it -creates a new accountContainer -inside the session and tells it to load/create an LDAP account. Then it -calles the continue_main() -function of the accountContainer -object which prints all HTML output.
-
-Managing of user input etc. is completly made by the accountContainer.
-
- - diff --git a/lam-web/developers/devel/account_types.htm b/lam-web/developers/devel/account_types.htm deleted file mode 100644 index 2e836ae8..00000000 --- a/lam-web/developers/devel/account_types.htm +++ /dev/null @@ -1,47 +0,0 @@ - - - - - Account types - - - - -

Account types
-

-
base module
-
-

-
The account types define what kind of -accounts can be managed with LAM. If you want to create a new account -module which does not fit in the existing classes of users, groups and -hosts then you need your own account type.
-
-All account types are saved in lib/types/.
-
-Please take a look at the type HowTo for -an example to write your own types.
-The complete specification for the type interface can be found here.
-
-

Superclass

-All account types should be -subclasses of the baseType.
-This reduces very much the code since not the complete type interface -has -to be implemented.
-
-
-

Type detection

-New types can simply be copied to lib/types. -LAM will check what files are inside the directory and provide the user -new types automatically.
-There is no extra configuration file.
-
-
-
-
- - diff --git a/lam-web/developers/devel/account_types_lib.htm b/lam-web/developers/devel/account_types_lib.htm deleted file mode 100644 index b166af2c..00000000 --- a/lam-web/developers/devel/account_types_lib.htm +++ /dev/null @@ -1,43 +0,0 @@ - - - - - Account types (types.inc) - - - - -

Account types (types.inc)
-

-
-Types.inc is the interface to -the account types. It provides information about the type alias names, -descriptions and other things.
-
-

Functions:

-
-

General functions:

-getAlias: This returns -the alias name of a type. It is used to label buttons or fieldsets.
-
-getDescription: Returns a -description for the account type.
-
-
-

Functions for list views:

-getListClassName: Here you can -specify your own class to handle the list view.  This is needed to -label the buttons in the list view.
-
-getDefaultListAttributes: -Returns the default setting for the displayed list attributes. It is -used as default for the LAM configuration.
-
-getListAttributeDescriptions: -Returns a hash array which contains predefined, translated descriptions -of LDAP attributes.
-
-
- - diff --git a/lam-web/developers/devel/base_module.htm b/lam-web/developers/devel/base_module.htm deleted file mode 100644 index 5ecffacf..00000000 --- a/lam-web/developers/devel/base_module.htm +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Base module - - - -

Base module
-

-
base module
-
-

-
The baseModule -is the parent class of all account modules.
-It implements most functions of the module interface and provides -the possibility to use meta data -for the module functions.
-There are also some class variables which are useful for the child -classes.
-
-
-

Meta data

-The baseModule allows you to -not implement the module -interface directly but to provide meta -data which is interpreted by the baseModule.
-If you do not use certain functions of the interface the baseModule also provides dummy -functions. E.g. if your module needs no configuration option you can -just skip this function in your code and the baseModule will tell the -configuration part that there is no option.
-
-To define meta data you have -to implement the function get_metaData(). -This function must return a hash array with the meta options as array -keys.
-Please refer to the module -interface for details about the format of meta data.
-
-
-

Functions
-

-get_scope(): This function -returns the account type ("user", "group", ...) of the module.
-
-For a list of meta data -functions please refer to the module -interface.
-
-
-

Class variables

-$moduleSettings: This variable -contains the configuration settings of all modules.
-$base: This is the name of the -parent accountContainer -($_SESSION[$base]).
-
-
-
-
-
-
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/base_type.htm b/lam-web/developers/devel/base_type.htm deleted file mode 100644 index 4a1198bf..00000000 --- a/lam-web/developers/devel/base_type.htm +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Base type - - - - -

Base type
-

-
base type
-
-

-
The baseType -is the parent class of all account types.
-It implements all functions of the type -interface.
-
-However, you surely want to override most of the functions in your -account type class.
-
-
- - diff --git a/lam-web/developers/devel/config.htm b/lam-web/developers/devel/config.htm deleted file mode 100644 index 124bec70..00000000 --- a/lam-web/developers/devel/config.htm +++ /dev/null @@ -1,62 +0,0 @@ - - - - - config.inc - - - - -

config.inc

-
-
-This file includes all functions needed to manage configuration -profiles. It includes classes for the profiles itself and the master -configuration (default profile, master password, etc.).
-
-There are also two global functions for general use: setlanguage and metarefresh
-
-

Meta refresh

-The global function metaRefresh() -takes an URL as argument and prints all HTML code needed for a meta -refresh to this URL.
-
-

Language

-LAM uses gettext to translate -the HTML pages to the different languages. Therefore some preferences -need to be set on every page load. This is done by setlanguage().
-The function should be called directly after starting the session.
-
-The list of possible languages is stored in config/language. It includes the -locale name, the character encoding an the language name.
-All languages use UTF-8 as encoding because LDAP also stores values in -this format.
-
-

Configuration profiles

-Each configuration profile is saved in a single file in config/.
-
-There are two types of configuration options:
-
    -
  • Static options (LDAP server settings, etc.)
    -
  • -
  • Module options (UID/GID ranges)
    -
  • -
-All static options have a describing comment in the configuration file -to make it easier for the user to modify the values. The dynamic -options provided by the modules do not include a comment.
-
-

Master configuration file

-LAM stores the default configuartion profile and a master password in config/config.cfg.
-The master password is verified when the user wants to create/delete -configuration profiles.
- - diff --git a/lam-web/developers/devel/config_files.htm b/lam-web/developers/devel/config_files.htm deleted file mode 100644 index 37bc6219..00000000 --- a/lam-web/developers/devel/config_files.htm +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Configuration profiles - - - - -

Configuration profiles

-
-LAM allows the user to store the configuration settings in profiles. This makes it easy to -manage different LDAP servers. All profile files ae stored in config/ and are named <name>.conf.
-The master configuration file config/config.cfg only stores the -default profile and master password. It has the same file format as the -profiles.
-
-

File format

-LAM allows to store values and comments in the configuration files. -Only one type per line is allowed, it is not possible to mix comments -and values in the same line.
-
-

Settings
-

-<identifier>: <value>
-
-
The first word in the line is taken as identifier for the -setting. It must be followed by a ":" -and a space.
-The rest of the line is taken as the value for this setting.
-
-

Comments

-# Comment
-
-Comments always start with a "#" -as first character and end at the line end. LAM will ignore all lines -starting with a "#".
- - diff --git a/lam-web/developers/devel/config_pages.htm b/lam-web/developers/devel/config_pages.htm deleted file mode 100644 index 813245b6..00000000 --- a/lam-web/developers/devel/config_pages.htm +++ /dev/null @@ -1,78 +0,0 @@ - - - - - LAM - Configuration pages - - - - -
-

Configuration pages

-
-
-
configuration
-
-

Configuration - Login (conflogin.php):

-This is the start page of the configuration editor. The user can select -a profile for editing or go to the profile management page.
-Each account profile is protected with a password which is stored in -the profile.
-The list of possible profiles is returned by getConfigProfiles() -in config.inc, the default profile is returned by an object of class CfgMain from -config.inc.
-
-
-

Configuration - Profile management (profmanage.php):

-Here the user can add and modify configuration profiles or change the -configuration master password.
-The configuration master password prevents unauthorised users from -changing the profiles. The password is saved in config/config.cfg and -managed via the CfgMain -class.
-
-
-

Configuration - Main page (confmain.php):

-This page presents all configuration settings for editing.
-Some of the settings are module independent (e.g. server settings, -language, ...) and displayed always.
-The others are set up by the account modules. Only settings of -currently selected modules are displayed.
-Users may also change the profile password on this page.
-
-
-

Configuration - Module selection (confmodules.php):
-

-On this page the user can select which account modules LAM should use.
-The list of possible modules is returned by getAvailableModules() -in modules.inc and checked for dependencies/conflicts with check_module_depends() -and check_module_conflicts().
-
-Each account type needs exactly one base -module -which is the base of a account by providing a structural object class.
-
-
-

Configuration - Save settings (confsave.php):
-

-This script checks the input and displays possible error messages or an -overview of the saved settings.
-The static settings are set and checked with an object of class Config from -config.inc.
-The account modules manage the input validation for their fields and -are also able to return error messages. This is done with checkConfigOptions() -from modules.inc.
-
-
-
- - diff --git a/lam-web/developers/devel/images/favicon.ico b/lam-web/developers/devel/images/favicon.ico deleted file mode 100644 index 1134d0c2..00000000 Binary files a/lam-web/developers/devel/images/favicon.ico and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_baseModule.png b/lam-web/developers/devel/images/lam_baseModule.png deleted file mode 100644 index 002db6e9..00000000 Binary files a/lam-web/developers/devel/images/lam_baseModule.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_baseType.png b/lam-web/developers/devel/images/lam_baseType.png deleted file mode 100644 index 71b48ba7..00000000 Binary files a/lam-web/developers/devel/images/lam_baseType.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_config.png b/lam-web/developers/devel/images/lam_config.png deleted file mode 100644 index b3711afc..00000000 Binary files a/lam-web/developers/devel/images/lam_config.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_lists.png b/lam-web/developers/devel/images/lam_lists.png deleted file mode 100644 index 1aa637b9..00000000 Binary files a/lam-web/developers/devel/images/lam_lists.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_overview.png b/lam-web/developers/devel/images/lam_overview.png deleted file mode 100644 index 303ba858..00000000 Binary files a/lam-web/developers/devel/images/lam_overview.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_pdfEditor.png b/lam-web/developers/devel/images/lam_pdfEditor.png deleted file mode 100644 index e9fb8b4b..00000000 Binary files a/lam-web/developers/devel/images/lam_pdfEditor.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_profedit.png b/lam-web/developers/devel/images/lam_profedit.png deleted file mode 100644 index 9a2a1639..00000000 Binary files a/lam-web/developers/devel/images/lam_profedit.png and /dev/null differ diff --git a/lam-web/developers/devel/images/lam_upload.png b/lam-web/developers/devel/images/lam_upload.png deleted file mode 100644 index 01896e56..00000000 Binary files a/lam-web/developers/devel/images/lam_upload.png and /dev/null differ diff --git a/lam-web/developers/devel/index.htm b/lam-web/developers/devel/index.htm deleted file mode 100644 index 28fd4683..00000000 --- a/lam-web/developers/devel/index.htm +++ /dev/null @@ -1,126 +0,0 @@ - -LAM development documentation - - - -
-

LDAP Account Manager - Code overview

-These documents are supposed to give developers who want to modify LAM -an overview of the codebase. It focuses mainly on what is done to -generate the HTML output and the most important functions provided by -the library files.
-
-
-overview
-
-
-
-
- - - - - - - - -
-

Web pages:

- -
-

Libraries:

- -
-

Configuration files:

- -
-
-
- - - - - - - -
-

Howtos

- -
-

FAQ

-
-

Specifications

- -
-

Upgrade notes

-
-
- -
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/ldap.htm b/lam-web/developers/devel/ldap.htm deleted file mode 100644 index 33a72cf6..00000000 --- a/lam-web/developers/devel/ldap.htm +++ /dev/null @@ -1,55 +0,0 @@ - - - - - ldap.inc - - - - -

ldap.inc

-
-
-This library provides the access to the LDAP server and its content.
-The $_SESSION['ldap'] -object reconnects automatically to the LDAP server on every page load.
-
-
-

1. Server handle

-All PHP functions which access LDAP require a server handle as -parameter. This is managed by ldap.inc.
-You can access it with $_SESSION['ldap']->server.
-
-
-

2. Object classes

-Account modules may want to check if the current LDAP server supports -all required object classes.
-$_SESSION['ldap']->objectClasses -contains a list of object classes and their attributes which is -read from the LDAP server.
-
-
-

3. En-/Decryption

-For security reasons sensitive data like user passwords should be -encrypted before storing in session.
-$_SESSION['ldap']->encrypt(<string>) -encrypts a string and returns a binary object. This can be decrypted -with $_SESSION['ldap']->decrypt(<object>)
-
-Ldap.inc will take care for the crypotographic key.
-
-
-

4. Random values

-Ldap.inc contains a random integer value which is much more secure than -calling mt_rand(). The value -changes on every page load and is accessible in $_SESSION['ldap']->rand.
-If you need multiple values you can get a new value by calling $_SESSION['ldap']->new_rand().
-
- - diff --git a/lam-web/developers/devel/lists.htm b/lam-web/developers/devel/lists.htm deleted file mode 100644 index 5ced52ce..00000000 --- a/lam-web/developers/devel/lists.htm +++ /dev/null @@ -1,95 +0,0 @@ - - - - - LAM - Account lists - - - - -

Account lists

-
-
Account lists
-
-
-
-
-The account lists are all built after the same schema. They provide a -list of found accounts which can be restricted by LDAP filters and the -LDAP OU (Organizational Unit).
-
-The list of LDAP attributes and thus table columns is taken from the -configuration profile (get_...listAttributes() -in config.inc). Each account list has a separate list of attributes.
-Only these attributes are given the LDAP search as attribute parameter.
-There is also a predefined description list for the attributes in -lists.inc. The user may use other values by setting them in the -configuration profile.
-
-The number of accounts per page is limited by a list option. There will be links at the beginning and end of the -list if more accounts were found.
-
-Several common helper functions for sorting and some page elements -reside in lists.inc.
-
-

1. Getting accounts from LDAP

-Each account list has its own LDAP suffix which is saved in the -configuration profile. This is used as search base.
-The account modules provide an LDAP filter (get_ldap_filter() -in modules.inc) to get only accounts of a special type.
-
-This list can be further reduced if the user provides an additional -LDAP filter with the filter boxes or selects another LDAP OU with the -drop-down-box.
-
-

2. Caching LDAP accounts

-The lists usually do not ask the LDAP server for an account list every -time the user changes the page. The accounts are cached in the session.
-
-A new LDAP search is done if the user:
-
    -
  • changes to another account list or tool
  • -
  • adds/modifies an account
  • -
  • selects the "refresh" button
  • -
  • adds additional LDAP filters or changes the LDAP OU
    -
  • -
-
-It is not done if the user:
-
    -
  • changes the list pages if there are more accounts than what can -be shown
  • -
  • sorts the list
  • -
-
-

3. Adding/Editing accounts

-There are buttons at the end of the page to add/delete accounts. Adding -accounts is done by account/edit.php and deleting by delete.php.
-
-The user can use the link in each account row to modify (in -accounts/edit.php) the account. This can also be done by double -clicking the row if Java Script is enabled.
-
-
-

4. Export to PDF

-The user can generate PDF files for the accounts. This is done by the createModulePDF() -function from pdf.inc.
-
-
-

5. Special abilities of some lists

-

5.1. The user list

-If the attribute gidNumber is -shown as table column then there will be an additional checkbox to -translate the GID to the group name.
-This checkbox is hidden if gidNumber -is not part of the attribute list.
-
-

5.2. The group list

-If the attribute memberUID is shown as table column then all values of -this attribute are shown as links.
-These links redirect to userlink.php which tries to find the given user -and redirects to account/edit.php for account modifying.
-
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/login.htm b/lam-web/developers/devel/login.htm deleted file mode 100644 index 2a03512a..00000000 --- a/lam-web/developers/devel/login.htm +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Login - - - - -

Login
-

-

-
-

-
The login -page is the first page the user sees when opening LAM. It manages LDAP -authentication and checks the environment of the user.
-
-
-

login.php

-The login page offers authentication, language selection and profile -selection. There are also some environment checks.
-
-

Authentication

-The list of possible users is loaded from the current active profile. -Only the RDN value is offered for selection by the user.
-When the user submits his password then a new Ldap object is created and LAM -tries to connect to the LDAP server.
-If the connection was successful the user is forwarded to the main -frame (main.php). The session variable $_SESSION['loggedIn'] -is set to true. This informs -the other PHP scripts that a valid user is connected (e.g. the user is -allowed to create account profiles).
-
-

Language selection

-The list of possible languages is read from config/language. The current active -profile defines the preselected language and the language of the login -page itself.
-
-

Profile selection
-

-The user can change the active configuration profile at login. A list -of possible profiles is retrieved by getConfigProfiles().
-If the profile is changed then the login replaces the config object in $_SESSION['config'] -by a new one. Then the main login page is loaded and uses the new -values.
-
-

Environment checks

-LAM checks if all needed PHP extensions are installed.
-
    -
  • LDAP: PHP needs LDAP -support
  • -
  • MHash: needed for -password creation
  • -
  • Gettext: needed for -translation
    -
  • -
-
-
-
-
-
- - diff --git a/lam-web/developers/devel/mod_accountPages.htm b/lam-web/developers/devel/mod_accountPages.htm deleted file mode 100644 index 8b88e057..00000000 --- a/lam-web/developers/devel/mod_accountPages.htm +++ /dev/null @@ -1,372 +0,0 @@ - -Module HowTo - Account pages - - - - -
-

Module HowTo - Account pages
-

-
-
-

-

1. Loading the LDAP attributes
-

-Every time the user selects an existing account to modify LAM will load -the complete LDAP entry of it. Your module then should select the -attributes which are useful for it.
-There are two variables in baseModule -which should be used to store the attributes. The $attributes variable stores the -current attributes including changes the user made. The $orig variable stores the attributes -as they were originally when the account was loaded. This allows you to -see what changes were made.
-
-The load_attributes() function -in your module gets the complete attribute list from LDAP.
-
-Example:
-
-The ieee802Device uses an -object class and the 'macAddress' -attribute. Therefore we will save this two values.
-
- - - - - - -
    /**
-    * This function loads all needed attributes into the -object.
-    *
-    * @param array $attr an array as it is retured from -ldap_get_attributes
-    */
-    function load_attributes($attr) {
-        -$this->attributes['objectClass'] = array();
-        -$this->attributes['macAddress'] = array();
-        $this->orig['objectClass'] = -array();
-        $this->orig['macAddress'] = -array();
-        if (isset($attr['objectClass'])) {
-            -unset($attr['objectClass']['count']);
-            -$this->attributes['objectClass'] = $attr['objectClass'];
-            -$this->orig['objectClass'] = $attr['objectClass'];
-        }
-        if (isset($attr['macAddress'])) {
-            -unset($attr['macAddress']['count']);
-            -$this->attributes['macAddress'] = $attr['macAddress'];
-            -$this->orig['macAddress'] = $attr['macAddress'];
-        }
-        return 0;
-    }
-
-
-
-

2. Page display

-Now that you have defined your subpages you will need one function for -each page to display it. The function must return meta HTML code as defined in the modules specification.
-This function is called display_html_<page -name>() where <page -name> is the name of your subpage.
-
-Example:
-
-The -ieee802Device -module has only one subpage called 'attributes'.
-
-The first half of the code displays the existing MAC addresses and the -second an input field for new values.
-The variable $this->attributes -contains the LDAP attributes which are useful for this module.
-
- - - - - - -
    /**
-    * This function will create the meta HTML code to -show a page with all attributes.
-    *
-    * @param array $post HTTP-POST values
-    */
-    function display_html_attributes($post) {
-        $return = array();
-        // list current MACs
-        for ($i = 0; $i < -sizeof($this->attributes['macAddress']); $i++) {
-            $return[] = -array(
-            -    array('kind' => 'text', 'text' => -_('MAC address')),
-            -    array('kind' => 'input', 'name' => -'macAddress' . $i, 'type' => 'text', 'size' => '17', 'maxlength' -=> '17', 'value' => $this->attributes['macAddress'][$i]),
-            -    array('kind' => 'input', 'type' => -'submit', 'name' => 'delMAC' . $i, 'value' => _("Remove")),
-            -    array('kind' => 'help', 'value' => -'mac'));
-        }
-        // input box for new MAC
-        $return[] = array(
-            array('kind' => 'text', 'text' => _('New MAC address')),
-            array('kind' => 'input', 'name' => 'macAddress', 'type' => -'text', 'size' => '17', 'maxlength' => '17', 'value' => ''),
-            array('kind' => 'input', 'type' => 'submit', 'name' => -'addMAC', 'value' => _("Add")),
-            array('kind' => 'help', 'value' => 'mac'),
-            array('kind' => 'input', 'type' => 'hidden', 'value' => -sizeof($this->attributes['macAddress']), 'name' => 'mac_number'));
-        return $return;
-    }
-
-
-
-

3. Processing input data
-

-Every time the user clicks on a submit button while your page is -displayed LAM will call a function in your module.
-This function is called process_<page -name>() where <page -name> is the name of your subpage.
-
-If all input data is ok then return an empty array. If you return one or more error messages then the user will be -redirected to your page.
-
-Example:
-
-The -ieee802Device -module has only one subpage called 'attributes' -and therefore only process_attributes().
-
-The function checks the input fields and fills the LDAP attributes. If -all is ok it will enable the user to move to another module page.
-
- - - - - - -
    /**
-    * Write variables into object and do some regex -checks
-    *
-    * @param array $post HTTP-POST values
-    */
-    function process_attributes($post) {
-        $errors = array();
-        -$this->attributes['macAddress'] = array();
-        // check old MACs
-        if (isset($post['mac_number'])) {
-            for ($i = 0; -$i < $post['mac_number']; $i++) {
-            -    if (isset($post['delMAC' . $i])) continue;
-            -    if (isset($post['macAddress' . $i]) && -($post['macAddress' . $i] != "")) {
-            -        // check if address has correct -format
-            -        if (!get_preg($post['macAddress' -. $i], 'macAddress')) {
-            -            $message = -$this->messages['mac'][0];
-            -            $message[] = -$post['macAddress' . $i];
-            -            $errors[] = $message;
-            -        }
-            -        -$this->attributes['macAddress'][] = $post['macAddress' . $i];
-            -    }
-            }
-        }
-        // check new MAC
-        if (isset($post['macAddress']) -&& ($post['macAddress'] != "")) {
-            // check if -address has correct format
-            if -(get_preg($post['macAddress'], 'macAddress')) {
-            -    $this->attributes['macAddress'][] = -$post['macAddress'];
-            }
-            else {
-            -        $message = -$this->messages['mac'][0];
-            -        $message[] = $post['macAddress'];
-            -        $errors[] = $message;
-            }
-        }
-        -$this->attributes['macAddress'] = -array_unique($this->attributes['macAddress']);
-        return $errors;
-    }
-
-
-
-

4. Defining that your module is ready for user input and LDAP -add/modify

-In most cases you will not need to implement these functions. The baseModule will return true for both functions.
-
-
-There are two functions which control the module status:

-
-The module_ready() function -has to -return true if the user may -move to your module page. If it is false -the user will be shown an error message that your module is not yet -ready. You can use this if your module depends on input data from other -modules (e.g. you need the user name from posixAccount first).
-
-The second function is -module_complete(). The user -cannot do the LDAP operation if one or more modules return false. This defines if all needed -input data for your module was entered.
-Use this function if you want to check that all required attributes are -set.
-
-Example:
-
-The sambaSamAccount -module needs the user's uidNumber -and gidNumber before it can -accept input and the account needs a sambaSID -before it can be saved.
-
- - - - - - -
    /**
-    * This function is used to check if this module page -can be displayed.
-    * It returns false if a module depends on data from -other modules which was not yet entered.
-    *
-    * @return boolean true, if page can be displayed
-    */
-    function module_ready() {
-        if -($_SESSION[$this->base]->module['posixAccount']->attributes['gidNumber'][0]=='') -return false;
-        if -($_SESSION[$this->base]->module['posixAccount']->attributes['uidNumber'][0]=='') -return false;
-        if -($this->attributes['uid'][0]=='') return false;
-        return true;
-    }
-
-    /**
-    * This functions is used to check if all settings -for this module have been made.
-    *
-    * @return boolean true, if settings are complete
-    */
-    function module_complete() {
-        if (!$this->module_ready()) -return false;
-        if -($this->attributes['sambaSID'][0] == '') return false;
-        return true;
-    }
-
-
-
-
-

5. Saving the LDAP attributes
-

-In most cases you will not have to implement this option if you use $this->attributes and $this->orig to manage the LDAP -attributes. The baseModule -will generate the save comands for you.
-
-When all modules report that they are ready for LDAP add/modify and the -user clicks on the add/modify button your module will be asked what -changes have to be made.
-This is done in the function save_attributes().
-
-Example:
-
-The kolabUser module uses -this function to make sure that its object class is saved. Other -modules (e.g. quota) use it build the lamdaemon commands.
-
- - - - - - -
    /**
-    * Returns a list of modifications which have to be -made to the LDAP account.
-    *
-    * @return array list of modifications
-    * <br>This function returns an array with 3 -entries:
-    * <br>array( DN1 ('add' => array($attr), -'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
-    * <br>DN is the DN to change. It may be -possible to change several DNs (e.g. create a new user and add him to -some groups via attribute memberUid)
-    * <br>"add" are attributes which have to be -added to LDAP entry
-    * <br>"remove" are attributes which have to be -removed from LDAP entry
-    * <br>"modify" are attributes which have to -been modified in LDAP entry
-    */
-    function save_attributes() {
-        // add object class if needed
-        if -(!isset($this->attributes['objectClass']) || -!in_array('kolabInetOrgPerson', $this->attributes['objectClass'])) {
-            -$this->attributes['objectClass'][] = 'kolabInetOrgPerson';
-        }
-        return parent::save_attributes();
-    }
-
-
-
- -

-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/mod_basics.htm b/lam-web/developers/devel/mod_basics.htm deleted file mode 100644 index 98efa65a..00000000 --- a/lam-web/developers/devel/mod_basics.htm +++ /dev/null @@ -1,110 +0,0 @@ - - - - Module HowTo - Basic concepts - - - - -
-

Module HowTo - Basic concepts
-

-
-
-

-

1. Licensing

-LAM is licensed under the GNU -General Public License. This means your plugins need a compatible -license.
-LAM is distributed with a copy of the GPL license.
-
-

2. Naming and position in directory structure

-
-Module names are usually named after the object class they manage. -However, you can use any name you want, it should be short and -containing only a-z and 0-9. The module name is only shown in the -configuration dialog, on all other pages LAM will show a provided alias name.
-All account modules are stored in lib/modules. -The filename must end with .inc -and the file must have the same name as its inside class.
-
-Example: -Our example module will provide the class -ieee802Device, -therefore the file will be called lib/modules/ieee802Device.inc.
-
-
-

3. Defining the class

-All module classes have baeModule -as parent class. This provides common functionality and dummy functions -for all required class functions.
-
-Example:
-
- - - - - - -
/**
-* Provides MAC addresses for hosts.
-*
-* @package modules
-*/
-class
ieee802Device - extends baseModule {
-
-}
-
-
-

4. Meta data

-The module interface inludes a lot of required and optional functions. -Many of these functions do not need to be implemented directly in the -module, you can define meta data -for them and the baseModule -will do the rest.
-Providing meta data is -optional, you can implement the required functions in your class, too.
-
-The baseModule reads the meta data by calling get_metaData() in your class.
-
-Example:
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function get_metaData() {
-        $return = array();
-        // manages host accounts
-        $return["account_types"] = -array("host");
-    }
-
-
-You will see this functions several times in the next parts of this -HowTo.
-
-

-
-
- - diff --git a/lam-web/developers/devel/mod_config.htm b/lam-web/developers/devel/mod_config.htm deleted file mode 100644 index d4e6c138..00000000 --- a/lam-web/developers/devel/mod_config.htm +++ /dev/null @@ -1,183 +0,0 @@ - -Module HowTo - Configuration options - - - - - - -

Module HowTo - Configuration options
-

-

-There might be situations where you want to give the user the -possibility to make general settings which are not useful to place on -the account detail pages or profile editor.
-Therefore LAM allows the modules to define their own configuration -options. E.g. the posixAccount -module uses this to define the ranges for the UIDs.
-LAM will display your configuration options only if the user also -selected your module.
-
-

-

1. Defining configuration options
-

-First you have to define what options you want to offer the user. LAM -will display all options in one fieldset for each module. Please notice -that there will be no separation on account types if you module is -suitable for different account types.
-
-The configuration options are specified with get_configOptions() -or meta['config_options'].
-
-Example:
-
-The posixGroup module offers -three configuration options. The min/maximum values for GIDs and the -password hash type.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // configuration options
-        $return['config_options']['group'] = array(
-            array(
-           -     array('kind' => 'text', 'text' => -'<b>' . -_('Minimum GID number') . " *: </b>"),
-                array('kind' => 'input', 'name' => -'posixGroup_minGID', 'type' => 'text', 'size' => '10', -'maxlength' => '255'),
-           -     array('kind' => 'text', 'value' => -'&nbsp;'),
-           -     array('kind' => 'text', 'text' => -'<b>' . -_('Maximum GID number') . " *: </b>"),
-                array('kind' => 'input', 'name' => -'posixGroup_maxGID', 'type' => 'text', 'size' => '10', -'maxlength' => '255'),
-           -     array('kind' => 'help', 'value' => -'minMaxGID')),
-            array(
-           -     array('kind' => 'text', 'text' => -'<b>' . -_("Password hash type") . ': &nbsp;</b>'),
-                array('kind' => 'select', 'name' => -'posixGroup_pwdHash', 'size' => '1', 'options' => array("CRYPT", "SHA", "SSHA", "MD5", "SMD5", -"PLAIN"), 'options_selected' => array('SSHA')),
-           -     array('kind' => 'text', 'value' => -'&nbsp;'),
-           -     array('kind' => 'text', 'value' => -'&nbsp;'),
-           -     array('kind' => 'text', 'value' => -'&nbsp;'),
-                array('kind' => 'help', 'value' => 'pwdHash'))
-        );
-        [...]
-
-
-The min/maximum GID numbers are defined with simple text boxes. The -password hash is selected with a drop down box and SSHA as default -value.
-You should make sure that the column count (here: 6) is the same for -each row. Otherwise the configuration page might be badly rendered by -the browser.
-
-

2. Checking user input

-Probably you also want to check if the input data is syntactically -correct.
-The baseModule already -provides different checks which can be activated with meta data. However you can also do -the checking in the module.
-Implementing the function check_configOptions() -in your module will allow you to do the checks yourself. Basic checks -can be defined with meta['config_checks'].
-
-Example:
-
-The posixGroup module only -needs to check if the GID numbers are correct. The password hash type -needs not to be checked as it is a selection.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // configuration checks
-        $return['config_checks']['group']['posixGroup_minGID'] = -array (
-            'type' => -'ext_preg',
-            'regex' => -'digit',
-            'required' -=> true,
-           - 'required_message' => $this->messages['gidNumber'][5],
-           - 'error_message' => $this->messages['gidNumber'][5]);
-        $return['config_checks']['group']['posixGroup_maxGID'] = -array (
-            'type' => -'ext_preg',
-            'regex' => -'digit',
-            'required' -=> true,
-           - 'required_message' => $this->messages['gidNumber'][6],
-           - 'error_message' => $this->messages['gidNumber'][6]);
-        $return['config_checks']['group']['cmpGID'] = array (
-            'type' => -'int_greater',
-            'cmp_name1' -=> 'posixGroup_maxGID',
-            'cmp_name2' -=> 'posixGroup_minGID',
-           - 'error_message' => $this->messages['gidNumber'][7]);
-        [...]
-
-
-The type "ext_preg" means that -the baseModule will use the get_preg() function in lib/account.inc for the syntax -check. This function already contains regular expressions for the most -common cases.
-To check if the minimum GID is smaller than the maximum GID we define a -check for the nonexistant option "cmpGID" and define it as optional. -This will do the comparison check.
-
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/mod_ext.htm b/lam-web/developers/devel/mod_ext.htm deleted file mode 100644 index c36276c9..00000000 --- a/lam-web/developers/devel/mod_ext.htm +++ /dev/null @@ -1,56 +0,0 @@ - - - - Module HowTo - Defining required extensions - - - - -
-

Module HowTo - Defining required extensions
-

-

-Your account module might require special PHP extensions. LAM can check -this for you and display an error message at the login page.
-
-
-
You will need to implement the function getRequiredExtensions() or use meta['extensions'].
-
-Example:
-
-The posixAccount module needs -to generate password hashes. Therefore it needs the MHash extension.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // PHP extensions
-        $return["extensions"] = -array("mhash");
-        [...]
-
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/mod_general.htm b/lam-web/developers/devel/mod_general.htm deleted file mode 100644 index aa19ec2b..00000000 --- a/lam-web/developers/devel/mod_general.htm +++ /dev/null @@ -1,327 +0,0 @@ - -Module HowTo - General module options - - - - - -
-

Module HowTo - General module options
-

-
-
-

-

1. Account types
-

-LAM currently provides three account types: users, groups, hosts
-
A module can manage one or more account types.
-
-The types are specified with can_manage() -or meta['account_types'].
-
-Example:
-
-Our ieee802Device -module will be used only for host accounts.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // manages host accounts
-     -    $return["account_types"] = array("host");
-        return $return;
-    }
-
-
-
-

2. Base modules
-

-In LDAP every entry needs exactly one structural -object class. Therefore all modules which provide a structural object class are marked -as base module.
-
-This is done with is_base_module() -or meta['is_base'].
-
-Example:
-
-The inetOrgPerson -module manages the structural object class "inetOrgPerson" and -therefore is a base module.
-If your module is not a base module you can skip the meta data for -this, default is false.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // base module
-     -    $return["is_base"] = true;
-        return $return;
-    }
-
-
-
-

3. Alias name

-The module name is very limited, therefore every module has an alias name. This alias name has no limitations and -can be translated. It may contain special characters but make sure that -it does not contain HTML special characters like "<".
-The alias name can be the -same for all managed account types -or differ for each type.
-
-The alias name is specified -with get_alias() -or meta['alias'].
-
-Example:
-
-Our ieee802Device -module will get the alias MAC address.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-         // alias name
-     -    $return["alias"] = _("MAC address");
-        return $return;
-    }
-
-
-
-

4. Dependencies

-Modules can depend on eachother. This is useful if you need to access -attributes from other modules or the managed object classes of your -module are not structural.
-
-The dependencies are specified with get_dependencies() -or meta['dependencies'].
-
-Example:
-
-Our ieee802Device -module depends on the account module (because it is the only structural -module at this time).
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-         // module dependencies
-     -    $return['dependencies'] = array('depends' => -array('account'), 'conflicts' => array());
-        return $return;
-    }
-
-
-
-

5. Messages

-There are many situations where you will display messages to the user. -The modules should define such messages at a common place to make it -easier to modify them without searching the complete file.
-The baseModule offers the $messages variable for this. It -should be filled by a function called load_Messages().
-The baseModule will -automatically check if you have implemented this function and call it -at construction time.
-
-Example:
-
-Now let our ieee802Device -module define a message.
-
- - - - - - -
    /**
-    * This function fills the error message array with -messages
-    */
-    function load_Messages() {
-        $this->messages['mac'][0] = -array('ERROR', 'MAC address is invalid!');  // third array value -is set dynamically
-    }
-
-
-
-

6. Managed object classes
-

-

-You can tell LAM what object classes are managed by your module.
-LAM will then check the spelling of the objectClass attributes and -correct it automatically. This is useful if other applications (e.g. -smbldap-tools) also create accounts and the spelling is differnt.
-
-Example:
-
-The ieee802Device module -manages one object class.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-         // managed object classes
-     -    $return['objectClasses'] = array('ieee802Device');
-        return $return;
-    }
-
-
-
-

7. Known LDAP aliases
-

-LDAP attributes can have several names (e.g. "cn" and "commonName" are -the same). If you manage such attributes then tell LAM about the alias -names.
-LAM will then convert all alias names to the given attribute names -automatically.
-
-Example:
-
-The posixGroup module manages -the "cn" attribute. This attribute is also known under the alias -"commonName".
-This way the module will never see attributes called "commonName" -because LAM renames them as soon as the LDAP entry is loaded.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // LDAP aliases
-     -    $return['LDAPaliases'] = array('commonName' => -'cn');
-        return $return;
-    }
-
-
-
- -

-
-
-

8. Icon
-

-You can specify a icon for you module. It will be displayed on the -account pages and other module specific places (e.g. file upload).
-The icons must be 32x32 pixels in size. The location is relative to the graphics directory.
- -
- -Example:
- -
- -The posixGroup module uses the "tux.png" from the graphics directory.
- -
- - - - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
        // icon
-        $return['icon'] = 'tux.png';
-        return $return;
-    }
-
- -
- -
- - -

- - - - \ No newline at end of file diff --git a/lam-web/developers/devel/mod_help.htm b/lam-web/developers/devel/mod_help.htm deleted file mode 100644 index cb0ce433..00000000 --- a/lam-web/developers/devel/mod_help.htm +++ /dev/null @@ -1,89 +0,0 @@ - - - - Module HowTo - Help entries - - - - -
-

Module HowTo - Help entries
-

-
-
-

-

1. Defining help entries
-

-Your module should provide help for all input fields and other -important things.
-The LAM help system defines an extra ID range for each module. So you -are free in defining your own IDs.
-
-The help entries are specified with get_help() -or meta['help'].
-
-Example:
-
-The ieee802Device -module needs help entries for the MAC address.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-    -     // help Entries
-     -    $return['help'] = array(
-     -        'mac' => array(
-     -            "Headline" -=> _("MAC address"),
-     -            "Text" => -_("This is the MAC address of the network card of the device (e.g. -00:01:02:DE:EF:18).")
-     -        ),
-     -        'macList' => array(
-     -            "Headline" -=> _("MAC address list"),
-     -            "Text" => -_("This is a comma separated list of MAC addresses.")
-     -        ));
-        return $return;
-    }
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/mod_index.htm b/lam-web/developers/devel/mod_index.htm deleted file mode 100644 index 51fa04af..00000000 --- a/lam-web/developers/devel/mod_index.htm +++ /dev/null @@ -1,61 +0,0 @@ - - - - LAM module HowTo - - - - -
-

Module HowTo

-
-
-
-

Basic functions

-
-
-
LAM can be easily extended to support -additional LDAP object classes and attributes.
-This document provides a step-by-step description to build an account -module. The ieee802Device -module which provides MAC addresses for hosts is used as example.
-
-

1. Basic concepts
-

-
-

2. General module options

-
-

3. Account pages

-
-

4. Help entries
-

-
-

5. PDF output
-

-
-

6. File upload

-
-
-
-

-
-

Advanced functions

-This part covers additional functionality of the modules which are only -needed by a minority of modules. The examples are taken from different -existing modules.
-
-

1. Account profiles

-
-

2. Configuration options

-
-

3. Advanced upload options

-
-

4. Defining the RDN

-
-

5. Defining required PHP extensions

-
-
-
-
- - diff --git a/lam-web/developers/devel/mod_pdf.htm b/lam-web/developers/devel/mod_pdf.htm deleted file mode 100644 index fb3dfae5..00000000 --- a/lam-web/developers/devel/mod_pdf.htm +++ /dev/null @@ -1,107 +0,0 @@ - - - - Module HowTo - PDF output - - - - -
-

Module HowTo - PDF output
-

-
-
-

-

1. Defining possible PDF values
-

-The first step to PDF output is defining what values your module -provides. This is needed for the PDF editor, otherwise the user will -not be able to select values from your module.
-
-The PDF values are specified with get_pdfFields() -or meta['PDF_fields'].
-
-Example:
-
-The ieee802Device -module has only one attribute and therefore one PDF value: the MAC -address.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-[...]
-        // available PDF fields
-     -    $return['PDF_fields'] = array(
-     -        'macAddress'
-     -    );
-        return $return;
-    }
-
-
-
-
-

2. Providing data to put into the PDF file
-

-When the user wants to create a PDF file the LDAP account is loaded and -you module is asked for data to put into the PDF file.
-
-This is done with get_pdfEntries().
-
-Example:
-
-The ieee802Device -module will return the MAC address list of the account.
-
- - - - - - -
    /**
-    * Returns a list of PDF entries
-    */
-    function get_pdfEntries() {
-        $return = array();
-        if -(sizeof($this->attributes['macAddress']) > 0) {
-            -$return['ieee802Device_macAddress'] = '<block><key>' . -_('MAC address list') . '</key><value>' . implode(', ', -$this->attributes['macAddress']) . '</value></block>';
-        }
-        return $return;
-    }
-
-
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/mod_profiles.htm b/lam-web/developers/devel/mod_profiles.htm deleted file mode 100644 index 1034b1a3..00000000 --- a/lam-web/developers/devel/mod_profiles.htm +++ /dev/null @@ -1,190 +0,0 @@ - -Module HowTo - Account profiles - - - - - -
-

Module HowTo - Account profiles
-

-

-Account profiles make it easy to set default values for new accounts -and even to reset an existing account to default values.
-Your module should provide the possibility to define default values for -all attributes which do not differ for each account.
-
-

-

1. Defining possible profile options
-

-The first step to account profiles is defining the attributes for which -the user can set default values. You will also have to define the type -(text, checkbox, ...) of the profile options.
-The profile editor then will display a fieldset for each module -containing its profile options.
-
-The profile options are specified with get_profileOptions() -or meta['profile_options'].
-
-Example:
-
-The inetOrgPerson -module has only two attributes which may be set to a default value: job -title and employee type.
-The other attributes are account specific and not useful as profile -options.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // profile elements
-        $return['profile_options'] = array(
-            array(
-            -    array('kind' => 'text', 'text' => -_('Job title') . ":"),
-            -    array('kind' => 'input', 'name' => -'inetOrgPerson_title', 'type' => 'text', 'size' => '30', -'maxlength' => '255'),
-            -    array('kind' => 'help', 'value' => -'title')),
-            array(
-            -    array('kind' => 'text', 'text' => -_('Employee type') . ":"),
-            -    array('kind' => 'input', 'name' => -'inetOrgPerson_employeeType', 'type' => 'text', 'size' => '30', -'maxlength' => '255'),
-            -    array('kind' => 'help', 'value' => -'employeeType'))
-        );
-        [...]
-
-
-This defines two text boxes in the profile editor, one for the job -title and one for the employee type.
-Your profile options should also provide a help link if the description -of the input element might be not enough.
-
-
-

2. Checking user input

-Probably you also want to check if the input data is syntactically -correct.
-The baseModule already -provides different checks which can be activated with meta data. However you can also do -the checking in the module.
-Implementing the function check_profileOptions() -in your module will allow you to do the checks yourself. Basic checks -can be defined with meta['profile_checks'].
-
-Example:
-
-The inetOrgPerson module only -needs some regular expression checks on the input. This can be done by -the baseModule.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // profile checks
-        $return['profile_checks']['inetOrgPerson_title'] = array(
-            'type' => -'ext_preg',
-            'regex' => -'title',
-           - 'error_message' => $this->messages['title'][0]);
-        $return['profile_checks']['inetOrgPerson_employeeType'] = -array(
-            'type' => -'ext_preg',
-            'regex' => -'employeeType',
-           - 'error_message' => $this->messages['employeeType'][0]);
-        [...]
-
-
-The type "ext_preg" means that -the baseModule will use the get_preg() function in lib/account.inc for the syntax -check. This function already contains regular expressions for the most -common cases.
-
-
-

3. Loading an account profile

-When an account profile is loaded the modules have to check what values -they need for their internal data structures.
-The baseModule already -provides the possibility to store profile values directly as LDAP -attributes in $this->attributes. -This is done by defining profile-attribute mappings in meta['profile_mappings'].
-If you have other values than LDAP attributes or need some post -processing you can implement the function load_profile() in your module.
-
-Example:
-
-The inetLocalMailRecipient -module only -needs a static mapping. This can be done by -the baseModule.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // profile mappings
-        $return['profile_mappings'] = array(
-           - 'inetLocalMailRecipient_host' => 'mailHost'
-        );
-        [...]
-
-
-In this example the profile option "inetLocalMailRecipient_host" is -stored as LDAP attribute "mailHost".
-
-
- -

-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/mod_rdn.htm b/lam-web/developers/devel/mod_rdn.htm deleted file mode 100644 index 35861732..00000000 --- a/lam-web/developers/devel/mod_rdn.htm +++ /dev/null @@ -1,60 +0,0 @@ - - - - Module HowTo - Defining the RDN - - - - -
-

Module HowTo - Defining the RDN
-

-

-Every LDAP DN starts with a RDN (relative DN). This is the value of a -LDAP attribute. Users usually use "uid", groups use "cn".
-You can provide a list of suitable RDN attributes for your module and -give them a priority, too.
-
-
-
You will need to implement the function get_RDNAttributes() or use meta['RDN'].
-
-Example:
-
-The posixAccount module -offers to create accounts with DNs uid=foo,dc=.... and cn=foo,dc=...
-The uid attribute has a higher priority as it is the usual attribute -for Unix accounts.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // RDN attributes
-        $return["RDN"] = array("uid" -=> "normal", "cn" => "low");
-        [...]
-
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/mod_upload.htm b/lam-web/developers/devel/mod_upload.htm deleted file mode 100644 index 4c03252f..00000000 --- a/lam-web/developers/devel/mod_upload.htm +++ /dev/null @@ -1,172 +0,0 @@ - - - - Module HowTo - File upload - - - - -
-

Module HowTo - File upload
-

-
-
-

-

1. Defining upload columns
-

-If you want to support account creation via file upload you have to -define columns in the CSV file.
-Each column has an non-translated identifier, a description, help entry -and several other values.
-
-The upload columns are specified with get_uploadColumns() -or meta['upload_columns'].
-
-Example:
-
-The ieee802Device -module has only one attribute and therefore one column: the MAC address.
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // manages host accounts
-    -    $return["account_types"] = array("host");
-        // upload fields
-     -    $return['upload_columns'] = array(
-     -        array(
-     -            'name' => -'ieee802Device_mac',
-     -            'description' -=> _('MAC address'),
-     -            'help' => -'mac',
-     -            'example' -=> '00:01:02:DE:EF:18'
-     -        )
-      -   );
-        return $return;
-    }
-
-
-
-

2. Building the accounts
-

-When the user has uploaded the CSV file the modules have to transform -the input data to LDAP accounts.
-
-This is done with build_uploadAccounts(). -The function gets the input data and a list of LDAP accounts as -parameter.
-
-Example:
-
-The ieee802Device -module has only one LDAP attribute - 'macAddress' -- and the 'ieee802Device' -objectClass which is added to all accounts.
-
- - - - - - -
    /**
-    * In this function the LDAP account is built up.
-    *
-    * @param array $rawAccounts list of hash arrays -(name => value) from user input
-    * @param array $partialAccounts list of hash arrays -(name => value) which are later added to LDAP
-    * @param array $ids list of IDs for column position -(e.g. "posixAccount_uid" => 5)
-    * @return array list of error messages if any
-    */
-    function build_uploadAccounts($rawAccounts, -$ids, &$partialAccounts) {
-        $messages = array();
-        for ($i = 0; $i < -sizeof($rawAccounts); $i++) {
-            // add object -class
-            if -(!in_array("ieee802Device", $partialAccounts[$i]['objectClass'])) -$partialAccounts[$i]['objectClass'][] = "ieee802Device";
-            // add MACs
-            if -($rawAccounts[$i][$ids['ieee802Device_mac']] != "") {
-            -    $macs = explode(',', -$rawAccounts[$i][$ids['ieee802Device_mac']]);
-            -    // check format
-            -    for ($m = 0; $m < sizeof($macs); $m++) {
-            -        if (get_preg($macs[$m], -'macAddress')) {
-            -            -$partialAccounts[$i]['macAddress'][] = $macs[$m];
-            -        }
-            -        else {
-            -            $errMsg = -$this->messages['mac'][1];
-            -            -array_push($errMsg, array($i));
-            -            $messages[] = -$errMsg;
-            -        }
-            -    }
-            }
-        }
-        return $messages;
-    }
-
-
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/mod_upload2.htm b/lam-web/developers/devel/mod_upload2.htm deleted file mode 100644 index ab706437..00000000 --- a/lam-web/developers/devel/mod_upload2.htm +++ /dev/null @@ -1,123 +0,0 @@ - - - - Module HowTo - Advanced upload options - - - - -
-

Module HowTo - Advanced upload options
-

-

-The ieee802Device module only -needs the basic upload functions for its functionality.
-However there are more possibilities for the modules to control the -file upload.
-
-

-

1. Module order
-

-Your module might depend on the input values of another module. In this -case you probably want that your module is called as the second one.
-
-You can define dependencies to other modules with the function get_uploadPreDepends() or meta['upload_preDepends'].
-
-Example:
-
-The sambaGroupMapping module -needs the group name to set the default displayName. Therefore it depends -on the posixGroup module
-
- - - - - - -
    /**
-    * Returns meta data that is interpreted by parent -class
-    *
-    * @return array array with meta data
-    */
-    function -get_metaData() {
-        $return = array();
-        // upload dependencies
-        $return['upload_preDepends'] = -array('posixGroup');
-        [...]
-
-
-
-

2. Upload post actions
-

-If your module does not only create an account but relates the account -with other existing LDAP entries you can do these modifications after -the account was created.
-This is useful for adding users to groups or setting quotas.
-
-You have to implement the function doUploadPostActions() -in your module. Since post actions are very special there is no meta data for this.
-
-Example:
-
-The posixAccount module -offers to put the user account in additional groups. This is done in -the post actions.
-
- - - - - - -
    /**
-    * This function executes one post upload action.
-    *
-    * @param array $data array containing one account in -each element
-    * @param array $ids array(<column_name> => -<column number>)
-    * @param array $failed list of accounts which were -not created successfully
-    * @param array $temp variable to store temporary -data between two post actions
-    * @return array current status
-    * <br> array (
-    * <br>  'status' => 'finished' | -'inProgress'
-    * <br>  'progress' => 0..100
-    * <br>  'errors' => array (<array -of parameters for StatusMessage>)
-    * <br> )
-    */
-    function doUploadPostActions($data, $ids, -$failed, &$temp) {
-         [...]
-    }
-
-
-Please make sure that the actions in one call of doUploadPostActions() are not very -time consuming (only one LDAP operation). Your function will be called -repeatedly until you give back the status "finished".
-This allows LAM to avoid running longer than the maximum execution time -by sending meta refreshes to the browser.
- -

-
-
- - diff --git a/lam-web/developers/devel/modules-specification.htm b/lam-web/developers/devel/modules-specification.htm deleted file mode 100644 index a618232b..00000000 --- a/lam-web/developers/devel/modules-specification.htm +++ /dev/null @@ -1,1494 +0,0 @@ - - - Module specification - - - - - -

This document describes the module -interface for LDAP Account Manager

-
-
-

1. Location and naming of modules

-All LAM modules are placed in lib/modules/ and are named "<class -name>.inc".
-E.g. if you create a new module and its class name is "qmail" then the -filename would be "qmail.inc".
-
-The class name of a module must contain only a-z, A-Z, 0-9, -, and _.
-All module classes should extend the baseModule class.
-
-

2. Class functions

-

2.1. Functions that have to work without superior accountContainer
-

-


-

-

2.1.1. can_manage*

-
- - - - - - -
function can_manage()
-
-
-Returns true if this module -can manage accounts of the current type, -otherwise false.
-
-
-

2.1.2. get_alias*

-
- - - - - - -
function get_alias()
-
-
-This function returns a more descriptive string than the class name. -Alias names are used for the buttons of the account pages and the -module selection of the configuration wizard.
-Please take care that your alias name is not too long. It may contain -any character but should not include parts that may be interpreted by -the browser (e.g. '<' or '>').
-If you use different aliases dependent on the account type please make -sure that there is a general alias for unknown types.
-
-

2.1.3. is_base_module*

-
- - - - - - -
function is_base_module()
-
-
-Returns true if your module is -a base module and otherwise false.
-
-Every account type needs exactly one base module. A base module manages -a structural object class.
-E.g. the inetOrgPerson module is a base module since its object class -is structural.
-
-

2.1.4. get_ldap_filter*

-
- - - - - - -
function get_ldap_filter()
-
-
-Returns an array('or' => '...', 'and' => '...') that is used to -build the LDAP filter. Usually -used to filter object classes.
-
-All "or" filter parts of the base modules are combined with OR and then -combined with the "and" parts.
-The resulting LDAP filter will look like this: -(&(|(OR1)(OR2)(OR3))(AND1)(AND2)(AND3))
-
-Example: return "('or' => -'(objectClass=posixAccount)', 'and' => '(!(uid=*$))')"
-
-

2.1.5. getManagedObjectClasses*

-
- - - - - - -
function getManagedObjectClasses()
-
-
-Returns an array of object class names which are managed by this module.
-
-This is used to fix spelling errors in LDAP-Entries (e.g. if -"posixACCOUNT" is read instead of "posixAccount" from LDAP).
-
-Example: return "('posixAccount')"
-
-

2.1.6. getLDAPAliases*

-
- - - - - - -
function getLDAPAliases()
-
-
-This function returns a list of LDAP attribute alias names.
-
-return array(<alias name> => -<attribute name>)
-
-

2.1.7. get_RDNAttributes*

-
- - - - - - -
function get_RDNAttributes()
-
-
-Returns a hash array containing a list of possible LDAP attributes that -can be used to form the RDN (Relative Distinguished Name).
-
-The keys of the array are the LDAP attributes, the values are the -priority ("low"/"normal"/"high").
-Attributes with higher priority are placed higher in the drop down box -for the RDN selection.
-
-Example: return "('uid' => -'normal', 'cn' => 'low')"
-
- -

2.1.8. get_dependencies*

-
- - - - - - -
function -get_dependencies()
-
-
-This function returns a list of modules it depends on.
-
-The return value is an array with two sub arrays, "depends" and "conficts".
-All values of the conflict array are string values with module names.
-All values of the depends array are either string values with module -names or arrays which include only string values with module names. If -an element of the depends array is itself an array, this means that -your module depends on one of these modules.
-
-Example: return array("depends" -=> array("posixAccount", array("qmail", "sendmail")), "conflicts" -=> array("exim"));
-
-

2.1.9. get_metaData()

-
- - - - - - -
function get_metaData()
-
-
-Returns an hash array including meta data for the baseModule.
-
-Example: return array("is_base" => -true);
-
-

2.1.10. get_configOptions()*

-
- - - - - - -
function get_configOptions($scopes, -$allScopes)
-
-
-Returns a list of configuration options.
-$scopes is a list of account types (user, group, host) -which are used.
-$allScopes is a list of all -active account modules and their scopes (module => array(scopes))
-
-The return value is an array -that contains meta HTML code.
-
-The type "fieldset" is not allowed here.
-The name attributes are used -as keywords to load and save settings. We recommend to use the module -name as prefix for them (e.g. posixAccount_homeDirectory) to avoid -naming confilcts.
-

2.1.11. check_configOptions*

-
- - - - - - -
function check_configOptions($scopes, -$options)
-
-
-This function checks the input for module configuration settings.
-
-$scopes is a list of used -account types (user, group, host).
-$options -is an hash array -(option name => value) that contains the input. The option values -are all arrays containing one or more elements.
-If the input data is invalid the return value is an array that contains -arrays to build StatusMessages (0 => message type, 1 => message -head, 2 => message text, 3 => additional variables).
-If no errors occured the function returns an empty array.
-
- -

2.1.12. get_scope()

-
- - - - - - -
function get_scope()
-
-
-Returns the account type (user/group/host) of this module object.
-
-This function is provided by the -baseModule and should not be overwritten.
-
-

2.1.13. get_uploadColumns*

-
- - - - - - -
function get_uploadColumns()
-
-
-Returns a list of column entries for the upload .csv-file.
-Each column entry is an array containing these values:
-
    -
  • string -name: fixed non-translated name which is used as column name -(should be of format: <module name>_<column name>)
  • -
  • string -description: short descriptive name
  • -
  • string -help: help ID
  • -
  • string -example: example value
  • -
  • string -values: possible input values (optional)
  • -
  • string default: default value (optional)
    -
  • -
  • boolean -required: true, if user must set a value for this column (optional, default: -"false")
    -
  • -
  • boolean -unique: true if -all values of this column must be different values (optional, default: -"false")
    -
  • -
-
-

2.1.14. get_uploadPreDepends*

-
- - - - - - -
function get_uploadPreDepends()
-
-
-Returns a list of module names which must be processed before this -module at builing accounts.
-The named modules may not be active, LAM will check this automatically.
-
-

2.1.15. build_uploadAccounts

-
- - - - - - -
function get_uploadAccounts($rawAccounts, -$ids, $partialAccounts)
-
-
-This function takes the user input and generates the LDAP accounts.
-
-array -$rawAccounts: The user input data, contains one sub array for -each account.
-array -$ids: Maps the column names to keys for the sub arrays.
-array -$partialAccounts: Containing one sub array for each account, -format is the same as used for ldap_add().
-
-Returns an array which contains sub arrays to generate StatusMessages -if any errors occured.
-
-

2.1.16. do_uploadPostActions

-
- - - - - - -
function do_uploadPostActions($data, $ids, -$failed, &$temp)
-
-
-This function is responsible to do additional tasks after the account -has been created in LDAP.
-E.g. modifying group memberships, adding Quota etc..
-
-This function is called as long as the returned status is 'finished'. Please make sure that -one function call lasts no longer than 3-4 seconds. Otherwise the -upload may fail because the time limit is exceeded. You should not make -more than one LDAP operation in each call.
-
-array -$data: The user input data, contains one sub array for each -account.
-array -$ids: Maps the column names to keys for the sub arrays.
-array -$failed: List of account numbers which could not be successfully -uploaded to LDAP.
-array -&$temp: Pointer to temporary variable which can be used to -save information between two function calls.
-
-return array (
-    'status' => -'finished' | 'inProgress'   // Defines if all -operations are complete
-    'progress' => -0..100   // The progress of the operations in percent
-    'errors' => -array()   // List of arrays which are used to generate -StatusMessages
-    )
-
-

2.1.17. get_profileOptions*

-
- - - - - - -
function get_profileOptions()
-
-
-This function defines what attributes will be used in the account -profiles and their appearance in the profile editor.
-
-The return value is an array -that contains meta HTML code.
-
-The type "fieldset" is not allowed here.
-The name attributes are used -as keywords to load and save profiles. We recommend to use the module -name as prefix for them (e.g. posixAccount_homeDirectory) to avoid -naming confilcts.
-
-

2.1.18. check_profileOptions*

-
- - - - - - -
function check_profileOptions($options)
-
-
-This function checks the input for a new or modified account profile.
-
-$options -is an hash array -(option name => value) that contains the input. The option values -are all arrays containing one or more elements.
-If the input data is invalid the return value is an array that contains -arrays to build StatusMessages (0 => message type, 1 => message -head, 2 => message text, 3 => additional variables).
-If no errors occured the function returns an empty array.
-
-

2.1.19. load_profile*

-
- - - - - - -
function load_profile($profile)
-
-
-This function loads the values from an account profile to the module's -internal data structures.
-
-$profile -is an hash array (identifier => array(values))  with all values -of an account profile.
-
-

2.1.20. getRequiredExtensions*

-
- - - - - - -
function getRequiredExtensions()
-
-
-This function returns a list of PHP extensions (e.g. mhash) which are -needed by this module.
-
- -

2.1.21. getSelfServiceSearchAttributes*

- -
- - - - - - - - -
function getSelfServiceSearchAttributes()
-
- -
- -This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects.
-
- -

2.1.22. getSelfServiceFields*

- -
- - - - - - - - -
function getSelfServiceFields()
-
- -
- -This function returns a list of possible self service fields and their descriptions.
-
-return array ('myField' => 'Field description');
-
- -

2.1.23. getSelfServiceOptions

- -
- - - - - - - - -
function getSelfServiceOptions($fields, $attributes)
-
- -
-Builds and returns the meta HTML code for each self service field.
-
-$fields: list of self service field names
-$attributes: LDAP attributes of the current account (all lower case)
-
- -

2.1.24. checkSelfServiceOptions

- -
- - - - - - - - -
function checkSelfServiceOptions($fields, $attributes)
-
- -
-Returns a list of LDAP operations and error messages.
-
-$fields:
list of self service field names
- -$attributes: LDAP attributes of the current account (all lower case)
-
-return array(
-    'messages' => array(array('ERROR', 'Error topic', 'Error message')),
-    'add' => array('mail' => array('test@test.com')),
-    'mod' => array(),
-    'del' => array(),
-);
-
- -
-

2.1.25. getSelfServiceSettings

- - -
- - - - - - - - - - -
function getSelfServiceSettings()
-
- - -
-Returns a list of self service configuration settings.
-
- - -The return value is an array -that contains meta HTML code.
- -
- -The type "fieldset" is not allowed here.
- -The name attributes are used -as keywords to load and save settings. We recommend to use the module -name as prefix for them (e.g. posixAccount_homeDirectory) to avoid -naming confilcts.
- -
- - -

2.1.26. checkSelfServiceSettings

- - -
- - - - - - - - - - -
function checkSelfServiceSettings($options)
-
- - -
-Checks if the self service settings are valid.
- -
- -$options: is an hash array -(option name => value) that contains the input. The option values -are all arrays containing one or more elements.
-
-If the input data is invalid the return value is an array that contains -arrays to build StatusMessages (0 => message type, 1 => message -head, 2 => message text, 3 => additional variables).
- -If no errors occured the function returns an empty array.
- -
- - -
-
-
-

2.2. Functions which are called inside of an account container
-

-

2.2.1. init

-
- - - - - - -
function init($base)
-
-
-Every module needs a initializing function that has an account -container as argument $base.
-With this account container you can interact with other modules and use -several helper functions.
-
-

2.2.2. module_ready

-
- - - - - - -
function module_ready()
-
-
-Your module might depend on input of other modules. This function -determines if the user can change to your module page or not.
-The return value is true if -your module accepts input, otherwise false.
-
-This function is implemented by the baseModule -which returns true as default.
-
-

2.2.3. module_complete

-
- - - - - - -
function module_complete()
-
-
-This function tells LAM if it can create/modify the LDAP account. If -your module needs any additional input then set this to false. The user will be notified -that your module needs more input.
-
-This function is implemented by the baseModule -which returns true as default.
-
-

2.2.4. getButtonStatus
-

-
- - - - - - -
function getButtonStatus()
-
-
-This function tells LAM if the module button on the account page is -visible and active.
-The function may return these values:
-
    -
  • enabled: button is -visible and active
  • -
  • disabled: button is -visible and deactivated (greyed)
  • -
  • hidden: no button will be -shown
    -
  • -
-
-

2.2.4. get_help

-
- - - - - - -
function get_help($helpID)
-
-
-This function is called when a page requests a help topic from this -module.
-$helpID is the help identifier; -it must only contain a-z, A-Z, 0-9 --, . and _.
-It must return the help entry as array for the submitted help -identifier. The format of the array to be returned is described in -section 4. "Help entry syntax".
-
-

2.2.7. get_pdfEntries

-
- - - - - - -
function get_PDF_Entries()
-
-
-This function is called when a PDF is to be created.
-It returns the fields which are printed in the PDF file for the -specified account type. At the monent there is no (easy) possibility -for the user to decide which fields are to be displayed. Perhaps there -will be a PDF config tool in future releases where you can offer the -user to decide which fields are to be displayed on the PDF file. The -format of the array to be returned is described in section 5. "PDF -syntax".
-
-

2.2.8. dynamic_Message
-

-
- - - - - - -
function dynamic_Message($attribute, $id)
-
-
-This function is only needed when a status message contains strings -with variables.
-$attribute is the attribute the -message is corresponding to.
-$id selects the exact message.
-
-Returnis an array as expected from StatusMessage().
-
-

2.2.9. load_Messages
-

-
- - - - - - -
function load_Messages()
-
-
-This function is fills the array $this->messages. First Index (x) is -the attribute the message is corresponding to.
-Second Index (y) selects the exact message. Third Index (z) contains an -array as expected from StatusMessage().
-$this->messages[x][y][z]
-
-

2.2.10. load_attributes
-

-
- - - - - - -
function load_attributes($attr)
-
-
-This function loads attributes when an account should be loaded.
-$attr is an array like the -array returned by get_ldap_attributes(dn of account) but without count -indicees.
-If all attributes are very simple are part of the dn of account it's -possible to just call $this->load_ldap_attributes($attr)
-which is part of baseModule.
-The function load_ldap_attributes loads all attributes which fit to the -objectClass of the module.
-This function has t be expanded when attributes have to be loaded from -a different DN or handled completly
-separat.
-
-

2.2.11. save_attributes
-

-
- - - - - - -
function save_attributes()
-
-
-This function returns an array with changes which should be saved.
-The return array has the following syntax: First index is the ldap dn -which should be changed. Second
-index is the kind of modification. Possible values are: 'add', -'modify', 'notchanged', 'remove'.
-Third index is the attribute which should be changes. Fourth index is -an array with all values of
-an attribute.
-If you want to call lamdaemon -first index is 'lamdaemon'. Second index is 'command'. Third index is -the command
-itself which should be executed by lamdaemon.
-
-This function is implemented by the baseModule -which builds the required comands from $this-attributes -and $this->orig.
-
-

2.2.12. delete_attributes
-

-
- - - - - - -
function delete_attributes($post)
-
-
-This function returns an array with the same syntax as -save_attributes(). It additional LDAP changes when an account is -deleted.
-$post is the $_POST array.
-
-
-

2.2.13. process_attributes
-

-
- - - - - - -
function process_attributes($post)
-
-
-This function processes user input. It checks user input. It also -saves changes in attributes.
-It may -return an array which contains status messages. Each entry is an array -containing the status message parameters.
-$post is the $_POST -array.
-
-Example:
-
-return array(0 => array('ERROR', 'Invalid input!', 'This is not -allowed here.'));
-
-
-

2.2.14. process_*
-

-
- - - - - - -
function process_*($post)
-
-
-This function has the exact behavoir like process_attributes function. -* is the name of the subpage which
-should be processed.
-$post is the $_POST array. It -is needed to interact with the user.
-
-
-

2.2.15. display_html_attributes($post)
-

-
- - - - - - -
function display_html_attributes($post)
-
-
-This function creates meta HTML code. The code is the page the module -wants to display.
-Return is an array of meta HTML code.
-$post is the $_POST array. It -is needed t interact with the user.
-
-
-

2.2.16. display_html_*($post)
-

-
- - - - - - -
function display_html_*($post)
-
-
-This function has the exact behavoir like display_html_attributes(). * -is the name of the subpage which
-should be displayed.
-$post is the $_POST array. It -is needed t interact with the user.
-
-
-
-

2.2.17. display_html_delete($post)
-

-
- - - - - - -
function display_html_delete($post)
-
-
-This function creates meta HTML code. The code will be displayed when -an account should be deleted.
-This is needed to interact, e.g. should the home directory be deleted?
-The output of all modules is displayed on a single page.
-Return is an array of meta HTML code.
-$post is the $_POST array. It -is needed t interact with the user.
-
-
-
-*: These functions do not need to be -implemented if meta data is supplied. See 6 for a list of meta data -formats.
-


-

-

3. Meta HTML code

-The modules are not allowed to display HTML code directly but return -meta HTML code. This allows to have a common design for all module -pages.
-Meta HTML code is always returned as a three dimensional array[a][b][c] where a is the row number, b is the coumn number and c is is a data elememt.
-
-Format for data elements:
-
-A data element is an array -which contains the data to display.
-All data elements must -contail a value "kind" which -defines what kind of element should be displayed.
-
-These are the possibilies for kind -and what other options are implicated:
-
-
    -
  • fieldset: Inserts a -fieldset.
  • -
      -
    • legend: The legend of -the fieldset.
    • -
    • value: A data element. Can be used -recursively.
    • -
    -
  • help: Adds a help link.
  • -
      -
    • value: The help number -for the help entry.
    • -
    • scope: The account type -for the help entry.
      -
    • -
    -
  • input: Adds a HTML input -element.
  • -
      -
    • name: The name of the -element, will be used later as variable name when user input is -returned.
    • -
    • type: allowed values: -submit, reset, checkbox, text, password, file, hidden
    • -
    • checked: Boolean value, -if true a checkbox will be checked. This value is only needed or -checkboxes.
    • -
    • disabled: Boolean -value, if true the element will be disabled.
    • -
    • size: The length of the -input element, only used for text, password and file.
    • -
    • maxlength: The maximum -size of the input element, only used for text, password and file.
    • -
    • value: The element will -have this value as default. Button elements will have this as caption.
    • -
    -
  • select: This will add a -select field.
  • -
      -
    • name: The name of the -element, will be used later as variable name when user input is -returned.
    • -
    • multiple: Boolean -value, if set to true the user can select more than one entry.
    • -
    • options: Array of -string. This is the list of option values the user can select.
    • -
    • options_selected: Array -of string. This is the list of pre selected elements, must contain -values that are also in options.
    • -
    • descriptiveOptions: -Boolean value, if set to true then all elements in options -must be arrays themselves (array(value, - description)) (default: -false)
      -
    • -
    • size: The size of the -select field, if set to 1 a dropdown box will be displayed.
    • -
    • noSorting: If set to -true then the entries will not be sorted. Default is false.
      -
    • -
    -
  • table: Adds a table. Can -be used recursively.
  • -
      -
    • value: A data element. Can be used -recursively.
    • -
    -
  • text: Inserts a text -element.
  • -
      -
    • text: The text to -display.
    • -
    -
  • textarea: Adds a -multiline text field.
  • -
      -
    • name: The name of the -element, will be used later as variable name when user input is -returned.
    • -
    • rows: Number of rows -(required)
      -
    • -
    • cols: Number of -characters for each line (required)
      -
    • -
    • readonly: Boolean -value, if true the text field will be read only.
      -
    • -
    -
  • image: Displays an image.
  • -
      -
    • path: Path to the image
    • -
    • width: Width of the -image
    • -
    • height: Height of the -image
    • -
    • alt: Alt text of the -image
      -
    • -
    -
-
-Beneath those values a "td" -value may be added. This has to be an array with one or more of these -options:
-
-
    -
  • colspan: Like the HTML -colspan attribute for td elements
  • -
  • rowspan: Like the HTML -rowspan attribute for td elements
  • -
  • align: -left/center/right/justify Like the HTML align attribute
  • -
  • valign: top/middle/bottom -Like the HTML valign attribute
  • -
  • width: Like the HTML -height attribute for td elements
    -
  • -
-
-Input buttons which should load a different subpage of a module must -have a special name attribute:
-
-name => 'form_subpage_' . <module name> . '_' . <subpage name> . '_' . <button name>
-
    -
  • <module name>: name -of this account module (e.g. 'posixAccount')
  • -
  • <subpage name>: -name of next subpage (e.g. 'attributes')
  • -
  • <button name>: a -name to distinguish buttons (e.g. 'ok'/'cancel'/'back')
    -
  • -
-
-
-Example:
-
-
array(
-  0 => array(
-    0 => array("kind" => "text", "text" => -"This is an -example", "td" => array("colspan" => 3))
-  ),
-  1 => array(
-    0 => array("kind" => "text", "text" => -"Input:"),
-    1 => array("kind" => "input", "name" => -"myinput", -"type" => "text"),
-    2 => array("kind" => "help", "value" => "42")
-  ),
-
  2 => array(
-    0 => array("kind" => "input", "name" => -'form_subpage_myModule_attributes_back', "value" => _("Back"))
-  )
-
)
-

-
-


-

-

4. Help entry syntax

-The array that is returned by the get_help function must follow the -below described syntax. Fields marked REQUIRED are neccessary -under any circumstances. Fields marked OPTIONAL may be left out -when not needed.
-There are basically two different types of help entries that can be -used. Internal help entries, that means the headline, text, etc is -included in the help entry or external help entries, that means the -help entry has only a reference pointing to a HTML/PHP page that offers -the help entry. -
-


-4.1. Internal help entries

-ext (REQUIRED)
-Must be FALSE in this case. -
-
-Headline (REQUIRED)
-The headline of this help entry. Can consist of any alpha-numeric -characters. No HTML/CSS elements are not allowed here. -
-
-Text (REQUIRED)
-The text of this help entry. Can constist if any alpha-numeric -characters and can contain placeholder for variables passed to this -help entry. The placeholder must follow the syntax for placeholder -defined by the PHP printf function. HTML/CSS elements are -allowed here as long as they follow the XHTML1.0 Strict specification.
-
-When placeholders are included you can submit the values that should be -displayed there as arguments when calling the templates/help.php -file. There they are attached as var1, var2 and so on. -The names must follow the following rules:
-
    -
  • 1. They must be named var$i where $i is any positive -number except the '0'.
  • -
  • 2. This number ($i) must either be '1' or $i -1 must be present.
  • -
-
-SeeAlso (OPTIONAL)
-An array of references to anonther related subjects. Each row of the -array must contain a field called "text" with the text that should be -displayed and may contain a field called "link" which is used as value -for the href attribute of a HTML tag when set. -
-
-


-4.2. External help entries

-ext (REQUIRED)
-Must be TRUE in this case. -
-
-Link (REQUIRED)
-The complete filename of the file stored under the help/ directory -which should be displayed when this help entry is called. -

-
-


-

-

5. PDF syntax

-The get_pdfEntries() function uses XML formatted commands to define the -PDF output. Each part in the PDF document is surrounded by "<block>" -and "</block>".
-
-Inside the <block> tags there are different ways to format the -output:
-
    -
  • simple line with attribute name -and value: <block><key>attribute -name</key><value>attribute -value</value></block>
  • -
  • table: <block><key>attribute -name</key><tr><td>value<td><td>value<td></tr></block><block><tr><td>value</td><td>value<td></tr></block>
  • -
-
-Special commands:
-
    -
  • Alignment in <td>: -You can specify the alignment in <td> tags with align=(L|R|C) -(e.g. <td align=\"L\">)
  • -
  • Cell width: <td> -allows an attribute "width" to set the cell width (e.g. <td -width=20%> or <td width=30>).
    -
  • -
  • Line breaks: Line breaks -can be specified by adding a <br /> -tag. The new line will start at the left border of the PDF document.
  • -
-
-Examples:
-
-1. Simple name+value lines:
-
-In most cases you will just want to display a single line per attribute -with its name and value.
-
-    'myAttribute' -=> '<block><key>AttrName</key><value>12345</value></block>'
-
-This will give the following PDF output: AttrName: 12345
-
-
-2. Multiline values:

-
-Sometimes you have multivalued attributes where it is not applicable to -write all values in one line but where you want to list your values one -below the other or show a table.
-This can be done by using the <td> tag. This example only uses -one column but can just use more <td> tags per <block> tag -to display more columns.
-
-    'myAttribute' -=> '<block><key>AttrName</key><tr><td -align=\"L\">123</td></tr></block><block><tr><td -align=\"L\">456</td></tr></block><block><tr><td -align=\"L\">789</td></tr></block>'
-
-This will give the following PDF output:
-
- - - - - - - - - - - - - - - -
AttrName:
-
123
-

-
456
-

-
789
-
-
-
-
-
-

6. Module meta data

-

6.1 can_manage() -

-    "account_types" => array
-
-    Example: -array("user", "host")
-
-

6.2 is_base_module()

-    "is_base" => boolean
-
-

6.3 get_ldap_filter()

-    "ldap_filter" => array
-
-   Example: array('or' => -'objectClass=posixAccount', 'and' => '(!(uid=*$))')
-
-
-

6.4 getManagedObjectClasses()

-    "objectClasses" => array
-
-   Example: array('posixAccount')
-
-
-

6.5 getLDAPaliases()
-

-"LDAPaliases" => array()
-
-
Example: array('commonName' -=> 'cn')
-
-
-
- -

6.6 get_RDNAttributes()

-    "RDN" => array
-
-   Example: array('uid' => -'normal', 'cn' => 'low')
-
-
- -

6.7 get_dependencies()
-

-    "dependencies" => array
-
-   Example: array("depends" -=> array("posixAccount", array("qmail", "sendmail")), "conflicts" -=> array("exim"))
-

-

6.8 get_profileOptions()
-

-    "profile_options" => array
-
-   Syntax for array is the same as for the -return value of get_profileOptions().
-
-
-

6.9 check_profileOptions()
-

-    "profile_checks" => array
-
-   The keys of the array are -the names of the option identifiers.
-   Each array element is an array containing these values:
-
-
-
    -
  • type: -determines how to check input
  • -
      -
    • regex: check with regular expression from regex variable, case sensitive
    • -
    • regex_i: check with regular expression from regex variable, case insensitive
    • -
    • int_greater: integer value of cmp_name1 must be -greater than the integer value from the option cmp_name2
    • -
    • int_greaterOrEqual: integer value of cmp_name1 -must be greater or equal than the integer value from the option cmp_name2
    • -
    -
  • error_message: message that is displayed if input value -was syntactically incorrect
  • -
      -
    • array -to build StatusMessages (0 => message type, 1 => message -head, 2 => message text, 3 => additional variables)
    • -
    -
  • regex: regular expression string (only if type is regex/regex_i)
  • -
  • cmp_name1: -name of first input -variable that is used for comparison (only if type is int_greater/int_greaterOrEqual)
  • -
  • cmp_name2: name of second input -variable that is used for comparison (only if type is int_greater/int_greaterOrEqual)
    -
  • -
  • required: true or false, if this input field must be -filled set to true (optional)
    -
  • -
  • required_message: message that is displayed if no input value was -given (only if required == true)
  • -
      -
    •  array to build StatusMessages (0 => message type, 1 -=> message -head, 2 => message text, 3 => additional variables)
    • -
    -
-
-

6.10 load_profile()
-

-    "profile_mappings" => array('profile_identifier1' -=> 'LDAP_attribute1', 'profile_identifier2' => 'LDAP_attribute2')
-
-    The mapped values are stored directly in -$this->attributes.
-
-
-

6.11 get_configOptions()
-

-    "config_options" => array('user' => array, -'host' => array, 'all' => array)
-
-    The values from 'all' -are always returned, the other values only if they are inside the $scopes array.
-
-   Syntax for sub arrays is the same as for -the -return value of get_configOptions().
-

6.12 check_configOptions()
-

-    "config_checks" => array('user' => array, -'host' => 'array', 'all' => array)
-
-    The values from 'all' are always used for checking, -the other values only if they are inside the $scopes array.
-
-
   Syntax for sub arrays is the same as for -check_profileOptions().
-
-
-

6.13 get_uploadColumns()

-"upload_columns" => array()
-
-Syntax for array is the same as for -the -return value of get_uploadColumns().
-

-

6.14 get_uploadPreDepends()

-"upload_preDepends" => array()
-
-Syntax for array is the same as for -the -return value of get_uploadPreDepends().
-

-

6.15 getRequiredExtensions()
-

-"extensions" => array()
-
-
Example: array('mhash')
-
- -

6.16 getSelfServiceSearchAttributes()
-

- -"selfServiceSearchAttributes" => array()
- -
-
Example: array('uid')
-
- -

6.17 getSelfServiceFields()
-

- -"selfServiceFieldSettings" => array()
- -
-
Example: array('pwd' => 'Password')
-
- - \ No newline at end of file diff --git a/lam-web/developers/devel/other_libs.htm b/lam-web/developers/devel/other_libs.htm deleted file mode 100644 index 1ff54e1a..00000000 --- a/lam-web/developers/devel/other_libs.htm +++ /dev/null @@ -1,51 +0,0 @@ - - - - - Other libraries - - - - -

Other libraries
-

-
-

Lamdaemon (lamdaemon.pl)
-

-
-

LDAP cache (cache.inc)

-
-

Account lists (lists.inc)

-This file provides basic functions used by the account lists. They -cover major parts of the HTML output.
-There is also one list of LDAP attribute descriptions per account type. -They allow to have translated descriptions of the most common -attributes.
-
-

Status messages (status.inc)

-Status.inc provides the function StatusMessage() -which can be used to display error, warning and information messages.
-The function uses preg_replace() to convert the special tags to HTML -tags. The message variables are included with printf().
-
-The parameters of StatusMessage() -are described in the developer FAQ.
-
-

Tree view and schema browser

-The files tree.inc and schema.inc contain functions which are needed by -the tree view and the schema browser.
-These functions were copied from phpLDAPadmin -(PLA).
-
-
    -
  • tree.inc: tree functions -(from functions.php and some other files in PLA)
  • -
  • schema.inc: for schema -browser (from schema_functions.php in PLA)
    -
  • -
- - diff --git a/lam-web/developers/devel/ou-edit.htm b/lam-web/developers/devel/ou-edit.htm deleted file mode 100644 index 62542e07..00000000 --- a/lam-web/developers/devel/ou-edit.htm +++ /dev/null @@ -1,32 +0,0 @@ - - - - - OU editor - - - - -

OU editor
-

-
-
-This is a simple tool for creating and deleting organizational units -(OU) inside the LDAP tree.
-OUs can be managed for the LDAP suffixes of all account types.
-
-

1. Creating OUs
-

-The user -provides the name of the new OU which can include a-z, 0-9, "_", "-" -and " ".
-LAM will then create a new OU object under the selected LDAP suffix.
-
-

2. Deleting OUs

-If the user selects to delete an OU he will be asked if he is really -sure and then the OU is deleted.
-There is no recursive deletion.
-
- - diff --git a/lam-web/developers/devel/pdf_editor.htm b/lam-web/developers/devel/pdf_editor.htm deleted file mode 100644 index b4758e64..00000000 --- a/lam-web/developers/devel/pdf_editor.htm +++ /dev/null @@ -1,108 +0,0 @@ - - - - - PDF editor - - - - -

PDF editor
-

-

-
-
-

-
-
The PDF -editor allows the user to create templates for the PDF output.
-These templates are saved as files in config/pdf.
-
-

Pdfmain.php
-

-This is the start page of the PDF -editor. The user can select to add/modify/remove selected PDF -profiles.
-
-The list of existing PDF profiles is returned by getPDFStructureDefinitions() in pdfstruct.inc. It includes all -structure names without file extensions for a given account type.
-
-Depending on the selection of the user he is forwarded to pdfpage.php -or pdfdelete.php.
-
-

Pdfpage.php
-

-The user can edit the PDF structures on this page.
-
-The structure is loaded with loadPDFStructureDefinitions() -from pdfstruct.inc. If it -does not yet exist then the default structure is loaded.
-It is stored in $_SESSION['currentPDFStructure'] -(sections) and $_SESSION['currentPageDefinitions'] -(head line and logo).
-
-At the top of the page the head line and logo can be edited. The list -of available logos is retrieved with getAvailableLogos() -from pdfstruct.inc.
-
-The sections on the left side are displayed like they are defined in $_SESSION['currentPDFStructure']. -Each item has links to move or delete it. Section titles may be changed.
-
-The list of available PDF entries on the right side is retrieved from getAvailablePDFFields() in modules.inc.
-
-Near the bottom there the user can add a new section. The list of -available PDF entries is retrieved as above.
-
-When the user pushes one of the buttons or clicks on a link then there -are several actions:
-
    -
  • Abort button: The user is -redirected back to pdfmain.php.
    -
  • -
  • Save button: The -structure name is checked for correctness and the file is saved with savePDFStructureDefinitions() -from pdfstruct.inc.
  • -
  • Add section button: LAM -adds a static text or section to the structure.
  • -
  • Add entry button: Adds a -new entry to the selected section.
  • -
  • Change name button: -Changes the name of the section title or the section attribute.
  • -
  • Remove entry link: If the -entry is a section then all parts of this section are removed. -Otherwise a single entry is removed.
  • -
  • Move up/down links: The -entry or section is moved up or down.
  • -
-
-$_SESSION['currentPDFStructure'] -is an array that contains all XML tags of the PDF structure. If you -want to modify the structure always remember to put the opening and -closing tags at the right place.
-
-

Pdfdelete.php

-When the user selected to delete a structure in pdfmain.php he is redirected to -this page.
-
-LAM will ask once again if the user is sure to delete the structure. If -this is the case the structure will be deleted with deletePDFStructureDefinition() from pdfstruct.inc.
-
-
-
-
-
-
- - diff --git a/lam-web/developers/devel/pdf_libs.htm b/lam-web/developers/devel/pdf_libs.htm deleted file mode 100644 index 20135493..00000000 --- a/lam-web/developers/devel/pdf_libs.htm +++ /dev/null @@ -1,41 +0,0 @@ - - - - - PDF (pdf.inc, pdfstruct.inc) - - - - -

PDF (pdf.inc, pdfstruct.inc)
-

-
-These files control the management of PDF structures and creation of -PDF files.
-
-
-

pdfstruct.inc

-This file includes all functions which are needed to manage the PDF -structures. You can load/save/delete structures, get a list of -available structures and logos.
-
-
-

pdf.inc

-The pdf.inc library is used to create a PDF file.
-
-createModulePDF() takes a list -of accountContainer objects -and a PDF structure as parameters. The function then creates a PDF -file, saves it to the tmp -folder and returns the file name.
-
-
-The lamPDF class extends the UFPDF class and adds the LAM -specific header and footer.
-It also defines the used font. Currently only Bitstream-Vera is -supported.
-
- - diff --git a/lam-web/developers/devel/pdf_profiles.htm b/lam-web/developers/devel/pdf_profiles.htm deleted file mode 100644 index 8d9c4f9a..00000000 --- a/lam-web/developers/devel/pdf_profiles.htm +++ /dev/null @@ -1,100 +0,0 @@ - - - - - PDF templates - - - - -

PDF templates
-

-
-Every PDF structure is saved as a single file in config/pdf. The -file extension is the account type (user, group, ...) plus ".xml" (e.g. -default.user.xml).
-
-

Format

-The root tag is <pdf> -with the attributes filename for the -logo and headline -for the title.
-
-There are two types of subentries in <pdf>:
-
    -
  • sections
  • -
  • text
    -
  • -
-

Sections:

-Sections are parts of the PDF file where data from the account profiles -(e.g. LDAP attributes) is shown. Each section has a title and a list of -entries.
-
-The title is defined with the name attribute -inside the section tag. If the title begins with a "_" then LAM -interprets it as entry. This means that LAM will insert the value part -of this entry here.
-
-Each section has a list of subentries which are defined with the <entry> tag. The have only one -attribute which is name and -contains the identifier of this entry.
-
-

Text:

-LAM allows to display a fixed text in the PDF which is defined with the -<text> tag. The text is -just written inside the tags.
-
-
-
-Example:
-
-<pdf type="user" filename="printLogo.jpg" headline="LDAP Account -Manager">
-    <text>This document includes your personal -account settings.</text>
-    <section name="Personal User Infos">
-        <entry -name="inetOrgPerson_givenName" />
-        <entry name="inetOrgPerson_sn" -/>
-        <entry -name="inetOrgPerson_street" />
-        <entry -name="inetOrgPerson_postalCode" />
-        <entry -name="inetOrgPerson_postalAddress" />
-        <entry -name="inetOrgPerson_mail" />
-        <entry -name="inetOrgPerson_telephoneNumber" />
-        <entry -name="inetOrgPerson_mobileTelephoneNumber" />
-        <entry -name="inetOrgPerson_facsimileTelephoneNumber" />
-    </section>
-    <section name="Unix User Settings">
-        <entry name="posixAccount_uid" -/>
-        <entry -name="posixAccount_userPassword" />
-        <entry -name="posixAccount_primaryGroup" />
-        <entry -name="posixAccount_additionalGroups" />
-        <entry -name="posixAccount_homeDirectory" />
-        <entry -name="posixAccount_loginShell" />
-    </section>
-</pdf>
-
-
- - diff --git a/lam-web/developers/devel/phpdoc/Help/_help---help.inc.html b/lam-web/developers/devel/phpdoc/Help/_help---help.inc.html deleted file mode 100644 index b12a5184..00000000 --- a/lam-web/developers/devel/phpdoc/Help/_help---help.inc.html +++ /dev/null @@ -1,93 +0,0 @@ - - -Docs for page help.inc - - - - - - - - - - - - - -
Help
- - - [ class tree: Help ] - [ index: Help ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: help.inc

-Source Location: /help/help.inc

- -
-
- - -

Page Details:

-LDAP Account Manager help entries.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:31 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/Help/_templates---help.php.html b/lam-web/developers/devel/phpdoc/Help/_templates---help.php.html deleted file mode 100644 index b940be0a..00000000 --- a/lam-web/developers/devel/phpdoc/Help/_templates---help.php.html +++ /dev/null @@ -1,162 +0,0 @@ - - -Docs for page help.php - - - - - - - - - - - - - -
Help
- - - [ class tree: Help ] - [ index: Help ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: help.php

-Source Location: /templates/help.php

- -
-
- - -

Page Details:

-LDAP Account Manager help page.



-

Tags:

-
- - - - - - - -
author:  Michael Duergner
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/ldap.inc") [line 36]
-LDAP connection

include_once("../lib/status.inc") [line 45]
-status messages

include_once("../lib/modules.inc") [line 110]
-include_once("../help/help.inc") [line 48]
-help data

include_once("../lib/config.inc") [line 39]
-configuration

-

-

-
-
- -

displayHelp [line 84]

-
-
-
- void displayHelp( -array $helpEntry, array $helpVariables) -
-

- - Print help site for a specific help number.



- -

Parameters

- - - - - - - - - - - -
array  $helpEntry  The help entry that is to be displayed.
array  $helpVariables  The help variables that are used to replace the spacer in the help text.
-
[ Top ]


-
-
- -

echoHTMLFoot [line 70]

-
-
-
- void echoHTMLFoot( -) -
-

- - Print HTML footer of the help page.



- -
[ Top ]


-
-
- -

echoHTMLHead [line 56]

-
-
-
- void echoHTMLHead( -) -
-

- - Print HTML header of the help page.



- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:31 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/LDAP/Ldap.html b/lam-web/developers/devel/phpdoc/LDAP/Ldap.html deleted file mode 100644 index 7676a135..00000000 --- a/lam-web/developers/devel/phpdoc/LDAP/Ldap.html +++ /dev/null @@ -1,535 +0,0 @@ - - -Docs For Class Ldap - - - - - - - - - - - - - -
LDAP
- - - [ class tree: LDAP ] - [ index: LDAP ] - [ all elements ] -
- - - - - - -
-
- -

Class: Ldap

-Source Location: /lib/ldap.inc

- - - - - - - - - -
- -

Class Overview

-

-
Ldap manages connection to LDAP and includes several helper functions.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 52]
-Ldap manages connection to LDAP and includes several helper functions.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 73]

-
-
-
- Ldap __construct( -object -$config) -
-

- -

- - -

Parameters:

-
- - - - - - -
object  $config  an object of class Config
-

-
[ Top ]
-
-
- -

method close [line 125]

-
-
-
- void close( -) -
-

- - Closes connection to server



- - -
[ Top ]
-
-
- -

method cmp_array [line 314]

-
-
-
- integer cmp_array( -string -$a, string -$b) -
-

- - Helper function to sort the unit DNs



-

Tags:

-
- - - - -
return:  0 if equal, 1 if $a is greater, -1 if $b is greater
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $a  first argument to compare
string  $b  second argument to compare
-

-
[ Top ]
-
-
- -

method connect [line 89]

-
-
-
- mixed connect( -string -$user, string -$passwd) -
-

- - Connects to the server using the given username and password



-

Tags:

-
- - - - -
return:  if connect succeeds the server handle is returned, else false
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $user  user name
string  $passwd  password
-

-
[ Top ]
-
-
- -

method decrypt [line 252]

-
-
-
- string decrypt( -object -$data) -
-

- - Decrypts a string



-

Tags:

-
- - - - -
return:  decrypted string
-
-

- - -

Parameters:

-
- - - - - - -
object  $data  string to decrypt
-

-
[ Top ]
-
-
- -

method decrypt_login [line 291]

-
-
-
- array decrypt_login( -) -
-

- - Decrypts username and password



-

Tags:

-
- - - - -
return:  array(user name, password)
-
-

- - -
[ Top ]
-
-
- -

method destroy [line 300]

-
-
-
- void destroy( -) -
-

- - Closes connection to LDAP server and deletes encrypted username/password



- - -
[ Top ]
-
-
- -

method encrypt [line 226]

-
-
-
- object encrypted encrypt( -string -$data) -
-

- - Encrypts a string



-

Tags:

-
- - - - -
return:  string
-
-

- - -

Parameters:

-
- - - - - - -
string  $data  string to encrypt
-

-
[ Top ]
-
-
- -

method encrypt_login [line 280]

-
-
-
- void encrypt_login( -string -$username, string -$password) -
-

- - Encrypts username and password



- - -

Parameters:

-
- - - - - - - - - - - -
string  $username  LDAP user name
string  $password  LDAP password
-

-
[ Top ]
-
-
- -

method new_rand [line 212]

-
-
-
- int new_rand( -) -
-

- - Calculates a new value for rand



-

Tags:

-
- - - - -
return:  New random value
-
-

- - -
[ Top ]
-
-
- -

method search_units [line 135]

-
-
-
- array search_units( -string -$suffix) -
-

- - Returns an array with all organizational units under the given suffix



-

Tags:

-
- - - - -
return:  DNs of organizational units
-
-

- - -

Parameters:

-
- - - - - - -
string  $suffix  search suffix
-

-
[ Top ]
-
-
- -

method server [line 166]

-
-
-
- object connection server( -) -
-

- - Returns the LDAP connection handle



-

Tags:

-
- - - - -
return:  handle
-
-

- - -
[ Top ]
-
-
- -

method __sleep [line 176]

-
-
-
- void __sleep( -) -
-

- - Closes connection to LDAP server before serialization



- - -
[ Top ]
-
-
- -

method __wakeup [line 183]

-
-
-
- void __wakeup( -) -
-

- - Reconnects to LDAP server when deserialized



- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/LDAP/_lib---ldap.inc.html b/lam-web/developers/devel/phpdoc/LDAP/_lib---ldap.inc.html deleted file mode 100644 index 4fe0951c..00000000 --- a/lam-web/developers/devel/phpdoc/LDAP/_lib---ldap.inc.html +++ /dev/null @@ -1,138 +0,0 @@ - - -Docs for page ldap.inc - - - - - - - - - - - - - -
LDAP
- - - [ class tree: LDAP ] - [ index: LDAP ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: ldap.inc

-Source Location: /lib/ldap.inc

- -
-
- -
-

Classes:

-
Ldap
-
Ldap manages connection to LDAP and includes several helper functions.
-


- -

Page Details:

-ldap.inc provides basic functions to connect to the OpenLDAP server.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("config.inc") [line 32]
-Access to configuration data

include_once("schema.inc") [line 34]
-LDAP schema

-

-

-
-
- -

hex2bin [line 42]

-
-
-
- binary hex2bin( -string $value) -
-

- - Converts a HEX string to a binary value



-

Tags:

-
- - - - -
return:  result binary
-
-

- -

Parameters

- - - - - - -
string  $value  HEX string
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/FPDF.html b/lam-web/developers/devel/phpdoc/PDF/FPDF.html deleted file mode 100644 index 0bfceeae..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/FPDF.html +++ /dev/null @@ -1,3230 +0,0 @@ - - -Docs For Class FPDF - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Class: FPDF

-Source Location: /lib/fpdf.php

- - - - - - - - - - -
- -

Class Overview

-

-
Main FPDF class for creating PDF documents


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
UFPDF
-
Main UFPDF class for creating Unicode PDF documents
-
-
-
-
- - -

Class Details

-
-[line 28]
-Main FPDF class for creating PDF documents



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$AliasNbPages =

-

[line 82]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$author =

-

[line 79]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$AutoPageBreak =

-

[line 72]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$bMargin =

-

[line 49]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$buffer =

-

[line 34]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$cMargin =

-

[line 50]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ColorFlag =

-

[line 70]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$compress =

-

[line 37]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$CoreFonts =

-

[line 54]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$creator =

-

[line 81]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$CurOrientation =

-

[line 39]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$CurrentFont =

-

[line 64]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$DefOrientation =

-

[line 38]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$diffs =

-

[line 57]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$DrawColor =

-

[line 67]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$fh =

-

[line 43]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$fhPt =

-

[line 42]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FillColor =

-

[line 68]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FontFamily =

-

[line 61]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FontFiles =

-

[line 56]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$fonts =

-

[line 55]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FontSize =

-

[line 66]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FontSizePt =

-

[line 65]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$FontStyle =

-

[line 62]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$fw =

-

[line 43]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$fwPt =

-

[line 42]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$h =

-

[line 45]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$hPt =

-

[line 44]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$images =

-

[line 58]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$InFooter =

-

[line 74]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$k =

-

[line 41]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$keywords =

-

[line 80]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$lasth =

-

[line 52]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$LayoutMode =

-

[line 76]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$LineWidth =

-

[line 53]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$links =

-

[line 60]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$lMargin =

-

[line 46]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$n =

-

[line 32]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$offsets =

-

[line 33]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$OrientationChanges =

-

[line 40]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$page =

-

[line 31]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$PageBreakTrigger =

-

[line 73]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$PageLinks =

-

[line 59]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$pages =

-

[line 35]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$PDFVersion =

-

[line 83]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$rMargin =

-

[line 48]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$state =

-

[line 36]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$subject =

-

[line 78]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$TextColor =

-

[line 69]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$title =

-

[line 77]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$tMargin =

-

[line 47]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$underline =

-

[line 63]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$w =

-

[line 45]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$wPt =

-

[line 44]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ws =

-

[line 71]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$x =

-

[line 51]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$y =

-

[line 51]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ZoomMode =

-

[line 75]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor FPDF [line 90]

-
-
-
- FPDF FPDF( -[ -$orientation = 'P'], [ -$unit = 'mm'], [ -$format = 'A4']) -
-

- - *****************************************************************************

* Public methods * * *****************************************************************************




- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $orientation  
  $unit  
  $format  
-

-
[ Top ]
-
-
- -

method AcceptPageBreak [line 628]

-
-
-
- void AcceptPageBreak( -) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::AcceptPageBreak()
-
-
-

- -
[ Top ]
-
-
- -

method AddFont [line 474]

-
-
-
- void AddFont( - -$family, [ -$style = ''], [ -$file = '']) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::AddFont()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $family  
  $style  
  $file  
-

-
[ Top ]
-
-
- -

method AddLink [line 593]

-
-
-
- void AddLink( -) -
-

- -

- - -
[ Top ]
-
-
- -

method AddPage [line 320]

-
-
-
- void AddPage( -[ -$orientation = '']) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $orientation  
-

-
[ Top ]
-
-
- -

method AliasNbPages [line 285]

-
-
-
- void AliasNbPages( -[ -$alias = '{nb}']) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::AliasNbPages()
-
-
-

- -

Parameters:

-
- - - - - - -
  $alias  
-

-
[ Top ]
-
-
- -

method Cell [line 634]

-
-
-
- void Cell( - -$w, [ -$h = 0], [ -$txt = ''], [ -$border = 0], [ -$ln = 0], [ -$align = ''], [ -$fill = 0], [ -$link = '']) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::Cell()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $w  
  $h  
  $txt  
  $border  
  $ln  
  $align  
  $fill  
  $link  
-

-
[ Top ]
-
-
- -

method Close [line 303]

-
-
-
- void Close( -) -
-

- -

- - -
[ Top ]
-
-
- -

method Error [line 291]

-
-
-
- void Error( - -$msg) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $msg  
-

-
[ Top ]
-
-
- -

method Footer [line 392]

-
-
-
- void Footer( -) -
-

- -

- - -
[ Top ]
-
-
- -

method GetStringWidth [line 436]

-
-
-
- void GetStringWidth( - -$s) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::GetStringWidth()
-
-
-

- -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method GetX [line 967]

-
-
-
- void GetX( -) -
-

- -

- - -
[ Top ]
-
-
- -

method GetY [line 982]

-
-
-
- void GetY( -) -
-

- -

- - -
[ Top ]
-
-
- -

method Header [line 387]

-
-
-
- void Header( -) -
-

- -

- - -
[ Top ]
-
-
- -

method Image [line 907]

-
-
-
- void Image( - -$file, -$x, -$y, [ -$w = 0], [ -$h = 0], [ -$type = ''], [ -$link = '']) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $file  
  $x  
  $y  
  $w  
  $h  
  $type  
  $link  
-

-
[ Top ]
-
-
- -

method Line [line 456]

-
-
-
- void Line( - -$x1, -$y1, -$x2, -$y2) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
  $x1  
  $y1  
  $x2  
  $y2  
-

-
[ Top ]
-
-
- -

method Link [line 611]

-
-
-
- void Link( - -$x, -$y, -$w, -$h, -$link) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  $x  
  $y  
  $w  
  $h  
  $link  
-

-
[ Top ]
-
-
- -

method Ln [line 957]

-
-
-
- void Ln( -[ -$h = '']) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $h  
-

-
[ Top ]
-
-
- -

method MultiCell [line 713]

-
-
-
- void MultiCell( - -$w, -$h, -$txt, [ -$border = 0], [ -$align = 'J'], [ -$fill = 0]) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::MultiCell()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $w  
  $h  
  $txt  
  $border  
  $align  
  $fill  
-

-
[ Top ]
-
-
- -

method Open [line 297]

-
-
-
- void Open( -) -
-

- -

- - -
[ Top ]
-
-
- -

method Output [line 1005]

-
-
-
- void Output( -[ -$name = ''], [ -$dest = '']) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  $name  
  $dest  
-

-
[ Top ]
-
-
- -

method PageNo [line 397]

-
-
-
- void PageNo( -) -
-

- -

- - -
[ Top ]
-
-
- -

method Rect [line 462]

-
-
-
- void Rect( - -$x, -$y, -$w, -$h, [ -$style = '']) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  $x  
  $y  
  $w  
  $h  
  $style  
-

-
[ Top ]
-
-
- -

method SetAuthor [line 267]

-
-
-
- void SetAuthor( - -$author) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $author  
-

-
[ Top ]
-
-
- -

method SetAutoPageBreak [line 225]

-
-
-
- void SetAutoPageBreak( - -$auto, [ -$margin = 0]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  $auto  
  $margin  
-

-
[ Top ]
-
-
- -

method SetCompression [line 246]

-
-
-
- void SetCompression( - -$compress) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $compress  
-

-
[ Top ]
-
-
- -

method SetCreator [line 279]

-
-
-
- void SetCreator( - -$creator) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $creator  
-

-
[ Top ]
-
-
- -

method SetDisplayMode [line 233]

-
-
-
- void SetDisplayMode( - -$zoom, [ -$layout = 'continuous']) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  $zoom  
  $layout  
-

-
[ Top ]
-
-
- -

method SetDrawColor [line 403]

-
-
-
- void SetDrawColor( - -$r, [ -$g = -1], [ -$b = -1]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $r  
  $g  
  $b  
-

-
[ Top ]
-
-
- -

method SetFillColor [line 414]

-
-
-
- void SetFillColor( - -$r, [ -$g = -1], [ -$b = -1]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $r  
  $g  
  $b  
-

-
[ Top ]
-
-
- -

method SetFont [line 522]

-
-
-
- void SetFont( - -$family, [ -$style = ''], [ -$size = 0]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $family  
  $style  
  $size  
-

-
[ Top ]
-
-
- -

method SetFontSize [line 582]

-
-
-
- void SetFontSize( - -$size) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $size  
-

-
[ Top ]
-
-
- -

method SetKeywords [line 273]

-
-
-
- void SetKeywords( - -$keywords) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $keywords  
-

-
[ Top ]
-
-
- -

method SetLeftMargin [line 205]

-
-
-
- void SetLeftMargin( - -$margin) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $margin  
-

-
[ Top ]
-
-
- -

method SetLineWidth [line 448]

-
-
-
- void SetLineWidth( - -$width) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $width  
-

-
[ Top ]
-
-
- -

method SetLink [line 601]

-
-
-
- void SetLink( - -$link, [ -$y = 0], [ -$page = -1]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $link  
  $y  
  $page  
-

-
[ Top ]
-
-
- -

method SetMargins [line 195]

-
-
-
- void SetMargins( - -$left, -$top, [ -$right = -1]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $left  
  $top  
  $right  
-

-
[ Top ]
-
-
- -

method SetRightMargin [line 219]

-
-
-
- void SetRightMargin( - -$margin) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $margin  
-

-
[ Top ]
-
-
- -

method SetSubject [line 261]

-
-
-
- void SetSubject( - -$subject) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $subject  
-

-
[ Top ]
-
-
- -

method SetTextColor [line 426]

-
-
-
- void SetTextColor( - -$r, [ -$g = -1], [ -$b = -1]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $r  
  $g  
  $b  
-

-
[ Top ]
-
-
- -

method SetTitle [line 255]

-
-
-
- void SetTitle( - -$title) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $title  
-

-
[ Top ]
-
-
- -

method SetTopMargin [line 213]

-
-
-
- void SetTopMargin( - -$margin) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $margin  
-

-
[ Top ]
-
-
- -

method SetX [line 973]

-
-
-
- void SetX( - -$x) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $x  
-

-
[ Top ]
-
-
- -

method SetXY [line 998]

-
-
-
- void SetXY( - -$x, -$y) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  $x  
  $y  
-

-
[ Top ]
-
-
- -

method SetY [line 988]

-
-
-
- void SetY( - -$y) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $y  
-

-
[ Top ]
-
-
- -

method Text [line 617]

-
-
-
- void Text( - -$x, -$y, -$txt) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::Text()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $x  
  $y  
  $txt  
-

-
[ Top ]
-
-
- -

method Write [line 826]

-
-
-
- void Write( - -$h, -$txt, [ -$link = '']) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::Write()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $h  
  $txt  
  $link  
-

-
[ Top ]
-
-
- -

method _beginpage [line 1445]

-
-
-
- void _beginpage( - -$orientation) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $orientation  
-

-
[ Top ]
-
-
- -

method _dochecks [line 1078]

-
-
-
- void _dochecks( -) -
-

- - *****************************************************************************

* Protected methods * * *****************************************************************************




- - -
[ Top ]
-
-
- -

method _dounderline [line 1498]

-
-
-
- void _dounderline( - -$x, -$y, -$txt) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::_dounderline()
-
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $x  
  $y  
  $txt  
-

-
[ Top ]
-
-
- -

method _enddoc [line 1410]

-
-
-
- void _enddoc( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _endpage [line 1484]

-
-
-
- void _endpage( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _escape [line 1627]

-
-
-
- void _escape( - -$s) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method _freadint [line 1614]

-
-
-
- void _freadint( - -$f) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $f  
-

-
[ Top ]
-
-
- -

method _getfontpath [line 1088]

-
-
-
- void _getfontpath( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _newobj [line 1490]

-
-
-
- void _newobj( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _out [line 1640]

-
-
-
- void _out( - -$s) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method _parsejpg [line 1507]

-
-
-
- void _parsejpg( - -$file) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $file  
-

-
[ Top ]
-
-
- -

method _parsepng [line 1531]

-
-
-
- void _parsepng( - -$file) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $file  
-

-
[ Top ]
-
-
- -

method _putcatalog [line 1378]

-
-
-
- void _putcatalog( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putfonts [line 1166]

-
-
-
- void _putfonts( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putheader [line 1398]

-
-
-
- void _putheader( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putimages [line 1283]

-
-
-
- void _putimages( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putinfo [line 1362]

-
-
-
- void _putinfo( -) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::_putinfo()
-
-
-

- -
[ Top ]
-
-
- -

method _putpages [line 1095]

-
-
-
- void _putpages( -) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::_putpages()
-
-
-

- -
[ Top ]
-
-
- -

method _putresourcedict [line 1337]

-
-
-
- void _putresourcedict( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putresources [line 1349]

-
-
-
- void _putresources( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putstream [line 1633]

-
-
-
- void _putstream( - -$s) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method _puttrailer [line 1403]

-
-
-
- void _puttrailer( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _putxobjectdict [line 1331]

-
-
-
- void _putxobjectdict( -) -
-

- -

- - -
[ Top ]
-
-
- -

method _textstring [line 1621]

-
-
-
- void _textstring( - -$s) -
-

- -

- -

Overridden in child classes as:
-

-
UFPDF::_textstring()
-
-
-

- -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:29 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/PDF/UFPDF.html b/lam-web/developers/devel/phpdoc/PDF/UFPDF.html deleted file mode 100644 index 735d30e1..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/UFPDF.html +++ /dev/null @@ -1,1647 +0,0 @@ - - -Docs For Class UFPDF - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Class: UFPDF

-Source Location: /lib/ufpdf.php

- - - - - - - - - -
- -

Class Overview

-
FPDF
-   |
-   --UFPDF

-
Main UFPDF class for creating Unicode PDF documents


-

Author(s):

-
    -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - - -
-

Child classes:

-
-
-
lamPDF
-
Creates a LAM information page in PDF format.
-
-
-
-

Inherited Variables

-
-

Class: FPDF

-
-
- FPDF::$AliasNbPages -
-
- -
-
- FPDF::$author -
-
- -
-
- FPDF::$AutoPageBreak -
-
- -
-
- FPDF::$bMargin -
-
- -
-
- FPDF::$buffer -
-
- -
-
- FPDF::$cMargin -
-
- -
-
- FPDF::$ColorFlag -
-
- -
-
- FPDF::$compress -
-
- -
-
- FPDF::$CoreFonts -
-
- -
-
- FPDF::$creator -
-
- -
-
- FPDF::$CurOrientation -
-
- -
-
- FPDF::$CurrentFont -
-
- -
-
- FPDF::$DefOrientation -
-
- -
-
- FPDF::$diffs -
-
- -
-
- FPDF::$DrawColor -
-
- -
-
- FPDF::$fh -
-
- -
-
- FPDF::$fhPt -
-
- -
-
- FPDF::$FillColor -
-
- -
-
- FPDF::$FontFamily -
-
- -
-
- FPDF::$FontFiles -
-
- -
-
- FPDF::$fonts -
-
- -
-
- FPDF::$FontSize -
-
- -
-
- FPDF::$FontSizePt -
-
- -
-
- FPDF::$FontStyle -
-
- -
-
- FPDF::$fw -
-
- -
-
- FPDF::$fwPt -
-
- -
-
- FPDF::$h -
-
- -
-
- FPDF::$hPt -
-
- -
-
- FPDF::$images -
-
- -
-
- FPDF::$InFooter -
-
- -
-
- FPDF::$k -
-
- -
-
- FPDF::$keywords -
-
- -
-
- FPDF::$lasth -
-
- -
-
- FPDF::$LayoutMode -
-
- -
-
- FPDF::$LineWidth -
-
- -
-
- FPDF::$links -
-
- -
-
- FPDF::$lMargin -
-
- -
-
- FPDF::$n -
-
- -
-
- FPDF::$offsets -
-
- -
-
- FPDF::$OrientationChanges -
-
- -
-
- FPDF::$page -
-
- -
-
- FPDF::$PageBreakTrigger -
-
- -
-
- FPDF::$PageLinks -
-
- -
-
- FPDF::$pages -
-
- -
-
- FPDF::$PDFVersion -
-
- -
-
- FPDF::$rMargin -
-
- -
-
- FPDF::$state -
-
- -
-
- FPDF::$subject -
-
- -
-
- FPDF::$TextColor -
-
- -
-
- FPDF::$title -
-
- -
-
- FPDF::$tMargin -
-
- -
-
- FPDF::$underline -
-
- -
-
- FPDF::$w -
-
- -
-
- FPDF::$wPt -
-
- -
-
- FPDF::$ws -
-
- -
-
- FPDF::$x -
-
- -
-
- FPDF::$y -
-
- -
-
- FPDF::$ZoomMode -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: FPDF

-
-
- FPDF::FPDF() -
-
- ***************************************************************************** -
-
- FPDF::AcceptPageBreak() -
-
- -
-
- FPDF::AddFont() -
-
- -
-
- FPDF::AddLink() -
-
- -
-
- FPDF::AddPage() -
-
- -
-
- FPDF::AliasNbPages() -
-
- -
-
- FPDF::Cell() -
-
- -
-
- FPDF::Close() -
-
- -
-
- FPDF::Error() -
-
- -
-
- FPDF::Footer() -
-
- -
-
- FPDF::GetStringWidth() -
-
- -
-
- FPDF::GetX() -
-
- -
-
- FPDF::GetY() -
-
- -
-
- FPDF::Header() -
-
- -
-
- FPDF::Image() -
-
- -
-
- FPDF::Line() -
-
- -
-
- FPDF::Link() -
-
- -
-
- FPDF::Ln() -
-
- -
-
- FPDF::MultiCell() -
-
- -
-
- FPDF::Open() -
-
- -
-
- FPDF::Output() -
-
- -
-
- FPDF::PageNo() -
-
- -
-
- FPDF::Rect() -
-
- -
-
- FPDF::SetAuthor() -
-
- -
-
- FPDF::SetAutoPageBreak() -
-
- -
-
- FPDF::SetCompression() -
-
- -
-
- FPDF::SetCreator() -
-
- -
-
- FPDF::SetDisplayMode() -
-
- -
-
- FPDF::SetDrawColor() -
-
- -
-
- FPDF::SetFillColor() -
-
- -
-
- FPDF::SetFont() -
-
- -
-
- FPDF::SetFontSize() -
-
- -
-
- FPDF::SetKeywords() -
-
- -
-
- FPDF::SetLeftMargin() -
-
- -
-
- FPDF::SetLineWidth() -
-
- -
-
- FPDF::SetLink() -
-
- -
-
- FPDF::SetMargins() -
-
- -
-
- FPDF::SetRightMargin() -
-
- -
-
- FPDF::SetSubject() -
-
- -
-
- FPDF::SetTextColor() -
-
- -
-
- FPDF::SetTitle() -
-
- -
-
- FPDF::SetTopMargin() -
-
- -
-
- FPDF::SetX() -
-
- -
-
- FPDF::SetXY() -
-
- -
-
- FPDF::SetY() -
-
- -
-
- FPDF::Text() -
-
- -
-
- FPDF::Write() -
-
- -
-
- FPDF::_beginpage() -
-
- -
-
- FPDF::_dochecks() -
-
- ***************************************************************************** -
-
- FPDF::_dounderline() -
-
- -
-
- FPDF::_enddoc() -
-
- -
-
- FPDF::_endpage() -
-
- -
-
- FPDF::_escape() -
-
- -
-
- FPDF::_freadint() -
-
- -
-
- FPDF::_getfontpath() -
-
- -
-
- FPDF::_newobj() -
-
- -
-
- FPDF::_out() -
-
- -
-
- FPDF::_parsejpg() -
-
- -
-
- FPDF::_parsepng() -
-
- -
-
- FPDF::_putcatalog() -
-
- -
-
- FPDF::_putfonts() -
-
- -
-
- FPDF::_putheader() -
-
- -
-
- FPDF::_putimages() -
-
- -
-
- FPDF::_putinfo() -
-
- -
-
- FPDF::_putpages() -
-
- -
-
- FPDF::_putresourcedict() -
-
- -
-
- FPDF::_putresources() -
-
- -
-
- FPDF::_putstream() -
-
- -
-
- FPDF::_puttrailer() -
-
- -
-
- FPDF::_putxobjectdict() -
-
- -
-
- FPDF::_textstring() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 37]
-Main UFPDF class for creating Unicode PDF documents



-

Tags:

-
- - - - -
see:  FPDF::FPDF()
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor UFPDF [line 45]

-
-
-
- UFPDF UFPDF( -[ -$orientation = 'P'], [ -$unit = 'mm'], [ -$format = 'A4']) -
-

- - *****************************************************************************

* Public methods * * *****************************************************************************




- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $orientation  
  $unit  
  $format  
-

-
[ Top ]
-
-
- -

method AcceptPageBreak [line 113]

-
-
-
- void AcceptPageBreak( -) -
-

- -

- - Overrides FPDF::AcceptPageBreak() (parent method not documented)

-
[ Top ]
-
-
- -

method AddFont [line 73]

-
-
-
- void AddFont( - -$family, [ -$style = ''], [ -$file = '']) -
-

- -

- - Overrides FPDF::AddFont() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - -
  $family  
  $style  
  $file  
-

-
[ Top ]
-
-
- -

method AliasNbPages [line 407]

-
-
-
- void AliasNbPages( -[ -$alias = '{nb}']) -
-

- -

- - Overrides FPDF::AliasNbPages() (parent method not documented)

-

Parameters:

-
- - - - - - -
  $alias  
-

-
[ Top ]
-
-
- -

method Cell [line 119]

-
-
-
- void Cell( - -$w, [ -$h = 0], [ -$txt = ''], [ -$border = 0], [ -$ln = 0], [ -$align = 'J'], [ -$fill = 0], [ -$link = '']) -
-

- -

- - Overrides FPDF::Cell() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $w  
  $h  
  $txt  
  $border  
  $ln  
  $align  
  $fill  
  $link  
-

-
[ Top ]
-
-
- -

method code2utf [line 697]

-
-
-
- void code2utf( - -$num) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $num  
-

-
[ Top ]
-
-
- -

method GetStringWidth [line 50]

-
-
-
- void GetStringWidth( - -$s) -
-

- -

- - Overrides FPDF::GetStringWidth() (parent method not documented)

-

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method MultiCell [line 199]

-
-
-
- void MultiCell( - -$w, -$h, -$txt, [ -$border = 0], [ -$align = 'J'], [ -$fill = 0]) -
-

- -

- - Overrides FPDF::MultiCell() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  $w  
  $h  
  $txt  
  $border  
  $align  
  $fill  
-

-
[ Top ]
-
-
- -

method strlen [line 705]

-
-
-
- void strlen( - -$s) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method Text [line 102]

-
-
-
- void Text( - -$x, -$y, -$txt) -
-

- -

- - Overrides FPDF::Text() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - -
  $x  
  $y  
  $txt  
-

-
[ Top ]
-
-
- -

method utf8_substr [line 709]

-
-
-
- void utf8_substr( - -$str, -$start) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  $str  
  $start  
-

-
[ Top ]
-
-
- -

method utf8_to_codepoints [line 726]

-
-
-
- void utf8_to_codepoints( - -$txt) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $txt  
-

-
[ Top ]
-
-
- -

method utf8_to_utf16be [line 597]

-
-
-
- void utf8_to_utf16be( - -&$txt, [ -$bom = true]) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - -
  &$txt  
  $bom  
-

-
[ Top ]
-
-
- -

method Write [line 324]

-
-
-
- void Write( - -$h, -$txt, [ -$link = '']) -
-

- -

- - Overrides FPDF::Write() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - -
  $h  
  $txt  
  $link  
-

-
[ Top ]
-
-
- -

method _dounderline [line 481]

-
-
-
- void _dounderline( - -$x, -$y, -$width, -$txt) -
-

- -

- - Overrides FPDF::_dounderline() (parent method not documented)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
  $x  
  $y  
  $width  
  $txt  
-

-
[ Top ]
-
-
- -

method _escapetext [line 498]

-
-
-
- void _escapetext( - -$s) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-
- -

method _putinfo [line 506]

-
-
-
- void _putinfo( -) -
-

- -

- - Overrides FPDF::_putinfo() (parent method not documented)

-
[ Top ]
-
-
- -

method _putpages [line 522]

-
-
-
- void _putpages( -) -
-

- -

- - Overrides FPDF::_putpages() (parent method not documented)

-
[ Top ]
-
-
- -

method _puttruetypeunicode [line 419]

-
-
-
- void _puttruetypeunicode( - -$font) -
-

- - *****************************************************************************

* Protected methods * * *****************************************************************************




- - -

Parameters:

-
- - - - - - -
  $font  
-

-
[ Top ]
-
-
- -

method _textstring [line 490]

-
-
-
- void _textstring( - -$s) -
-

- -

- - Overrides FPDF::_textstring() (parent method not documented)

-

Parameters:

-
- - - - - - -
  $s  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---font---vera.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---font---vera.php.html deleted file mode 100644 index e094d311..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---font---vera.php.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page vera.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: vera.php

-Source Location: /lib/font/vera.php

- -
-
- - -

Page Details:

-This file includes information about the Bitstream Vera font.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verab.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---font---verab.php.html deleted file mode 100644 index b239d9e3..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verab.php.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page verab.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: verab.php

-Source Location: /lib/font/verab.php

- -
-
- - -

Page Details:

-This file includes information about the Bitstream Vera font.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verabi.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---font---verabi.php.html deleted file mode 100644 index fa3c6934..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verabi.php.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page verabi.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: verabi.php

-Source Location: /lib/font/verabi.php

- -
-
- - -

Page Details:

-This file includes information about the Bitstream Vera font.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verai.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---font---verai.php.html deleted file mode 100644 index d1512f35..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---font---verai.php.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page verai.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: verai.php

-Source Location: /lib/font/verai.php

- -
-
- - -

Page Details:

-This file includes information about the Bitstream Vera font.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---fpdf.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---fpdf.php.html deleted file mode 100644 index 996eb706..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---fpdf.php.html +++ /dev/null @@ -1,141 +0,0 @@ - - -Docs for page fpdf.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: fpdf.php

-Source Location: /lib/fpdf.php

- -
-
- -
-

Classes:

-
FPDF
-
Main FPDF class for creating PDF documents
-


- -

Page Details:

-This file includes the FPDF implementation which is used to generate PDF files.



-

Tags:

-
- - - - -
author:  Olivier Plathey
-
-

-

-

-
- -

FPDF_VERSION [line 21]

-
-
-
- FPDF_VERSION = '1.53' -
-
- - *****************************************************************************

Software: FPDF * Version: 1.53 * Date: 2004-12-31 * Author: Olivier PLATHEY * License: Freeware * * You may use, modify and redistribute this software as you wish. * *****************************************************************************



-
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:29 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---lamPDF.inc.html b/lam-web/developers/devel/phpdoc/PDF/_lib---lamPDF.inc.html deleted file mode 100644 index 39db685e..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---lamPDF.inc.html +++ /dev/null @@ -1,128 +0,0 @@ - - -Docs for page lamPDF.inc - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: lamPDF.inc

-Source Location: /lib/lamPDF.inc

- -
-
- -
-

Classes:

-
lamPDF
-
Creates a LAM information page in PDF format.
-


- -

Page Details:

-LDAP Account Manager PDF printing library. It consists of lamPDF class, the createModulePDF() function that may be called by other pages and furthermore some helper functions.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---pdf.inc.html b/lam-web/developers/devel/phpdoc/PDF/_lib---pdf.inc.html deleted file mode 100644 index b95c1b13..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---pdf.inc.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs for page pdf.inc - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: pdf.inc

-Source Location: /lib/pdf.inc

- -
-
- - -

Page Details:

-LDAP Account Manager PDF printing library. It consists of lamPDF class, the createModulePDF() function that may be called by other pages and furthermore some helper functions.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

Includes:

-
-include_once('pdfstruct.inc') [line 39]
-access to PDF configuration files

include_once('xml_parser.inc') [line 36]
-XML functions

-

-

-
- -

LAMPDF_LINEWIDTH [line 33]

-
-
-
- LAMPDF_LINEWIDTH = 190 -
-
- - PDF line width


-
-
[ Top ]


-
-
- -

createModulePDF [line 56]

-
-
-
- void createModulePDF( -array $accounts, [string $pdf_structure = &quot;default&quot;]) -
-

- - This function creates the PDF output of one or more accounts. At the moment this function can create a PDF page for user, group and host accounts. But this is not limited by the function itself but by the account types that are allowed in LAM and the exsisting PDF structure definitions.



- -

Parameters

- - - - - - - - - - - -
array  $accounts  A numbered array containing all accounts the PDF page should be created for. The entries of the array must be AccountContainer objects.
string  $pdf_structure  The filename of the structure definition that should be used to create the PDF page. If not submitted the 'default.user' structure definition for the appropriate account type.
-
[ Top ]


-
-
- -

getSectionHeadline [line 166]

-
-
-
- string getSectionHeadline( -string $line) -
-

- - Creates a section headline.



-

Tags:

-
- - - - -
return:  XML code for headline
-
-

- -

Parameters

- - - - - - -
string  $line  section name
-
[ Top ]


-
-
- -

processAttributes [line 294]

-
-
-
- array processAttributes( -string $attrs, [array $return = array()]) -
-

- - Processes width, height and alignment attributes.



-

Tags:

-
- - - - -
return:  XML code
-
-

- -

Parameters

- - - - - - - - - - - -
string  $attrs  attributes
array  $return  XML code
-
[ Top ]


-
-
- -

processFormatTags [line 261]

-
-
-
- array processFormatTags( -string $line, string $style) -
-

- - Formats the XML code.



-

Tags:

-
- - - - -
return:  XML code
-
-

- -

Parameters

- - - - - - - - - - - -
string  $line  XML code of PDF entry
string  $style  style commands
-
[ Top ]


-
-
- -

processLine [line 185]

-
-
-
- array processLine( -string $line, [boolean $first_td = true], $fontName) -
-

- - Creates the XML code for an PDF entry.



-

Tags:

-
- - - - -
return:  XML codes
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $line  XML code of PDF entry
boolean  $first_td  True if this is the first column
  $fontName  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:43 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---pdfstruct.inc.html b/lam-web/developers/devel/phpdoc/PDF/_lib---pdfstruct.inc.html deleted file mode 100644 index cd7d0329..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---pdfstruct.inc.html +++ /dev/null @@ -1,295 +0,0 @@ - - -Docs for page pdfstruct.inc - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: pdfstruct.inc

-Source Location: /lib/pdfstruct.inc

- -
-
- - -

Page Details:

-Functions to manage the PDF structures.



-

Tags:

-
- - - - -
author:  Michael Dürgner
-
-

-

Includes:

-
-include_once("ldap.inc") [line 34]
-LDAP object

include_once("config.inc") [line 31]
-LAM configuration

-

-

-
-
- -

deletePDFStructureDefinition [line 158]

-
-
-
- boolean deletePDFStructureDefinition( -string $scope, string $definition) -
-

- - Deletes XML file with PDF structure definitions.



-

Tags:

-
- - - - -
return:  True if file was deleted or false if a problem occured.
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  account type
string  $definition  Name of definition to delete
-
[ Top ]


-
-
- -

getAvailableLogos [line 176]

-
-
-
- array getAvailableLogos( -) -
-

- - This function returns an array with all aviliable logo images.



-

Tags:

-
- - - - -
return:  list of logo files
-
-

- -
[ Top ]


-
-
- -

getPDFStructureDefinitions [line 47]

-
-
-
- array getPDFStructureDefinitions( -[string $scope = &quot;user&quot;]) -
-

- - This function will return all available PDF structure definitions for the submitted account scope.



-

Tags:

-
- - - - -
return:  All available PDF structure definitions for the submitted account scope. Each entry is a string being the filename that may be passed to the createModulePDF() function as second argument.
-
-

- -

Parameters

- - - - - - -
string  $scope  The account scope the PDF structure definitions should be returned.
-
[ Top ]


-
-
- -

loadPDFStructureDefinitions [line 72]

-
-
-
- array loadPDFStructureDefinitions( -[string $scope = 'user'], [string $pdf_structure = 'default']) -
-

- - This function is used to get pdf structure from xml file.

Used in createModulePDF.




-

Tags:

-
- - - - -
return:  PDF structure
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  The account scope for wich the PDF structure should be returned.
string  $pdf_structure  Structure name of selected scope wich should be returned.
-
[ Top ]


-
-
- -

savePDFStructureDefinitions [line 100]

-
-
-
- string savePDFStructureDefinitions( -string $scope, string $definition) -
-

- - Saves PDF structure definitions to XML file in format: <name>.<scope>.xml



-

Tags:

-
- - - - -
return:  "no perms" if access denied or "ok".
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  account type
string  $definition  Name of definition
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---ufpdf.php.html b/lam-web/developers/devel/phpdoc/PDF/_lib---ufpdf.php.html deleted file mode 100644 index 4943d52d..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---ufpdf.php.html +++ /dev/null @@ -1,148 +0,0 @@ - - -Docs for page ufpdf.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: ufpdf.php

-Source Location: /lib/ufpdf.php

- -
-
- -
-

Classes:

-
UFPDF
-
Main UFPDF class for creating Unicode PDF documents
-


- -

Page Details:

-This file includes UFPDF which adds Unicode support to FPDF.



-

Tags:

-
- - - - - - - -
author:  Steven Wittens
author:  Andrea Rossato
-
-

-

Includes:

-
-include_once('fpdf.php') [line 29]
-
-

-

-
- -

UFPDF_VERSION [line 27]

-
-
-
- UFPDF_VERSION = '0.1' -
-
- - *****************************************************************************

Software: UFPDF, Unicode Free PDF generator * Version: 0.1 * based on FPDF 1.52 by Olivier PLATHEY * Date: 2004-09-01 * Author: Steven Wittens <steven@acko.net> * License: GPL * * UFPDF is a modification of FPDF to support Unicode through UTF-8. * * This file includes modifications from Andrea Rossato which fix line breaking * in Write()/MultiCell(). * * *****************************************************************************



-
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_lib---xml_parser.inc.html b/lam-web/developers/devel/phpdoc/PDF/_lib---xml_parser.inc.html deleted file mode 100644 index f7937557..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_lib---xml_parser.inc.html +++ /dev/null @@ -1,128 +0,0 @@ - - -Docs for page xml_parser.inc - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: xml_parser.inc

-Source Location: /lib/xml_parser.inc

- -
-
- -
-

Classes:

-
xmlParser
-
-


- -

Page Details:

-LDAP Account Manager xmlParser class



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfdelete.php.html b/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfdelete.php.html deleted file mode 100644 index c0a812f3..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfdelete.php.html +++ /dev/null @@ -1,128 +0,0 @@ - - -Docs for page pdfdelete.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: pdfdelete.php

-Source Location: /templates/pdfedit/pdfdelete.php

- -
-
- - -

Page Details:

-Manages deletion of pdf structures.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 33]
-security functions

include_once('../../lib/pdfstruct.inc') [line 35]
-helper functions for pdf

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfmain.php.html b/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfmain.php.html deleted file mode 100644 index cdbcc412..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfmain.php.html +++ /dev/null @@ -1,131 +0,0 @@ - - -Docs for page pdfmain.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: pdfmain.php

-Source Location: /templates/pdfedit/pdfmain.php

- -
-
- - -

Page Details:

-This is the main window of the pdf structure editor.



-

Tags:

-
- - - - -
author:  Michael D�rgner
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/pdfstruct.inc") [line 34]
-access to PDF configuration files

include_once("../../lib/ldap.inc") [line 36]
-LDAP object

include_once("../../lib/config.inc") [line 38]
-for language settings

include_once("../../lib/modules.inc") [line 40]
-module functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfpage.php.html b/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfpage.php.html deleted file mode 100644 index 96e5c3fc..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/_templates---pdfedit---pdfpage.php.html +++ /dev/null @@ -1,135 +0,0 @@ - - -Docs for page pdfpage.php - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: pdfpage.php

-Source Location: /templates/pdfedit/pdfpage.php

- -
-
- - -

Page Details:

-Displays the main page of the PDF editor where the user can select the displayed entries.



-

Tags:

-
- - - - - - - -
author:  Michael Duergner
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/pdfstruct.inc') [line 38]
-access to PDF configuration files

include_once("../../lib/security.inc") [line 36]
-security functions

include_once('../../lib/ldap.inc') [line 40]
-LDAP object

include_once('../../lib/config.inc') [line 42]
-LAM configuration

include_once('../../lib/xml_parser.inc') [line 46]
-XML functions

include_once('../../lib/modules.inc') [line 44]
-module functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/PDF/lamPDF.html b/lam-web/developers/devel/phpdoc/PDF/lamPDF.html deleted file mode 100644 index 65913ff1..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/lamPDF.html +++ /dev/null @@ -1,1161 +0,0 @@ - - -Docs For Class lamPDF - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamPDF

-Source Location: /lib/lamPDF.inc

- - - - - - - - - -
- -

Class Overview

-
FPDF
-   |
-   --UFPDF
-      |
-      --lamPDF

-
Creates a LAM information page in PDF format.


-

Author(s):

-
    -
  • Michael Duergner
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: FPDF

-
-
- FPDF::$AliasNbPages -
-
- -
-
- FPDF::$author -
-
- -
-
- FPDF::$AutoPageBreak -
-
- -
-
- FPDF::$bMargin -
-
- -
-
- FPDF::$buffer -
-
- -
-
- FPDF::$cMargin -
-
- -
-
- FPDF::$ColorFlag -
-
- -
-
- FPDF::$compress -
-
- -
-
- FPDF::$CoreFonts -
-
- -
-
- FPDF::$creator -
-
- -
-
- FPDF::$CurOrientation -
-
- -
-
- FPDF::$CurrentFont -
-
- -
-
- FPDF::$DefOrientation -
-
- -
-
- FPDF::$diffs -
-
- -
-
- FPDF::$DrawColor -
-
- -
-
- FPDF::$fh -
-
- -
-
- FPDF::$fhPt -
-
- -
-
- FPDF::$FillColor -
-
- -
-
- FPDF::$FontFamily -
-
- -
-
- FPDF::$FontFiles -
-
- -
-
- FPDF::$fonts -
-
- -
-
- FPDF::$FontSize -
-
- -
-
- FPDF::$FontSizePt -
-
- -
-
- FPDF::$FontStyle -
-
- -
-
- FPDF::$fw -
-
- -
-
- FPDF::$fwPt -
-
- -
-
- FPDF::$h -
-
- -
-
- FPDF::$hPt -
-
- -
-
- FPDF::$images -
-
- -
-
- FPDF::$InFooter -
-
- -
-
- FPDF::$k -
-
- -
-
- FPDF::$keywords -
-
- -
-
- FPDF::$lasth -
-
- -
-
- FPDF::$LayoutMode -
-
- -
-
- FPDF::$LineWidth -
-
- -
-
- FPDF::$links -
-
- -
-
- FPDF::$lMargin -
-
- -
-
- FPDF::$n -
-
- -
-
- FPDF::$offsets -
-
- -
-
- FPDF::$OrientationChanges -
-
- -
-
- FPDF::$page -
-
- -
-
- FPDF::$PageBreakTrigger -
-
- -
-
- FPDF::$PageLinks -
-
- -
-
- FPDF::$pages -
-
- -
-
- FPDF::$PDFVersion -
-
- -
-
- FPDF::$rMargin -
-
- -
-
- FPDF::$state -
-
- -
-
- FPDF::$subject -
-
- -
-
- FPDF::$TextColor -
-
- -
-
- FPDF::$title -
-
- -
-
- FPDF::$tMargin -
-
- -
-
- FPDF::$underline -
-
- -
-
- FPDF::$w -
-
- -
-
- FPDF::$wPt -
-
- -
-
- FPDF::$ws -
-
- -
-
- FPDF::$x -
-
- -
-
- FPDF::$y -
-
- -
-
- FPDF::$ZoomMode -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: UFPDF

-
-
- UFPDF::UFPDF() -
-
- ***************************************************************************** -
-
- UFPDF::AcceptPageBreak() -
-
- -
-
- UFPDF::AddFont() -
-
- -
-
- UFPDF::AliasNbPages() -
-
- -
-
- UFPDF::Cell() -
-
- -
-
- UFPDF::code2utf() -
-
- -
-
- UFPDF::GetStringWidth() -
-
- -
-
- UFPDF::MultiCell() -
-
- -
-
- UFPDF::strlen() -
-
- -
-
- UFPDF::Text() -
-
- -
-
- UFPDF::utf8_substr() -
-
- -
-
- UFPDF::utf8_to_codepoints() -
-
- -
-
- UFPDF::utf8_to_utf16be() -
-
- -
-
- UFPDF::Write() -
-
- -
-
- UFPDF::_dounderline() -
-
- -
-
- UFPDF::_escapetext() -
-
- -
-
- UFPDF::_putinfo() -
-
- -
-
- UFPDF::_putpages() -
-
- -
-
- UFPDF::_puttruetypeunicode() -
-
- ***************************************************************************** -
-
- UFPDF::_textstring() -
-
- -
-
-

Class: FPDF

-
-
- FPDF::FPDF() -
-
- ***************************************************************************** -
-
- FPDF::AcceptPageBreak() -
-
- -
-
- FPDF::AddFont() -
-
- -
-
- FPDF::AddLink() -
-
- -
-
- FPDF::AddPage() -
-
- -
-
- FPDF::AliasNbPages() -
-
- -
-
- FPDF::Cell() -
-
- -
-
- FPDF::Close() -
-
- -
-
- FPDF::Error() -
-
- -
-
- FPDF::Footer() -
-
- -
-
- FPDF::GetStringWidth() -
-
- -
-
- FPDF::GetX() -
-
- -
-
- FPDF::GetY() -
-
- -
-
- FPDF::Header() -
-
- -
-
- FPDF::Image() -
-
- -
-
- FPDF::Line() -
-
- -
-
- FPDF::Link() -
-
- -
-
- FPDF::Ln() -
-
- -
-
- FPDF::MultiCell() -
-
- -
-
- FPDF::Open() -
-
- -
-
- FPDF::Output() -
-
- -
-
- FPDF::PageNo() -
-
- -
-
- FPDF::Rect() -
-
- -
-
- FPDF::SetAuthor() -
-
- -
-
- FPDF::SetAutoPageBreak() -
-
- -
-
- FPDF::SetCompression() -
-
- -
-
- FPDF::SetCreator() -
-
- -
-
- FPDF::SetDisplayMode() -
-
- -
-
- FPDF::SetDrawColor() -
-
- -
-
- FPDF::SetFillColor() -
-
- -
-
- FPDF::SetFont() -
-
- -
-
- FPDF::SetFontSize() -
-
- -
-
- FPDF::SetKeywords() -
-
- -
-
- FPDF::SetLeftMargin() -
-
- -
-
- FPDF::SetLineWidth() -
-
- -
-
- FPDF::SetLink() -
-
- -
-
- FPDF::SetMargins() -
-
- -
-
- FPDF::SetRightMargin() -
-
- -
-
- FPDF::SetSubject() -
-
- -
-
- FPDF::SetTextColor() -
-
- -
-
- FPDF::SetTitle() -
-
- -
-
- FPDF::SetTopMargin() -
-
- -
-
- FPDF::SetX() -
-
- -
-
- FPDF::SetXY() -
-
- -
-
- FPDF::SetY() -
-
- -
-
- FPDF::Text() -
-
- -
-
- FPDF::Write() -
-
- -
-
- FPDF::_beginpage() -
-
- -
-
- FPDF::_dochecks() -
-
- ***************************************************************************** -
-
- FPDF::_dounderline() -
-
- -
-
- FPDF::_enddoc() -
-
- -
-
- FPDF::_endpage() -
-
- -
-
- FPDF::_escape() -
-
- -
-
- FPDF::_freadint() -
-
- -
-
- FPDF::_getfontpath() -
-
- -
-
- FPDF::_newobj() -
-
- -
-
- FPDF::_out() -
-
- -
-
- FPDF::_parsejpg() -
-
- -
-
- FPDF::_parsepng() -
-
- -
-
- FPDF::_putcatalog() -
-
- -
-
- FPDF::_putfonts() -
-
- -
-
- FPDF::_putheader() -
-
- -
-
- FPDF::_putimages() -
-
- -
-
- FPDF::_putinfo() -
-
- -
-
- FPDF::_putpages() -
-
- -
-
- FPDF::_putresourcedict() -
-
- -
-
- FPDF::_putresources() -
-
- -
-
- FPDF::_putstream() -
-
- -
-
- FPDF::_puttrailer() -
-
- -
-
- FPDF::_putxobjectdict() -
-
- -
-
- FPDF::_textstring() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 38]
-Creates a LAM information page in PDF format.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 64]

-
-
-
- lamPDF __construct( -[array -$page_definitions = array()], -$fontName, string -$account_type) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
string  $account_type  
array  $page_definitions  
  $fontName  
-

-
[ Top ]
-
-
- -

method footer [line 120]

-
-
-
- void footer( -) -
-

- -

- - -
[ Top ]
-
-
- -

method header [line 88]

-
-
-
- void header( -) -
-

- -

- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/PDF/xmlParser.html b/lam-web/developers/devel/phpdoc/PDF/xmlParser.html deleted file mode 100644 index a07ee24f..00000000 --- a/lam-web/developers/devel/phpdoc/PDF/xmlParser.html +++ /dev/null @@ -1,215 +0,0 @@ - - -Docs For Class xmlParser - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Class: xmlParser

-Source Location: /lib/xml_parser.inc

- - - - - - - - - -
- -

Class Overview

-

-


-

Author(s):

-
    -
  • Michael Duergner
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 36]
-

-

Tags:

-
- - - - -
author:  Michael Duergner
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 46]

-
-
-
- xmlParser __construct( -) -
-

- - Constructor



- - -
[ Top ]
-
-
- -

method parse [line 60]

-
-
-
- array parse( -string -$filename) -
-

- -

- - -

Parameters:

-
- - - - - - -
string  $filename  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_Help.html b/lam-web/developers/devel/phpdoc/classtrees_Help.html deleted file mode 100644 index ea8c009f..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_Help.html +++ /dev/null @@ -1,62 +0,0 @@ - - -Class Trees for Package Help - - - - - - - - - - - - - -
Help
- - - [ class tree: Help ] - [ index: Help ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package Help

-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_LDAP.html b/lam-web/developers/devel/phpdoc/classtrees_LDAP.html deleted file mode 100644 index 9985c30c..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_LDAP.html +++ /dev/null @@ -1,67 +0,0 @@ - - -Class Trees for Package LDAP - - - - - - - - - - - - - -
LDAP
- - - [ class tree: LDAP ] - [ index: LDAP ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package LDAP

-
-
Root class Ldap

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_PDF.html b/lam-web/developers/devel/phpdoc/classtrees_PDF.html deleted file mode 100644 index 48d55530..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_PDF.html +++ /dev/null @@ -1,76 +0,0 @@ - - -Class Trees for Package PDF - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package PDF

-
-
Root class FPDF

- - -
-
Root class xmlParser

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_configuration.html b/lam-web/developers/devel/phpdoc/classtrees_configuration.html deleted file mode 100644 index 06f984bb..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_configuration.html +++ /dev/null @@ -1,72 +0,0 @@ - - -Class Trees for Package configuration - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package configuration

-
-
Root class LAMCfgMain

- - -
-
Root class LAMConfig

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_lib.html b/lam-web/developers/devel/phpdoc/classtrees_lib.html deleted file mode 100644 index caa1a2f9..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_lib.html +++ /dev/null @@ -1,79 +0,0 @@ - - -Class Trees for Package lib - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package lib

-
-
Root class cache

- - -
-
Root class ObjectClassAttribute

- - -
-
Root class SchemaItem

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_lists.html b/lam-web/developers/devel/phpdoc/classtrees_lists.html deleted file mode 100644 index dc313d45..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_lists.html +++ /dev/null @@ -1,81 +0,0 @@ - - -Class Trees for Package lists - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package lists

-
-
Root class lamList

- - -
-
Root class lamListOption

- - -
-
Root class lamListTool

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_main.html b/lam-web/developers/devel/phpdoc/classtrees_main.html deleted file mode 100644 index c9755174..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_main.html +++ /dev/null @@ -1,62 +0,0 @@ - - -Class Trees for Package main - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package main

-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_modules.html b/lam-web/developers/devel/phpdoc/classtrees_modules.html deleted file mode 100644 index 21403db4..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_modules.html +++ /dev/null @@ -1,89 +0,0 @@ - - -Class Trees for Package modules - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package modules

-
-
Root class accountContainer

- - -
-
Root class baseModule

- - -
-
Root class samba3domain

- - -
-
Root class sambaMungedDial

- - -
-
Root class smbHash

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_profiles.html b/lam-web/developers/devel/phpdoc/classtrees_profiles.html deleted file mode 100644 index 351492bd..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_profiles.html +++ /dev/null @@ -1,62 +0,0 @@ - - -Class Trees for Package profiles - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package profiles

-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_selfService.html b/lam-web/developers/devel/phpdoc/classtrees_selfService.html deleted file mode 100644 index 62ba65e6..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_selfService.html +++ /dev/null @@ -1,67 +0,0 @@ - - -Class Trees for Package selfService - - - - - - - - - - - - - -
selfService
- - - [ class tree: selfService ] - [ index: selfService ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package selfService

-
-
Root class selfServiceProfile

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_tests.html b/lam-web/developers/devel/phpdoc/classtrees_tests.html deleted file mode 100644 index 2fc48e9c..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_tests.html +++ /dev/null @@ -1,62 +0,0 @@ - - -Class Trees for Package tests - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package tests

-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_tools.html b/lam-web/developers/devel/phpdoc/classtrees_tools.html deleted file mode 100644 index 466e4fb8..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_tools.html +++ /dev/null @@ -1,81 +0,0 @@ - - -Class Trees for Package tools - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package tools

-
-
Root class LAMTool

- - -
-
Root class LdapExportInfo

- - -
-
Root class PlaAbstractExporter

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/classtrees_types.html b/lam-web/developers/devel/phpdoc/classtrees_types.html deleted file mode 100644 index d0ef5b91..00000000 --- a/lam-web/developers/devel/phpdoc/classtrees_types.html +++ /dev/null @@ -1,69 +0,0 @@ - - -Class Trees for Package types - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class Trees for Package types

-
-
Root class baseType

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/configuration/LAMCfgMain.html b/lam-web/developers/devel/phpdoc/configuration/LAMCfgMain.html deleted file mode 100644 index 2a812af2..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/LAMCfgMain.html +++ /dev/null @@ -1,402 +0,0 @@ - - -Docs For Class LAMCfgMain - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Class: LAMCfgMain

-Source Location: /lib/config.inc

- - - - - - - - - - -
- -

Class Overview

-

-
This class manages config.cfg.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 882]
-This class manages config.cfg.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$allowedHosts =

-

[line 900]

- list of hosts which may access LAM



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$default =

-

[line 885]

- Default profile



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$logDestination =

-

[line 897]

- log destination ("SYSLOG":syslog, "/...":file, "NONE":none)



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$logLevel =

-

[line 894]

- log level



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sessionTimeout =

-

[line 891]

- Time of inactivity before session times out (minutes)



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 909]

-
-
-
- LAMCfgMain __construct( -) -
-

- - Loads preferences from config file



- - -
[ Top ]
-
-
- -

method checkPassword [line 1014]

-
-
-
- boolean checkPassword( -String -$password) -
-

- - Checks if the given password matches.



-

Tags:

-
- - - - - - - -
return:  true, if password matches
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
String  $password  password
-

-
[ Top ]
-
-
- -

method save [line 950]

-
-
-
- void save( -) -
-

- - Saves preferences to config file config.cfg



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method setPassword [line 1000]

-
-
-
- void setPassword( -String -$password) -
-

- - Sets a new config password.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
String  $password  new password
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:22 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/configuration/LAMConfig.html b/lam-web/developers/devel/phpdoc/configuration/LAMConfig.html deleted file mode 100644 index 92570fe1..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/LAMConfig.html +++ /dev/null @@ -1,1442 +0,0 @@ - - -Docs For Class LAMConfig - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Class: LAMConfig

-Source Location: /lib/config.inc

- - - - - - - - - - -
- -

Class Overview

-

-
This class manages .conf files.


- - - - - - - -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 164]
-This class manages .conf files.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 234]

-
-
-
- LAMConfig __construct( -[integer -$file = 0]) -
-

- - Loads preferences from config file



- - -

Parameters:

-
- - - - - - -
integer  $file  Index number in config file array
-

-
[ Top ]
-
-
- -

method check_Passwd [line 487]

-
-
-
- boolean check_Passwd( -String -$password) -
-

- - Checks if the given password matches.



-

Tags:

-
- - - - - - - -
return:  true, if matches
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
String  $password  
-

-
[ Top ]
-
-
- -

method getAccessLevel [line 861]

-
-
-
- int getAccessLevel( -) -
-

- - Returns the access level for this profile.



-

Tags:

-
- - - - - - - -
return:  level
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getName [line 403]

-
-
-
- String getName( -) -
-

- - Returns the name of the config file



-

Tags:

-
- - - - - - - -
return:  name
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_AccountModules [line 765]

-
-
-
- array get_AccountModules( -string -$scope) -
-

- - Returns an array of all selected account modules



-

Tags:

-
- - - - - - - -
return:  user modules
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $scope  account type
-

-
[ Top ]
-
-
- -

method get_ActiveTypes [line 821]

-
-
-
- array get_ActiveTypes( -) -
-

- - Returns a list of active account types.



-

Tags:

-
- - - - - - - -
return:  list of types
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_Admins [line 453]

-
-
-
- array get_Admins( -) -
-

- - Returns an array of string with all admin names



-

Tags:

-
- - - - - - - -
return:  the admin names
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_Adminstring [line 462]

-
-
-
- string get_Adminstring( -) -
-

- - Returns all admin users seperated by semicolons



-

Tags:

-
- - - - - - - -
return:  the admin string
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_cacheTimeout [line 731]

-
-
-
- integer get_cacheTimeout( -) -
-

- - Returns the LDAP cache timeout in minutes



-

Tags:

-
- - - - - - - -
return:  cache time
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_cacheTimeoutSec [line 741]

-
-
-
- integer get_cacheTimeoutSec( -) -
-

- - Returns the LDAP cache timeout in seconds



-

Tags:

-
- - - - - - - -
return:  cache time
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_defaultLanguage [line 600]

-
-
-
- string get_defaultLanguage( -) -
-

- - Returns the default language string



-

Tags:

-
- - - - - - - -
return:  default language
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_listAttributes [line 574]

-
-
-
- string get_listAttributes( -string -$scope) -
-

- - Returns the list of attributes to show in user list



-

Tags:

-
- - - - - - - -
return:  the attribute list
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $scope  account type
-

-
[ Top ]
-
-
- -

method get_moduleSettings [line 812]

-
-
-
- array get_moduleSettings( -) -
-

- - Returns a list of saved module settings



-

Tags:

-
- - - - - - - -
return:  list of settings: array(name => value)
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_scriptPath [line 621]

-
-
-
- string get_scriptPath( -) -
-

- - Returns the path to the external script



-

Tags:

-
- - - - - - - -
return:  script path
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_scriptRights [line 704]

-
-
-
- string get_scriptRights( -) -
-

- - Returns the chmod value for new home directories.



-

Tags:

-
- - - - - - - -
return:  rights
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_scriptServers [line 643]

-
-
-
- string get_scriptServers( -) -
-

- - Returns the servers of the external script as a Array



-

Tags:

-
- - - - - - - -
return:  script servers
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_ServerURL [line 432]

-
-
-
- string get_ServerURL( -) -
-

- - Returns the server address as string



-

Tags:

-
- - - - - - - -
return:  server address
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_Suffix [line 538]

-
-
-
- string get_Suffix( -string -$scope) -
-

- - Returns the LDAP suffix for the given account type



-

Tags:

-
- - - - - - - -
return:  the LDAP suffix
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $scope  account type
-

-
[ Top ]
-
-
- -

method get_typeSettings [line 852]

-
-
-
- array get_typeSettings( -) -
-

- - Returns a list of saved type settings



-

Tags:

-
- - - - - - - -
return:  list of settings: array(name => value)
access:  public
-
-

- - -
[ Top ]
-
-
- -

method isWritable [line 412]

-
-
-
- boolean isWritable( -) -
-

- - Returns if the file can be written on the filesystem.



-

Tags:

-
- - - - - - - -
return:  true if file is writable
access:  public
-
-

- - -
[ Top ]
-
-
- -

method save [line 307]

-
-
-
- void save( -) -
-

- - Saves preferences to config file



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method setAccessLevel [line 870]

-
-
-
- void setAccessLevel( -int -$level) -
-

- - Sets the access level for this profile.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
int  $level  level
-

-
[ Top ]
-
-
- -

method set_AccountModules [line 781]

-
-
-
- boolean set_AccountModules( -array -$modules, string -$scope) -
-

- - Sets the selected account modules



-

Tags:

-
- - - - - - - -
return:  true if $modules has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
array  $modules  array with module names (not aliases!)
string  $scope  account type
-

-
[ Top ]
-
-
- -

method set_ActiveTypes [line 831]

-
-
-
- void set_ActiveTypes( -array -$types) -
-

- - Sets the list of active types.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $types  list of types
-

-
[ Top ]
-
-
- -

method set_Adminstring [line 472]

-
-
-
- boolean set_Adminstring( -string -$value) -
-

- - Sets the admin string



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new admin string that contains all admin users seperated by semicolons
-

-
[ Top ]
-
-
- -

method set_cacheTimeout [line 751]

-
-
-
- boolean set_cacheTimeout( -integer -$value) -
-

- - Sets the LDAP cache timeout in minutes (0,1,2,5,10,15)



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
integer  $value  new cache timeout
-

-
[ Top ]
-
-
- -

method set_defaultLanguage [line 610]

-
-
-
- boolean set_defaultLanguage( -string -$value) -
-

- - Sets the default language string



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new default language
-

-
[ Top ]
-
-
- -

method set_listAttributes [line 585]

-
-
-
- boolean set_listAttributes( -string -$value, string -$scope) -
-

- - Sets the list of attributes to show in user list



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $value  new attribute string
string  $scope  account type
-

-
[ Top ]
-
-
- -

method set_moduleSettings [line 801]

-
-
-
- boolean set_moduleSettings( -array -$settings) -
-

- - Sets the settings for the account modules.



-

Tags:

-
- - - - - - - -
return:  true if $settings has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $settings  list of module setting array(name => value)
-

-
[ Top ]
-
-
- -

method set_Passwd [line 507]

-
-
-
- boolean set_Passwd( -string -$value) -
-

- - Sets the preferences wizard password



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new password
-

-
[ Top ]
-
-
- -

method set_scriptPath [line 631]

-
-
-
- boolean set_scriptPath( -string -$value) -
-

- - Sets the path to the external script



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new script path
-

-
[ Top ]
-
-
- -

method set_scriptRights [line 715]

-
-
-
- boolean set_scriptRights( -string -$chmod) -
-

- - Sets the rights for the home directory.



-

Tags:

-
- - - - - - - -
return:  true if values has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $chmod  the rights
-

-
[ Top ]
-
-
- -

method set_scriptServers [line 653]

-
-
-
- boolean set_scriptServers( -string -$value) -
-

- - Sets the servers of the external script



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new script servers
-

-
[ Top ]
-
-
- -

method set_ServerURL [line 442]

-
-
-
- boolean set_ServerURL( -string -$value) -
-

- - Sets the server address



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $value  new server address
-

-
[ Top ]
-
-
- -

method set_Suffix [line 554]

-
-
-
- boolean set_Suffix( -string -$scope, string -$value) -
-

- - Sets the LDAP suffix where accounts are saved



-

Tags:

-
- - - - - - - -
return:  true if $value has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
string  $scope  account type
string  $value  new LDAP suffix
-

-
[ Top ]
-
-
- -

method set_typeSettings [line 841]

-
-
-
- boolean set_typeSettings( -array -$settings) -
-

- - Sets the settings for the account types.



-

Tags:

-
- - - - - - - -
return:  true if $settings has correct format
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $settings  list of type setting array(name => value)
-

-
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

ACCESS_ALL =  100

-

[line 166]

- -
-
[ Top ]

- -

-

ACCESS_PASSWORD_CHANGE =  20

-

[line 167]

- -
-
[ Top ]

- -

-

ACCESS_READ_ONLY =  0

-

[line 168]

- -
-
[ Top ]

-

- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:22 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/configuration/_lib---config.inc.html b/lam-web/developers/devel/phpdoc/configuration/_lib---config.inc.html deleted file mode 100644 index 1bda0b41..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_lib---config.inc.html +++ /dev/null @@ -1,257 +0,0 @@ - - -Docs for page config.inc - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: config.inc

-Source Location: /lib/config.inc

- -
-
- -
-

Classes:

-
LAMConfig
-
This class manages .conf files.
-
LAMCfgMain
-
This class manages config.cfg.
-


- -

Page Details:

-This file includes functions to manage the configuration files.



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
author:  Thomas Manninger
-
-

-

Includes:

-
-include_once("modules.inc") [line 36]
-Used to get module information.

include_once("status.inc") [line 34]
-Used to print messages.

include_once("types.inc") [line 38]
-Used to get type information.

-

-

-
-
- -

checkChmod [line 66]

-
-
-
- true, checkChmod( -$right $right, $target $target, $chmod $chmod) -
-

- - Checks whether a specific flag in the rights string is set.



-

Tags:

-
- - - - -
return:  if the chmod $right for $target were set
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
$right  $right  read,write or execute
$target  $target  owner,group or other
$chmod  $chmod  the chmod rights
-
[ Top ]


-
-
- -

getConfigProfiles [line 102]

-
-
-
- array getConfigProfiles( -) -
-

- - Returns an array of string with all available configuration profiles (without .conf)



-

Tags:

-
- - - - -
return:  profile names
-
-

- -
[ Top ]


-
-
- -

LAMVersion [line 126]

-
-
-
- string LAMVersion( -) -
-

- - Returns the version number of this LAM installation.

Format: <major version>.<minor version>.<patch level>
Major/minor version are always numbers, patch level may contain letters for inofficial releases only (e.g. 0.5.alpha1).




-

Tags:

-
- - - - -
return:  version number
-
-

- -
[ Top ]


-
-
- -

metaRefresh [line 144]

-
-
-
- void metaRefresh( -string $page) -
-

- - Prints a meta refresh page



- -

Parameters

- - - - - - -
string  $page  the URL of the target page
-
[ Top ]


-
-
- -

setlanguage [line 43]

-
-
-
- void setlanguage( -) -
-

- - Sets language settings for automatic translation



- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:22 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---conflogin.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---conflogin.php.html deleted file mode 100644 index c91667e9..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---conflogin.php.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Docs for page conflogin.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: conflogin.php

-Source Location: /templates/config/conflogin.php

- -
-
- - -

Page Details:

-Login page to change the preferences.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/status.inc') [line 36]
-Used to print status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmain.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmain.php.html deleted file mode 100644 index f6352b5e..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmain.php.html +++ /dev/null @@ -1,138 +0,0 @@ - - -Docs for page confmain.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: confmain.php

-Source Location: /templates/config/confmain.php

- -
-
- - -

Page Details:

-Main page of configuration



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
author:  Thomas Manninger
-
-

-

Includes:

-
-include_once("../../lib/config.inc") [line 35]
-Access to config functions

include_once("../../lib/modules.inc") [line 38]
-access to module settings

require('conflogin.php') [line 72]
-go back to login if password is invalid

require('conflogin.php') [line 54]
-go back to login if password is empty

-

-

-
-
- -

saveSettings [line 481]

-
-
-
- void saveSettings( -) -
-

- - Saves the entered settings.



- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmodules.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmodules.php.html deleted file mode 100644 index 62754482..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---confmodules.php.html +++ /dev/null @@ -1,156 +0,0 @@ - - -Docs for page confmodules.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: confmodules.php

-Source Location: /templates/config/confmodules.php

- -
-
- - -

Page Details:

-confmodules lets the user select the account modules



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/modules.inc') [line 36]
-Access to module lists

require('conflogin.php') [line 49]
-go back to login if password is invalid

-

-

-
-
- -

config_showAccountModules [line 139]

-
-
-
- boolean config_showAccountModules( -string $scope, string $title) -
-

- - Displays the module selection boxes and checks if dependencies are fulfilled.



-

Tags:

-
- - - - -
return:  true if all dependencies are ok
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  account type
string  $title  title for module selection (e.g. "User modules")
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---conftypes.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---conftypes.php.html deleted file mode 100644 index f9e531e2..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---conftypes.php.html +++ /dev/null @@ -1,119 +0,0 @@ - - -Docs for page conftypes.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: conftypes.php

-Source Location: /templates/config/conftypes.php

- -
-
- - -

Page Details:

-Here the user can select the account types.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/types.inc') [line 36]
-Access to account types

require('conflogin.php') [line 48]
-go back to login if password is invalid

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---index.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---index.php.html deleted file mode 100644 index 6bdff4c4..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---index.php.html +++ /dev/null @@ -1,117 +0,0 @@ - - -Docs for page index.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: index.php

-Source Location: /templates/config/index.php

- -
-
- - -

Page Details:

-Displays links to all configuration pages.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:33 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainlogin.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainlogin.php.html deleted file mode 100644 index 67905703..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainlogin.php.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Docs for page mainlogin.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: mainlogin.php

-Source Location: /templates/config/mainlogin.php

- -
-
- - -

Page Details:

-Login page to change the main preferences.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/status.inc') [line 36]
-Used to print status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainmanage.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainmanage.php.html deleted file mode 100644 index 665a158f..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---mainmanage.php.html +++ /dev/null @@ -1,119 +0,0 @@ - - -Docs for page mainmanage.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: mainmanage.php

-Source Location: /templates/config/mainmanage.php

- -
-
- - -

Page Details:

-Manages the main configuration options.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/status.inc') [line 36]
-Used to print status messages

require('mainlogin.php') [line 48]
-
-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/configuration/_templates---config---profmanage.php.html b/lam-web/developers/devel/phpdoc/configuration/_templates---config---profmanage.php.html deleted file mode 100644 index e583f4d6..00000000 --- a/lam-web/developers/devel/phpdoc/configuration/_templates---config---profmanage.php.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Docs for page profmanage.php - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: profmanage.php

-Source Location: /templates/config/profmanage.php

- -
-
- - -

Page Details:

-Configuration profile management.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 34]
-Access to config functions

include_once('../../lib/status.inc') [line 36]
-Used to print status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/elementindex.html b/lam-web/developers/devel/phpdoc/elementindex.html deleted file mode 100644 index b46f1b8c..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex.html +++ /dev/null @@ -1,2585 +0,0 @@ - - -Element Index - - - - - - - - - - - - - -
- - [ all elements ] -
- - - - - - -
-
- - -

Index of all elements

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ h ] - [ i ] - [ k ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ q ] - [ r ] - [ s ] - [ t ] - [ u ] - [ v ] - [ w ] - [ x ] - [ y ] - [ z ] - [ _ ] - -
- -
-

a

-
-
$aliases
-
in file schema.inc, variable AttributeType::$aliases
    An array of alias attribute names, strings
-
$AliasNbPages
-
in file fpdf.php, variable FPDF::$AliasNbPages
-
$allowedHosts
-
in file config.inc, variable LAMCfgMain::$allowedHosts
    list of hosts which may access LAM
-
$attrArray
-
in file lists.inc, variable lamList::$attrArray
    list of LDAP attributes
-
$attributes
-
in file modules.inc, variable accountContainer::$attributes
    Array of all used attributes
-
$attributes
-
in file export.inc, variable PlaLdapExporter::$attributes
-
$attributes
-
in file baseModule.inc, variable baseModule::$attributes
    contains all ldap attributes which should be written
-
$attributes_orig
-
in file modules.inc, variable accountContainer::$attributes_orig
    original LDAP attributes when account was loaded from LDAP
-
$author
-
in file fpdf.php, variable FPDF::$author
-
$autoAddObjectClasses
-
in file baseModule.inc, variable baseModule::$autoAddObjectClasses
    if true, managed object classes are added when an account is created or loaded (default: true)
-
$AutoPageBreak
-
in file fpdf.php, variable FPDF::$AutoPageBreak
-
AcceptPageBreak
-
in file fpdf.php, method FPDF::AcceptPageBreak()
-
AcceptPageBreak
-
in file ufpdf.php, method UFPDF::AcceptPageBreak()
-
ACCESS_ALL
-
in file config.inc, class constant LAMConfig::ACCESS_ALL
-
ACCESS_PASSWORD_CHANGE
-
in file config.inc, class constant LAMConfig::ACCESS_PASSWORD_CHANGE
-
ACCESS_READ_ONLY
-
in file config.inc, class constant LAMConfig::ACCESS_READ_ONLY
-
account
-
in file account.inc, class account
    Manages the object class "account" for users and hosts.
-
accountContainer
-
in file modules.inc, class accountContainer
    This class includes all modules and attributes of an account.
-
addAlias
-
in file schema.inc, method AttributeType::addAlias()
    Adds an attribute name to the alias array.
-
addChildObjectClass
-
in file schema.inc, method ObjectClass::addChildObjectClass()
    Adds an objectClass to the list of objectClasses that inherit from this objectClass.
-
AddFont
-
in file ufpdf.php, method UFPDF::AddFont()
-
AddFont
-
in file fpdf.php, method FPDF::AddFont()
-
AddLink
-
in file fpdf.php, method FPDF::AddLink()
-
addMayAttrs
-
in file schema.inc, method ObjectClass::addMayAttrs()
    Behaves identically to addMustAttrs, but it operates on the MAY attributes of this objectClass.
-
addMustAttrs
-
in file schema.inc, method ObjectClass::addMustAttrs()
    Adds the specified array of attributes to this objectClass' list of MUST attributes. The resulting array of must attributes will contain unique members.
-
AddPage
-
in file fpdf.php, method FPDF::AddPage()
-
addRequiredByObjectClass
-
in file schema.inc, method AttributeType::addRequiredByObjectClass()
    Adds an objectClass name to this attribute's list of "required by" objectClasses, that is the list of objectClasses which must have this attribute.
-
addUsedByAttr
-
in file schema.inc, method MatchingRule::addUsedByAttr()
    Adds an attribute name to the list of attributes who use this MatchingRule
-
addUsedInObjectClass
-
in file schema.inc, method AttributeType::addUsedInObjectClass()
    Adds an objectClass name to this attribute's list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.
-
add_aliases_to_attrs
-
in file schema.inc, function add_aliases_to_attrs()
    For each attribute that has multiple names, this function adds unique entries to the attrs array for those names. Ie, attributeType has name 'gn' and 'givenName'.
-
add_cache
-
in file cache.inc, method cache::add_cache()
    This function adds attributes to the cache.
-
add_sup_to_attrs
-
in file schema.inc, function add_sup_to_attrs()
    Adds inherited values to each attributeType specified by the SUP directive.
-
AliasNbPages
-
in file ufpdf.php, method UFPDF::AliasNbPages()
-
AliasNbPages
-
in file fpdf.php, method FPDF::AliasNbPages()
-
arrayLower
-
in file tree.inc, function arrayLower()
-
array_delete
-
in file account.inc, function array_delete()
    This function will return all values from $array without values of $values.
-
array_stripslashes
-
in file tree.inc, function array_stripslashes()
    Strips all slashes from the specified array in place (pass by ref).
-
AttributeType
-
in file schema.inc, method AttributeType::AttributeType()
    Creates a new AttributeType objcet from a raw LDAP AttributeType string.
-
AttributeType
-
in file schema.inc, class AttributeType
    Represents an LDAP AttributeType
-
account.inc
-
procedural page account.inc
-
account.inc
-
procedural page account.inc
-
add_attr.php
-
procedural page add_attr.php
-
add_attr_form.php
-
procedural page add_attr_form.php
-
add_oclass.php
-
procedural page add_oclass.php
-
add_oclass_form.php
-
procedural page add_oclass_form.php
-
add_value.php
-
procedural page add_value.php
-
add_value_form.php
-
procedural page add_value_form.php
-
-
- top
-
- -
-

b

-
-
$base_dn
-
in file export.inc, variable LdapExportInfo::$base_dn
-
$bMargin
-
in file fpdf.php, variable FPDF::$bMargin
-
$br
-
in file export.inc, variable PlaExporter::$br
-
$buffer
-
in file fpdf.php, variable FPDF::$buffer
-
baseModule
-
in file baseModule.inc, class baseModule
    Parent class of all account modules.
-
baseType
-
in file baseType.inc, class baseType
    This is the parent class of all account types.
-
buildUploadAccounts
-
in file modules.inc, function buildUploadAccounts()
    This function builds the LDAP accounts for the file upload.
-
build_initial_tree_icons
-
in file tree.inc, function build_initial_tree_icons()
    Builds the initial array that stores the icon-lookup for each server's DN in the tree browser. The returned
-
build_uploadAccounts
-
in file posixGroup.inc, method posixGroup::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file posixAccount.inc, method posixAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaAccount.inc, method sambaAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file shadowAccount.inc, method shadowAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file nisMailAlias.inc, method nisMailAlias::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaSamAccount.inc, method sambaSamAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaGroupMapping.inc, method sambaGroupMapping::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaDomain.inc, method sambaDomain::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file inetOrgPerson.inc, method inetOrgPerson::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file ieee802device.inc, method ieee802Device::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file baseModule.inc, method baseModule::build_uploadAccounts()
    In this function the LDAP accounts are built.
-
build_uploadAccounts
-
in file ldapPublicKey.inc, method ldapPublicKey::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file kolabUser.inc, method kolabUser::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file account.inc, method account::build_uploadAccounts()
    In this function the LDAP account is built up.
-
baseModule.inc
-
procedural page baseModule.inc
-
baseType.inc
-
procedural page baseType.inc
-
-
- top
-
- -
-

c

-
-
$children_objectclasses
-
in file schema.inc, variable ObjectClass::$children_objectclasses
    array of objectClasses which inherit from this one (must be set at runtime explicitly by the caller)
-
$cMargin
-
in file fpdf.php, variable FPDF::$cMargin
-
$ColorFlag
-
in file fpdf.php, variable FPDF::$ColorFlag
-
$compress
-
in file fpdf.php, variable FPDF::$compress
-
$CoreFonts
-
in file fpdf.php, variable FPDF::$CoreFonts
-
$counter
-
in file export.inc, variable PlaLdifExporter::$counter
-
$counter
-
in file export.inc, variable PlaDsmlExporter::$counter
-
$creator
-
in file fpdf.php, variable FPDF::$creator
-
$ctx
-
in file sambaMungedDial.inc, variable sambaMungedDial::$ctx
-
$ctxattributes
-
in file sambaMungedDial.inc, variable sambaMungedDial::$ctxattributes
-
$CurOrientation
-
in file fpdf.php, variable FPDF::$CurOrientation
-
$CurrentFont
-
in file fpdf.php, variable FPDF::$CurrentFont
-
cache
-
in file cache.inc, class cache
    This class contains all functions which are needed to manage the LDAP cache.
-
cached_schema_available
-
in file schema.inc, function cached_schema_available()
    Returns true if the schema for $schema_type has been cached and
-
can_manage
-
in file baseModule.inc, method baseModule::can_manage()
    Returns true if this module can manage accounts of the current type, otherwise false.
-
Cell
-
in file ufpdf.php, method UFPDF::Cell()
-
Cell
-
in file fpdf.php, method FPDF::Cell()
-
checkASCII
-
in file posixAccount.inc, method posixAccount::checkASCII()
    Checks if an attribute contains only ASCII charaters and replaces invalid characters.
-
checkChmod
-
in file config.inc, function checkChmod()
    Checks whether a specific flag in the rights string is set.
-
checkClientIP
-
in file security.inc, function checkClientIP()
    Checks if the client's IP address is on the list of allowed IPs.
-
checkConfigOptions
-
in file modules.inc, function checkConfigOptions()
    Checks if the configuration options are valid
-
checkIfPasswordChangeIsAllowed
-
in file security.inc, function checkIfPasswordChangeIsAllowed()
    Checks if passwords may be changed.
-
checkIfWriteAccessIsAllowed
-
in file security.inc, function checkIfWriteAccessIsAllowed()
    Checks if write access to LDAP is allowed.
-
checkPassword
-
in file config.inc, method LAMCfgMain::checkPassword()
    Checks if the given password matches.
-
checkProfileOptions
-
in file modules.inc, function checkProfileOptions()
    Checks if the profile options are valid
-
checkSchemaForModule
-
in file schemaTest.php, function checkSchemaForModule()
    Checks if the object classes and attributes for this module are available.
-
checkSelfServiceOptions
-
in file baseModule.inc, method baseModule::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP attributes which should be changed.
-
checkSelfServiceOptions
-
in file sambaSamAccount.inc, method sambaSamAccount::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file selfService.inc, function checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file posixAccount.inc, method posixAccount::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file inetOrgPerson.inc, method inetOrgPerson::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceSettings
-
in file selfService.inc, function checkSelfServiceSettings()
    Checks if the self service settings are valid
-
checkSelfServiceSettings
-
in file baseModule.inc, method baseModule::checkSelfServiceSettings()
    Checks if the self service settings are valid.
-
check_configOptions
-
in file baseModule.inc, method baseModule::check_configOptions()
    Checks input values of module settings.
-
check_configOptions
-
in file posixAccount.inc, method posixAccount::check_configOptions()
    Checks input values of module settings.
-
check_module_conflicts
-
in file modules.inc, function check_module_conflicts()
    Checks if there are conflicts between modules
-
check_module_depends
-
in file modules.inc, function check_module_depends()
    Checks if there are missing dependencies between modules.
-
check_Passwd
-
in file config.inc, method LAMConfig::check_Passwd()
    Checks if the given password matches.
-
check_profileOptions
-
in file quota.inc, method quota::check_profileOptions()
    Checks input values of account profiles.
-
check_profileOptions
-
in file baseModule.inc, method baseModule::check_profileOptions()
    Checks input values of account profiles.
-
Close
-
in file fpdf.php, method FPDF::Close()
-
close
-
in file ldap.inc, method Ldap::close()
    Closes connection to server
-
cmp_array
-
in file ldap.inc, method Ldap::cmp_array()
    Helper function to sort the unit DNs
-
cmp_array
-
in file lists.inc, method lamList::cmp_array()
    Compare function used for usort-method
-
cmp_domain
-
in file account.inc, function cmp_domain()
    Helper function to sort the domains
-
code2utf
-
in file ufpdf.php, method UFPDF::code2utf()
-
config_showAccountModules
-
in file confmodules.php, function config_showAccountModules()
    Displays the module selection boxes and checks if dependencies are fulfilled.
-
connect
-
in file ldap.inc, method Ldap::connect()
    Connects to the server using the given username and password
-
continue_main
-
in file modules.inc, method accountContainer::continue_main()
    This function is called when the user clicks on any button on the account pages.
-
createModulePDF
-
in file pdf.inc, function createModulePDF()
    This function creates the PDF output of one or more accounts. At the moment this function can create a PDF page for user, group and host accounts. But this is not limited by the function itself but by the account types that are allowed in LAM and the exsisting PDF structure definitions.
-
cache.inc
-
procedural page cache.inc
-
config.inc
-
procedural page config.inc
-
createntlm.inc
-
procedural page createntlm.inc
-
conflogin.php
-
procedural page conflogin.php
-
confmain.php
-
procedural page confmain.php
-
confmodules.php
-
procedural page confmodules.php
-
conftypes.php
-
procedural page conftypes.php
-
collapse.php
-
procedural page collapse.php
-
create.php
-
procedural page create.php
-
create_form.php
-
procedural page create_form.php
-
creation_template.php
-
procedural page creation_template.php
-
custom.php
-
procedural page custom.php
-
conf-main-test.php
-
procedural page conf-main-test.php
-
conf-test.php
-
procedural page conf-test.php
-
-
- top
-
- -
-

d

-
-
$default
-
in file config.inc, variable LAMCfgMain::$default
    Default profile
-
$DefOrientation
-
in file fpdf.php, variable FPDF::$DefOrientation
-
$deliveryAddress
-
in file export.inc, variable PlaVcardExporter::$deliveryAddress
-
$descArray
-
in file lists.inc, variable lamList::$descArray
    list of attribute descriptions
-
$description
-
in file schema.inc, variable SchemaItem::$description
    The description of this schema item.
-
$description
-
in file tools.php, variable LAMTool::$description
    description text
-
$diffs
-
in file fpdf.php, variable FPDF::$diffs
-
$dn
-
in file modules.inc, variable accountContainer::$dn
    DN suffix of the account
-
$dn
-
in file account.inc, variable samba3domain::$dn
    DN
-
$dn_orig
-
in file modules.inc, variable accountContainer::$dn_orig
    DN suffix of account when it was loaded
-
$DrawColor
-
in file fpdf.php, variable FPDF::$DrawColor
-
decode_munged
-
in file sambaMungedDial.inc, method sambaMungedDial::decode_munged()
    Takes a base64-encoded MungedDial-String and returns an array of included parameters and values
-
decrypt
-
in file ldap.inc, method Ldap::decrypt()
    Decrypts a string
-
decrypt_login
-
in file ldap.inc, method Ldap::decrypt_login()
    Decrypts username and password
-
delAccountProfile
-
in file profiles.inc, function delAccountProfile()
    Deletes an account profile
-
deleteDN
-
in file delete.php, function deleteDN()
    Deletes a DN and all child entries.
-
deletePDFStructureDefinition
-
in file pdfstruct.inc, function deletePDFStructureDefinition()
    Deletes XML file with PDF structure definitions.
-
delete_attributes
-
in file posixAccount.inc, method posixAccount::delete_attributes()
    Additional LDAP operations on delete.
-
delete_attributes
-
in file posixGroup.inc, method posixGroup::delete_attributes()
    Checks if the group which should be deleted is still used as primary group.
-
delete_attributes
-
in file baseModule.inc, method baseModule::delete_attributes()
    This function returns an array with the same syntax as save_attributes().
-
destroy
-
in file ldap.inc, method Ldap::destroy()
    Closes connection to LDAP server and deletes encrypted username/password
-
displayExportInfo
-
in file export.inc, method PlaLdifExporter::displayExportInfo()
-
displayHelp
-
in file help.php, function displayHelp()
    Print help site for a specific help number.
-
display_html_attributes
-
in file nisMailAlias.inc, method nisMailAlias::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaAccount.inc, method sambaAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file baseModule.inc, method baseModule::display_html_attributes()
    This function creates meta HTML code to display the module page.
-
display_html_attributes
-
in file shadowAccount.inc, method shadowAccount::display_html_attributes()
    This function will create the meta HTML code to show a page with all attributes.
-
display_html_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaDomain.inc, method sambaDomain::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file quota.inc, method quota::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file account.inc, method account::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file posixGroup.inc, method posixGroup::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file posixAccount.inc, method posixAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file kolabUser.inc, method kolabUser::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file ldapPublicKey.inc, method ldapPublicKey::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file ieee802device.inc, method ieee802Device::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_delete
-
in file baseModule.inc, method baseModule::display_html_delete()
    This function creates meta HTML code which will be displayed when an account should be deleted.
-
display_html_delete
-
in file posixAccount.inc, method posixAccount::display_html_delete()
    Displays the delete homedir option for the delete page.
-
display_html_deleteUser
-
in file kolabUser.inc, method kolabUser::display_html_deleteUser()
    This function will create the meta HTML code to show a page to delete accounts.
-
display_html_expire
-
in file shadowAccount.inc, method shadowAccount::display_html_expire()
    This function will create the meta HTML code to show a page with the expiration date.
-
display_html_group
-
in file posixAccount.inc, method posixAccount::display_html_group()
    Displays the group selection.
-
display_html_logonHours
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_logonHours()
    This function will create the HTML page to edit logon hours.
-
display_html_password
-
in file posixGroup.inc, method posixGroup::display_html_password()
    Displays the password changing dialog.
-
display_html_password
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_password()
    Displays the password changing dialog.
-
display_html_password
-
in file posixAccount.inc, method posixAccount::display_html_password()
    Displays the password changing dialog.
-
display_html_photo
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_photo()
    Displays the photo upload page.
-
display_html_sambaUserWorkstations
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_sambaUserWorkstations()
    This function will create the HTML page to edit the allowed workstations.
-
display_html_terminalServer
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_terminalServer()
    This function will create the HTML page to edit the terminal server options.
-
display_html_time
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_time()
    This function will create the meta HTML code to show a page to change time values.
-
display_html_user
-
in file posixGroup.inc, method posixGroup::display_html_user()
    Displays selections to add or remove users from current group.
-
display_html_userWorkstations
-
in file sambaAccount.inc, method sambaAccount::display_html_userWorkstations()
    This function will create the HTML page to edit the allowed workstations.
-
display_LoginPage
-
in file login.php, function display_LoginPage()
    Displays the login window.
-
display_main
-
in file ou_edit.php, function display_main()
-
dn_exists
-
in file tree.inc, function dn_exists()
    Gets whether an entry exists based on its DN. If the entry exists, returns true. Otherwise returns false.
-
doHash
-
in file createntlm.inc, method smbHash::doHash()
-
doUploadPostActions
-
in file quota.inc, method quota::doUploadPostActions()
    This function executes one post upload action.
-
doUploadPostActions
-
in file baseModule.inc, method baseModule::doUploadPostActions()
    This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).
-
doUploadPostActions
-
in file modules.inc, function doUploadPostActions()
    This function executes one post upload action.
-
doUploadPostActions
-
in file posixAccount.inc, method posixAccount::doUploadPostActions()
    This function executes one post upload action.
-
draw_create_link
-
in file tree.php, function draw_create_link()
-
draw_formatted_dn
-
in file tree.inc, function draw_formatted_dn()
    Gets a DN string using the user-configured tree_display_format string to format it.
-
draw_jpeg_photos
-
in file tree.inc, function draw_jpeg_photos()
    Draw the jpegPhoto image(s) for an entry wrapped in HTML. Many options are available to specify how the images are to be displayed.
-
draw_server_tree
-
in file tree.inc, function draw_server_tree()
    Prints the HTML of the tree view.
-
draw_tree_html
-
in file tree.php, function draw_tree_html()
    Recursively descend on the given dn and draw the tree in html
-
delete.php
-
procedural page delete.php
-
deletelink.php
-
procedural page deletelink.php
-
delete.php
-
procedural page delete.php
-
delete_attr.php
-
procedural page delete_attr.php
-
delete_form.php
-
procedural page delete_form.php
-
download_binary_attr.php
-
procedural page download_binary_attr.php
-
-
- top
-
- -
-

e

-
-
$entries
-
in file lists.inc, variable lamList::$entries
    LDAP entries
-
$entry_array
-
in file export.inc, variable PlaLdapExporter::$entry_array
-
$entry_id
-
in file export.inc, variable PlaLdapExporter::$entry_id
-
$equality
-
in file schema.inc, variable AttributeType::$equality
    The equality rule used
-
$escapeCode
-
in file export.inc, variable PlaCSVExporter::$escapeCode
-
$exporter
-
in file export.inc, variable PlaExporter::$exporter
-
echoHTMLFoot
-
in file help.php, function echoHTMLFoot()
    Print HTML footer of the help page.
-
echoHTMLHead
-
in file help.php, function echoHTMLHead()
    Print HTML header of the help page.
-
encode_munged
-
in file sambaMungedDial.inc, method sambaMungedDial::encode_munged()
    Encode full MungedDial-String
-
encrypt
-
in file ldap.inc, method Ldap::encrypt()
    Encrypts a string
-
encrypt_login
-
in file ldap.inc, method Ldap::encrypt_login()
    Encrypts username and password
-
endian
-
in file sambaMungedDial.inc, method sambaMungedDial::endian()
    endian
-
Error
-
in file fpdf.php, method FPDF::Error()
-
export
-
in file export.inc, method PlaLdifExporter::export()
    Export entries to ldif format
-
export
-
in file export.inc, method PlaCSVExporter::export()
-
export
-
in file export.inc, method MyCustomExporter::export()
    When doing an exporter, the method export need to be overriden.
-
export
-
in file export.inc, method PlaExporter::export()
    Abstract method use to export data.
-
export
-
in file export.inc, method PlaDsmlExporter::export()
    Export the entries to DSML
-
export
-
in file export.inc, method PlaVcardExporter::export()
    When doing an exporter, the method export need to be overriden.
-
export.inc
-
procedural page export.inc
-
edit.php
-
procedural page edit.php
-
edit.php
-
procedural page edit.php
-
expand.php
-
procedural page expand.php
-
export.php
-
procedural page export.php
-
export_form.php
-
procedural page export_form.php
-
-
- top
-
- -
-

f

-
-
$fh
-
in file fpdf.php, variable FPDF::$fh
-
$fhPt
-
in file fpdf.php, variable FPDF::$fhPt
-
$FillColor
-
in file fpdf.php, variable FPDF::$FillColor
-
$filterText
-
in file lists.inc, variable lamList::$filterText
    filter string to include in URL
-
$FontFamily
-
in file fpdf.php, variable FPDF::$FontFamily
-
$FontFiles
-
in file fpdf.php, variable FPDF::$FontFiles
-
$fonts
-
in file fpdf.php, variable FPDF::$fonts
-
$FontSize
-
in file fpdf.php, variable FPDF::$FontSize
-
$FontSizePt
-
in file fpdf.php, variable FPDF::$FontSizePt
-
$FontStyle
-
in file fpdf.php, variable FPDF::$FontStyle
-
$fw
-
in file fpdf.php, variable FPDF::$fw
-
$fwPt
-
in file fpdf.php, variable FPDF::$fwPt
-
fillFromPostData
-
in file lists.inc, method lamBooleanListOption::fillFromPostData()
    Fills the config option from POST data.
-
fillFromPostData
-
in file lists.inc, method lamSelectListOption::fillFromPostData()
    Fills the config option from POST data.
-
fillFromPostData
-
in file lists.inc, method lamListOption::fillFromPostData()
    Fills the config option from POST data.
-
findgroups
-
in file cache.inc, method cache::findgroups()
    This function returns an array with all group names which were found in the LDAP directory.
-
fixLDAPAttributes
-
in file modules.inc, method accountContainer::fixLDAPAttributes()
    Fixes spelling errors in the attribute names.
-
Footer
-
in file fpdf.php, method FPDF::Footer()
-
footer
-
in file lamPDF.inc, method lamPDF::footer()
-
FPDF
-
in file fpdf.php, method FPDF::FPDF()
    *****************************************************************************
-
FPDF
-
in file fpdf.php, class FPDF
    Main FPDF class for creating PDF documents
-
FPDF_VERSION
-
in file fpdf.php, constant FPDF_VERSION
    *****************************************************************************
-
fpdf.php
-
procedural page fpdf.php
-
-
- top
-
- -
-

g

-
-
generateRandomPassword
-
in file account.inc, function generateRandomPassword()
    Generates a random password with 12 digits.
-
genTime
-
in file sambaMungedDial.inc, method sambaMungedDial::genTime()
    genTime
-
getAccessLevel
-
in file config.inc, method LAMConfig::getAccessLevel()
    Returns the access level for this profile.
-
getAccountContainer
-
in file baseModule.inc, method baseModule::getAccountContainer()
    Returns the accountContainer object.
-
getAccountModule
-
in file modules.inc, method accountContainer::getAccountModule()
    Returns the account module with the given class name
-
getAccountModules
-
in file modules.inc, method accountContainer::getAccountModules()
    Returns the included account modules.
-
getAccountProfiles
-
in file profiles.inc, function getAccountProfiles()
    Returns an array of string with all available profiles for the given account type
-
getAdditionalTools
-
in file user.inc, method lamUserList::getAdditionalTools()
    Returns a list of lamListTool objects to display next to the edit/delete buttons.
-
getAdditionalTools
-
in file lists.inc, method lamList::getAdditionalTools()
    Returns a list of lamListTool objects to display next to the edit/delete buttons.
-
getAlias
-
in file group.inc, method group::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file host.inc, method host::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file smbDomain.inc, method smbDomain::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file user.inc, method user::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file mailAlias.inc, method mailAlias::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file baseType.inc, method baseType::getAlias()
    Returns the alias name of this account type.
-
getAliases
-
in file schema.inc, method AttributeType::getAliases()
    Gets the names of attributes that are an alias for this attribute (if any).
-
getAttributes
-
in file baseModule.inc, method baseModule::getAttributes()
    Returns the LDAP attributes which are managed in this module.
-
getAvailableLogos
-
in file pdfstruct.inc, function getAvailableLogos()
    This function returns an array with all aviliable logo images.
-
getAvailableModules
-
in file modules.inc, function getAvailableModules()
    Returns an array with all available user module names
-
getAvailablePDFFields
-
in file modules.inc, function getAvailablePDFFields()
    Returns a list of available PDF entries.
-
getBrokenConn
-
in file sambaMungedDial.inc, method sambaMungedDial::getBrokenConn()
    gets Broken-Connection value: disconnect/reset
-
getButtonStatus
-
in file baseModule.inc, method baseModule::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file inetOrgPerson.inc, method inetOrgPerson::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file account.inc, method account::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file nisMailAlias.inc, method nisMailAlias::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file posixGroup.inc, method posixGroup::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getChildCount
-
in file delete.php, function getChildCount()
    Returns the number of child entries of a DN.
-
getChildObjectClasses
-
in file schema.inc, method ObjectClass::getChildObjectClasses()
    Returns the array of objectClass names which inherit from this objectClass.
-
getClearTextPassword
-
in file posixAccount.inc, method posixAccount::getClearTextPassword()
    Returns the clear text password.
-
getConfigOptions
-
in file modules.inc, function getConfigOptions()
    Returns a hash array (module name => elements) of all module options for the configuration page.
-
getConfigProfiles
-
in file config.inc, function getConfigProfiles()
    Returns an array of string with all available configuration profiles (without .conf)
-
getConnectClientDrives
-
in file sambaMungedDial.inc, method sambaMungedDial::getConnectClientDrives()
    gets connect-client-drive-at-logon value: enabled/disabled
-
getConnectClientPrinters
-
in file sambaMungedDial.inc, method sambaMungedDial::getConnectClientPrinters()
    gets connect-client-printers-at-logon value: enabled/disabled
-
getCtxMaxConnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxConnectionTimeF()
    SMARTY: gets the checkbox state of "Connection"
-
getCtxMaxDisconnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxDisconnectionTimeF()
    SMARTY: gets the checkbox state of "Disconnection"
-
getCtxMaxIdleTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxIdleTimeF()
    SMARTY: gets the checkbox state of "Idle"
-
getdays
-
in file account.inc, function getdays()
    This function will return the days from 1.1.1970 until now.
-
getDefaultListAttributes
-
in file user.inc, method user::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file group.inc, method group::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file host.inc, method host::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file smbDomain.inc, method smbDomain::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file types.inc, function getDefaultListAttributes()
    Returns the default attribute list for an account type.
-
getDefaultListAttributes
-
in file mailAlias.inc, method mailAlias::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file baseType.inc, method baseType::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultPrinter
-
in file sambaMungedDial.inc, method sambaMungedDial::getDefaultPrinter()
    gets set-client-printer-to-default value: enabled/disabled
-
getDescription
-
in file user.inc, method user::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file schema.inc, method SchemaItem::getDescription()
-
getDescription
-
in file host.inc, method host::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file smbDomain.inc, method smbDomain::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file group.inc, method group::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file mailAlias.inc, method mailAlias::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file baseType.inc, method baseType::getDescription()
    Returns the description of this account type.
-
getEquality
-
in file schema.inc, method AttributeType::getEquality()
    Gets this attribute's equality string
-
getgid
-
in file cache.inc, method cache::getgid()
    This function will return the GID number to an existing group name (using the cache).
-
getgrnam
-
in file cache.inc, method cache::getgrnam()
    This function returns the group name to an existing gidNumber.
-
getHelp
-
in file modules.inc, function getHelp()
    Returns a help entry from an account module.
-
getIcon
-
in file baseModule.inc, method baseModule::getIcon()
    Returns the path to the module icon.
-
getID
-
in file lists.inc, method lamListOption::getID()
    Returns the option ID.
-
getImage
-
in file lists.inc, method lamListTool::getImage()
    Returns the name of the tool image.
-
getInheritMode
-
in file sambaMungedDial.inc, method sambaMungedDial::getInheritMode()
    gets Inherit-config-from-client value: enabled/disabled
-
getIsCollective
-
in file schema.inc, method AttributeType::getIsCollective()
    Gets whether this attribute is collective.
-
getIsNoUserModification
-
in file schema.inc, method AttributeType::getIsNoUserModification()
    Gets whether this attribute is not modifiable by users.
-
getIsObsolete
-
in file schema.inc, method ObjectClass::getIsObsolete()
    Gets whether this objectClass is flagged as obsolete by the LDAP server.
-
getIsObsolete
-
in file schema.inc, method MatchingRule::getIsObsolete()
    Gets whether this MatchingRule is flagged as obsolete by the LDAP server.
-
getIsObsolete
-
in file schema.inc, method AttributeType::getIsObsolete()
    Gets whether this attribute has been flagged as obsolete by the LDAP server
-
getIsSingleValue
-
in file schema.inc, method AttributeType::getIsSingleValue()
    Gets whether this attribute is single-valued. If this attribute only supports single values, true is returned. If this attribute supports multiple values, false is returned.
-
getLDAPAliases
-
in file baseModule.inc, method baseModule::getLDAPAliases()
    Returns a list of aliases for LDAP attributes.
-
getLinkTarget
-
in file lists.inc, method lamListTool::getLinkTarget()
    Returns the PHP file (relative to 'templates/lists') which will be the target for this tool.
-
getListAttributeDescriptions
-
in file types.inc, function getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file user.inc, method user::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file host.inc, method host::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file mailAlias.inc, method mailAlias::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file baseType.inc, method baseType::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file group.inc, method group::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file smbDomain.inc, method smbDomain::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListClassName
-
in file baseType.inc, method baseType::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file types.inc, function getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file mailAlias.inc, method mailAlias::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file smbDomain.inc, method smbDomain::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file host.inc, method host::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file user.inc, method user::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file group.inc, method group::getListClassName()
    Returns the class name for the list object.
-
getManagedAttributes
-
in file baseModule.inc, method baseModule::getManagedAttributes()
    Returns a list of LDAP attributes which are managed by this module.
-
getManagedObjectClasses
-
in file baseModule.inc, method baseModule::getManagedObjectClasses()
    Returns a list of managed object classes for this module.
-
getMaxLength
-
in file schema.inc, method AttributeType::getMaxLength()
    Gets this attribute's the maximum length. If no maximum is defined by the LDAP server, null is returned.
-
getMayAttrNames
-
in file schema.inc, method ObjectClass::getMayAttrNames()
    Gets an array of attribute names (strings) that entries of this ObjectClass must define.
-
getMayAttrs
-
in file schema.inc, method ObjectClass::getMayAttrs()
    Gets an array of AttributeType objects that entries of this ObjectClass may define.
-
getMetaHTML
-
in file lists.inc, method lamSelectListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getMetaHTML
-
in file lists.inc, method lamListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getMetaHTML
-
in file lists.inc, method lamBooleanListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getModuleAlias
-
in file modules.inc, function getModuleAlias()
    Returns the alias name of a module
-
getModulesDependencies
-
in file modules.inc, function getModulesDependencies()
    Returns a hash array (module name => dependencies) of all module dependencies
-
getMunged
-
in file sambaMungedDial.inc, method sambaMungedDial::getMunged()
    Returns ready-to-run mungedDialString to be filled into ldap
-
getMustAttrNames
-
in file schema.inc, method ObjectClass::getMustAttrNames()
    Gets an array of attribute names (strings) that entries of this ObjectClass must define.
-
getMustAttrs
-
in file schema.inc, method ObjectClass::getMustAttrs()
    Gets an array of AttributeType objects that entries of this ObjectClass must define.
-
getName
-
in file lists.inc, method lamListTool::getName()
    Returns the tool name.
-
getName
-
in file schema.inc, method AttributeType::getName()
    Gets this attribute's name
-
getName
-
in file schema.inc, method ObjectClassAttribute::getName()
    Gets this attribute's name
-
getName
-
in file schema.inc, method ObjectClass::getName()
    Gets the name of this objectClass (ie, "inetOrgPerson")
-
getName
-
in file schema.inc, method MatchingRule::getName()
    Gets this MatchingRule's name.
-
getName
-
in file config.inc, method LAMConfig::getName()
    Returns the name of the config file
-
getName
-
in file schema.inc, method MatchingRuleUse::getName()
    Gets this MatchingRuleUse's name
-
getNextGIDs
-
in file posixGroup.inc, method posixGroup::getNextGIDs()
    Returns one or more free GID numbers.
-
getNextUIDs
-
in file posixAccount.inc, method posixAccount::getNextUIDs()
    Returns one or more free UID numbers.
-
getOID
-
in file schema.inc, method SchemaItem::getOID()
-
getOnDemandFlags
-
in file sambaMungedDial.inc, method sambaMungedDial::getOnDemandFlags()
    Returns array of flags, which can be set on-demand with activated java-script
-
getOrdering
-
in file schema.inc, method AttributeType::getOrdering()
    Gets this attribute's ordering specification.
-
getOriginalAttributes
-
in file baseModule.inc, method baseModule::getOriginalAttributes()
    Returns the LDAP attributes which are managed in this module (with unchanged values).
-
getParentDN
-
in file modules.inc, method accountContainer::getParentDN()
    Returns the parent DN of a given DN.
-
getPDFStructureDefinitions
-
in file pdfstruct.inc, function getPDFStructureDefinitions()
    This function will return all available PDF structure definitions for the submitted account scope.
-
getProfileOptions
-
in file modules.inc, function getProfileOptions()
    Returns the elements for the profile page.
-
getRDN
-
in file modules.inc, method accountContainer::getRDN()
    Returns the RDN part of a given DN.
-
getRDNAttributes
-
in file modules.inc, function getRDNAttributes()
    Returns a list of LDAP attributes which can be used to form the RDN.
-
getReConn
-
in file sambaMungedDial.inc, method sambaMungedDial::getReConn()
    gets Reconnection value: from any client/from previous client only
-
getRecursiveAttributesFromObjectClass
-
in file schemaTest.php, function getRecursiveAttributesFromObjectClass()
    Returns the names of all attributes which are managed by the given object class and its parents.
-
getRequiredByObjectClasses
-
in file schema.inc, method AttributeType::getRequiredByObjectClasses()
    Gets the list of "required by" objectClasses, that is the list of objectClasses which provide must have attribute.
-
getRequiredExtensions
-
in file modules.inc, function getRequiredExtensions()
    Returns true if the module is a base module
-
getRequiredExtensions
-
in file baseModule.inc, method baseModule::getRequiredExtensions()
    This function returns a list of PHP extensions (e.g. mhash) which are needed by this module.
-
getSectionHeadline
-
in file pdf.inc, function getSectionHeadline()
    Creates a section headline.
-
getSelfServiceFields
-
in file baseModule.inc, method baseModule::getSelfServiceFields()
    Returns a list of possible input fields and their descriptions.
-
getSelfServiceFieldSettings
-
in file selfService.inc, function getSelfServiceFieldSettings()
    Returns the field settings for the self service.
-
getSelfServiceOptions
-
in file inetOrgPerson.inc, method inetOrgPerson::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceOptions
-
in file posixAccount.inc, method posixAccount::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceOptions
-
in file baseModule.inc, method baseModule::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceOptions
-
in file selfService.inc, function getSelfServiceOptions()
    Returns meta HTML code for each self service field.
-
getSelfServiceProfiles
-
in file selfService.inc, function getSelfServiceProfiles()
    Returns a list of all available self service profiles (without .conf)
-
getSelfServiceSearchAttributes
-
in file selfService.inc, function getSelfServiceSearchAttributes()
    Returns a list of possible search attributes for the self service.
-
getSelfServiceSearchAttributes
-
in file baseModule.inc, method baseModule::getSelfServiceSearchAttributes()
    This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects.
-
getSelfServiceSettings
-
in file selfService.inc, function getSelfServiceSettings()
    Returns a hash array (module name => elements) of all module options for the configuration page.
-
getSelfServiceSettings
-
in file baseModule.inc, method baseModule::getSelfServiceSettings()
    Returns a list of self service configuration settings.
-
getShadow
-
in file sambaMungedDial.inc, method sambaMungedDial::getShadow()
    gets shadow value (enum): 0-4
-
getshells
-
in file account.inc, function getshells()
    Returns a list of shells listed in config/shells.
-
getSource
-
in file schema.inc, method ObjectClassAttribute::getSource()
    Gets the name of the ObjectClass which originally specified this attribute.
-
GetStringWidth
-
in file ufpdf.php, method UFPDF::GetStringWidth()
-
GetStringWidth
-
in file fpdf.php, method FPDF::GetStringWidth()
-
getSubstr
-
in file schema.inc, method AttributeType::getSubstr()
    Gets this attribute's substring matching specification
-
getSupAttribute
-
in file schema.inc, method AttributeType::getSupAttribute()
    Gets this attribute's parent attribute (if any). If this attribute does not inherit from another attribute, null is returned.
-
getSupClasses
-
in file schema.inc, method ObjectClass::getSupClasses()
    Gets the objectClass names from which this objectClass inherits.
-
getSyntaxOID
-
in file schema.inc, method AttributeType::getSyntaxOID()
    Gets this attribute's syntax OID. Differs from getSyntaxString() in that this function only returns the actual OID with any length specification removed.
-
getSyntaxString
-
in file schema.inc, method AttributeType::getSyntaxString()
    Gets this attribute's raw syntax string (ie: "1.2.3.4{16}").
-
getTsLogin
-
in file sambaMungedDial.inc, method sambaMungedDial::getTsLogin()
    Gets Terminal-Server-Login value: enabled/disabled
-
getType
-
in file schema.inc, method ObjectClass::getType()
    Gets the type of this objectClass: STRUCTURAL, ABSTRACT, or AUXILIARY.
-
getType
-
in file schema.inc, method AttributeType::getType()
    Gets this attribute's type
-
getTypeAlias
-
in file types.inc, function getTypeAlias()
    Returns the alias name of an account type.
-
getTypeDescription
-
in file types.inc, function getTypeDescription()
    Returns the description of an account type.
-
getTypes
-
in file types.inc, function getTypes()
    Returns a list of available account types.
-
getUploadColumns
-
in file modules.inc, function getUploadColumns()
    Returns an array containing all input columns for the file upload.
-
getUsage
-
in file schema.inc, method AttributeType::getUsage()
    Gets this attribute's usage string as defined by the LDAP server
-
getUsedByAttrs
-
in file schema.inc, method MatchingRule::getUsedByAttrs()
    Gets an array of attribute names (strings) which use this MatchingRule
-
getUsedByAttrs
-
in file schema.inc, method MatchingRuleUse::getUsedByAttrs()
    Gets an array of attribute names (strings) which use this MatchingRuleUse object.
-
getUsedInObjectClasses
-
in file schema.inc, method AttributeType::getUsedInObjectClasses()
    Gets the list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.
-
getValue
-
in file lists.inc, method lamListOption::getValue()
    Returns the option value. The value must not contain "=" and ";".
-
GetX
-
in file fpdf.php, method FPDF::GetX()
-
GetY
-
in file fpdf.php, method FPDF::GetY()
-
get_AccountModules
-
in file config.inc, method LAMConfig::get_AccountModules()
    Returns an array of all selected account modules
-
get_ActiveTypes
-
in file config.inc, method LAMConfig::get_ActiveTypes()
    Returns a list of active account types.
-
get_Admins
-
in file config.inc, method LAMConfig::get_Admins()
    Returns an array of string with all admin names
-
get_Adminstring
-
in file config.inc, method LAMConfig::get_Adminstring()
    Returns all admin users seperated by semicolons
-
get_alias
-
in file baseModule.inc, method baseModule::get_alias()
    Returns an alias name for the module.
-
get_attr_select_html
-
in file custom.php, function get_attr_select_html()
    Returns option values.
-
get_binary_attr_select_html
-
in file custom.php, function get_binary_attr_select_html()
    Returns option values.
-
get_cache
-
in file cache.inc, method cache::get_cache()
    Queries the cache for a list of LDAP entries and their attributes.
-
get_cached_schema
-
in file schema.inc, function get_cached_schema()
    Returns the cached array of schemaitem objects for the specified
-
get_cacheTimeout
-
in file config.inc, method LAMConfig::get_cacheTimeout()
    Returns the LDAP cache timeout in minutes
-
get_cacheTimeoutSec
-
in file config.inc, method LAMConfig::get_cacheTimeoutSec()
    Returns the LDAP cache timeout in seconds
-
get_configOptions
-
in file posixGroup.inc, method posixGroup::get_configOptions()
    Returns a list of elements for the configuration.
-
get_configOptions
-
in file baseModule.inc, method baseModule::get_configOptions()
    Returns a list of configuration options.
-
get_container
-
in file tree.inc, function get_container()
    Given a DN string, this returns the parent container portion of the string.
-
get_container_contents
-
in file tree.inc, function get_container_contents()
    Gets a list of child entries for an entry. Given a DN, this function fetches the list of DNs of child entries one level beneath the parent. For example, for the following tree:
-
get_defaultLanguage
-
in file config.inc, method LAMConfig::get_defaultLanguage()
    Returns the default language string
-
get_dependencies
-
in file baseModule.inc, method baseModule::get_dependencies()
    This function returns a list with all depending and conflicting modules.
-
get_enc_type
-
in file tree.inc, function get_enc_type()
-
get_entry_system_attrs
-
in file tree.inc, function get_entry_system_attrs()
    Gets the operational attributes for an entry. Given a DN, this function fetches that entry's
-
get_help
-
in file baseModule.inc, method baseModule::get_help()
    This function returns the help entry array for a specific help id.
-
get_icon
-
in file tree.inc, function get_icon()
    Given a DN and server ID, this function reads the DN's objectClasses and
-
get_ldap_filter
-
in file modules.inc, function get_ldap_filter()
    Returns the LDAP filter used by the account lists
-
get_ldap_filter
-
in file baseModule.inc, method baseModule::get_ldap_filter()
    Returns an LDAP filter for the account lists
-
get_line_end_format
-
in file export_form.php, function get_line_end_format()
    Helper functoin for fetching the line end format.
-
get_listAttributes
-
in file config.inc, method LAMConfig::get_listAttributes()
    Returns the list of attributes to show in user list
-
get_metaData
-
in file kolabUser.inc, method kolabUser::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file ldapPublicKey.inc, method ldapPublicKey::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file inetOrgPerson.inc, method inetOrgPerson::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file ieee802device.inc, method ieee802Device::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file account.inc, method account::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file baseModule.inc, method baseModule::get_metaData()
    This function provides meta data which is interpreted by baseModule.
-
get_metaData
-
in file posixGroup.inc, method posixGroup::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file quota.inc, method quota::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaAccount.inc, method sambaAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file shadowAccount.inc, method shadowAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file posixAccount.inc, method posixAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaSamAccount.inc, method sambaSamAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file nisMailAlias.inc, method nisMailAlias::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaDomain.inc, method sambaDomain::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_moduleSettings
-
in file config.inc, method LAMConfig::get_moduleSettings()
    Returns a list of saved module settings
-
get_object_attr
-
in file tree.inc, function get_object_attr()
    Much like get_object_attrs(), but only returns the values for one attribute of an object. Example calls:
-
get_object_attrs
-
in file tree.inc, function get_object_attrs()
    Gets the attributes/values of an entry. Returns an associative array whose
-
get_pdfEntries
-
in file shadowAccount.inc, method shadowAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file modules.inc, method accountContainer::get_pdfEntries()
    Returns a list of possible PDF entries for this account.
-
get_pdfEntries
-
in file account.inc, method account::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file posixAccount.inc, method posixAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file posixGroup.inc, method posixGroup::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file quota.inc, method quota::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file ldapPublicKey.inc, method ldapPublicKey::get_pdfEntries()
    Returns a list of PDF entries
-
get_pdfEntries
-
in file kolabUser.inc, method kolabUser::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file ieee802device.inc, method ieee802Device::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file inetOrgPerson.inc, method inetOrgPerson::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaAccount.inc, method sambaAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file nisMailAlias.inc, method nisMailAlias::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaDomain.inc, method sambaDomain::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaSamAccount.inc, method sambaSamAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfFields
-
in file baseModule.inc, method baseModule::get_pdfFields()
    Returns a hashtable with all entries that may be printed out in the PDF.
-
get_preg
-
in file account.inc, function get_preg()
    Checks if a given value matches the selected regular expression.
-
get_profileOptions
-
in file quota.inc, method quota::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file baseModule.inc, method baseModule::get_profileOptions()
    This function defines what attributes will be used in the account profiles and their appearance in the profile editor.
-
get_profileOptions
-
in file posixAccount.inc, method posixAccount::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file sambaSamAccount.inc, method sambaSamAccount::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_rdn
-
in file tree.inc, function get_rdn()
    Given a DN string, this returns the 'RDN' portion of the string.
-
get_RDNAttributes
-
in file baseModule.inc, method baseModule::get_RDNAttributes()
    Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name).
-
get_schema_attribute
-
in file schema.inc, function get_schema_attribute()
    Gets a single AttributeType object specified by name.
-
get_schema_attributes
-
in file schema.inc, function get_schema_attributes()
    Gets an associative array of AttributeType objects for the specified server. Each array entry's key is the name of the attributeType in lower-case and the value is an AttributeType object.
-
get_schema_matching_rules
-
in file schema.inc, function get_schema_matching_rules()
    Returns an array of MatchingRule objects for the specified server.
-
get_schema_objectclass
-
in file schema.inc, function get_schema_objectclass()
    Gets a single ObjectClass object specified by name.
-
get_schema_objectclasses
-
in file schema.inc, function get_schema_objectclasses()
    Gets an associative array of ObjectClass objects for the specified server. Each array entry's key is the name of the objectClass in lower-case and the value is an ObjectClass object.
-
get_schema_syntaxes
-
in file schema.inc, function get_schema_syntaxes()
    Returns an array of Syntax objects that this LDAP server uses mapped to their descriptions. The key of each entry is the OID of the Syntax.
-
get_scope
-
in file baseModule.inc, method baseModule::get_scope()
    Returns the account type of this module (user, group, host)
-
get_scriptPath
-
in file config.inc, method LAMConfig::get_scriptPath()
    Returns the path to the external script
-
get_scriptRights
-
in file config.inc, method LAMConfig::get_scriptRights()
    Returns the chmod value for new home directories.
-
get_scriptServers
-
in file config.inc, method LAMConfig::get_scriptServers()
    Returns the servers of the external script as a Array
-
get_ServerURL
-
in file config.inc, method LAMConfig::get_ServerURL()
    Returns the server address as string
-
get_Suffix
-
in file config.inc, method LAMConfig::get_Suffix()
    Returns the LDAP suffix for the given account type
-
get_type
-
in file modules.inc, method accountContainer::get_type()
    Returns the accout type of this object (e.g. user, group, host).
-
get_typeSettings
-
in file config.inc, method LAMConfig::get_typeSettings()
    Returns a list of saved type settings
-
get_uploadColumns
-
in file baseModule.inc, method baseModule::get_uploadColumns()
    Returns an array containing all input columns for the file upload.
-
get_uploadColumns
-
in file quota.inc, method quota::get_uploadColumns()
    Returns an array containing all input columns for the file upload.
-
get_uploadPreDepends
-
in file baseModule.inc, method baseModule::get_uploadPreDepends()
    Returns a list of module names which must be processed in building the account befor this module.
-
get_user_agent_string
-
in file export.inc, function get_user_agent_string()
    Gets the USER_AGENT string from the $_SERVER array, all in lower case in an E_NOTICE safe manner.
-
group
-
in file group.inc, class group
    The account type for group accounts (e.g. Unix and Samba).
-
groupRefreshPrimary
-
in file group.inc, method lamGroupList::groupRefreshPrimary()
    Refreshes the primary group members list.
-
group.inc
-
procedural page group.inc
-
-
- top
-
- -
-

h

-
-
$h
-
in file fpdf.php, variable FPDF::$h
-
$hasNext
-
in file export.inc, variable PlaLdapExporter::$hasNext
-
$hPt
-
in file fpdf.php, variable FPDF::$hPt
-
header
-
in file lamPDF.inc, method lamPDF::header()
-
Header
-
in file fpdf.php, method FPDF::Header()
-
help.inc
-
procedural page help.inc
-
hex2bin
-
in file ldap.inc, function hex2bin()
    Converts a HEX string to a binary value
-
hexstr
-
in file sambaMungedDial.inc, method sambaMungedDial::hexstr()
    hexstr
-
host
-
in file host.inc, class host
    The account type for host accounts (e.g. Samba).
-
host.inc
-
procedural page host.inc
-
help.php
-
procedural page help.php
-
-
- top
-
- -
-

i

-
-
$images
-
in file fpdf.php, variable FPDF::$images
-
$indent_step
-
in file export.inc, variable PlaDsmlExporter::$indent_step
-
$InFooter
-
in file fpdf.php, variable FPDF::$InFooter
-
$inputFields
-
in file selfService.inc, variable selfServiceProfile::$inputFields
    input fields
-
$isNewAccount
-
in file modules.inc, variable accountContainer::$isNewAccount
    True if this is a newly created account
-
$is_collective
-
in file schema.inc, variable AttributeType::$is_collective
    boolean: is collective?
-
$is_no_user_modification
-
in file schema.inc, variable AttributeType::$is_no_user_modification
    boolean: can use modify?
-
$is_obsolete
-
in file schema.inc, variable AttributeType::$is_obsolete
    string: the description
-
$is_obsolete
-
in file schema.inc, variable ObjectClass::$is_obsolete
    boolean value indicating whether this objectClass is obsolete
-
$is_obsolete
-
in file schema.inc, variable MatchingRule::$is_obsolete
    Boolean value indicating whether this MatchingRule is obsolete
-
$is_single_value
-
in file schema.inc, variable AttributeType::$is_single_value
    boolean: is single valued only?
-
ieee802Device
-
in file ieee802device.inc, class ieee802Device
    Provides MAC addresses for hosts.
-
Image
-
in file fpdf.php, method FPDF::Image()
-
inetLocalMailRecipient
-
in file inetLocalMailRecipient.inc, class inetLocalMailRecipient
    Provides mail routing for users.
-
inetOrgPerson
-
in file inetOrgPerson.inc, class inetOrgPerson
    This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).
-
init
-
in file sambaGroupMapping.inc, method sambaGroupMapping::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file posixGroup.inc, method posixGroup::init()
    This functin will be called when the module will be loaded *
-
init
-
in file posixAccount.inc, method posixAccount::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file baseModule.inc, method baseModule::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file sambaAccount.inc, method sambaAccount::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file sambaSamAccount.inc, method sambaSamAccount::init()
    Initializes the module after it became part of an accountContainer
-
initialize_session_tree
-
in file tree.inc, function initialize_session_tree()
    Checks and fixes an initial session's tree cache if needed.
-
initQuotas
-
in file quota.inc, method quota::initQuotas()
    Initializes the quota values.
-
initVars
-
in file schema.inc, method Syntax::initVars()
    Initializes the class' member variables
-
initVars
-
in file schema.inc, method MatchingRuleUse::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method MatchingRule::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method AttributeType::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method SchemaItem::initVars()
    Initialize class members to default values.
-
initVars
-
in file schema.inc, method ObjectClass::initVars()
    Initialize the class' member variables
-
in_array_ignore_case
-
in file account.inc, function in_array_ignore_case()
    Checks if a string exists in an array, ignoring case.
-
in_cache
-
in file cache.inc, method cache::in_cache()
    This function returns the DN if an LDAP entry with $attribute=$value is found.
-
isAliasFor
-
in file schema.inc, method AttributeType::isAliasFor()
    Returns whether the specified attribute is an alias for this one (based on this attribute's alias list).
-
isLAMProVersion
-
in file selfService.inc, function isLAMProVersion()
    Returns if this is a LAM Pro installation.
-
isSelected
-
in file lists.inc, method lamBooleanListOption::isSelected()
    Returns if this option is selected.
-
isWritable
-
in file config.inc, method LAMConfig::isWritable()
    Returns if the file can be written on the filesystem.
-
is_attr_binary
-
in file tree.inc, function is_attr_binary()
    Given an attribute name and server ID number, this function returns whether the attrbiute may contain binary data. This is useful for developers who wish to display the contents of an arbitrary attribute but don't want to dump binary data on the page.
-
is_attr_boolean
-
in file tree.inc, function is_attr_boolean()
    Given an attribute name and server ID number, this function returns whether the attrbiute contains boolean data. This is useful for developers who wish to display the contents of a boolean attribute with a drop-down.
-
is_base_module
-
in file baseModule.inc, method baseModule::is_base_module()
    Returns true if your module is a base module and otherwise false.
-
is_base_module
-
in file modules.inc, function is_base_module()
    Returns true if the module is a base module
-
is_binary_option_required
-
in file add_attr.php, function is_binary_option_required()
-
is_browser_os_mac
-
in file export.inc, function is_browser_os_mac()
    Determines whether the browser's operating system is Macintosh.
-
is_browser_os_unix
-
in file export.inc, function is_browser_os_unix()
    Determines whether the browser's operating system is UNIX (or something like UNIX).
-
is_browser_os_windows
-
in file export.inc, function is_browser_os_windows()
    Determines whether the browser's operating system is Windows.
-
is_dn_attr
-
in file tree.inc, function is_dn_attr()
    Returns true if the attribute specified is required to take as input a DN.
-
is_jpeg_photo
-
in file tree.inc, function is_jpeg_photo()
    Used to determine if the specified attribute is indeed a jpegPhoto. If the specified attribute is one that houses jpeg data, true is returned. Otherwise this function returns false.
-
is_mail_string
-
in file tree.inc, function is_mail_string()
    Get whether a string looks like an email address (user@example.com).
-
is_multi_line_attr
-
in file tree.inc, function is_multi_line_attr()
    Determines if an attribute's value can contain multiple lines. Attributes that fall in this multi-line category may be configured in config.php. Hence, this function accesses the global variable $multi_line_attributes;
-
is_safe_ascii
-
in file export.inc, method PlaExporter::is_safe_ascii()
    Helper method to check if the attribute value should be base 64 encoded.
-
is_samba_path
-
in file sambaMungedDial.inc, method sambaMungedDial::is_samba_path()
    Checks if this is a valid Samba path.
-
is_url_string
-
in file tree.inc, function is_url_string()
    Get whether a string looks like a web URL (http://www.example.com/)
-
ieee802device.inc
-
procedural page ieee802device.inc
-
inetLocalMailRecipient.inc
-
procedural page inetLocalMailRecipient.inc
-
inetOrgPerson.inc
-
procedural page inetOrgPerson.inc
-
index.php
-
procedural page index.php
-
initsuff.php
-
procedural page initsuff.php
-
index.php
-
procedural page index.php
-
-
- top
-
- -
-

k

-
-
$k
-
in file fpdf.php, variable FPDF::$k
-
$keywords
-
in file fpdf.php, variable FPDF::$keywords
-
kolabUser
-
in file kolabUser.inc, class kolabUser
    Manages Kolab user accounts.
-
kolabUser.inc
-
procedural page kolabUser.inc
-
-
- top
-
- -
-

l

-
-
$labels
-
in file lists.inc, variable lamList::$labels
    list of account specific labels
-
$lasth
-
in file fpdf.php, variable FPDF::$lasth
-
$LayoutMode
-
in file fpdf.php, variable FPDF::$LayoutMode
-
$LDAPPassword
-
in file selfService.inc, variable selfServiceProfile::$LDAPPassword
    LDAP password
-
$LDAPSuffix
-
in file selfService.inc, variable selfServiceProfile::$LDAPSuffix
    LDAP suffix
-
$LDAPUser
-
in file selfService.inc, variable selfServiceProfile::$LDAPUser
    LDAP user DN
-
$ldap_info
-
in file export.inc, variable PlaLdapExporter::$ldap_info
-
$LineWidth
-
in file fpdf.php, variable FPDF::$LineWidth
-
$link
-
in file tools.php, variable LAMTool::$link
    link to tool page (relative to templates/)
-
$links
-
in file fpdf.php, variable FPDF::$links
-
$lMargin
-
in file fpdf.php, variable FPDF::$lMargin
-
$logDestination
-
in file config.inc, variable LAMCfgMain::$logDestination
    log destination ("SYSLOG":syslog, "/...":file, "NONE":none)
-
$loginAttributeText
-
in file selfService.inc, variable selfServiceProfile::$loginAttributeText
    describing text for search attribute
-
$loginCaption
-
in file selfService.inc, variable selfServiceProfile::$loginCaption
    describing text for user login
-
$logLevel
-
in file config.inc, variable LAMCfgMain::$logLevel
    log level
-
lamBooleanListOption
-
in file lists.inc, class lamBooleanListOption
    Boolean option for list configuration.
-
LAMCfgMain
-
in file config.inc, class LAMCfgMain
    This class manages config.cfg.
-
LAMConfig
-
in file config.inc, class LAMConfig
    This class manages .conf files.
-
lamdaemon
-
in file lamdaemon.inc, function lamdaemon()
    Sends commands to lamdaemon script.
-
lamdaemonSSH
-
in file lamdaemon.inc, function lamdaemonSSH()
    Sends commands to lamdaemon script via PHP SSH functions.
-
lamGroupList
-
in file group.inc, class lamGroupList
    Generates the list view.
-
lamHostList
-
in file host.inc, class lamHostList
    Generates the list view.
-
lamList
-
in file lists.inc, class lamList
    Generates the list view.
-
lamListOption
-
in file lists.inc, class lamListOption
    Represents a list configuration option.
-
lamListTool
-
in file lists.inc, class lamListTool
    Represents a tool which can be included in the account lists.
-
lamMailAliasList
-
in file mailAlias.inc, class lamMailAliasList
    Generates the list view.
-
lamPDF
-
in file lamPDF.inc, class lamPDF
    Creates a LAM information page in PDF format.
-
LAMPDF_LINEWIDTH
-
in file pdf.inc, constant LAMPDF_LINEWIDTH
    PDF line width
-
lamRunLamdaemonTestSuite
-
in file lamdaemonTest.php, function lamRunLamdaemonTestSuite()
    Runs all tests for a given server.
-
lamSelectListOption
-
in file lists.inc, class lamSelectListOption
    Boolean option for list configuration.
-
lamSmbDomainList
-
in file smbDomain.inc, class lamSmbDomainList
    Generates the list view.
-
lamTestLamdaemon
-
in file lamdaemonTest.php, function lamTestLamdaemon()
    Runs a test case of lamdaemon.
-
LAMTool
-
in file tools.php, class LAMTool
    Represents a tool.
-
lamUserList
-
in file user.inc, class lamUserList
    Generates the list view.
-
LAMVersion
-
in file config.inc, function LAMVersion()
    Returns the version number of this LAM installation.
-
Ldap
-
in file ldap.inc, class Ldap
    Ldap manages connection to LDAP and includes several helper functions.
-
LdapEscape
-
in file export.inc, method PlaCSVExporter::LdapEscape()
-
LdapExportInfo
-
in file export.inc, method LdapExportInfo::LdapExportInfo()
    Create a new LdapExportInfo object
-
LdapExportInfo
-
in file export.inc, class LdapExportInfo
    This class encapsulate informations about the ldap server from which the export is done.
-
ldapPublicKey
-
in file ldapPublicKey.inc, class ldapPublicKey
    Manages SSH public keys.
-
lamdaemon.inc
-
procedural page lamdaemon.inc
-
lamPDF.inc
-
procedural page lamPDF.inc
-
ldap.inc
-
procedural page ldap.inc
-
lists.inc
-
procedural page lists.inc
-
ldapPublicKey.inc
-
procedural page ldapPublicKey.inc
-
Line
-
in file fpdf.php, method FPDF::Line()
-
Link
-
in file fpdf.php, method FPDF::Link()
-
listBuildFilter
-
in file lists.inc, method lamList::listBuildFilter()
    Builds the regular expressions from the filter values.
-
listConfigurationChanged
-
in file lists.inc, method lamList::listConfigurationChanged()
    Called when the configuration options changed.
-
listConfigurationChanged
-
in file user.inc, method lamUserList::listConfigurationChanged()
    Called when the configuration options changed.
-
listConfigurationChanged
-
in file group.inc, method lamGroupList::listConfigurationChanged()
    Called when the configuration options changed.
-
listDoPost
-
in file lists.inc, method lamList::listDoPost()
    Manages all POST actions (e.g. button pressed) for the account lists.
-
listDrawNavigationBar
-
in file lists.inc, method lamList::listDrawNavigationBar()
    Draws a navigation bar to switch between pages
-
listFilterAccounts
-
in file lists.inc, method lamList::listFilterAccounts()
    Removes all entries which do not fit to the filter.
-
listGetAllConfigOptions
-
in file lists.inc, method lamList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetAllConfigOptions
-
in file group.inc, method lamGroupList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetAllConfigOptions
-
in file user.inc, method lamUserList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetConfigOptionByID
-
in file lists.inc, method lamList::listGetConfigOptionByID()
    Returns the configuration option with the given ID.
-
listGetParams
-
in file lists.inc, method lamList::listGetParams()
    Sets some internal parameters.
-
listGetParams
-
in file group.inc, method lamGroupList::listGetParams()
    Sets some internal parameters.
-
listGetParams
-
in file user.inc, method lamUserList::listGetParams()
    Sets some internal parameters.
-
listPrintButtons
-
in file lists.inc, method lamList::listPrintButtons()
    Prints the create and delete buttons.
-
listPrintConfigurationPage
-
in file lists.inc, method lamList::listPrintConfigurationPage()
    Prints the list configuration page.
-
listPrintFooter
-
in file lists.inc, method lamList::listPrintFooter()
    Prints the HTML footer.
-
listPrintHeader
-
in file lists.inc, method lamList::listPrintHeader()
    Prints the HTML header.
-
listPrintTableBody
-
in file lists.inc, method lamList::listPrintTableBody()
    Prints the entry list
-
listPrintTableCellContent
-
in file group.inc, method lamGroupList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableCellContent
-
in file lists.inc, method lamList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableCellContent
-
in file user.inc, method lamUserList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableHeader
-
in file lists.inc, method lamList::listPrintTableHeader()
    Prints the attribute and filter row at the account table head
-
listRefreshData
-
in file lists.inc, method lamList::listRefreshData()
    Rereads the entries from LDAP.
-
listRefreshData
-
in file user.inc, method lamUserList::listRefreshData()
    Rereads the entries from LDAP.
-
listRefreshData
-
in file group.inc, method lamGroupList::listRefreshData()
    Rereads the entries from LDAP.
-
listShowOUSelection
-
in file lists.inc, method lamList::listShowOUSelection()
    Prints a combobox with possible sub-DNs.
-
listSort
-
in file lists.inc, method lamList::listSort()
    Sorts an account list by a given attribute
-
LIST_SIZE_OPTION_NAME
-
in file lists.inc, class constant lamList::LIST_SIZE_OPTION_NAME
    ID for list size config option
-
lmhash
-
in file createntlm.inc, method smbHash::lmhash()
    Calculates the LM hash of a given password.
-
lmPassword
-
in file account.inc, function lmPassword()
    Generates the LM hash of a password.
-
Ln
-
in file fpdf.php, method FPDF::Ln()
-
load
-
in file sambaMungedDial.inc, method sambaMungedDial::load()
    function takes a base64-encoded sambaMungedDial
-
loadAccountProfile
-
in file profiles.inc, function loadAccountProfile()
    Loads an profile of the given account type
-
loadPDFStructureDefinitions
-
in file pdfstruct.inc, function loadPDFStructureDefinitions()
    This function is used to get pdf structure from xml file.
-
loadSelfServiceProfile
-
in file selfService.inc, function loadSelfServiceProfile()
    Loads all settings of a self service profile.
-
load_account
-
in file modules.inc, method accountContainer::load_account()
    Loads an LDAP account with the given DN.
-
load_attributes
-
in file sambaAccount.inc, method sambaAccount::load_attributes()
    This function loads the LDAP attributes for this module.
-
load_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::load_attributes()
    This function loads the LDAP attributes for this module.
-
load_attributes
-
in file posixAccount.inc, method posixAccount::load_attributes()
    This function loads all needed LDAP attributes.
-
load_attributes
-
in file baseModule.inc, method baseModule::load_attributes()
    This function loads the LDAP attributes when an account should be loaded.
-
load_Messages
-
in file sambaSamAccount.inc, method sambaSamAccount::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file ieee802device.inc, method ieee802Device::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file posixAccount.inc, method posixAccount::load_Messages()
    This function fills the error message array with messages.
-
load_Messages
-
in file posixGroup.inc, method posixGroup::load_Messages()
    This function fills the $messages variable with output messages from this module.
-
load_Messages
-
in file shadowAccount.inc, method shadowAccount::load_Messages()
    This function builds up the message array.
-
load_Messages
-
in file inetOrgPerson.inc, method inetOrgPerson::load_Messages()
    This function fills the message array.
-
load_Messages
-
in file nisMailAlias.inc, method nisMailAlias::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file account.inc, method account::load_Messages()
    This function fills the message array.
-
load_Messages
-
in file quota.inc, method quota::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file sambaGroupMapping.inc, method sambaGroupMapping::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file sambaDomain.inc, method sambaDomain::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file baseModule.inc, method baseModule::load_Messages()
    This function fills the $messages variable with output messages from this module.
-
load_Messages
-
in file sambaAccount.inc, method sambaAccount::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file kolabUser.inc, method kolabUser::load_Messages()
    This function fills the error message array with messages
-
load_profile
-
in file shadowAccount.inc, method shadowAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file baseModule.inc, method baseModule::load_profile()
    This function loads the values from an account profile to the module's internal data structures.
-
load_profile
-
in file quota.inc, method quota::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file posixAccount.inc, method posixAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file sambaGroupMapping.inc, method sambaGroupMapping::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file sambaAccount.inc, method sambaAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file sambaSamAccount.inc, method sambaSamAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
logNewMessage
-
in file security.inc, function logNewMessage()
    Puts a new message in the log file.
-
logoffAndBackToLoginPage
-
in file security.inc, function logoffAndBackToLoginPage()
    Logs off the user and displays the login page.
-
list.php
-
procedural page list.php
-
login.php
-
procedural page login.php
-
logout.php
-
procedural page logout.php
-
lamdaemonTest.php
-
procedural page lamdaemonTest.php
-
-
- top
-
- -
-

m

-
-
$mainPageText
-
in file selfService.inc, variable selfServiceProfile::$mainPageText
    describing text for self service main page
-
$maxPageEntries
-
in file lists.inc, variable lamList::$maxPageEntries
    maximum count of entries per page
-
$MAX_LDIF_LINE_LENGTH
-
in file export.inc, variable PlaLdifExporter::$MAX_LDIF_LINE_LENGTH
-
$max_length
-
in file schema.inc, variable AttributeType::$max_length
    The max number of characters this attribute can be
-
$may_attrs
-
in file schema.inc, variable ObjectClass::$may_attrs
    arrays of attribute names that this objectClass allows, but does not require
-
$messages
-
in file baseModule.inc, variable baseModule::$messages
    contains all error messages of a module
-
$meta
-
in file baseModule.inc, variable baseModule::$meta
    includes all meta data provided by the sub class
-
$moduleSettings
-
in file selfService.inc, variable selfServiceProfile::$moduleSettings
    configuration settings of modules
-
$moduleSettings
-
in file baseModule.inc, variable baseModule::$moduleSettings
    configuration settings of all modules
-
$multivalue_separator
-
in file export.inc, variable PlaCSVExporter::$multivalue_separator
-
$must_attrs
-
in file schema.inc, variable ObjectClass::$must_attrs
    arrays of attribute names that this objectClass requires
-
modules.inc
-
procedural page modules.inc
-
mailAlias.inc
-
procedural page mailAlias.inc
-
mailAlias
-
in file mailAlias.inc, class mailAlias
    The account type for mail aliases.
-
MatchingRule
-
in file schema.inc, method MatchingRule::MatchingRule()
    Creates a new MatchingRule object from a raw LDAP MatchingRule string.
-
MatchingRule
-
in file schema.inc, class MatchingRule
    Represents an LDAP MatchingRule
-
MatchingRuleUse
-
in file schema.inc, class MatchingRuleUse
    Represents an LDAP schema matchingRuleUse entry
-
MatchingRuleUse
-
in file schema.inc, method MatchingRuleUse::MatchingRuleUse()
-
metaRefresh
-
in file config.inc, function metaRefresh()
    Prints a meta refresh page
-
module_complete
-
in file posixAccount.inc, method posixAccount::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file kolabUser.inc, method kolabUser::module_complete()
    This function returns true if all needed settings are done.
-
module_complete
-
in file sambaAccount.inc, method sambaAccount::module_complete()
    This functions returns true if all needed settings are done
-
module_complete
-
in file baseModule.inc, method baseModule::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file posixGroup.inc, method posixGroup::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file account.inc, method account::module_complete()
    This functions returns true if all needed settings are done.
-
module_complete
-
in file inetOrgPerson.inc, method inetOrgPerson::module_complete()
    This functions return true if all needed settings are done.
-
module_ready
-
in file sambaGroupMapping.inc, method sambaGroupMapping::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file sambaSamAccount.inc, method sambaSamAccount::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file baseModule.inc, method baseModule::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file sambaAccount.inc, method sambaAccount::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file quota.inc, method quota::module_ready()
    This function is used to check if this module page can be displayed.
-
MultiCell
-
in file fpdf.php, method FPDF::MultiCell()
-
MultiCell
-
in file ufpdf.php, method UFPDF::MultiCell()
-
multi_lines_display
-
in file export.inc, method PlaLdifExporter::multi_lines_display()
    Helper method to wrap ldif lines
-
munge
-
in file sambaMungedDial.inc, method sambaMungedDial::munge()
    Setup parameter given by paramName to MungedDial-Format
-
MyCustomExporter
-
in file export.inc, class MyCustomExporter
-
MyCutsomExporter
-
in file export.inc, method MyCustomExporter::MyCutsomExporter()
-
mainlogin.php
-
procedural page mainlogin.php
-
mainmanage.php
-
procedural page mainmanage.php
-
main.php
-
procedural page main.php
-
main_header.php
-
procedural page main_header.php
-
massBuildAccounts.php
-
procedural page massBuildAccounts.php
-
masscreate.php
-
procedural page masscreate.php
-
massDoUpload.php
-
procedural page massDoUpload.php
-
-
- top
-
- -
-

n

-
-
$n
-
in file fpdf.php, variable FPDF::$n
-
$name
-
in file schema.inc, variable ObjectClass::$name
    This objectClass' name, ie "inetOrgPerson"
-
$name
-
in file schema.inc, variable MatchingRuleUse::$name
    The name of the MathingRule this applies to
-
$name
-
in file schema.inc, variable MatchingRule::$name
    This rule's name
-
$name
-
in file schema.inc, variable AttributeType::$name
    The name of this attributeType
-
$name
-
in file schema.inc, variable ObjectClassAttribute::$name
    This Attribute's name
-
$name
-
in file tools.php, variable LAMTool::$name
    name of the tool
-
$name
-
in file account.inc, variable samba3domain::$name
    Domain name
-
$nextGroupRID
-
in file account.inc, variable samba3domain::$nextGroupRID
    Next group RID
-
$nextRID
-
in file account.inc, variable samba3domain::$nextRID
    Next RID
-
$nextUserRID
-
in file account.inc, variable samba3domain::$nextUserRID
    Next user RID
-
$num_entries
-
in file export.inc, variable PlaLdapExporter::$num_entries
-
nisMailAlias.inc
-
procedural page nisMailAlias.inc
-
new_account
-
in file modules.inc, method accountContainer::new_account()
    This function will prepare the object for a new account.
-
new_rand
-
in file ldap.inc, method Ldap::new_rand()
    Calculates a new value for rand
-
nisMailAlias
-
in file nisMailAlias.inc, class nisMailAlias
    Provides NIS mail alias management.
-
not_an_attr
-
in file add_attr_form.php, function not_an_attr()
    Given an attribute $x, this returns true if it is NOT already specified in the current entry, returns false otherwise.
-
nthash
-
in file createntlm.inc, method smbHash::nthash()
    Calculates the NT hash of a given password.
-
ntPassword
-
in file account.inc, function ntPassword()
    Generates the NT hash of a password.
-
new_ou_template.php
-
procedural page new_ou_template.php
-
-
- top
-
- -
-

o

-
-
$offsets
-
in file fpdf.php, variable FPDF::$offsets
-
$oid
-
in file schema.inc, variable SchemaItem::$oid
    The OID of this schema item.
-
$ordering
-
in file schema.inc, variable AttributeType::$ordering
    The ordering of the attributeType
-
$OrientationChanges
-
in file fpdf.php, variable FPDF::$OrientationChanges
-
$orig
-
in file baseModule.inc, variable baseModule::$orig
    contains all ldap attributes which are loaded from ldap
-
ObjectClass
-
in file schema.inc, method ObjectClass::ObjectClass()
    Creates a new ObjectClass object given a raw LDAP objectClass string.
-
ObjectClass
-
in file schema.inc, class ObjectClass
    Represents an LDAP objectClass
-
ObjectClassAttribute
-
in file schema.inc, method ObjectClassAttribute::ObjectClassAttribute()
    Creates a new ObjectClassAttribute with specified name and source objectClass.
-
ObjectClassAttribute
-
in file schema.inc, class ObjectClassAttribute
    A simple class for representing AttributeTypes used only by the ObjectClass class.
-
Open
-
in file fpdf.php, method FPDF::Open()
-
Output
-
in file fpdf.php, method FPDF::Output()
-
ou_edit.php
-
procedural page ou_edit.php
-
-
- top
-
- -
-

p

-
-
$page
-
in file lists.inc, variable lamList::$page
    current page number
-
$page
-
in file fpdf.php, variable FPDF::$page
-
$PageBreakTrigger
-
in file fpdf.php, variable FPDF::$PageBreakTrigger
-
$PageLinks
-
in file fpdf.php, variable FPDF::$PageLinks
-
$pages
-
in file fpdf.php, variable FPDF::$pages
-
$PDFVersion
-
in file fpdf.php, variable FPDF::$PDFVersion
-
$possibleSuffixes
-
in file lists.inc, variable lamList::$possibleSuffixes
    list of possible LDAP suffixes(organizational units)
-
posixAccount.inc
-
procedural page posixAccount.inc
-
posixGroup.inc
-
procedural page posixGroup.inc
-
pdf.inc
-
procedural page pdf.inc
-
pdfstruct.inc
-
procedural page pdfstruct.inc
-
profiles.inc
-
procedural page profiles.inc
-
PageNo
-
in file fpdf.php, method FPDF::PageNo()
-
parse
-
in file xml_parser.inc, method xmlParser::parse()
-
parseHtml
-
in file modules.inc, function parseHtml()
    Takes a list of meta-HTML elements and prints the equivalent HTML output.
-
PlaAbstractExporter
-
in file export.inc, class PlaAbstractExporter
    This class represents the base class of all exporters
-
PlaCSVExporter
-
in file export.inc, class PlaCSVExporter
    Export to cvs format
-
PlaCSVExporter
-
in file export.inc, method PlaCSVExporter::PlaCSVExporter()
-
PlaDsmlExporter
-
in file export.inc, method PlaDsmlExporter::PlaDsmlExporter()
    Create a PlaDsmlExporter object
-
PlaDsmlExporter
-
in file export.inc, class PlaDsmlExporter
    Export entries to DSML v.1
-
PlaExporter
-
in file export.inc, method PlaExporter::PlaExporter()
    Constructor
-
PlaExporter
-
in file export.inc, class PlaExporter
    PlaExporter acts a wrapper around another exporter.
-
PlaLdapExporter
-
in file export.inc, class PlaLdapExporter
    Export data from a ldap server
-
PlaLdapExporter
-
in file export.inc, method PlaLdapExporter::PlaLdapExporter()
    Create a PlaLdapExporter object.
-
PlaLdifExporter
-
in file export.inc, class PlaLdifExporter
    Export entries to ldif format
-
PlaLdifExporter
-
in file export.inc, method PlaLdifExporter::PlaLdifExporter()
    Create a PlaLdifExporter object
-
PlaVcardExporter
-
in file export.inc, class PlaVcardExporter
-
PlaVcardExporter
-
in file export.inc, method PlaVcardExporter::PlaVcardExporter()
-
pla_compare_dns
-
in file tree.inc, function pla_compare_dns()
    Compares 2 DNs. If they are equivelant, returns 0, otherwise, returns their sorting order (similar to strcmp()): Returns < 0 if dn1 is less than dn2.
-
pla_explode_dn
-
in file tree.inc, function pla_explode_dn()
    Explode a DN into an array of its RDN parts. This function is UTF-8 safe and replaces the buggy PHP ldap_explode_dn() which does not properly handle UTF-8 DNs and also causes segmentation faults with some inputs.
-
pla_fetch_entry_array
-
in file export.inc, method PlaAbstractExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_array
-
in file export.inc, method PlaLdapExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_array
-
in file export.inc, method PlaExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_object
-
in file export.inc, method PlaAbstractExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_fetch_entry_object
-
in file export.inc, method PlaLdapExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_fetch_entry_object
-
in file export.inc, method PlaExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_get_ldap_info
-
in file export.inc, method PlaAbstractExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_get_ldap_info
-
in file export.inc, method PlaLdapExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_get_ldap_info
-
in file export.inc, method PlaExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_has_entry
-
in file export.inc, method PlaExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_has_entry
-
in file export.inc, method PlaLdapExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_has_entry
-
in file export.inc, method PlaAbstractExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_ldap_search
-
in file tree.inc, function pla_ldap_search()
    A handy ldap searching function very similar to PHP's ldap_search() with the following exceptions: Callers may specify a search scope and the return value is an array containing the search results rather than an LDAP result resource.
-
pla_num_entries
-
in file export.inc, method PlaAbstractExporter::pla_num_entries()
    Return the number of entries
-
pla_num_entries
-
in file export.inc, method PlaExporter::pla_num_entries()
    Return the number of entries
-
pla_num_entries
-
in file export.inc, method PlaLdapExporter::pla_num_entries()
    Return the number of entries
-
pla_rdelete
-
in file rdelete.php, function pla_rdelete()
-
pla_reverse_dn
-
in file tree.inc, function pla_reverse_dn()
    Reverses a DN such that the top-level RDN is first and the bottom-level RDN is last
-
posixAccount
-
in file posixAccount.inc, class posixAccount
    Manages the object class "posixAccount" for users and hosts.
-
posixGroup
-
in file posixGroup.inc, class posixGroup
    Manages the object class "posixGroup" for groups.
-
postDeleteActions
-
in file baseModule.inc, method baseModule::postDeleteActions()
    Allows the module to run commands after the LDAP entry is deleted.
-
postModifyActions
-
in file baseModule.inc, method baseModule::postModifyActions()
    Allows the module to run commands after the LDAP entry is changed or created.
-
postModifyActions
-
in file posixAccount.inc, method posixAccount::postModifyActions()
    Allows the module to run commands after the LDAP entry was changed or created.
-
postModifyActions
-
in file quota.inc, method quota::postModifyActions()
    Allows the module to run commands after the LDAP entry is changed or created.
-
preDeleteActions
-
in file posixAccount.inc, method posixAccount::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preDeleteActions
-
in file quota.inc, method quota::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preDeleteActions
-
in file baseModule.inc, method baseModule::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preModifyActions
-
in file baseModule.inc, method baseModule::preModifyActions()
    Allows the module to run commands before the LDAP entry is changed or created.
-
pretty_print_dn
-
in file tree.inc, function pretty_print_dn()
    Returns an HTML-beautified version of a DN.
-
processAttributes
-
in file pdf.inc, function processAttributes()
    Processes width, height and alignment attributes.
-
processFormatTags
-
in file pdf.inc, function processFormatTags()
    Formats the XML code.
-
processLine
-
in file pdf.inc, function processLine()
    Creates the XML code for an PDF entry.
-
process_attributes
-
in file quota.inc, method quota::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file posixGroup.inc, method posixGroup::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaDomain.inc, method sambaDomain::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaAccount.inc, method sambaAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file posixAccount.inc, method posixAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file ldapPublicKey.inc, method ldapPublicKey::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file account.inc, method account::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file kolabUser.inc, method kolabUser::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file ieee802device.inc, method ieee802Device::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file nisMailAlias.inc, method nisMailAlias::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file shadowAccount.inc, method shadowAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file baseModule.inc, method baseModule::process_attributes()
    This function processes user input.
-
process_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::process_attributes()
    Processes user input of the primary module page.
-
process_deleteUser
-
in file kolabUser.inc, method kolabUser::process_deleteUser()
    Write variables into object and do some regex checks
-
process_expire
-
in file shadowAccount.inc, method shadowAccount::process_expire()
    Processes user input of the expiration page.
-
process_group
-
in file posixAccount.inc, method posixAccount::process_group()
    Processes user input of the group selection page.
-
process_logonHours
-
in file sambaSamAccount.inc, method sambaSamAccount::process_logonHours()
    Processes user input of the logon hours page.
-
process_password
-
in file posixAccount.inc, method posixAccount::process_password()
    Processes user input of the password page.
-
process_password
-
in file posixGroup.inc, method posixGroup::process_password()
    Processes user input of the password page.
-
process_password
-
in file inetOrgPerson.inc, method inetOrgPerson::process_password()
    Sets a new password.
-
process_photo
-
in file inetOrgPerson.inc, method inetOrgPerson::process_photo()
    Sets a new photo.
-
process_sambaUserWorkstations
-
in file sambaSamAccount.inc, method sambaSamAccount::process_sambaUserWorkstations()
    Processes user input of the primary module page.
-
process_terminalServer
-
in file sambaSamAccount.inc, method sambaSamAccount::process_terminalServer()
    Processes user input of the terminal server page.
-
process_time
-
in file sambaSamAccount.inc, method sambaSamAccount::process_time()
    Processes user input of the time selection page.
-
process_user
-
in file posixGroup.inc, method posixGroup::process_user()
    Processes user input of the user selection page.
-
process_userWorkstations
-
in file sambaAccount.inc, method sambaAccount::process_userWorkstations()
    Processes user input of the workstation selection page.
-
pwd_disable
-
in file account.inc, function pwd_disable()
    Marks an password hash as disabled and returns the new hash string
-
pwd_enable
-
in file account.inc, function pwd_enable()
    Marks an password hash as enabled and returns the new hash string
-
pwd_hash
-
in file account.inc, function pwd_hash()
    Returns the hash value of a plain text password the hash algorithm depends on the configuration file
-
pwd_is_enabled
-
in file account.inc, function pwd_is_enabled()
    Checks if a password hash is enabled/disabled
-
profmanage.php
-
procedural page profmanage.php
-
pdfdelete.php
-
procedural page pdfdelete.php
-
pdfmain.php
-
procedural page pdfmain.php
-
pdfpage.php
-
procedural page pdfpage.php
-
profiledelete.php
-
procedural page profiledelete.php
-
profilemain.php
-
procedural page profilemain.php
-
profilepage.php
-
procedural page profilepage.php
-
-
- top
-
- -
-

q

-
-
$qualifier
-
in file export.inc, variable PlaCSVExporter::$qualifier
-
$queryFilter
-
in file export.inc, variable PlaLdapExporter::$queryFilter
-
$query_filter
-
in file export.inc, variable LdapExportInfo::$query_filter
-
quota.inc
-
procedural page quota.inc
-
quota
-
in file quota.inc, class quota
    Manages quotas for users and groups.
-
-
- top
-
- -
-

r

-
-
$rdn
-
in file modules.inc, variable accountContainer::$rdn
    RDN attribute of this account
-
$refresh
-
in file lists.inc, variable lamList::$refresh
    refresh page switch
-
$required_by_object_classes
-
in file schema.inc, variable AttributeType::$required_by_object_classes
    A list of object class names that require this attribute type.
-
$requiresPasswordChanges
-
in file tools.php, variable LAMTool::$requiresPasswordChanges
    tool requires password change rights
-
$requiresWriteAccess
-
in file tools.php, variable LAMTool::$requiresWriteAccess
    tool requires write access to LDAP
-
$results
-
in file export.inc, variable PlaLdapExporter::$results
-
$RIDbase
-
in file account.inc, variable samba3domain::$RIDbase
    RID base to calculate RIDs, default 1000
-
$rMargin
-
in file fpdf.php, variable FPDF::$rMargin
-
readTime
-
in file sambaMungedDial.inc, method sambaMungedDial::readTime()
    readTime
-
real_attr_name
-
in file tree.inc, function real_attr_name()
    Prunes off anything after the ";" in an attr name. This is useful for attributes that may have ";binary" appended to their names. With real_attr_name(), you can more easily fetch these attributes' schema with their "real" attribute name.
-
Rect
-
in file fpdf.php, method FPDF::Rect()
-
refreshPrimaryGroupTranslation
-
in file user.inc, method lamUserList::refreshPrimaryGroupTranslation()
    Refreshes the GID to group name cache.
-
refresh_cache
-
in file cache.inc, method cache::refresh_cache()
    This function refreshes the cache.
-
removeAlias
-
in file schema.inc, method AttributeType::removeAlias()
    Removes an attribute name from this attribute's alias array.
-
remove_aliases
-
in file custom.php, function remove_aliases()
    Removes attributes from the array that are aliases for eachother
-
replaceSpecialChars
-
in file quota.inc, method quota::replaceSpecialChars()
    Replaces special characters in HTML name values.
-
rdelete.php
-
procedural page rdelete.php
-
refresh.php
-
procedural page refresh.php
-
-
- top
-
- -
-

s

-
-
$scope
-
in file export.inc, variable PlaLdapExporter::$scope
-
$scope
-
in file export.inc, variable LdapExportInfo::$scope
-
$searchAttribute
-
in file selfService.inc, variable selfServiceProfile::$searchAttribute
    LDAP search attribute
-
$selfServiceSettings
-
in file baseModule.inc, variable baseModule::$selfServiceSettings
    self service settings of all modules
-
$separator
-
in file export.inc, variable PlaCSVExporter::$separator
    When doing an exporter, the method export need to be overriden.
-
$serverURL
-
in file selfService.inc, variable selfServiceProfile::$serverURL
    server address
-
$sessionTimeout
-
in file config.inc, variable LAMCfgMain::$sessionTimeout
    Time of inactivity before session times out (minutes)
-
$SID
-
in file account.inc, variable samba3domain::$SID
    Domain SID
-
$sortColumn
-
in file lists.inc, variable lamList::$sortColumn
    sort column name
-
$sortDirection
-
in file lists.inc, variable lamList::$sortDirection
    sort direction: 1 for ascending, -1 for descending
-
$source
-
in file schema.inc, variable ObjectClassAttribute::$source
    This Attribute's root
-
$state
-
in file fpdf.php, variable FPDF::$state
-
$subject
-
in file fpdf.php, variable FPDF::$subject
-
$sub_str
-
in file schema.inc, variable AttributeType::$sub_str
    Boolean: supports substring matching?
-
$suffix
-
in file lists.inc, variable lamList::$suffix
    LDAP suffix
-
$sup_attribute
-
in file schema.inc, variable AttributeType::$sup_attribute
    The attribute from which this attribute inherits (if any)
-
$sup_classes
-
in file schema.inc, variable ObjectClass::$sup_classes
    array of objectClass names from which this objectClass inherits
-
$syntax
-
in file schema.inc, variable MatchingRule::$syntax
    This rule's syntax OID
-
$syntax
-
in file schema.inc, variable AttributeType::$syntax
    The full syntax string, ie 1.2.3.4{16}
-
sambaAccount.inc
-
procedural page sambaAccount.inc
-
sambaDomain.inc
-
procedural page sambaDomain.inc
-
sambaGroupMapping.inc
-
procedural page sambaGroupMapping.inc
-
sambaMungedDial.inc
-
procedural page sambaMungedDial.inc
-
sambaSamAccount.inc
-
procedural page sambaSamAccount.inc
-
shadowAccount.inc
-
procedural page shadowAccount.inc
-
schema.inc
-
procedural page schema.inc
-
security.inc
-
procedural page security.inc
-
selfService.inc
-
procedural page selfService.inc
-
status.inc
-
procedural page status.inc
-
smbDomain.inc
-
procedural page smbDomain.inc
-
samba3domain
-
in file account.inc, class samba3domain
    Represents a Samba 3 domain entry
-
sambaAccount
-
in file sambaAccount.inc, class sambaAccount
    Manages the object class "sambaAccount" for users and hosts.
-
sambaDomain
-
in file sambaDomain.inc, class sambaDomain
    Manages Samba 3 domain entries.
-
sambaGroupMapping
-
in file sambaGroupMapping.inc, class sambaGroupMapping
    Manages the object class "sambaGroupMapping" for groups.
-
sambaMungedDial
-
in file sambaMungedDial.inc, class sambaMungedDial
    Manages terminal server settings for Samba 3.
-
sambaSamAccount
-
in file sambaSamAccount.inc, class sambaSamAccount
    Manages the object class "sambaSamAccount" for users and hosts.
-
SAMBA_MUNGEDDIAL_FILEHEADER
-
in file sambaMungedDial.inc, constant SAMBA_MUNGEDDIAL_FILEHEADER
    File header
-
SAMBA_MUNGEDDIAL_FILEHEADER_OLD
-
in file sambaMungedDial.inc, constant SAMBA_MUNGEDDIAL_FILEHEADER_OLD
    File header for old format.
-
save
-
in file config.inc, method LAMCfgMain::save()
    Saves preferences to config file config.cfg
-
save
-
in file config.inc, method LAMConfig::save()
    Saves preferences to config file
-
saveAccountProfile
-
in file profiles.inc, function saveAccountProfile()
    Saves an hash array (attribute => value) to an account profile
-
savePDFStructureDefinitions
-
in file pdfstruct.inc, function savePDFStructureDefinitions()
    Saves PDF structure definitions to XML file in format: <name>.<scope>.xml
-
saveSelfServiceProfile
-
in file selfService.inc, function saveSelfServiceProfile()
    Saves a self service profile.
-
saveSettings
-
in file confmain.php, function saveSettings()
    Saves the entered settings.
-
save_account
-
in file modules.inc, method accountContainer::save_account()
    This function will save an account to the LDAP database.
-
save_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file kolabUser.inc, method kolabUser::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file shadowAccount.inc, method shadowAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file sambaAccount.inc, method sambaAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file posixGroup.inc, method posixGroup::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file posixAccount.inc, method posixAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file account.inc, method account::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file nisMailAlias.inc, method nisMailAlias::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file baseModule.inc, method baseModule::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_module_attributes
-
in file modules.inc, method accountContainer::save_module_attributes()
    This function checks which LDAP attributes have changed while the account was edited.
-
SchemaItem
-
in file schema.inc, method SchemaItem::SchemaItem()
    Default constructor.
-
SchemaItem
-
in file schema.inc, class SchemaItem
    Generic parent class for all schema items. A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax.
-
SCHEMA_SESSION_CACHE_ENABLED
-
in file schema.inc, constant SCHEMA_SESSION_CACHE_ENABLED
    To enable/disable session-based schema caching (1: enabled, 0: disabled).
-
search_domains
-
in file account.inc, function search_domains()
    Returns an array with all Samba 3 domain entries under the given suffix
-
search_units
-
in file ldap.inc, method Ldap::search_units()
    Returns an array with all organizational units under the given suffix
-
search_username
-
in file userlink.php, function search_username()
    Searches LDAP for a specific user name (uid attribute) and returns its DN entry
-
selfServiceProfile
-
in file selfService.inc, class selfServiceProfile
    Includes all settings of a self service profile.
-
server
-
in file ldap.inc, method Ldap::server()
    Returns the LDAP connection handle
-
setAccessLevel
-
in file config.inc, method LAMConfig::setAccessLevel()
    Sets the access level for this profile.
-
setAliases
-
in file schema.inc, method AttributeType::setAliases()
    Sets this attribute's list of aliases.
-
SetAuthor
-
in file fpdf.php, method FPDF::SetAuthor()
-
SetAutoPageBreak
-
in file fpdf.php, method FPDF::SetAutoPageBreak()
-
setBrokenConn
-
in file sambaMungedDial.inc, method sambaMungedDial::setBrokenConn()
    sets Broken-Connection value: disconnect/reset
-
SetCompression
-
in file fpdf.php, method FPDF::SetCompression()
-
setConnectClientDrives
-
in file sambaMungedDial.inc, method sambaMungedDial::setConnectClientDrives()
    sets connect-client-drive-at-logon value: enabled/disabled
-
setConnectClientPrinters
-
in file sambaMungedDial.inc, method sambaMungedDial::setConnectClientPrinters()
    sets connect-client-printers-at-logon value: enabled/disabled
-
SetCreator
-
in file fpdf.php, method FPDF::SetCreator()
-
setCtxMaxConnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxConnectionTimeF()
    SMARTY: sets the checkbox "Connection" to unchecked
-
setCtxMaxDisconnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxDisconnectionTimeF()
    SMARTY: sets the checkbox "Disconnection" to unchecked
-
setCtxMaxIdleTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxIdleTimeF()
    SMARTY: sets the checkbox "Idle" to unchecked
-
setDefaultPrinter
-
in file sambaMungedDial.inc, method sambaMungedDial::setDefaultPrinter()
    sets set-client-printer-to-default value: enabled/disabled
-
setDescription
-
in file schema.inc, method SchemaItem::setDescription()
-
SetDisplayMode
-
in file fpdf.php, method FPDF::SetDisplayMode()
-
SetDrawColor
-
in file fpdf.php, method FPDF::SetDrawColor()
-
SetFillColor
-
in file fpdf.php, method FPDF::SetFillColor()
-
SetFont
-
in file fpdf.php, method FPDF::SetFont()
-
SetFontSize
-
in file fpdf.php, method FPDF::SetFontSize()
-
setHelpID
-
in file lists.inc, method lamSelectListOption::setHelpID()
    Sets the help ID.
-
setInheritMode
-
in file sambaMungedDial.inc, method sambaMungedDial::setInheritMode()
    sets Inherit-config-from-client value: enabled/disabled
-
setIsSingleValue
-
in file schema.inc, method AttributeType::setIsSingleValue()
    Sets whether this attribute is single-valued.
-
SetKeywords
-
in file fpdf.php, method FPDF::SetKeywords()
-
setlanguage
-
in file config.inc, function setlanguage()
    Sets language settings for automatic translation
-
SetLeftMargin
-
in file fpdf.php, method FPDF::SetLeftMargin()
-
SetLineWidth
-
in file fpdf.php, method FPDF::SetLineWidth()
-
SetLink
-
in file fpdf.php, method FPDF::SetLink()
-
SetMargins
-
in file fpdf.php, method FPDF::SetMargins()
-
setName
-
in file schema.inc, method AttributeType::setName()
    Sets this attriute's name.
-
setOID
-
in file schema.inc, method SchemaItem::setOID()
-
setOutputFormat
-
in file export.inc, method PlaExporter::setOutputFormat()
    Set the carriage return /linefeed for the export
-
setPassword
-
in file config.inc, method LAMCfgMain::setPassword()
    Sets a new config password.
-
setReConn
-
in file sambaMungedDial.inc, method sambaMungedDial::setReConn()
    sets Reconnection value: from any client/from previous client only
-
SetRightMargin
-
in file fpdf.php, method FPDF::SetRightMargin()
-
setShadow
-
in file sambaMungedDial.inc, method sambaMungedDial::setShadow()
    sets shadow value
-
SetSubject
-
in file fpdf.php, method FPDF::SetSubject()
-
setSupAttribute
-
in file schema.inc, method AttributeType::setSupAttribute()
    Sets this attriute's SUP attribute (ie, the attribute from which this attribute inherits).
-
SetTextColor
-
in file fpdf.php, method FPDF::SetTextColor()
-
SetTitle
-
in file fpdf.php, method FPDF::SetTitle()
-
SetTopMargin
-
in file fpdf.php, method FPDF::SetTopMargin()
-
setTsLogin
-
in file sambaMungedDial.inc, method sambaMungedDial::setTsLogin()
    Sets Terminal-Server-Login value: enabled/disabled
-
setType
-
in file schema.inc, method AttributeType::setType()
    Sets this attribute's type.
-
setUsedByAttrs
-
in file schema.inc, method MatchingRule::setUsedByAttrs()
    Sets the list of used_by_attrs to the array specified by $attrs;
-
setValue
-
in file lists.inc, method lamListOption::setValue()
    Sets the config option value. The value must not contain "=" and ";".
-
SetX
-
in file fpdf.php, method FPDF::SetX()
-
SetXY
-
in file fpdf.php, method FPDF::SetXY()
-
SetY
-
in file fpdf.php, method FPDF::SetY()
-
set_AccountModules
-
in file config.inc, method LAMConfig::set_AccountModules()
    Sets the selected account modules
-
set_ActiveTypes
-
in file config.inc, method LAMConfig::set_ActiveTypes()
    Sets the list of active types.
-
set_Adminstring
-
in file config.inc, method LAMConfig::set_Adminstring()
    Sets the admin string
-
set_cached_schema
-
in file schema.inc, function set_cached_schema()
    Caches the specified $schema_type.
-
set_cacheTimeout
-
in file config.inc, method LAMConfig::set_cacheTimeout()
    Sets the LDAP cache timeout in minutes (0,1,2,5,10,15)
-
set_defaultLanguage
-
in file config.inc, method LAMConfig::set_defaultLanguage()
    Sets the default language string
-
set_listAttributes
-
in file config.inc, method LAMConfig::set_listAttributes()
    Sets the list of attributes to show in user list
-
set_moduleSettings
-
in file config.inc, method LAMConfig::set_moduleSettings()
    Sets the settings for the account modules.
-
set_Passwd
-
in file config.inc, method LAMConfig::set_Passwd()
    Sets the preferences wizard password
-
set_schema_cache_unavailable
-
in file schema.inc, function set_schema_cache_unavailable()
    Sets the schema entry for the server_id to be "unavailable" so that we realize that we tried to get the schema but could not, so quit trying next time to fetch it from the server.
-
set_scriptPath
-
in file config.inc, method LAMConfig::set_scriptPath()
    Sets the path to the external script
-
set_scriptRights
-
in file config.inc, method LAMConfig::set_scriptRights()
    Sets the rights for the home directory.
-
set_scriptServers
-
in file config.inc, method LAMConfig::set_scriptServers()
    Sets the servers of the external script
-
set_ServerURL
-
in file config.inc, method LAMConfig::set_ServerURL()
    Sets the server address
-
set_Suffix
-
in file config.inc, method LAMConfig::set_Suffix()
    Sets the LDAP suffix where accounts are saved
-
set_typeSettings
-
in file config.inc, method LAMConfig::set_typeSettings()
    Sets the settings for the account types.
-
shadowAccount
-
in file shadowAccount.inc, class shadowAccount
    Manages the object class "shadowAccount" for users.
-
showColumnData
-
in file masscreate.php, function showColumnData()
    Prints the properties of one input field.
-
showMainPage
-
in file masscreate.php, function showMainPage()
    Displays the acount type specific main page of the upload.
-
showPage
-
in file lists.inc, method lamList::showPage()
    Prints the HTML code to display the list view.
-
smbDomain
-
in file smbDomain.inc, class smbDomain
    The account type for Samba domains.
-
smbflag
-
in file account.inc, function smbflag()
    Takes a list of Samba flags and creates the corresponding flag string.
-
smbHash
-
in file createntlm.inc, class smbHash
    Calculates NT and LM hashes.
-
sortAttrs
-
in file tree.inc, function sortAttrs()
-
sortModules
-
in file modules.inc, method accountContainer::sortModules()
    Sorts the module buttons for the account page.
-
startSecureSession
-
in file security.inc, function startSecureSession()
    Starts a session and checks the environment.
-
StatusMessage
-
in file status.inc, function StatusMessage()
    This function prints a short status message. It can be used to print INFO, WARN and ERROR messages at the moment.
-
strhex
-
in file sambaMungedDial.inc, method sambaMungedDial::strhex()
    strhex
-
strlen
-
in file ufpdf.php, method UFPDF::strlen()
-
Syntax
-
in file schema.inc, class Syntax
    Represents an LDAP Syntax
-
Syntax
-
in file schema.inc, method Syntax::Syntax()
    Creates a new Syntax object from a raw LDAP syntax string.
-
schema.php
-
procedural page schema.php
-
schemaTest.php
-
procedural page schemaTest.php
-
status-test.php
-
procedural page status-test.php
-
-
- top
-
- -
-

t

-
-
$TextColor
-
in file fpdf.php, variable FPDF::$TextColor
-
$title
-
in file fpdf.php, variable FPDF::$title
-
$tMargin
-
in file fpdf.php, variable FPDF::$tMargin
-
$type
-
in file schema.inc, variable AttributeType::$type
    A string description of the syntax type (taken from the LDAPSyntaxes)
-
$type
-
in file lists.inc, variable lamList::$type
    Account type
-
$type
-
in file schema.inc, variable ObjectClass::$type
    one of STRUCTURAL, ABSTRACT, or AUXILIARY
-
tree.inc
-
procedural page tree.inc
-
types.inc
-
procedural page types.inc
-
tools.php
-
procedural page tools.php
-
templates.inc
-
procedural page templates.inc
-
tree.php
-
procedural page tree.php
-
tree_view.php
-
procedural page tree_view.php
-
Text
-
in file ufpdf.php, method UFPDF::Text()
-
Text
-
in file fpdf.php, method FPDF::Text()
-
to8bit
-
in file sambaMungedDial.inc, method sambaMungedDial::to8bit()
    to8bit
-
TRANS_PRIMARY_OPTION_NAME
-
in file user.inc, class constant lamUserList::TRANS_PRIMARY_OPTION_NAME
    ID for config option
-
TRANS_PRIMARY_OPTION_NAME
-
in file group.inc, class constant lamGroupList::TRANS_PRIMARY_OPTION_NAME
    ID for config option
-
-
- top
-
- -
-

u

-
-
$underline
-
in file fpdf.php, variable FPDF::$underline
-
$usage
-
in file schema.inc, variable AttributeType::$usage
    The usage string set by the LDAP schema
-
$used_by_attrs
-
in file schema.inc, variable MatchingRule::$used_by_attrs
    An array of attribute names who use this MatchingRule
-
$used_by_attrs
-
in file schema.inc, variable MatchingRuleUse::$used_by_attrs
    An array of attributeType names who make use of the mathingRule
-
$used_in_object_classes
-
in file schema.inc, variable AttributeType::$used_in_object_classes
    An array of objectClasses which use this attributeType (must be set by caller)
-
user.inc
-
procedural page user.inc
-
ufpdf.php
-
procedural page ufpdf.php
-
userlink.php
-
procedural page userlink.php
-
update.php
-
procedural page update.php
-
update_confirm.php
-
procedural page update_confirm.php
-
UFPDF
-
in file ufpdf.php, method UFPDF::UFPDF()
    *****************************************************************************
-
UFPDF
-
in file ufpdf.php, class UFPDF
    Main UFPDF class for creating Unicode PDF documents
-
UFPDF_VERSION
-
in file ufpdf.php, constant UFPDF_VERSION
    *****************************************************************************
-
user
-
in file user.inc, class user
    The account type for user accounts (e.g. Unix, Samba and Kolab).
-
utf8_substr
-
in file ufpdf.php, method UFPDF::utf8_substr()
-
utf8_to_codepoints
-
in file ufpdf.php, method UFPDF::utf8_to_codepoints()
-
utf8_to_utf16be
-
in file ufpdf.php, method UFPDF::utf8_to_utf16be()
-
-
- top
-
- -
-

v

-
-
$vcardMapping
-
in file export.inc, variable PlaVcardExporter::$vcardMapping
-
vera.php
-
procedural page vera.php
-
verab.php
-
procedural page verab.php
-
verabi.php
-
procedural page verabi.php
-
verai.php
-
procedural page verai.php
-
-
- top
-
- -
-

w

-
-
$w
-
in file fpdf.php, variable FPDF::$w
-
$wPt
-
in file fpdf.php, variable FPDF::$wPt
-
$ws
-
in file fpdf.php, variable FPDF::$ws
-
Write
-
in file ufpdf.php, method UFPDF::Write()
-
Write
-
in file fpdf.php, method FPDF::Write()
-
-
- top
-
- -
-

x

-
-
$x
-
in file fpdf.php, variable FPDF::$x
-
xml_parser.inc
-
procedural page xml_parser.inc
-
xmlParser
-
in file xml_parser.inc, class xmlParser
-
-
- top
-
- -
-

y

-
-
$y
-
in file fpdf.php, variable FPDF::$y
-
-
- top
-
- -
-

z

-
-
$ZoomMode
-
in file fpdf.php, variable FPDF::$ZoomMode
-
-
- top
-
- -
-

_

-
-
_beginpage
-
in file fpdf.php, method FPDF::_beginpage()
-
_dochecks
-
in file fpdf.php, method FPDF::_dochecks()
    *****************************************************************************
-
_dounderline
-
in file ufpdf.php, method UFPDF::_dounderline()
-
_dounderline
-
in file fpdf.php, method FPDF::_dounderline()
-
_enddoc
-
in file fpdf.php, method FPDF::_enddoc()
-
_endpage
-
in file fpdf.php, method FPDF::_endpage()
-
_escape
-
in file fpdf.php, method FPDF::_escape()
-
_escapetext
-
in file ufpdf.php, method UFPDF::_escapetext()
-
_freadint
-
in file fpdf.php, method FPDF::_freadint()
-
_getfontpath
-
in file fpdf.php, method FPDF::_getfontpath()
-
_get_raw_schema
-
in file schema.inc, function _get_raw_schema()
    Fetches the raw schema array for the subschemaSubentry of the server. Note, this function has grown many hairs to accomodate more LDAP servers. It is needfully complicated as it now supports many popular LDAP servers that don't necessarily expose their schema "the right way".
-
_get_schema_dn
-
in file schema.inc, function _get_schema_dn()
    Helper for _get_raw_schema() which fetches the DN of the schema object
-
_newobj
-
in file fpdf.php, method FPDF::_newobj()
-
_out
-
in file fpdf.php, method FPDF::_out()
-
_parsejpg
-
in file fpdf.php, method FPDF::_parsejpg()
-
_parsepng
-
in file fpdf.php, method FPDF::_parsepng()
-
_putcatalog
-
in file fpdf.php, method FPDF::_putcatalog()
-
_putfonts
-
in file fpdf.php, method FPDF::_putfonts()
-
_putheader
-
in file fpdf.php, method FPDF::_putheader()
-
_putimages
-
in file fpdf.php, method FPDF::_putimages()
-
_putinfo
-
in file fpdf.php, method FPDF::_putinfo()
-
_putinfo
-
in file ufpdf.php, method UFPDF::_putinfo()
-
_putpages
-
in file fpdf.php, method FPDF::_putpages()
-
_putpages
-
in file ufpdf.php, method UFPDF::_putpages()
-
_putresourcedict
-
in file fpdf.php, method FPDF::_putresourcedict()
-
_putresources
-
in file fpdf.php, method FPDF::_putresources()
-
_putstream
-
in file fpdf.php, method FPDF::_putstream()
-
_puttrailer
-
in file fpdf.php, method FPDF::_puttrailer()
-
_puttruetypeunicode
-
in file ufpdf.php, method UFPDF::_puttruetypeunicode()
    *****************************************************************************
-
_putxobjectdict
-
in file fpdf.php, method FPDF::_putxobjectdict()
-
_textstring
-
in file ufpdf.php, method UFPDF::_textstring()
-
_textstring
-
in file fpdf.php, method FPDF::_textstring()
-
__construct
-
in file sambaGroupMapping.inc, method sambaGroupMapping::__construct()
    Creates a new module for Samba 3 groups.
-
__construct
-
in file sambaAccount.inc, method sambaAccount::__construct()
    Creates a new sambaAccount object.
-
__construct
-
in file modules.inc, method accountContainer::__construct()
    Constructor
-
__construct
-
in file sambaSamAccount.inc, method sambaSamAccount::__construct()
    Creates a new sambaSamAccount object.
-
__construct
-
in file xml_parser.inc, method xmlParser::__construct()
    Constructor
-
__construct
-
in file smbDomain.inc, method lamSmbDomainList::__construct()
    Constructor
-
__construct
-
in file selfService.inc, method selfServiceProfile::__construct()
    Constructor
-
__construct
-
in file user.inc, method lamUserList::__construct()
    Constructor
-
__construct
-
in file mailAlias.inc, method lamMailAliasList::__construct()
    Constructor
-
__construct
-
in file group.inc, method lamGroupList::__construct()
    Constructor
-
__construct
-
in file host.inc, method lamHostList::__construct()
    Constructor
-
__construct
-
in file kolabUser.inc, method kolabUser::__construct()
    Creates a new kolabUser object.
-
__construct
-
in file lamPDF.inc, method lamPDF::__construct()
-
__construct
-
in file baseModule.inc, method baseModule::__construct()
    Creates a new base module class
-
__construct
-
in file config.inc, method LAMConfig::__construct()
    Loads preferences from config file
-
__construct
-
in file cache.inc, method cache::__construct()
    Constructor.
-
__construct
-
in file config.inc, method LAMCfgMain::__construct()
    Loads preferences from config file
-
__construct
-
in file lists.inc, method lamSelectListOption::__construct()
    Creates a new selection list option.
-
__construct
-
in file ldap.inc, method Ldap::__construct()
-
__construct
-
in file lists.inc, method lamListTool::__construct()
    Constructor
-
__construct
-
in file lists.inc, method lamList::__construct()
    Constructor
-
__construct
-
in file lists.inc, method lamListOption::__construct()
    Creates a new config option.
-
__construct
-
in file lists.inc, method lamBooleanListOption::__construct()
    Creates a new boolean option.
-
__sleep
-
in file cache.inc, method cache::__sleep()
    Encrypts LDAP cache before saving to session file.
-
__sleep
-
in file modules.inc, method accountContainer::__sleep()
    Encrypts sensitive data before storing in session.
-
__sleep
-
in file ldap.inc, method Ldap::__sleep()
    Closes connection to LDAP server before serialization
-
__wakeup
-
in file ldap.inc, method Ldap::__wakeup()
    Reconnects to LDAP server when deserialized
-
__wakeup
-
in file cache.inc, method cache::__wakeup()
    Decrypts LDAP cache after loading from session file.
-
__wakeup
-
in file modules.inc, method accountContainer::__wakeup()
    Decrypts sensitive data after accountContainer was loaded from session.
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_Help.html b/lam-web/developers/devel/phpdoc/elementindex_Help.html deleted file mode 100644 index 04ff5782..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_Help.html +++ /dev/null @@ -1,111 +0,0 @@ - - -Package Help Element Index - - - - - - - - - - - - - -
Help
- - - [ class tree: Help ] - [ index: Help ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package Help

- [ d ] - [ e ] - [ h ] - -
- -
-

d

-
-
displayHelp
-
in file help.php, function displayHelp()
    Print help site for a specific help number.
-
-
- top
-
- -
-

e

-
-
echoHTMLFoot
-
in file help.php, function echoHTMLFoot()
    Print HTML footer of the help page.
-
echoHTMLHead
-
in file help.php, function echoHTMLHead()
    Print HTML header of the help page.
-
-
- top
-
- -
-

h

-
-
help.inc
-
procedural page help.inc
-
help.php
-
procedural page help.php
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_LDAP.html b/lam-web/developers/devel/phpdoc/elementindex_LDAP.html deleted file mode 100644 index 08932b84..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_LDAP.html +++ /dev/null @@ -1,183 +0,0 @@ - - -Package LDAP Element Index - - - - - - - - - - - - - -
LDAP
- - - [ class tree: LDAP ] - [ index: LDAP ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package LDAP

- [ c ] - [ d ] - [ e ] - [ h ] - [ l ] - [ n ] - [ s ] - [ _ ] - -
- -
-

_

-
-
__construct
-
in file ldap.inc, method Ldap::__construct()
-
__sleep
-
in file ldap.inc, method Ldap::__sleep()
    Closes connection to LDAP server before serialization
-
__wakeup
-
in file ldap.inc, method Ldap::__wakeup()
    Reconnects to LDAP server when deserialized
-
-
- top
-
- -
-

c

-
-
close
-
in file ldap.inc, method Ldap::close()
    Closes connection to server
-
cmp_array
-
in file ldap.inc, method Ldap::cmp_array()
    Helper function to sort the unit DNs
-
connect
-
in file ldap.inc, method Ldap::connect()
    Connects to the server using the given username and password
-
-
- top
-
- -
-

d

-
-
decrypt
-
in file ldap.inc, method Ldap::decrypt()
    Decrypts a string
-
decrypt_login
-
in file ldap.inc, method Ldap::decrypt_login()
    Decrypts username and password
-
destroy
-
in file ldap.inc, method Ldap::destroy()
    Closes connection to LDAP server and deletes encrypted username/password
-
-
- top
-
- -
-

e

-
-
encrypt
-
in file ldap.inc, method Ldap::encrypt()
    Encrypts a string
-
encrypt_login
-
in file ldap.inc, method Ldap::encrypt_login()
    Encrypts username and password
-
-
- top
-
- -
-

h

-
-
hex2bin
-
in file ldap.inc, function hex2bin()
    Converts a HEX string to a binary value
-
-
- top
-
- -
-

l

-
-
Ldap
-
in file ldap.inc, class Ldap
    Ldap manages connection to LDAP and includes several helper functions.
-
ldap.inc
-
procedural page ldap.inc
-
-
- top
-
- -
-

n

-
-
new_rand
-
in file ldap.inc, method Ldap::new_rand()
    Calculates a new value for rand
-
-
- top
-
- -
-

s

-
-
search_units
-
in file ldap.inc, method Ldap::search_units()
    Returns an array with all organizational units under the given suffix
-
server
-
in file ldap.inc, method Ldap::server()
    Returns the LDAP connection handle
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_PDF.html b/lam-web/developers/devel/phpdoc/elementindex_PDF.html deleted file mode 100644 index 68a35f40..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_PDF.html +++ /dev/null @@ -1,697 +0,0 @@ - - -Package PDF Element Index - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package PDF

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ h ] - [ i ] - [ k ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ r ] - [ s ] - [ t ] - [ u ] - [ v ] - [ w ] - [ x ] - [ y ] - [ z ] - [ _ ] - -
- -
-

_

-
-
_beginpage
-
in file fpdf.php, method FPDF::_beginpage()
-
_dochecks
-
in file fpdf.php, method FPDF::_dochecks()
    *****************************************************************************
-
_dounderline
-
in file fpdf.php, method FPDF::_dounderline()
-
_dounderline
-
in file ufpdf.php, method UFPDF::_dounderline()
-
_enddoc
-
in file fpdf.php, method FPDF::_enddoc()
-
_endpage
-
in file fpdf.php, method FPDF::_endpage()
-
_escape
-
in file fpdf.php, method FPDF::_escape()
-
_escapetext
-
in file ufpdf.php, method UFPDF::_escapetext()
-
_freadint
-
in file fpdf.php, method FPDF::_freadint()
-
_getfontpath
-
in file fpdf.php, method FPDF::_getfontpath()
-
_newobj
-
in file fpdf.php, method FPDF::_newobj()
-
_out
-
in file fpdf.php, method FPDF::_out()
-
_parsejpg
-
in file fpdf.php, method FPDF::_parsejpg()
-
_parsepng
-
in file fpdf.php, method FPDF::_parsepng()
-
_putcatalog
-
in file fpdf.php, method FPDF::_putcatalog()
-
_putfonts
-
in file fpdf.php, method FPDF::_putfonts()
-
_putheader
-
in file fpdf.php, method FPDF::_putheader()
-
_putimages
-
in file fpdf.php, method FPDF::_putimages()
-
_putinfo
-
in file fpdf.php, method FPDF::_putinfo()
-
_putinfo
-
in file ufpdf.php, method UFPDF::_putinfo()
-
_putpages
-
in file ufpdf.php, method UFPDF::_putpages()
-
_putpages
-
in file fpdf.php, method FPDF::_putpages()
-
_putresourcedict
-
in file fpdf.php, method FPDF::_putresourcedict()
-
_putresources
-
in file fpdf.php, method FPDF::_putresources()
-
_putstream
-
in file fpdf.php, method FPDF::_putstream()
-
_puttrailer
-
in file fpdf.php, method FPDF::_puttrailer()
-
_puttruetypeunicode
-
in file ufpdf.php, method UFPDF::_puttruetypeunicode()
    *****************************************************************************
-
_putxobjectdict
-
in file fpdf.php, method FPDF::_putxobjectdict()
-
_textstring
-
in file ufpdf.php, method UFPDF::_textstring()
-
_textstring
-
in file fpdf.php, method FPDF::_textstring()
-
__construct
-
in file xml_parser.inc, method xmlParser::__construct()
    Constructor
-
__construct
-
in file lamPDF.inc, method lamPDF::__construct()
-
-
- top
-
- -
-

a

-
-
$AliasNbPages
-
in file fpdf.php, variable FPDF::$AliasNbPages
-
$author
-
in file fpdf.php, variable FPDF::$author
-
$AutoPageBreak
-
in file fpdf.php, variable FPDF::$AutoPageBreak
-
AcceptPageBreak
-
in file fpdf.php, method FPDF::AcceptPageBreak()
-
AcceptPageBreak
-
in file ufpdf.php, method UFPDF::AcceptPageBreak()
-
AddFont
-
in file ufpdf.php, method UFPDF::AddFont()
-
AddFont
-
in file fpdf.php, method FPDF::AddFont()
-
AddLink
-
in file fpdf.php, method FPDF::AddLink()
-
AddPage
-
in file fpdf.php, method FPDF::AddPage()
-
AliasNbPages
-
in file ufpdf.php, method UFPDF::AliasNbPages()
-
AliasNbPages
-
in file fpdf.php, method FPDF::AliasNbPages()
-
-
- top
-
- -
-

b

-
-
$bMargin
-
in file fpdf.php, variable FPDF::$bMargin
-
$buffer
-
in file fpdf.php, variable FPDF::$buffer
-
-
- top
-
- -
-

c

-
-
$cMargin
-
in file fpdf.php, variable FPDF::$cMargin
-
$ColorFlag
-
in file fpdf.php, variable FPDF::$ColorFlag
-
$compress
-
in file fpdf.php, variable FPDF::$compress
-
$CoreFonts
-
in file fpdf.php, variable FPDF::$CoreFonts
-
$creator
-
in file fpdf.php, variable FPDF::$creator
-
$CurOrientation
-
in file fpdf.php, variable FPDF::$CurOrientation
-
$CurrentFont
-
in file fpdf.php, variable FPDF::$CurrentFont
-
Cell
-
in file fpdf.php, method FPDF::Cell()
-
Cell
-
in file ufpdf.php, method UFPDF::Cell()
-
Close
-
in file fpdf.php, method FPDF::Close()
-
code2utf
-
in file ufpdf.php, method UFPDF::code2utf()
-
createModulePDF
-
in file pdf.inc, function createModulePDF()
    This function creates the PDF output of one or more accounts. At the moment this function can create a PDF page for user, group and host accounts. But this is not limited by the function itself but by the account types that are allowed in LAM and the exsisting PDF structure definitions.
-
-
- top
-
- -
-

d

-
-
$DefOrientation
-
in file fpdf.php, variable FPDF::$DefOrientation
-
$diffs
-
in file fpdf.php, variable FPDF::$diffs
-
$DrawColor
-
in file fpdf.php, variable FPDF::$DrawColor
-
deletePDFStructureDefinition
-
in file pdfstruct.inc, function deletePDFStructureDefinition()
    Deletes XML file with PDF structure definitions.
-
-
- top
-
- -
-

e

-
-
Error
-
in file fpdf.php, method FPDF::Error()
-
-
- top
-
- -
-

f

-
-
$fh
-
in file fpdf.php, variable FPDF::$fh
-
$fhPt
-
in file fpdf.php, variable FPDF::$fhPt
-
$FillColor
-
in file fpdf.php, variable FPDF::$FillColor
-
$FontFamily
-
in file fpdf.php, variable FPDF::$FontFamily
-
$FontFiles
-
in file fpdf.php, variable FPDF::$FontFiles
-
$fonts
-
in file fpdf.php, variable FPDF::$fonts
-
$FontSize
-
in file fpdf.php, variable FPDF::$FontSize
-
$FontSizePt
-
in file fpdf.php, variable FPDF::$FontSizePt
-
$FontStyle
-
in file fpdf.php, variable FPDF::$FontStyle
-
$fw
-
in file fpdf.php, variable FPDF::$fw
-
$fwPt
-
in file fpdf.php, variable FPDF::$fwPt
-
Footer
-
in file fpdf.php, method FPDF::Footer()
-
footer
-
in file lamPDF.inc, method lamPDF::footer()
-
FPDF
-
in file fpdf.php, method FPDF::FPDF()
    *****************************************************************************
-
FPDF
-
in file fpdf.php, class FPDF
    Main FPDF class for creating PDF documents
-
FPDF_VERSION
-
in file fpdf.php, constant FPDF_VERSION
    *****************************************************************************
-
fpdf.php
-
procedural page fpdf.php
-
-
- top
-
- -
-

g

-
-
getAvailableLogos
-
in file pdfstruct.inc, function getAvailableLogos()
    This function returns an array with all aviliable logo images.
-
getPDFStructureDefinitions
-
in file pdfstruct.inc, function getPDFStructureDefinitions()
    This function will return all available PDF structure definitions for the submitted account scope.
-
getSectionHeadline
-
in file pdf.inc, function getSectionHeadline()
    Creates a section headline.
-
GetStringWidth
-
in file ufpdf.php, method UFPDF::GetStringWidth()
-
GetStringWidth
-
in file fpdf.php, method FPDF::GetStringWidth()
-
GetX
-
in file fpdf.php, method FPDF::GetX()
-
GetY
-
in file fpdf.php, method FPDF::GetY()
-
-
- top
-
- -
-

h

-
-
$h
-
in file fpdf.php, variable FPDF::$h
-
$hPt
-
in file fpdf.php, variable FPDF::$hPt
-
header
-
in file lamPDF.inc, method lamPDF::header()
-
Header
-
in file fpdf.php, method FPDF::Header()
-
-
- top
-
- -
-

i

-
-
$images
-
in file fpdf.php, variable FPDF::$images
-
$InFooter
-
in file fpdf.php, variable FPDF::$InFooter
-
Image
-
in file fpdf.php, method FPDF::Image()
-
-
- top
-
- -
-

k

-
-
$k
-
in file fpdf.php, variable FPDF::$k
-
$keywords
-
in file fpdf.php, variable FPDF::$keywords
-
-
- top
-
- -
-

l

-
-
$lasth
-
in file fpdf.php, variable FPDF::$lasth
-
$LayoutMode
-
in file fpdf.php, variable FPDF::$LayoutMode
-
$LineWidth
-
in file fpdf.php, variable FPDF::$LineWidth
-
$links
-
in file fpdf.php, variable FPDF::$links
-
$lMargin
-
in file fpdf.php, variable FPDF::$lMargin
-
lamPDF
-
in file lamPDF.inc, class lamPDF
    Creates a LAM information page in PDF format.
-
LAMPDF_LINEWIDTH
-
in file pdf.inc, constant LAMPDF_LINEWIDTH
    PDF line width
-
lamPDF.inc
-
procedural page lamPDF.inc
-
Line
-
in file fpdf.php, method FPDF::Line()
-
Link
-
in file fpdf.php, method FPDF::Link()
-
Ln
-
in file fpdf.php, method FPDF::Ln()
-
loadPDFStructureDefinitions
-
in file pdfstruct.inc, function loadPDFStructureDefinitions()
    This function is used to get pdf structure from xml file.
-
-
- top
-
- -
-

m

-
-
MultiCell
-
in file ufpdf.php, method UFPDF::MultiCell()
-
MultiCell
-
in file fpdf.php, method FPDF::MultiCell()
-
-
- top
-
- -
-

n

-
-
$n
-
in file fpdf.php, variable FPDF::$n
-
-
- top
-
- -
-

o

-
-
$offsets
-
in file fpdf.php, variable FPDF::$offsets
-
$OrientationChanges
-
in file fpdf.php, variable FPDF::$OrientationChanges
-
Open
-
in file fpdf.php, method FPDF::Open()
-
Output
-
in file fpdf.php, method FPDF::Output()
-
-
- top
-
- -
-

p

-
-
$page
-
in file fpdf.php, variable FPDF::$page
-
$PageBreakTrigger
-
in file fpdf.php, variable FPDF::$PageBreakTrigger
-
$PageLinks
-
in file fpdf.php, variable FPDF::$PageLinks
-
$pages
-
in file fpdf.php, variable FPDF::$pages
-
$PDFVersion
-
in file fpdf.php, variable FPDF::$PDFVersion
-
pdf.inc
-
procedural page pdf.inc
-
pdfstruct.inc
-
procedural page pdfstruct.inc
-
PageNo
-
in file fpdf.php, method FPDF::PageNo()
-
parse
-
in file xml_parser.inc, method xmlParser::parse()
-
processAttributes
-
in file pdf.inc, function processAttributes()
    Processes width, height and alignment attributes.
-
processFormatTags
-
in file pdf.inc, function processFormatTags()
    Formats the XML code.
-
processLine
-
in file pdf.inc, function processLine()
    Creates the XML code for an PDF entry.
-
pdfdelete.php
-
procedural page pdfdelete.php
-
pdfmain.php
-
procedural page pdfmain.php
-
pdfpage.php
-
procedural page pdfpage.php
-
-
- top
-
- -
-

r

-
-
$rMargin
-
in file fpdf.php, variable FPDF::$rMargin
-
Rect
-
in file fpdf.php, method FPDF::Rect()
-
-
- top
-
- -
-

s

-
-
$state
-
in file fpdf.php, variable FPDF::$state
-
$subject
-
in file fpdf.php, variable FPDF::$subject
-
savePDFStructureDefinitions
-
in file pdfstruct.inc, function savePDFStructureDefinitions()
    Saves PDF structure definitions to XML file in format: <name>.<scope>.xml
-
SetAuthor
-
in file fpdf.php, method FPDF::SetAuthor()
-
SetAutoPageBreak
-
in file fpdf.php, method FPDF::SetAutoPageBreak()
-
SetCompression
-
in file fpdf.php, method FPDF::SetCompression()
-
SetCreator
-
in file fpdf.php, method FPDF::SetCreator()
-
SetDisplayMode
-
in file fpdf.php, method FPDF::SetDisplayMode()
-
SetDrawColor
-
in file fpdf.php, method FPDF::SetDrawColor()
-
SetFillColor
-
in file fpdf.php, method FPDF::SetFillColor()
-
SetFont
-
in file fpdf.php, method FPDF::SetFont()
-
SetFontSize
-
in file fpdf.php, method FPDF::SetFontSize()
-
SetKeywords
-
in file fpdf.php, method FPDF::SetKeywords()
-
SetLeftMargin
-
in file fpdf.php, method FPDF::SetLeftMargin()
-
SetLineWidth
-
in file fpdf.php, method FPDF::SetLineWidth()
-
SetLink
-
in file fpdf.php, method FPDF::SetLink()
-
SetMargins
-
in file fpdf.php, method FPDF::SetMargins()
-
SetRightMargin
-
in file fpdf.php, method FPDF::SetRightMargin()
-
SetSubject
-
in file fpdf.php, method FPDF::SetSubject()
-
SetTextColor
-
in file fpdf.php, method FPDF::SetTextColor()
-
SetTitle
-
in file fpdf.php, method FPDF::SetTitle()
-
SetTopMargin
-
in file fpdf.php, method FPDF::SetTopMargin()
-
SetX
-
in file fpdf.php, method FPDF::SetX()
-
SetXY
-
in file fpdf.php, method FPDF::SetXY()
-
SetY
-
in file fpdf.php, method FPDF::SetY()
-
strlen
-
in file ufpdf.php, method UFPDF::strlen()
-
-
- top
-
- -
-

t

-
-
$TextColor
-
in file fpdf.php, variable FPDF::$TextColor
-
$title
-
in file fpdf.php, variable FPDF::$title
-
$tMargin
-
in file fpdf.php, variable FPDF::$tMargin
-
Text
-
in file ufpdf.php, method UFPDF::Text()
-
Text
-
in file fpdf.php, method FPDF::Text()
-
-
- top
-
- -
-

u

-
-
$underline
-
in file fpdf.php, variable FPDF::$underline
-
ufpdf.php
-
procedural page ufpdf.php
-
UFPDF
-
in file ufpdf.php, method UFPDF::UFPDF()
    *****************************************************************************
-
UFPDF
-
in file ufpdf.php, class UFPDF
    Main UFPDF class for creating Unicode PDF documents
-
UFPDF_VERSION
-
in file ufpdf.php, constant UFPDF_VERSION
    *****************************************************************************
-
utf8_substr
-
in file ufpdf.php, method UFPDF::utf8_substr()
-
utf8_to_codepoints
-
in file ufpdf.php, method UFPDF::utf8_to_codepoints()
-
utf8_to_utf16be
-
in file ufpdf.php, method UFPDF::utf8_to_utf16be()
-
-
- top
-
- -
-

v

-
-
vera.php
-
procedural page vera.php
-
verab.php
-
procedural page verab.php
-
verabi.php
-
procedural page verabi.php
-
verai.php
-
procedural page verai.php
-
-
- top
-
- -
-

w

-
-
$w
-
in file fpdf.php, variable FPDF::$w
-
$wPt
-
in file fpdf.php, variable FPDF::$wPt
-
$ws
-
in file fpdf.php, variable FPDF::$ws
-
Write
-
in file ufpdf.php, method UFPDF::Write()
-
Write
-
in file fpdf.php, method FPDF::Write()
-
-
- top
-
- -
-

x

-
-
$x
-
in file fpdf.php, variable FPDF::$x
-
xml_parser.inc
-
procedural page xml_parser.inc
-
xmlParser
-
in file xml_parser.inc, class xmlParser
-
-
- top
-
- -
-

y

-
-
$y
-
in file fpdf.php, variable FPDF::$y
-
-
- top
-
- -
-

z

-
-
$ZoomMode
-
in file fpdf.php, variable FPDF::$ZoomMode
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_configuration.html b/lam-web/developers/devel/phpdoc/elementindex_configuration.html deleted file mode 100644 index f7c0f3b2..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_configuration.html +++ /dev/null @@ -1,316 +0,0 @@ - - -Package configuration Element Index - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package configuration

- [ a ] - [ c ] - [ d ] - [ g ] - [ i ] - [ l ] - [ m ] - [ p ] - [ s ] - [ _ ] - -
- -
-

_

-
-
__construct
-
in file config.inc, method LAMConfig::__construct()
    Loads preferences from config file
-
__construct
-
in file config.inc, method LAMCfgMain::__construct()
    Loads preferences from config file
-
-
- top
-
- -
-

a

-
-
$allowedHosts
-
in file config.inc, variable LAMCfgMain::$allowedHosts
    list of hosts which may access LAM
-
ACCESS_ALL
-
in file config.inc, class constant LAMConfig::ACCESS_ALL
-
ACCESS_PASSWORD_CHANGE
-
in file config.inc, class constant LAMConfig::ACCESS_PASSWORD_CHANGE
-
ACCESS_READ_ONLY
-
in file config.inc, class constant LAMConfig::ACCESS_READ_ONLY
-
-
- top
-
- -
-

c

-
-
checkChmod
-
in file config.inc, function checkChmod()
    Checks whether a specific flag in the rights string is set.
-
checkPassword
-
in file config.inc, method LAMCfgMain::checkPassword()
    Checks if the given password matches.
-
check_Passwd
-
in file config.inc, method LAMConfig::check_Passwd()
    Checks if the given password matches.
-
config_showAccountModules
-
in file confmodules.php, function config_showAccountModules()
    Displays the module selection boxes and checks if dependencies are fulfilled.
-
config.inc
-
procedural page config.inc
-
conflogin.php
-
procedural page conflogin.php
-
confmain.php
-
procedural page confmain.php
-
confmodules.php
-
procedural page confmodules.php
-
conftypes.php
-
procedural page conftypes.php
-
-
- top
-
- -
-

d

-
-
$default
-
in file config.inc, variable LAMCfgMain::$default
    Default profile
-
-
- top
-
- -
-

g

-
-
getAccessLevel
-
in file config.inc, method LAMConfig::getAccessLevel()
    Returns the access level for this profile.
-
getConfigProfiles
-
in file config.inc, function getConfigProfiles()
    Returns an array of string with all available configuration profiles (without .conf)
-
getName
-
in file config.inc, method LAMConfig::getName()
    Returns the name of the config file
-
get_AccountModules
-
in file config.inc, method LAMConfig::get_AccountModules()
    Returns an array of all selected account modules
-
get_ActiveTypes
-
in file config.inc, method LAMConfig::get_ActiveTypes()
    Returns a list of active account types.
-
get_Admins
-
in file config.inc, method LAMConfig::get_Admins()
    Returns an array of string with all admin names
-
get_Adminstring
-
in file config.inc, method LAMConfig::get_Adminstring()
    Returns all admin users seperated by semicolons
-
get_cacheTimeout
-
in file config.inc, method LAMConfig::get_cacheTimeout()
    Returns the LDAP cache timeout in minutes
-
get_cacheTimeoutSec
-
in file config.inc, method LAMConfig::get_cacheTimeoutSec()
    Returns the LDAP cache timeout in seconds
-
get_defaultLanguage
-
in file config.inc, method LAMConfig::get_defaultLanguage()
    Returns the default language string
-
get_listAttributes
-
in file config.inc, method LAMConfig::get_listAttributes()
    Returns the list of attributes to show in user list
-
get_moduleSettings
-
in file config.inc, method LAMConfig::get_moduleSettings()
    Returns a list of saved module settings
-
get_scriptPath
-
in file config.inc, method LAMConfig::get_scriptPath()
    Returns the path to the external script
-
get_scriptRights
-
in file config.inc, method LAMConfig::get_scriptRights()
    Returns the chmod value for new home directories.
-
get_scriptServers
-
in file config.inc, method LAMConfig::get_scriptServers()
    Returns the servers of the external script as a Array
-
get_ServerURL
-
in file config.inc, method LAMConfig::get_ServerURL()
    Returns the server address as string
-
get_Suffix
-
in file config.inc, method LAMConfig::get_Suffix()
    Returns the LDAP suffix for the given account type
-
get_typeSettings
-
in file config.inc, method LAMConfig::get_typeSettings()
    Returns a list of saved type settings
-
-
- top
-
- -
-

i

-
-
isWritable
-
in file config.inc, method LAMConfig::isWritable()
    Returns if the file can be written on the filesystem.
-
index.php
-
procedural page index.php
-
-
- top
-
- -
-

l

-
-
$logDestination
-
in file config.inc, variable LAMCfgMain::$logDestination
    log destination ("SYSLOG":syslog, "/...":file, "NONE":none)
-
$logLevel
-
in file config.inc, variable LAMCfgMain::$logLevel
    log level
-
LAMCfgMain
-
in file config.inc, class LAMCfgMain
    This class manages config.cfg.
-
LAMConfig
-
in file config.inc, class LAMConfig
    This class manages .conf files.
-
LAMVersion
-
in file config.inc, function LAMVersion()
    Returns the version number of this LAM installation.
-
-
- top
-
- -
-

m

-
-
metaRefresh
-
in file config.inc, function metaRefresh()
    Prints a meta refresh page
-
mainlogin.php
-
procedural page mainlogin.php
-
mainmanage.php
-
procedural page mainmanage.php
-
-
- top
-
- -
-

p

-
-
profmanage.php
-
procedural page profmanage.php
-
-
- top
-
- -
-

s

-
-
$sessionTimeout
-
in file config.inc, variable LAMCfgMain::$sessionTimeout
    Time of inactivity before session times out (minutes)
-
save
-
in file config.inc, method LAMConfig::save()
    Saves preferences to config file
-
save
-
in file config.inc, method LAMCfgMain::save()
    Saves preferences to config file config.cfg
-
saveSettings
-
in file confmain.php, function saveSettings()
    Saves the entered settings.
-
setAccessLevel
-
in file config.inc, method LAMConfig::setAccessLevel()
    Sets the access level for this profile.
-
setlanguage
-
in file config.inc, function setlanguage()
    Sets language settings for automatic translation
-
setPassword
-
in file config.inc, method LAMCfgMain::setPassword()
    Sets a new config password.
-
set_AccountModules
-
in file config.inc, method LAMConfig::set_AccountModules()
    Sets the selected account modules
-
set_ActiveTypes
-
in file config.inc, method LAMConfig::set_ActiveTypes()
    Sets the list of active types.
-
set_Adminstring
-
in file config.inc, method LAMConfig::set_Adminstring()
    Sets the admin string
-
set_cacheTimeout
-
in file config.inc, method LAMConfig::set_cacheTimeout()
    Sets the LDAP cache timeout in minutes (0,1,2,5,10,15)
-
set_defaultLanguage
-
in file config.inc, method LAMConfig::set_defaultLanguage()
    Sets the default language string
-
set_listAttributes
-
in file config.inc, method LAMConfig::set_listAttributes()
    Sets the list of attributes to show in user list
-
set_moduleSettings
-
in file config.inc, method LAMConfig::set_moduleSettings()
    Sets the settings for the account modules.
-
set_Passwd
-
in file config.inc, method LAMConfig::set_Passwd()
    Sets the preferences wizard password
-
set_scriptPath
-
in file config.inc, method LAMConfig::set_scriptPath()
    Sets the path to the external script
-
set_scriptRights
-
in file config.inc, method LAMConfig::set_scriptRights()
    Sets the rights for the home directory.
-
set_scriptServers
-
in file config.inc, method LAMConfig::set_scriptServers()
    Sets the servers of the external script
-
set_ServerURL
-
in file config.inc, method LAMConfig::set_ServerURL()
    Sets the server address
-
set_Suffix
-
in file config.inc, method LAMConfig::set_Suffix()
    Sets the LDAP suffix where accounts are saved
-
set_typeSettings
-
in file config.inc, method LAMConfig::set_typeSettings()
    Sets the settings for the account types.
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_lib.html b/lam-web/developers/devel/phpdoc/elementindex_lib.html deleted file mode 100644 index e7b49d11..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_lib.html +++ /dev/null @@ -1,561 +0,0 @@ - - -Package lib Element Index - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package lib

- [ a ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ i ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ r ] - [ s ] - [ t ] - [ u ] - [ _ ] - -
- -
-

_

-
-
_get_raw_schema
-
in file schema.inc, function _get_raw_schema()
    Fetches the raw schema array for the subschemaSubentry of the server. Note, this function has grown many hairs to accomodate more LDAP servers. It is needfully complicated as it now supports many popular LDAP servers that don't necessarily expose their schema "the right way".
-
_get_schema_dn
-
in file schema.inc, function _get_schema_dn()
    Helper for _get_raw_schema() which fetches the DN of the schema object
-
__construct
-
in file cache.inc, method cache::__construct()
    Constructor.
-
__sleep
-
in file cache.inc, method cache::__sleep()
    Encrypts LDAP cache before saving to session file.
-
__wakeup
-
in file cache.inc, method cache::__wakeup()
    Decrypts LDAP cache after loading from session file.
-
-
- top
-
- -
-

a

-
-
$aliases
-
in file schema.inc, variable AttributeType::$aliases
    An array of alias attribute names, strings
-
addAlias
-
in file schema.inc, method AttributeType::addAlias()
    Adds an attribute name to the alias array.
-
addChildObjectClass
-
in file schema.inc, method ObjectClass::addChildObjectClass()
    Adds an objectClass to the list of objectClasses that inherit from this objectClass.
-
addMayAttrs
-
in file schema.inc, method ObjectClass::addMayAttrs()
    Behaves identically to addMustAttrs, but it operates on the MAY attributes of this objectClass.
-
addMustAttrs
-
in file schema.inc, method ObjectClass::addMustAttrs()
    Adds the specified array of attributes to this objectClass' list of MUST attributes. The resulting array of must attributes will contain unique members.
-
addRequiredByObjectClass
-
in file schema.inc, method AttributeType::addRequiredByObjectClass()
    Adds an objectClass name to this attribute's list of "required by" objectClasses, that is the list of objectClasses which must have this attribute.
-
addUsedByAttr
-
in file schema.inc, method MatchingRule::addUsedByAttr()
    Adds an attribute name to the list of attributes who use this MatchingRule
-
addUsedInObjectClass
-
in file schema.inc, method AttributeType::addUsedInObjectClass()
    Adds an objectClass name to this attribute's list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.
-
add_aliases_to_attrs
-
in file schema.inc, function add_aliases_to_attrs()
    For each attribute that has multiple names, this function adds unique entries to the attrs array for those names. Ie, attributeType has name 'gn' and 'givenName'.
-
add_cache
-
in file cache.inc, method cache::add_cache()
    This function adds attributes to the cache.
-
add_sup_to_attrs
-
in file schema.inc, function add_sup_to_attrs()
    Adds inherited values to each attributeType specified by the SUP directive.
-
array_delete
-
in file account.inc, function array_delete()
    This function will return all values from $array without values of $values.
-
AttributeType
-
in file schema.inc, method AttributeType::AttributeType()
    Creates a new AttributeType objcet from a raw LDAP AttributeType string.
-
AttributeType
-
in file schema.inc, class AttributeType
    Represents an LDAP AttributeType
-
account.inc
-
procedural page account.inc
-
-
- top
-
- -
-

c

-
-
$children_objectclasses
-
in file schema.inc, variable ObjectClass::$children_objectclasses
    array of objectClasses which inherit from this one (must be set at runtime explicitly by the caller)
-
cache
-
in file cache.inc, class cache
    This class contains all functions which are needed to manage the LDAP cache.
-
cached_schema_available
-
in file schema.inc, function cached_schema_available()
    Returns true if the schema for $schema_type has been cached and
-
checkClientIP
-
in file security.inc, function checkClientIP()
    Checks if the client's IP address is on the list of allowed IPs.
-
checkIfPasswordChangeIsAllowed
-
in file security.inc, function checkIfPasswordChangeIsAllowed()
    Checks if passwords may be changed.
-
checkIfWriteAccessIsAllowed
-
in file security.inc, function checkIfWriteAccessIsAllowed()
    Checks if write access to LDAP is allowed.
-
cmp_domain
-
in file account.inc, function cmp_domain()
    Helper function to sort the domains
-
cache.inc
-
procedural page cache.inc
-
-
- top
-
- -
-

d

-
-
$description
-
in file schema.inc, variable SchemaItem::$description
    The description of this schema item.
-
-
- top
-
- -
-

e

-
-
$equality
-
in file schema.inc, variable AttributeType::$equality
    The equality rule used
-
-
- top
-
- -
-

f

-
-
findgroups
-
in file cache.inc, method cache::findgroups()
    This function returns an array with all group names which were found in the LDAP directory.
-
-
- top
-
- -
-

g

-
-
generateRandomPassword
-
in file account.inc, function generateRandomPassword()
    Generates a random password with 12 digits.
-
getAliases
-
in file schema.inc, method AttributeType::getAliases()
    Gets the names of attributes that are an alias for this attribute (if any).
-
getChildObjectClasses
-
in file schema.inc, method ObjectClass::getChildObjectClasses()
    Returns the array of objectClass names which inherit from this objectClass.
-
getdays
-
in file account.inc, function getdays()
    This function will return the days from 1.1.1970 until now.
-
getDescription
-
in file schema.inc, method SchemaItem::getDescription()
-
getEquality
-
in file schema.inc, method AttributeType::getEquality()
    Gets this attribute's equality string
-
getgid
-
in file cache.inc, method cache::getgid()
    This function will return the GID number to an existing group name (using the cache).
-
getgrnam
-
in file cache.inc, method cache::getgrnam()
    This function returns the group name to an existing gidNumber.
-
getIsCollective
-
in file schema.inc, method AttributeType::getIsCollective()
    Gets whether this attribute is collective.
-
getIsNoUserModification
-
in file schema.inc, method AttributeType::getIsNoUserModification()
    Gets whether this attribute is not modifiable by users.
-
getIsObsolete
-
in file schema.inc, method AttributeType::getIsObsolete()
    Gets whether this attribute has been flagged as obsolete by the LDAP server
-
getIsObsolete
-
in file schema.inc, method ObjectClass::getIsObsolete()
    Gets whether this objectClass is flagged as obsolete by the LDAP server.
-
getIsObsolete
-
in file schema.inc, method MatchingRule::getIsObsolete()
    Gets whether this MatchingRule is flagged as obsolete by the LDAP server.
-
getIsSingleValue
-
in file schema.inc, method AttributeType::getIsSingleValue()
    Gets whether this attribute is single-valued. If this attribute only supports single values, true is returned. If this attribute supports multiple values, false is returned.
-
getMaxLength
-
in file schema.inc, method AttributeType::getMaxLength()
    Gets this attribute's the maximum length. If no maximum is defined by the LDAP server, null is returned.
-
getMayAttrNames
-
in file schema.inc, method ObjectClass::getMayAttrNames()
    Gets an array of attribute names (strings) that entries of this ObjectClass must define.
-
getMayAttrs
-
in file schema.inc, method ObjectClass::getMayAttrs()
    Gets an array of AttributeType objects that entries of this ObjectClass may define.
-
getMustAttrNames
-
in file schema.inc, method ObjectClass::getMustAttrNames()
    Gets an array of attribute names (strings) that entries of this ObjectClass must define.
-
getMustAttrs
-
in file schema.inc, method ObjectClass::getMustAttrs()
    Gets an array of AttributeType objects that entries of this ObjectClass must define.
-
getName
-
in file schema.inc, method MatchingRule::getName()
    Gets this MatchingRule's name.
-
getName
-
in file schema.inc, method MatchingRuleUse::getName()
    Gets this MatchingRuleUse's name
-
getName
-
in file schema.inc, method AttributeType::getName()
    Gets this attribute's name
-
getName
-
in file schema.inc, method ObjectClass::getName()
    Gets the name of this objectClass (ie, "inetOrgPerson")
-
getName
-
in file schema.inc, method ObjectClassAttribute::getName()
    Gets this attribute's name
-
getOID
-
in file schema.inc, method SchemaItem::getOID()
-
getOrdering
-
in file schema.inc, method AttributeType::getOrdering()
    Gets this attribute's ordering specification.
-
getRequiredByObjectClasses
-
in file schema.inc, method AttributeType::getRequiredByObjectClasses()
    Gets the list of "required by" objectClasses, that is the list of objectClasses which provide must have attribute.
-
getshells
-
in file account.inc, function getshells()
    Returns a list of shells listed in config/shells.
-
getSource
-
in file schema.inc, method ObjectClassAttribute::getSource()
    Gets the name of the ObjectClass which originally specified this attribute.
-
getSubstr
-
in file schema.inc, method AttributeType::getSubstr()
    Gets this attribute's substring matching specification
-
getSupAttribute
-
in file schema.inc, method AttributeType::getSupAttribute()
    Gets this attribute's parent attribute (if any). If this attribute does not inherit from another attribute, null is returned.
-
getSupClasses
-
in file schema.inc, method ObjectClass::getSupClasses()
    Gets the objectClass names from which this objectClass inherits.
-
getSyntaxOID
-
in file schema.inc, method AttributeType::getSyntaxOID()
    Gets this attribute's syntax OID. Differs from getSyntaxString() in that this function only returns the actual OID with any length specification removed.
-
getSyntaxString
-
in file schema.inc, method AttributeType::getSyntaxString()
    Gets this attribute's raw syntax string (ie: "1.2.3.4{16}").
-
getType
-
in file schema.inc, method ObjectClass::getType()
    Gets the type of this objectClass: STRUCTURAL, ABSTRACT, or AUXILIARY.
-
getType
-
in file schema.inc, method AttributeType::getType()
    Gets this attribute's type
-
getUsage
-
in file schema.inc, method AttributeType::getUsage()
    Gets this attribute's usage string as defined by the LDAP server
-
getUsedByAttrs
-
in file schema.inc, method MatchingRuleUse::getUsedByAttrs()
    Gets an array of attribute names (strings) which use this MatchingRuleUse object.
-
getUsedByAttrs
-
in file schema.inc, method MatchingRule::getUsedByAttrs()
    Gets an array of attribute names (strings) which use this MatchingRule
-
getUsedInObjectClasses
-
in file schema.inc, method AttributeType::getUsedInObjectClasses()
    Gets the list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.
-
get_cache
-
in file cache.inc, method cache::get_cache()
    Queries the cache for a list of LDAP entries and their attributes.
-
get_cached_schema
-
in file schema.inc, function get_cached_schema()
    Returns the cached array of schemaitem objects for the specified
-
get_preg
-
in file account.inc, function get_preg()
    Checks if a given value matches the selected regular expression.
-
get_schema_attribute
-
in file schema.inc, function get_schema_attribute()
    Gets a single AttributeType object specified by name.
-
get_schema_attributes
-
in file schema.inc, function get_schema_attributes()
    Gets an associative array of AttributeType objects for the specified server. Each array entry's key is the name of the attributeType in lower-case and the value is an AttributeType object.
-
get_schema_matching_rules
-
in file schema.inc, function get_schema_matching_rules()
    Returns an array of MatchingRule objects for the specified server.
-
get_schema_objectclass
-
in file schema.inc, function get_schema_objectclass()
    Gets a single ObjectClass object specified by name.
-
get_schema_objectclasses
-
in file schema.inc, function get_schema_objectclasses()
    Gets an associative array of ObjectClass objects for the specified server. Each array entry's key is the name of the objectClass in lower-case and the value is an ObjectClass object.
-
get_schema_syntaxes
-
in file schema.inc, function get_schema_syntaxes()
    Returns an array of Syntax objects that this LDAP server uses mapped to their descriptions. The key of each entry is the OID of the Syntax.
-
-
- top
-
- -
-

i

-
-
$is_collective
-
in file schema.inc, variable AttributeType::$is_collective
    boolean: is collective?
-
$is_no_user_modification
-
in file schema.inc, variable AttributeType::$is_no_user_modification
    boolean: can use modify?
-
$is_obsolete
-
in file schema.inc, variable MatchingRule::$is_obsolete
    Boolean value indicating whether this MatchingRule is obsolete
-
$is_obsolete
-
in file schema.inc, variable ObjectClass::$is_obsolete
    boolean value indicating whether this objectClass is obsolete
-
$is_obsolete
-
in file schema.inc, variable AttributeType::$is_obsolete
    string: the description
-
$is_single_value
-
in file schema.inc, variable AttributeType::$is_single_value
    boolean: is single valued only?
-
initVars
-
in file schema.inc, method ObjectClass::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method SchemaItem::initVars()
    Initialize class members to default values.
-
initVars
-
in file schema.inc, method AttributeType::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method Syntax::initVars()
    Initializes the class' member variables
-
initVars
-
in file schema.inc, method MatchingRule::initVars()
    Initialize the class' member variables
-
initVars
-
in file schema.inc, method MatchingRuleUse::initVars()
    Initialize the class' member variables
-
in_array_ignore_case
-
in file account.inc, function in_array_ignore_case()
    Checks if a string exists in an array, ignoring case.
-
in_cache
-
in file cache.inc, method cache::in_cache()
    This function returns the DN if an LDAP entry with $attribute=$value is found.
-
isAliasFor
-
in file schema.inc, method AttributeType::isAliasFor()
    Returns whether the specified attribute is an alias for this one (based on this attribute's alias list).
-
-
- top
-
- -
-

l

-
-
lmPassword
-
in file account.inc, function lmPassword()
    Generates the LM hash of a password.
-
logNewMessage
-
in file security.inc, function logNewMessage()
    Puts a new message in the log file.
-
logoffAndBackToLoginPage
-
in file security.inc, function logoffAndBackToLoginPage()
    Logs off the user and displays the login page.
-
-
- top
-
- -
-

m

-
-
$max_length
-
in file schema.inc, variable AttributeType::$max_length
    The max number of characters this attribute can be
-
$may_attrs
-
in file schema.inc, variable ObjectClass::$may_attrs
    arrays of attribute names that this objectClass allows, but does not require
-
$must_attrs
-
in file schema.inc, variable ObjectClass::$must_attrs
    arrays of attribute names that this objectClass requires
-
MatchingRule
-
in file schema.inc, method MatchingRule::MatchingRule()
    Creates a new MatchingRule object from a raw LDAP MatchingRule string.
-
MatchingRule
-
in file schema.inc, class MatchingRule
    Represents an LDAP MatchingRule
-
MatchingRuleUse
-
in file schema.inc, class MatchingRuleUse
    Represents an LDAP schema matchingRuleUse entry
-
MatchingRuleUse
-
in file schema.inc, method MatchingRuleUse::MatchingRuleUse()
-
-
- top
-
- -
-

n

-
-
$name
-
in file schema.inc, variable ObjectClass::$name
    This objectClass' name, ie "inetOrgPerson"
-
$name
-
in file schema.inc, variable ObjectClassAttribute::$name
    This Attribute's name
-
$name
-
in file schema.inc, variable MatchingRuleUse::$name
    The name of the MathingRule this applies to
-
$name
-
in file schema.inc, variable MatchingRule::$name
    This rule's name
-
$name
-
in file schema.inc, variable AttributeType::$name
    The name of this attributeType
-
ntPassword
-
in file account.inc, function ntPassword()
    Generates the NT hash of a password.
-
-
- top
-
- -
-

o

-
-
$oid
-
in file schema.inc, variable SchemaItem::$oid
    The OID of this schema item.
-
$ordering
-
in file schema.inc, variable AttributeType::$ordering
    The ordering of the attributeType
-
ObjectClass
-
in file schema.inc, method ObjectClass::ObjectClass()
    Creates a new ObjectClass object given a raw LDAP objectClass string.
-
ObjectClass
-
in file schema.inc, class ObjectClass
    Represents an LDAP objectClass
-
ObjectClassAttribute
-
in file schema.inc, method ObjectClassAttribute::ObjectClassAttribute()
    Creates a new ObjectClassAttribute with specified name and source objectClass.
-
ObjectClassAttribute
-
in file schema.inc, class ObjectClassAttribute
    A simple class for representing AttributeTypes used only by the ObjectClass class.
-
-
- top
-
- -
-

p

-
-
pwd_disable
-
in file account.inc, function pwd_disable()
    Marks an password hash as disabled and returns the new hash string
-
pwd_enable
-
in file account.inc, function pwd_enable()
    Marks an password hash as enabled and returns the new hash string
-
pwd_hash
-
in file account.inc, function pwd_hash()
    Returns the hash value of a plain text password the hash algorithm depends on the configuration file
-
pwd_is_enabled
-
in file account.inc, function pwd_is_enabled()
    Checks if a password hash is enabled/disabled
-
-
- top
-
- -
-

r

-
-
$required_by_object_classes
-
in file schema.inc, variable AttributeType::$required_by_object_classes
    A list of object class names that require this attribute type.
-
refresh_cache
-
in file cache.inc, method cache::refresh_cache()
    This function refreshes the cache.
-
removeAlias
-
in file schema.inc, method AttributeType::removeAlias()
    Removes an attribute name from this attribute's alias array.
-
-
- top
-
- -
-

s

-
-
$source
-
in file schema.inc, variable ObjectClassAttribute::$source
    This Attribute's root
-
$sub_str
-
in file schema.inc, variable AttributeType::$sub_str
    Boolean: supports substring matching?
-
$sup_attribute
-
in file schema.inc, variable AttributeType::$sup_attribute
    The attribute from which this attribute inherits (if any)
-
$sup_classes
-
in file schema.inc, variable ObjectClass::$sup_classes
    array of objectClass names from which this objectClass inherits
-
$syntax
-
in file schema.inc, variable MatchingRule::$syntax
    This rule's syntax OID
-
$syntax
-
in file schema.inc, variable AttributeType::$syntax
    The full syntax string, ie 1.2.3.4{16}
-
schema.inc
-
procedural page schema.inc
-
security.inc
-
procedural page security.inc
-
status.inc
-
procedural page status.inc
-
SchemaItem
-
in file schema.inc, class SchemaItem
    Generic parent class for all schema items. A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax.
-
SchemaItem
-
in file schema.inc, method SchemaItem::SchemaItem()
    Default constructor.
-
SCHEMA_SESSION_CACHE_ENABLED
-
in file schema.inc, constant SCHEMA_SESSION_CACHE_ENABLED
    To enable/disable session-based schema caching (1: enabled, 0: disabled).
-
search_domains
-
in file account.inc, function search_domains()
    Returns an array with all Samba 3 domain entries under the given suffix
-
setAliases
-
in file schema.inc, method AttributeType::setAliases()
    Sets this attribute's list of aliases.
-
setDescription
-
in file schema.inc, method SchemaItem::setDescription()
-
setIsSingleValue
-
in file schema.inc, method AttributeType::setIsSingleValue()
    Sets whether this attribute is single-valued.
-
setName
-
in file schema.inc, method AttributeType::setName()
    Sets this attriute's name.
-
setOID
-
in file schema.inc, method SchemaItem::setOID()
-
setSupAttribute
-
in file schema.inc, method AttributeType::setSupAttribute()
    Sets this attriute's SUP attribute (ie, the attribute from which this attribute inherits).
-
setType
-
in file schema.inc, method AttributeType::setType()
    Sets this attribute's type.
-
setUsedByAttrs
-
in file schema.inc, method MatchingRule::setUsedByAttrs()
    Sets the list of used_by_attrs to the array specified by $attrs;
-
set_cached_schema
-
in file schema.inc, function set_cached_schema()
    Caches the specified $schema_type.
-
set_schema_cache_unavailable
-
in file schema.inc, function set_schema_cache_unavailable()
    Sets the schema entry for the server_id to be "unavailable" so that we realize that we tried to get the schema but could not, so quit trying next time to fetch it from the server.
-
smbflag
-
in file account.inc, function smbflag()
    Takes a list of Samba flags and creates the corresponding flag string.
-
startSecureSession
-
in file security.inc, function startSecureSession()
    Starts a session and checks the environment.
-
StatusMessage
-
in file status.inc, function StatusMessage()
    This function prints a short status message. It can be used to print INFO, WARN and ERROR messages at the moment.
-
Syntax
-
in file schema.inc, method Syntax::Syntax()
    Creates a new Syntax object from a raw LDAP syntax string.
-
Syntax
-
in file schema.inc, class Syntax
    Represents an LDAP Syntax
-
-
- top
-
- -
-

t

-
-
$type
-
in file schema.inc, variable ObjectClass::$type
    one of STRUCTURAL, ABSTRACT, or AUXILIARY
-
$type
-
in file schema.inc, variable AttributeType::$type
    A string description of the syntax type (taken from the LDAPSyntaxes)
-
-
- top
-
- -
-

u

-
-
$usage
-
in file schema.inc, variable AttributeType::$usage
    The usage string set by the LDAP schema
-
$used_by_attrs
-
in file schema.inc, variable MatchingRule::$used_by_attrs
    An array of attribute names who use this MatchingRule
-
$used_by_attrs
-
in file schema.inc, variable MatchingRuleUse::$used_by_attrs
    An array of attributeType names who make use of the mathingRule
-
$used_in_object_classes
-
in file schema.inc, variable AttributeType::$used_in_object_classes
    An array of objectClasses which use this attributeType (must be set by caller)
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_lists.html b/lam-web/developers/devel/phpdoc/elementindex_lists.html deleted file mode 100644 index 212806c6..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_lists.html +++ /dev/null @@ -1,615 +0,0 @@ - - -Package lists Element Index - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package lists

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ i ] - [ l ] - [ m ] - [ n ] - [ p ] - [ r ] - [ s ] - [ t ] - [ u ] - [ _ ] - -
- -
-

_

-
-
__construct
-
in file lists.inc, method lamSelectListOption::__construct()
    Creates a new selection list option.
-
__construct
-
in file mailAlias.inc, method lamMailAliasList::__construct()
    Constructor
-
__construct
-
in file smbDomain.inc, method lamSmbDomainList::__construct()
    Constructor
-
__construct
-
in file user.inc, method lamUserList::__construct()
    Constructor
-
__construct
-
in file lists.inc, method lamListTool::__construct()
    Constructor
-
__construct
-
in file lists.inc, method lamListOption::__construct()
    Creates a new config option.
-
__construct
-
in file host.inc, method lamHostList::__construct()
    Constructor
-
__construct
-
in file lists.inc, method lamBooleanListOption::__construct()
    Creates a new boolean option.
-
__construct
-
in file lists.inc, method lamList::__construct()
    Constructor
-
__construct
-
in file group.inc, method lamGroupList::__construct()
    Constructor
-
-
- top
-
- -
-

a

-
-
$attrArray
-
in file lists.inc, variable lamList::$attrArray
    list of LDAP attributes
-
arrayLower
-
in file tree.inc, function arrayLower()
-
array_stripslashes
-
in file tree.inc, function array_stripslashes()
    Strips all slashes from the specified array in place (pass by ref).
-
add_attr.php
-
procedural page add_attr.php
-
add_attr_form.php
-
procedural page add_attr_form.php
-
add_oclass.php
-
procedural page add_oclass.php
-
add_oclass_form.php
-
procedural page add_oclass_form.php
-
add_value.php
-
procedural page add_value.php
-
add_value_form.php
-
procedural page add_value_form.php
-
-
- top
-
- -
-

b

-
-
build_initial_tree_icons
-
in file tree.inc, function build_initial_tree_icons()
    Builds the initial array that stores the icon-lookup for each server's DN in the tree browser. The returned
-
-
- top
-
- -
-

c

-
-
cmp_array
-
in file lists.inc, method lamList::cmp_array()
    Compare function used for usort-method
-
collapse.php
-
procedural page collapse.php
-
create.php
-
procedural page create.php
-
create_form.php
-
procedural page create_form.php
-
creation_template.php
-
procedural page creation_template.php
-
custom.php
-
procedural page custom.php
-
-
- top
-
- -
-

d

-
-
$descArray
-
in file lists.inc, variable lamList::$descArray
    list of attribute descriptions
-
deletelink.php
-
procedural page deletelink.php
-
dn_exists
-
in file tree.inc, function dn_exists()
    Gets whether an entry exists based on its DN. If the entry exists, returns true. Otherwise returns false.
-
draw_create_link
-
in file tree.php, function draw_create_link()
-
draw_formatted_dn
-
in file tree.inc, function draw_formatted_dn()
    Gets a DN string using the user-configured tree_display_format string to format it.
-
draw_jpeg_photos
-
in file tree.inc, function draw_jpeg_photos()
    Draw the jpegPhoto image(s) for an entry wrapped in HTML. Many options are available to specify how the images are to be displayed.
-
draw_server_tree
-
in file tree.inc, function draw_server_tree()
    Prints the HTML of the tree view.
-
draw_tree_html
-
in file tree.php, function draw_tree_html()
    Recursively descend on the given dn and draw the tree in html
-
delete.php
-
procedural page delete.php
-
delete_attr.php
-
procedural page delete_attr.php
-
delete_form.php
-
procedural page delete_form.php
-
download_binary_attr.php
-
procedural page download_binary_attr.php
-
-
- top
-
- -
-

e

-
-
$entries
-
in file lists.inc, variable lamList::$entries
    LDAP entries
-
edit.php
-
procedural page edit.php
-
expand.php
-
procedural page expand.php
-
export.php
-
procedural page export.php
-
export_form.php
-
procedural page export_form.php
-
-
- top
-
- -
-

f

-
-
$filterText
-
in file lists.inc, variable lamList::$filterText
    filter string to include in URL
-
fillFromPostData
-
in file lists.inc, method lamSelectListOption::fillFromPostData()
    Fills the config option from POST data.
-
fillFromPostData
-
in file lists.inc, method lamListOption::fillFromPostData()
    Fills the config option from POST data.
-
fillFromPostData
-
in file lists.inc, method lamBooleanListOption::fillFromPostData()
    Fills the config option from POST data.
-
-
- top
-
- -
-

g

-
-
getAdditionalTools
-
in file user.inc, method lamUserList::getAdditionalTools()
    Returns a list of lamListTool objects to display next to the edit/delete buttons.
-
getAdditionalTools
-
in file lists.inc, method lamList::getAdditionalTools()
    Returns a list of lamListTool objects to display next to the edit/delete buttons.
-
getID
-
in file lists.inc, method lamListOption::getID()
    Returns the option ID.
-
getImage
-
in file lists.inc, method lamListTool::getImage()
    Returns the name of the tool image.
-
getLinkTarget
-
in file lists.inc, method lamListTool::getLinkTarget()
    Returns the PHP file (relative to 'templates/lists') which will be the target for this tool.
-
getMetaHTML
-
in file lists.inc, method lamListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getMetaHTML
-
in file lists.inc, method lamSelectListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getMetaHTML
-
in file lists.inc, method lamBooleanListOption::getMetaHTML()
    Returns the meta HTML data to display this option.
-
getName
-
in file lists.inc, method lamListTool::getName()
    Returns the tool name.
-
getValue
-
in file lists.inc, method lamListOption::getValue()
    Returns the option value. The value must not contain "=" and ";".
-
groupRefreshPrimary
-
in file group.inc, method lamGroupList::groupRefreshPrimary()
    Refreshes the primary group members list.
-
get_attr_select_html
-
in file custom.php, function get_attr_select_html()
    Returns option values.
-
get_binary_attr_select_html
-
in file custom.php, function get_binary_attr_select_html()
    Returns option values.
-
get_container
-
in file tree.inc, function get_container()
    Given a DN string, this returns the parent container portion of the string.
-
get_container_contents
-
in file tree.inc, function get_container_contents()
    Gets a list of child entries for an entry. Given a DN, this function fetches the list of DNs of child entries one level beneath the parent. For example, for the following tree:
-
get_enc_type
-
in file tree.inc, function get_enc_type()
-
get_entry_system_attrs
-
in file tree.inc, function get_entry_system_attrs()
    Gets the operational attributes for an entry. Given a DN, this function fetches that entry's
-
get_icon
-
in file tree.inc, function get_icon()
    Given a DN and server ID, this function reads the DN's objectClasses and
-
get_line_end_format
-
in file export_form.php, function get_line_end_format()
    Helper functoin for fetching the line end format.
-
get_object_attr
-
in file tree.inc, function get_object_attr()
    Much like get_object_attrs(), but only returns the values for one attribute of an object. Example calls:
-
get_object_attrs
-
in file tree.inc, function get_object_attrs()
    Gets the attributes/values of an entry. Returns an associative array whose
-
get_rdn
-
in file tree.inc, function get_rdn()
    Given a DN string, this returns the 'RDN' portion of the string.
-
-
- top
-
- -
-

i

-
-
isSelected
-
in file lists.inc, method lamBooleanListOption::isSelected()
    Returns if this option is selected.
-
initialize_session_tree
-
in file tree.inc, function initialize_session_tree()
    Checks and fixes an initial session's tree cache if needed.
-
is_attr_binary
-
in file tree.inc, function is_attr_binary()
    Given an attribute name and server ID number, this function returns whether the attrbiute may contain binary data. This is useful for developers who wish to display the contents of an arbitrary attribute but don't want to dump binary data on the page.
-
is_attr_boolean
-
in file tree.inc, function is_attr_boolean()
    Given an attribute name and server ID number, this function returns whether the attrbiute contains boolean data. This is useful for developers who wish to display the contents of a boolean attribute with a drop-down.
-
is_binary_option_required
-
in file add_attr.php, function is_binary_option_required()
-
is_dn_attr
-
in file tree.inc, function is_dn_attr()
    Returns true if the attribute specified is required to take as input a DN.
-
is_jpeg_photo
-
in file tree.inc, function is_jpeg_photo()
    Used to determine if the specified attribute is indeed a jpegPhoto. If the specified attribute is one that houses jpeg data, true is returned. Otherwise this function returns false.
-
is_mail_string
-
in file tree.inc, function is_mail_string()
    Get whether a string looks like an email address (user@example.com).
-
is_multi_line_attr
-
in file tree.inc, function is_multi_line_attr()
    Determines if an attribute's value can contain multiple lines. Attributes that fall in this multi-line category may be configured in config.php. Hence, this function accesses the global variable $multi_line_attributes;
-
is_url_string
-
in file tree.inc, function is_url_string()
    Get whether a string looks like a web URL (http://www.example.com/)
-
-
- top
-
- -
-

l

-
-
$labels
-
in file lists.inc, variable lamList::$labels
    list of account specific labels
-
lamBooleanListOption
-
in file lists.inc, class lamBooleanListOption
    Boolean option for list configuration.
-
lamGroupList
-
in file group.inc, class lamGroupList
    Generates the list view.
-
lamHostList
-
in file host.inc, class lamHostList
    Generates the list view.
-
lamList
-
in file lists.inc, class lamList
    Generates the list view.
-
lamListOption
-
in file lists.inc, class lamListOption
    Represents a list configuration option.
-
lamListTool
-
in file lists.inc, class lamListTool
    Represents a tool which can be included in the account lists.
-
lamMailAliasList
-
in file mailAlias.inc, class lamMailAliasList
    Generates the list view.
-
lamSelectListOption
-
in file lists.inc, class lamSelectListOption
    Boolean option for list configuration.
-
lamSmbDomainList
-
in file smbDomain.inc, class lamSmbDomainList
    Generates the list view.
-
lamUserList
-
in file user.inc, class lamUserList
    Generates the list view.
-
lists.inc
-
procedural page lists.inc
-
listBuildFilter
-
in file lists.inc, method lamList::listBuildFilter()
    Builds the regular expressions from the filter values.
-
listConfigurationChanged
-
in file lists.inc, method lamList::listConfigurationChanged()
    Called when the configuration options changed.
-
listConfigurationChanged
-
in file group.inc, method lamGroupList::listConfigurationChanged()
    Called when the configuration options changed.
-
listConfigurationChanged
-
in file user.inc, method lamUserList::listConfigurationChanged()
    Called when the configuration options changed.
-
listDoPost
-
in file lists.inc, method lamList::listDoPost()
    Manages all POST actions (e.g. button pressed) for the account lists.
-
listDrawNavigationBar
-
in file lists.inc, method lamList::listDrawNavigationBar()
    Draws a navigation bar to switch between pages
-
listFilterAccounts
-
in file lists.inc, method lamList::listFilterAccounts()
    Removes all entries which do not fit to the filter.
-
listGetAllConfigOptions
-
in file user.inc, method lamUserList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetAllConfigOptions
-
in file lists.inc, method lamList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetAllConfigOptions
-
in file group.inc, method lamGroupList::listGetAllConfigOptions()
    Returns a list of possible configuration options.
-
listGetConfigOptionByID
-
in file lists.inc, method lamList::listGetConfigOptionByID()
    Returns the configuration option with the given ID.
-
listGetParams
-
in file lists.inc, method lamList::listGetParams()
    Sets some internal parameters.
-
listGetParams
-
in file user.inc, method lamUserList::listGetParams()
    Sets some internal parameters.
-
listGetParams
-
in file group.inc, method lamGroupList::listGetParams()
    Sets some internal parameters.
-
listPrintButtons
-
in file lists.inc, method lamList::listPrintButtons()
    Prints the create and delete buttons.
-
listPrintConfigurationPage
-
in file lists.inc, method lamList::listPrintConfigurationPage()
    Prints the list configuration page.
-
listPrintFooter
-
in file lists.inc, method lamList::listPrintFooter()
    Prints the HTML footer.
-
listPrintHeader
-
in file lists.inc, method lamList::listPrintHeader()
    Prints the HTML header.
-
listPrintTableBody
-
in file lists.inc, method lamList::listPrintTableBody()
    Prints the entry list
-
listPrintTableCellContent
-
in file group.inc, method lamGroupList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableCellContent
-
in file lists.inc, method lamList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableCellContent
-
in file user.inc, method lamUserList::listPrintTableCellContent()
    Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
listPrintTableHeader
-
in file lists.inc, method lamList::listPrintTableHeader()
    Prints the attribute and filter row at the account table head
-
listRefreshData
-
in file group.inc, method lamGroupList::listRefreshData()
    Rereads the entries from LDAP.
-
listRefreshData
-
in file lists.inc, method lamList::listRefreshData()
    Rereads the entries from LDAP.
-
listRefreshData
-
in file user.inc, method lamUserList::listRefreshData()
    Rereads the entries from LDAP.
-
listShowOUSelection
-
in file lists.inc, method lamList::listShowOUSelection()
    Prints a combobox with possible sub-DNs.
-
listSort
-
in file lists.inc, method lamList::listSort()
    Sorts an account list by a given attribute
-
LIST_SIZE_OPTION_NAME
-
in file lists.inc, class constant lamList::LIST_SIZE_OPTION_NAME
    ID for list size config option
-
list.php
-
procedural page list.php
-
-
- top
-
- -
-

m

-
-
$maxPageEntries
-
in file lists.inc, variable lamList::$maxPageEntries
    maximum count of entries per page
-
-
- top
-
- -
-

n

-
-
not_an_attr
-
in file add_attr_form.php, function not_an_attr()
    Given an attribute $x, this returns true if it is NOT already specified in the current entry, returns false otherwise.
-
new_ou_template.php
-
procedural page new_ou_template.php
-
-
- top
-
- -
-

p

-
-
$page
-
in file lists.inc, variable lamList::$page
    current page number
-
$possibleSuffixes
-
in file lists.inc, variable lamList::$possibleSuffixes
    list of possible LDAP suffixes(organizational units)
-
pla_compare_dns
-
in file tree.inc, function pla_compare_dns()
    Compares 2 DNs. If they are equivelant, returns 0, otherwise, returns their sorting order (similar to strcmp()): Returns < 0 if dn1 is less than dn2.
-
pla_explode_dn
-
in file tree.inc, function pla_explode_dn()
    Explode a DN into an array of its RDN parts. This function is UTF-8 safe and replaces the buggy PHP ldap_explode_dn() which does not properly handle UTF-8 DNs and also causes segmentation faults with some inputs.
-
pla_ldap_search
-
in file tree.inc, function pla_ldap_search()
    A handy ldap searching function very similar to PHP's ldap_search() with the following exceptions: Callers may specify a search scope and the return value is an array containing the search results rather than an LDAP result resource.
-
pla_rdelete
-
in file rdelete.php, function pla_rdelete()
-
pla_reverse_dn
-
in file tree.inc, function pla_reverse_dn()
    Reverses a DN such that the top-level RDN is first and the bottom-level RDN is last
-
pretty_print_dn
-
in file tree.inc, function pretty_print_dn()
    Returns an HTML-beautified version of a DN.
-
-
- top
-
- -
-

r

-
-
$refresh
-
in file lists.inc, variable lamList::$refresh
    refresh page switch
-
refreshPrimaryGroupTranslation
-
in file user.inc, method lamUserList::refreshPrimaryGroupTranslation()
    Refreshes the GID to group name cache.
-
real_attr_name
-
in file tree.inc, function real_attr_name()
    Prunes off anything after the ";" in an attr name. This is useful for attributes that may have ";binary" appended to their names. With real_attr_name(), you can more easily fetch these attributes' schema with their "real" attribute name.
-
remove_aliases
-
in file custom.php, function remove_aliases()
    Removes attributes from the array that are aliases for eachother
-
rdelete.php
-
procedural page rdelete.php
-
refresh.php
-
procedural page refresh.php
-
-
- top
-
- -
-

s

-
-
$sortColumn
-
in file lists.inc, variable lamList::$sortColumn
    sort column name
-
$sortDirection
-
in file lists.inc, variable lamList::$sortDirection
    sort direction: 1 for ascending, -1 for descending
-
$suffix
-
in file lists.inc, variable lamList::$suffix
    LDAP suffix
-
search_username
-
in file userlink.php, function search_username()
    Searches LDAP for a specific user name (uid attribute) and returns its DN entry
-
setHelpID
-
in file lists.inc, method lamSelectListOption::setHelpID()
    Sets the help ID.
-
setValue
-
in file lists.inc, method lamListOption::setValue()
    Sets the config option value. The value must not contain "=" and ";".
-
showPage
-
in file lists.inc, method lamList::showPage()
    Prints the HTML code to display the list view.
-
sortAttrs
-
in file tree.inc, function sortAttrs()
-
-
- top
-
- -
-

t

-
-
$type
-
in file lists.inc, variable lamList::$type
    Account type
-
TRANS_PRIMARY_OPTION_NAME
-
in file user.inc, class constant lamUserList::TRANS_PRIMARY_OPTION_NAME
    ID for config option
-
TRANS_PRIMARY_OPTION_NAME
-
in file group.inc, class constant lamGroupList::TRANS_PRIMARY_OPTION_NAME
    ID for config option
-
tree.inc
-
procedural page tree.inc
-
templates.inc
-
procedural page templates.inc
-
tree.php
-
procedural page tree.php
-
tree_view.php
-
procedural page tree_view.php
-
-
- top
-
- -
-

u

-
-
userlink.php
-
procedural page userlink.php
-
update.php
-
procedural page update.php
-
update_confirm.php
-
procedural page update_confirm.php
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_main.html b/lam-web/developers/devel/phpdoc/elementindex_main.html deleted file mode 100644 index 2ebebb9d..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_main.html +++ /dev/null @@ -1,145 +0,0 @@ - - -Package main Element Index - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package main

- [ d ] - [ g ] - [ i ] - [ l ] - [ m ] - -
- -
-

d

-
-
deleteDN
-
in file delete.php, function deleteDN()
    Deletes a DN and all child entries.
-
display_LoginPage
-
in file login.php, function display_LoginPage()
    Displays the login window.
-
delete.php
-
procedural page delete.php
-
-
- top
-
- -
-

g

-
-
getChildCount
-
in file delete.php, function getChildCount()
    Returns the number of child entries of a DN.
-
-
- top
-
- -
-

i

-
-
initsuff.php
-
procedural page initsuff.php
-
-
- top
-
- -
-

l

-
-
login.php
-
procedural page login.php
-
logout.php
-
procedural page logout.php
-
-
- top
-
- -
-

m

-
-
main.php
-
procedural page main.php
-
main_header.php
-
procedural page main_header.php
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_modules.html b/lam-web/developers/devel/phpdoc/elementindex_modules.html deleted file mode 100644 index 4701e964..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_modules.html +++ /dev/null @@ -1,1062 +0,0 @@ - - -Package modules Element Index - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package modules

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ f ] - [ g ] - [ h ] - [ i ] - [ k ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ q ] - [ r ] - [ s ] - [ t ] - [ _ ] - -
- -
-

_

-
-
__construct
-
in file sambaSamAccount.inc, method sambaSamAccount::__construct()
    Creates a new sambaSamAccount object.
-
__construct
-
in file sambaAccount.inc, method sambaAccount::__construct()
    Creates a new sambaAccount object.
-
__construct
-
in file baseModule.inc, method baseModule::__construct()
    Creates a new base module class
-
__construct
-
in file modules.inc, method accountContainer::__construct()
    Constructor
-
__construct
-
in file kolabUser.inc, method kolabUser::__construct()
    Creates a new kolabUser object.
-
__construct
-
in file sambaGroupMapping.inc, method sambaGroupMapping::__construct()
    Creates a new module for Samba 3 groups.
-
__sleep
-
in file modules.inc, method accountContainer::__sleep()
    Encrypts sensitive data before storing in session.
-
__wakeup
-
in file modules.inc, method accountContainer::__wakeup()
    Decrypts sensitive data after accountContainer was loaded from session.
-
-
- top
-
- -
-

a

-
-
$attributes
-
in file modules.inc, variable accountContainer::$attributes
    Array of all used attributes
-
$attributes
-
in file baseModule.inc, variable baseModule::$attributes
    contains all ldap attributes which should be written
-
$attributes_orig
-
in file modules.inc, variable accountContainer::$attributes_orig
    original LDAP attributes when account was loaded from LDAP
-
$autoAddObjectClasses
-
in file baseModule.inc, variable baseModule::$autoAddObjectClasses
    if true, managed object classes are added when an account is created or loaded (default: true)
-
account
-
in file account.inc, class account
    Manages the object class "account" for users and hosts.
-
accountContainer
-
in file modules.inc, class accountContainer
    This class includes all modules and attributes of an account.
-
account.inc
-
procedural page account.inc
-
-
- top
-
- -
-

b

-
-
baseModule
-
in file baseModule.inc, class baseModule
    Parent class of all account modules.
-
buildUploadAccounts
-
in file modules.inc, function buildUploadAccounts()
    This function builds the LDAP accounts for the file upload.
-
build_uploadAccounts
-
in file posixGroup.inc, method posixGroup::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaAccount.inc, method sambaAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file posixAccount.inc, method posixAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaGroupMapping.inc, method sambaGroupMapping::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file shadowAccount.inc, method shadowAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaSamAccount.inc, method sambaSamAccount::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file nisMailAlias.inc, method nisMailAlias::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file sambaDomain.inc, method sambaDomain::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file ldapPublicKey.inc, method ldapPublicKey::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file ieee802device.inc, method ieee802Device::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file baseModule.inc, method baseModule::build_uploadAccounts()
    In this function the LDAP accounts are built.
-
build_uploadAccounts
-
in file account.inc, method account::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file inetOrgPerson.inc, method inetOrgPerson::build_uploadAccounts()
    In this function the LDAP account is built up.
-
build_uploadAccounts
-
in file kolabUser.inc, method kolabUser::build_uploadAccounts()
    In this function the LDAP account is built up.
-
baseModule.inc
-
procedural page baseModule.inc
-
-
- top
-
- -
-

c

-
-
$ctx
-
in file sambaMungedDial.inc, variable sambaMungedDial::$ctx
-
$ctxattributes
-
in file sambaMungedDial.inc, variable sambaMungedDial::$ctxattributes
-
can_manage
-
in file baseModule.inc, method baseModule::can_manage()
    Returns true if this module can manage accounts of the current type, otherwise false.
-
checkASCII
-
in file posixAccount.inc, method posixAccount::checkASCII()
    Checks if an attribute contains only ASCII charaters and replaces invalid characters.
-
checkConfigOptions
-
in file modules.inc, function checkConfigOptions()
    Checks if the configuration options are valid
-
checkProfileOptions
-
in file modules.inc, function checkProfileOptions()
    Checks if the profile options are valid
-
checkSelfServiceOptions
-
in file inetOrgPerson.inc, method inetOrgPerson::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file posixAccount.inc, method posixAccount::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file sambaSamAccount.inc, method sambaSamAccount::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceOptions
-
in file baseModule.inc, method baseModule::checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP attributes which should be changed.
-
checkSelfServiceSettings
-
in file baseModule.inc, method baseModule::checkSelfServiceSettings()
    Checks if the self service settings are valid.
-
check_configOptions
-
in file baseModule.inc, method baseModule::check_configOptions()
    Checks input values of module settings.
-
check_configOptions
-
in file posixAccount.inc, method posixAccount::check_configOptions()
    Checks input values of module settings.
-
check_module_conflicts
-
in file modules.inc, function check_module_conflicts()
    Checks if there are conflicts between modules
-
check_module_depends
-
in file modules.inc, function check_module_depends()
    Checks if there are missing dependencies between modules.
-
check_profileOptions
-
in file quota.inc, method quota::check_profileOptions()
    Checks input values of account profiles.
-
check_profileOptions
-
in file baseModule.inc, method baseModule::check_profileOptions()
    Checks input values of account profiles.
-
continue_main
-
in file modules.inc, method accountContainer::continue_main()
    This function is called when the user clicks on any button on the account pages.
-
createntlm.inc
-
procedural page createntlm.inc
-
-
- top
-
- -
-

d

-
-
$dn
-
in file modules.inc, variable accountContainer::$dn
    DN suffix of the account
-
$dn
-
in file account.inc, variable samba3domain::$dn
    DN
-
$dn_orig
-
in file modules.inc, variable accountContainer::$dn_orig
    DN suffix of account when it was loaded
-
decode_munged
-
in file sambaMungedDial.inc, method sambaMungedDial::decode_munged()
    Takes a base64-encoded MungedDial-String and returns an array of included parameters and values
-
delete_attributes
-
in file baseModule.inc, method baseModule::delete_attributes()
    This function returns an array with the same syntax as save_attributes().
-
delete_attributes
-
in file posixAccount.inc, method posixAccount::delete_attributes()
    Additional LDAP operations on delete.
-
delete_attributes
-
in file posixGroup.inc, method posixGroup::delete_attributes()
    Checks if the group which should be deleted is still used as primary group.
-
display_html_attributes
-
in file quota.inc, method quota::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file posixGroup.inc, method posixGroup::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file nisMailAlias.inc, method nisMailAlias::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file posixAccount.inc, method posixAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file ldapPublicKey.inc, method ldapPublicKey::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file account.inc, method account::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaDomain.inc, method sambaDomain::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file shadowAccount.inc, method shadowAccount::display_html_attributes()
    This function will create the meta HTML code to show a page with all attributes.
-
display_html_attributes
-
in file baseModule.inc, method baseModule::display_html_attributes()
    This function creates meta HTML code to display the module page.
-
display_html_attributes
-
in file ieee802device.inc, method ieee802Device::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file kolabUser.inc, method kolabUser::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_attributes
-
in file sambaAccount.inc, method sambaAccount::display_html_attributes()
    Returns the HTML meta data for the main account page.
-
display_html_delete
-
in file posixAccount.inc, method posixAccount::display_html_delete()
    Displays the delete homedir option for the delete page.
-
display_html_delete
-
in file baseModule.inc, method baseModule::display_html_delete()
    This function creates meta HTML code which will be displayed when an account should be deleted.
-
display_html_deleteUser
-
in file kolabUser.inc, method kolabUser::display_html_deleteUser()
    This function will create the meta HTML code to show a page to delete accounts.
-
display_html_expire
-
in file shadowAccount.inc, method shadowAccount::display_html_expire()
    This function will create the meta HTML code to show a page with the expiration date.
-
display_html_group
-
in file posixAccount.inc, method posixAccount::display_html_group()
    Displays the group selection.
-
display_html_logonHours
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_logonHours()
    This function will create the HTML page to edit logon hours.
-
display_html_password
-
in file posixGroup.inc, method posixGroup::display_html_password()
    Displays the password changing dialog.
-
display_html_password
-
in file posixAccount.inc, method posixAccount::display_html_password()
    Displays the password changing dialog.
-
display_html_password
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_password()
    Displays the password changing dialog.
-
display_html_photo
-
in file inetOrgPerson.inc, method inetOrgPerson::display_html_photo()
    Displays the photo upload page.
-
display_html_sambaUserWorkstations
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_sambaUserWorkstations()
    This function will create the HTML page to edit the allowed workstations.
-
display_html_terminalServer
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_terminalServer()
    This function will create the HTML page to edit the terminal server options.
-
display_html_time
-
in file sambaSamAccount.inc, method sambaSamAccount::display_html_time()
    This function will create the meta HTML code to show a page to change time values.
-
display_html_user
-
in file posixGroup.inc, method posixGroup::display_html_user()
    Displays selections to add or remove users from current group.
-
display_html_userWorkstations
-
in file sambaAccount.inc, method sambaAccount::display_html_userWorkstations()
    This function will create the HTML page to edit the allowed workstations.
-
doHash
-
in file createntlm.inc, method smbHash::doHash()
-
doUploadPostActions
-
in file modules.inc, function doUploadPostActions()
    This function executes one post upload action.
-
doUploadPostActions
-
in file quota.inc, method quota::doUploadPostActions()
    This function executes one post upload action.
-
doUploadPostActions
-
in file baseModule.inc, method baseModule::doUploadPostActions()
    This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).
-
doUploadPostActions
-
in file posixAccount.inc, method posixAccount::doUploadPostActions()
    This function executes one post upload action.
-
-
- top
-
- -
-

e

-
-
encode_munged
-
in file sambaMungedDial.inc, method sambaMungedDial::encode_munged()
    Encode full MungedDial-String
-
endian
-
in file sambaMungedDial.inc, method sambaMungedDial::endian()
    endian
-
edit.php
-
procedural page edit.php
-
-
- top
-
- -
-

f

-
-
fixLDAPAttributes
-
in file modules.inc, method accountContainer::fixLDAPAttributes()
    Fixes spelling errors in the attribute names.
-
-
- top
-
- -
-

g

-
-
genTime
-
in file sambaMungedDial.inc, method sambaMungedDial::genTime()
    genTime
-
getAccountContainer
-
in file baseModule.inc, method baseModule::getAccountContainer()
    Returns the accountContainer object.
-
getAccountModule
-
in file modules.inc, method accountContainer::getAccountModule()
    Returns the account module with the given class name
-
getAccountModules
-
in file modules.inc, method accountContainer::getAccountModules()
    Returns the included account modules.
-
getAttributes
-
in file baseModule.inc, method baseModule::getAttributes()
    Returns the LDAP attributes which are managed in this module.
-
getAvailableModules
-
in file modules.inc, function getAvailableModules()
    Returns an array with all available user module names
-
getAvailablePDFFields
-
in file modules.inc, function getAvailablePDFFields()
    Returns a list of available PDF entries.
-
getBrokenConn
-
in file sambaMungedDial.inc, method sambaMungedDial::getBrokenConn()
    gets Broken-Connection value: disconnect/reset
-
getButtonStatus
-
in file baseModule.inc, method baseModule::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file inetOrgPerson.inc, method inetOrgPerson::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file posixGroup.inc, method posixGroup::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file nisMailAlias.inc, method nisMailAlias::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getButtonStatus
-
in file account.inc, method account::getButtonStatus()
    Controls if the module button the account page is visible and activated.
-
getClearTextPassword
-
in file posixAccount.inc, method posixAccount::getClearTextPassword()
    Returns the clear text password.
-
getConfigOptions
-
in file modules.inc, function getConfigOptions()
    Returns a hash array (module name => elements) of all module options for the configuration page.
-
getConnectClientDrives
-
in file sambaMungedDial.inc, method sambaMungedDial::getConnectClientDrives()
    gets connect-client-drive-at-logon value: enabled/disabled
-
getConnectClientPrinters
-
in file sambaMungedDial.inc, method sambaMungedDial::getConnectClientPrinters()
    gets connect-client-printers-at-logon value: enabled/disabled
-
getCtxMaxConnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxConnectionTimeF()
    SMARTY: gets the checkbox state of "Connection"
-
getCtxMaxDisconnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxDisconnectionTimeF()
    SMARTY: gets the checkbox state of "Disconnection"
-
getCtxMaxIdleTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::getCtxMaxIdleTimeF()
    SMARTY: gets the checkbox state of "Idle"
-
getDefaultPrinter
-
in file sambaMungedDial.inc, method sambaMungedDial::getDefaultPrinter()
    gets set-client-printer-to-default value: enabled/disabled
-
getHelp
-
in file modules.inc, function getHelp()
    Returns a help entry from an account module.
-
getIcon
-
in file baseModule.inc, method baseModule::getIcon()
    Returns the path to the module icon.
-
getInheritMode
-
in file sambaMungedDial.inc, method sambaMungedDial::getInheritMode()
    gets Inherit-config-from-client value: enabled/disabled
-
getLDAPAliases
-
in file baseModule.inc, method baseModule::getLDAPAliases()
    Returns a list of aliases for LDAP attributes.
-
getManagedAttributes
-
in file baseModule.inc, method baseModule::getManagedAttributes()
    Returns a list of LDAP attributes which are managed by this module.
-
getManagedObjectClasses
-
in file baseModule.inc, method baseModule::getManagedObjectClasses()
    Returns a list of managed object classes for this module.
-
getModuleAlias
-
in file modules.inc, function getModuleAlias()
    Returns the alias name of a module
-
getModulesDependencies
-
in file modules.inc, function getModulesDependencies()
    Returns a hash array (module name => dependencies) of all module dependencies
-
getMunged
-
in file sambaMungedDial.inc, method sambaMungedDial::getMunged()
    Returns ready-to-run mungedDialString to be filled into ldap
-
getNextGIDs
-
in file posixGroup.inc, method posixGroup::getNextGIDs()
    Returns one or more free GID numbers.
-
getNextUIDs
-
in file posixAccount.inc, method posixAccount::getNextUIDs()
    Returns one or more free UID numbers.
-
getOnDemandFlags
-
in file sambaMungedDial.inc, method sambaMungedDial::getOnDemandFlags()
    Returns array of flags, which can be set on-demand with activated java-script
-
getOriginalAttributes
-
in file baseModule.inc, method baseModule::getOriginalAttributes()
    Returns the LDAP attributes which are managed in this module (with unchanged values).
-
getParentDN
-
in file modules.inc, method accountContainer::getParentDN()
    Returns the parent DN of a given DN.
-
getProfileOptions
-
in file modules.inc, function getProfileOptions()
    Returns the elements for the profile page.
-
getRDN
-
in file modules.inc, method accountContainer::getRDN()
    Returns the RDN part of a given DN.
-
getRDNAttributes
-
in file modules.inc, function getRDNAttributes()
    Returns a list of LDAP attributes which can be used to form the RDN.
-
getReConn
-
in file sambaMungedDial.inc, method sambaMungedDial::getReConn()
    gets Reconnection value: from any client/from previous client only
-
getRequiredExtensions
-
in file modules.inc, function getRequiredExtensions()
    Returns true if the module is a base module
-
getRequiredExtensions
-
in file baseModule.inc, method baseModule::getRequiredExtensions()
    This function returns a list of PHP extensions (e.g. mhash) which are needed by this module.
-
getSelfServiceFields
-
in file baseModule.inc, method baseModule::getSelfServiceFields()
    Returns a list of possible input fields and their descriptions.
-
getSelfServiceOptions
-
in file inetOrgPerson.inc, method inetOrgPerson::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceOptions
-
in file posixAccount.inc, method posixAccount::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceOptions
-
in file baseModule.inc, method baseModule::getSelfServiceOptions()
    Returns the meta HTML code for each input field.
-
getSelfServiceSearchAttributes
-
in file baseModule.inc, method baseModule::getSelfServiceSearchAttributes()
    This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects.
-
getSelfServiceSettings
-
in file baseModule.inc, method baseModule::getSelfServiceSettings()
    Returns a list of self service configuration settings.
-
getShadow
-
in file sambaMungedDial.inc, method sambaMungedDial::getShadow()
    gets shadow value (enum): 0-4
-
getTsLogin
-
in file sambaMungedDial.inc, method sambaMungedDial::getTsLogin()
    Gets Terminal-Server-Login value: enabled/disabled
-
getUploadColumns
-
in file modules.inc, function getUploadColumns()
    Returns an array containing all input columns for the file upload.
-
get_alias
-
in file baseModule.inc, method baseModule::get_alias()
    Returns an alias name for the module.
-
get_configOptions
-
in file posixGroup.inc, method posixGroup::get_configOptions()
    Returns a list of elements for the configuration.
-
get_configOptions
-
in file baseModule.inc, method baseModule::get_configOptions()
    Returns a list of configuration options.
-
get_dependencies
-
in file baseModule.inc, method baseModule::get_dependencies()
    This function returns a list with all depending and conflicting modules.
-
get_help
-
in file baseModule.inc, method baseModule::get_help()
    This function returns the help entry array for a specific help id.
-
get_ldap_filter
-
in file modules.inc, function get_ldap_filter()
    Returns the LDAP filter used by the account lists
-
get_ldap_filter
-
in file baseModule.inc, method baseModule::get_ldap_filter()
    Returns an LDAP filter for the account lists
-
get_metaData
-
in file baseModule.inc, method baseModule::get_metaData()
    This function provides meta data which is interpreted by baseModule.
-
get_metaData
-
in file posixGroup.inc, method posixGroup::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file inetOrgPerson.inc, method inetOrgPerson::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file quota.inc, method quota::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file ieee802device.inc, method ieee802Device::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaDomain.inc, method sambaDomain::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaAccount.inc, method sambaAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file kolabUser.inc, method kolabUser::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file shadowAccount.inc, method shadowAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file nisMailAlias.inc, method nisMailAlias::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file sambaSamAccount.inc, method sambaSamAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file ldapPublicKey.inc, method ldapPublicKey::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file account.inc, method account::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_metaData
-
in file posixAccount.inc, method posixAccount::get_metaData()
    Returns meta data that is interpreted by parent class
-
get_pdfEntries
-
in file account.inc, method account::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaSamAccount.inc, method sambaSamAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file shadowAccount.inc, method shadowAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file ieee802device.inc, method ieee802Device::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file sambaDomain.inc, method sambaDomain::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file ldapPublicKey.inc, method ldapPublicKey::get_pdfEntries()
    Returns a list of PDF entries
-
get_pdfEntries
-
in file kolabUser.inc, method kolabUser::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file posixAccount.inc, method posixAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file inetOrgPerson.inc, method inetOrgPerson::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file posixGroup.inc, method posixGroup::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file quota.inc, method quota::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file modules.inc, method accountContainer::get_pdfEntries()
    Returns a list of possible PDF entries for this account.
-
get_pdfEntries
-
in file sambaAccount.inc, method sambaAccount::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfEntries
-
in file nisMailAlias.inc, method nisMailAlias::get_pdfEntries()
    Returns the PDF entries for this module.
-
get_pdfFields
-
in file baseModule.inc, method baseModule::get_pdfFields()
    Returns a hashtable with all entries that may be printed out in the PDF.
-
get_profileOptions
-
in file posixAccount.inc, method posixAccount::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file sambaSamAccount.inc, method sambaSamAccount::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file baseModule.inc, method baseModule::get_profileOptions()
    This function defines what attributes will be used in the account profiles and their appearance in the profile editor.
-
get_profileOptions
-
in file sambaGroupMapping.inc, method sambaGroupMapping::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_profileOptions
-
in file quota.inc, method quota::get_profileOptions()
    Returns a list of elements for the account profiles.
-
get_RDNAttributes
-
in file baseModule.inc, method baseModule::get_RDNAttributes()
    Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name).
-
get_scope
-
in file baseModule.inc, method baseModule::get_scope()
    Returns the account type of this module (user, group, host)
-
get_type
-
in file modules.inc, method accountContainer::get_type()
    Returns the accout type of this object (e.g. user, group, host).
-
get_uploadColumns
-
in file quota.inc, method quota::get_uploadColumns()
    Returns an array containing all input columns for the file upload.
-
get_uploadColumns
-
in file baseModule.inc, method baseModule::get_uploadColumns()
    Returns an array containing all input columns for the file upload.
-
get_uploadPreDepends
-
in file baseModule.inc, method baseModule::get_uploadPreDepends()
    Returns a list of module names which must be processed in building the account befor this module.
-
-
- top
-
- -
-

h

-
-
hexstr
-
in file sambaMungedDial.inc, method sambaMungedDial::hexstr()
    hexstr
-
-
- top
-
- -
-

i

-
-
$isNewAccount
-
in file modules.inc, variable accountContainer::$isNewAccount
    True if this is a newly created account
-
ieee802Device
-
in file ieee802device.inc, class ieee802Device
    Provides MAC addresses for hosts.
-
inetLocalMailRecipient
-
in file inetLocalMailRecipient.inc, class inetLocalMailRecipient
    Provides mail routing for users.
-
inetOrgPerson
-
in file inetOrgPerson.inc, class inetOrgPerson
    This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).
-
init
-
in file posixGroup.inc, method posixGroup::init()
    This functin will be called when the module will be loaded *
-
init
-
in file sambaAccount.inc, method sambaAccount::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file sambaGroupMapping.inc, method sambaGroupMapping::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file sambaSamAccount.inc, method sambaSamAccount::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file baseModule.inc, method baseModule::init()
    Initializes the module after it became part of an accountContainer
-
init
-
in file posixAccount.inc, method posixAccount::init()
    Initializes the module after it became part of an accountContainer
-
initQuotas
-
in file quota.inc, method quota::initQuotas()
    Initializes the quota values.
-
is_base_module
-
in file modules.inc, function is_base_module()
    Returns true if the module is a base module
-
is_base_module
-
in file baseModule.inc, method baseModule::is_base_module()
    Returns true if your module is a base module and otherwise false.
-
is_samba_path
-
in file sambaMungedDial.inc, method sambaMungedDial::is_samba_path()
    Checks if this is a valid Samba path.
-
ieee802device.inc
-
procedural page ieee802device.inc
-
inetLocalMailRecipient.inc
-
procedural page inetLocalMailRecipient.inc
-
inetOrgPerson.inc
-
procedural page inetOrgPerson.inc
-
-
- top
-
- -
-

k

-
-
kolabUser
-
in file kolabUser.inc, class kolabUser
    Manages Kolab user accounts.
-
kolabUser.inc
-
procedural page kolabUser.inc
-
-
- top
-
- -
-

l

-
-
lamdaemon
-
in file lamdaemon.inc, function lamdaemon()
    Sends commands to lamdaemon script.
-
lamdaemonSSH
-
in file lamdaemon.inc, function lamdaemonSSH()
    Sends commands to lamdaemon script via PHP SSH functions.
-
ldapPublicKey
-
in file ldapPublicKey.inc, class ldapPublicKey
    Manages SSH public keys.
-
lamdaemon.inc
-
procedural page lamdaemon.inc
-
ldapPublicKey.inc
-
procedural page ldapPublicKey.inc
-
lmhash
-
in file createntlm.inc, method smbHash::lmhash()
    Calculates the LM hash of a given password.
-
load
-
in file sambaMungedDial.inc, method sambaMungedDial::load()
    function takes a base64-encoded sambaMungedDial
-
load_account
-
in file modules.inc, method accountContainer::load_account()
    Loads an LDAP account with the given DN.
-
load_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::load_attributes()
    This function loads the LDAP attributes for this module.
-
load_attributes
-
in file sambaAccount.inc, method sambaAccount::load_attributes()
    This function loads the LDAP attributes for this module.
-
load_attributes
-
in file posixAccount.inc, method posixAccount::load_attributes()
    This function loads all needed LDAP attributes.
-
load_attributes
-
in file baseModule.inc, method baseModule::load_attributes()
    This function loads the LDAP attributes when an account should be loaded.
-
load_Messages
-
in file kolabUser.inc, method kolabUser::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file shadowAccount.inc, method shadowAccount::load_Messages()
    This function builds up the message array.
-
load_Messages
-
in file sambaAccount.inc, method sambaAccount::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file sambaDomain.inc, method sambaDomain::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file baseModule.inc, method baseModule::load_Messages()
    This function fills the $messages variable with output messages from this module.
-
load_Messages
-
in file sambaSamAccount.inc, method sambaSamAccount::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file sambaGroupMapping.inc, method sambaGroupMapping::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file quota.inc, method quota::load_Messages()
    this functin fills the error message array with messages
-
load_Messages
-
in file posixGroup.inc, method posixGroup::load_Messages()
    This function fills the $messages variable with output messages from this module.
-
load_Messages
-
in file nisMailAlias.inc, method nisMailAlias::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file ieee802device.inc, method ieee802Device::load_Messages()
    This function fills the error message array with messages
-
load_Messages
-
in file inetOrgPerson.inc, method inetOrgPerson::load_Messages()
    This function fills the message array.
-
load_Messages
-
in file account.inc, method account::load_Messages()
    This function fills the message array.
-
load_Messages
-
in file posixAccount.inc, method posixAccount::load_Messages()
    This function fills the error message array with messages.
-
load_Messages
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::load_Messages()
    This function fills the error message array with messages
-
load_profile
-
in file sambaSamAccount.inc, method sambaSamAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file shadowAccount.inc, method shadowAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file baseModule.inc, method baseModule::load_profile()
    This function loads the values from an account profile to the module's internal data structures.
-
load_profile
-
in file posixAccount.inc, method posixAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file quota.inc, method quota::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file sambaAccount.inc, method sambaAccount::load_profile()
    Loads the values of an account profile into internal variables.
-
load_profile
-
in file sambaGroupMapping.inc, method sambaGroupMapping::load_profile()
    Loads the values of an account profile into internal variables.
-
-
- top
-
- -
-

m

-
-
$messages
-
in file baseModule.inc, variable baseModule::$messages
    contains all error messages of a module
-
$meta
-
in file baseModule.inc, variable baseModule::$meta
    includes all meta data provided by the sub class
-
$moduleSettings
-
in file baseModule.inc, variable baseModule::$moduleSettings
    configuration settings of all modules
-
modules.inc
-
procedural page modules.inc
-
module_complete
-
in file posixAccount.inc, method posixAccount::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file baseModule.inc, method baseModule::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file sambaAccount.inc, method sambaAccount::module_complete()
    This functions returns true if all needed settings are done
-
module_complete
-
in file account.inc, method account::module_complete()
    This functions returns true if all needed settings are done.
-
module_complete
-
in file posixGroup.inc, method posixGroup::module_complete()
    This functions is used to check if all settings for this module have been made.
-
module_complete
-
in file kolabUser.inc, method kolabUser::module_complete()
    This function returns true if all needed settings are done.
-
module_complete
-
in file inetOrgPerson.inc, method inetOrgPerson::module_complete()
    This functions return true if all needed settings are done.
-
module_ready
-
in file sambaGroupMapping.inc, method sambaGroupMapping::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file sambaSamAccount.inc, method sambaSamAccount::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file baseModule.inc, method baseModule::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file sambaAccount.inc, method sambaAccount::module_ready()
    This function is used to check if this module page can be displayed.
-
module_ready
-
in file quota.inc, method quota::module_ready()
    This function is used to check if this module page can be displayed.
-
munge
-
in file sambaMungedDial.inc, method sambaMungedDial::munge()
    Setup parameter given by paramName to MungedDial-Format
-
-
- top
-
- -
-

n

-
-
$name
-
in file account.inc, variable samba3domain::$name
    Domain name
-
$nextGroupRID
-
in file account.inc, variable samba3domain::$nextGroupRID
    Next group RID
-
$nextRID
-
in file account.inc, variable samba3domain::$nextRID
    Next RID
-
$nextUserRID
-
in file account.inc, variable samba3domain::$nextUserRID
    Next user RID
-
nisMailAlias.inc
-
procedural page nisMailAlias.inc
-
new_account
-
in file modules.inc, method accountContainer::new_account()
    This function will prepare the object for a new account.
-
nisMailAlias
-
in file nisMailAlias.inc, class nisMailAlias
    Provides NIS mail alias management.
-
nthash
-
in file createntlm.inc, method smbHash::nthash()
    Calculates the NT hash of a given password.
-
-
- top
-
- -
-

o

-
-
$orig
-
in file baseModule.inc, variable baseModule::$orig
    contains all ldap attributes which are loaded from ldap
-
-
- top
-
- -
-

p

-
-
posixAccount.inc
-
procedural page posixAccount.inc
-
posixGroup.inc
-
procedural page posixGroup.inc
-
parseHtml
-
in file modules.inc, function parseHtml()
    Takes a list of meta-HTML elements and prints the equivalent HTML output.
-
posixAccount
-
in file posixAccount.inc, class posixAccount
    Manages the object class "posixAccount" for users and hosts.
-
posixGroup
-
in file posixGroup.inc, class posixGroup
    Manages the object class "posixGroup" for groups.
-
postDeleteActions
-
in file baseModule.inc, method baseModule::postDeleteActions()
    Allows the module to run commands after the LDAP entry is deleted.
-
postModifyActions
-
in file quota.inc, method quota::postModifyActions()
    Allows the module to run commands after the LDAP entry is changed or created.
-
postModifyActions
-
in file posixAccount.inc, method posixAccount::postModifyActions()
    Allows the module to run commands after the LDAP entry was changed or created.
-
postModifyActions
-
in file baseModule.inc, method baseModule::postModifyActions()
    Allows the module to run commands after the LDAP entry is changed or created.
-
preDeleteActions
-
in file quota.inc, method quota::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preDeleteActions
-
in file baseModule.inc, method baseModule::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preDeleteActions
-
in file posixAccount.inc, method posixAccount::preDeleteActions()
    Allows the module to run commands before the LDAP entry is deleted.
-
preModifyActions
-
in file baseModule.inc, method baseModule::preModifyActions()
    Allows the module to run commands before the LDAP entry is changed or created.
-
process_attributes
-
in file sambaAccount.inc, method sambaAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file shadowAccount.inc, method shadowAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file sambaDomain.inc, method sambaDomain::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file quota.inc, method quota::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file posixGroup.inc, method posixGroup::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file posixAccount.inc, method posixAccount::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file kolabUser.inc, method kolabUser::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file ieee802device.inc, method ieee802Device::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file inetLocalMailRecipient.inc, method inetLocalMailRecipient::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file baseModule.inc, method baseModule::process_attributes()
    This function processes user input.
-
process_attributes
-
in file account.inc, method account::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file ldapPublicKey.inc, method ldapPublicKey::process_attributes()
    Processes user input of the primary module page.
-
process_attributes
-
in file nisMailAlias.inc, method nisMailAlias::process_attributes()
    Processes user input of the primary module page.
-
process_deleteUser
-
in file kolabUser.inc, method kolabUser::process_deleteUser()
    Write variables into object and do some regex checks
-
process_expire
-
in file shadowAccount.inc, method shadowAccount::process_expire()
    Processes user input of the expiration page.
-
process_group
-
in file posixAccount.inc, method posixAccount::process_group()
    Processes user input of the group selection page.
-
process_logonHours
-
in file sambaSamAccount.inc, method sambaSamAccount::process_logonHours()
    Processes user input of the logon hours page.
-
process_password
-
in file inetOrgPerson.inc, method inetOrgPerson::process_password()
    Sets a new password.
-
process_password
-
in file posixGroup.inc, method posixGroup::process_password()
    Processes user input of the password page.
-
process_password
-
in file posixAccount.inc, method posixAccount::process_password()
    Processes user input of the password page.
-
process_photo
-
in file inetOrgPerson.inc, method inetOrgPerson::process_photo()
    Sets a new photo.
-
process_sambaUserWorkstations
-
in file sambaSamAccount.inc, method sambaSamAccount::process_sambaUserWorkstations()
    Processes user input of the primary module page.
-
process_terminalServer
-
in file sambaSamAccount.inc, method sambaSamAccount::process_terminalServer()
    Processes user input of the terminal server page.
-
process_time
-
in file sambaSamAccount.inc, method sambaSamAccount::process_time()
    Processes user input of the time selection page.
-
process_user
-
in file posixGroup.inc, method posixGroup::process_user()
    Processes user input of the user selection page.
-
process_userWorkstations
-
in file sambaAccount.inc, method sambaAccount::process_userWorkstations()
    Processes user input of the workstation selection page.
-
-
- top
-
- -
-

q

-
-
quota.inc
-
procedural page quota.inc
-
quota
-
in file quota.inc, class quota
    Manages quotas for users and groups.
-
-
- top
-
- -
-

r

-
-
$rdn
-
in file modules.inc, variable accountContainer::$rdn
    RDN attribute of this account
-
$RIDbase
-
in file account.inc, variable samba3domain::$RIDbase
    RID base to calculate RIDs, default 1000
-
readTime
-
in file sambaMungedDial.inc, method sambaMungedDial::readTime()
    readTime
-
replaceSpecialChars
-
in file quota.inc, method quota::replaceSpecialChars()
    Replaces special characters in HTML name values.
-
-
- top
-
- -
-

s

-
-
$selfServiceSettings
-
in file baseModule.inc, variable baseModule::$selfServiceSettings
    self service settings of all modules
-
$SID
-
in file account.inc, variable samba3domain::$SID
    Domain SID
-
sambaAccount.inc
-
procedural page sambaAccount.inc
-
sambaDomain.inc
-
procedural page sambaDomain.inc
-
sambaGroupMapping.inc
-
procedural page sambaGroupMapping.inc
-
sambaMungedDial.inc
-
procedural page sambaMungedDial.inc
-
sambaSamAccount.inc
-
procedural page sambaSamAccount.inc
-
shadowAccount.inc
-
procedural page shadowAccount.inc
-
samba3domain
-
in file account.inc, class samba3domain
    Represents a Samba 3 domain entry
-
sambaAccount
-
in file sambaAccount.inc, class sambaAccount
    Manages the object class "sambaAccount" for users and hosts.
-
sambaDomain
-
in file sambaDomain.inc, class sambaDomain
    Manages Samba 3 domain entries.
-
sambaGroupMapping
-
in file sambaGroupMapping.inc, class sambaGroupMapping
    Manages the object class "sambaGroupMapping" for groups.
-
sambaMungedDial
-
in file sambaMungedDial.inc, class sambaMungedDial
    Manages terminal server settings for Samba 3.
-
sambaSamAccount
-
in file sambaSamAccount.inc, class sambaSamAccount
    Manages the object class "sambaSamAccount" for users and hosts.
-
SAMBA_MUNGEDDIAL_FILEHEADER
-
in file sambaMungedDial.inc, constant SAMBA_MUNGEDDIAL_FILEHEADER
    File header
-
SAMBA_MUNGEDDIAL_FILEHEADER_OLD
-
in file sambaMungedDial.inc, constant SAMBA_MUNGEDDIAL_FILEHEADER_OLD
    File header for old format.
-
save_account
-
in file modules.inc, method accountContainer::save_account()
    This function will save an account to the LDAP database.
-
save_attributes
-
in file sambaSamAccount.inc, method sambaSamAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file account.inc, method account::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file shadowAccount.inc, method shadowAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file sambaGroupMapping.inc, method sambaGroupMapping::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file kolabUser.inc, method kolabUser::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file inetOrgPerson.inc, method inetOrgPerson::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file sambaAccount.inc, method sambaAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file baseModule.inc, method baseModule::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file nisMailAlias.inc, method nisMailAlias::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file posixGroup.inc, method posixGroup::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_attributes
-
in file posixAccount.inc, method posixAccount::save_attributes()
    Returns a list of modifications which have to be made to the LDAP account.
-
save_module_attributes
-
in file modules.inc, method accountContainer::save_module_attributes()
    This function checks which LDAP attributes have changed while the account was edited.
-
setBrokenConn
-
in file sambaMungedDial.inc, method sambaMungedDial::setBrokenConn()
    sets Broken-Connection value: disconnect/reset
-
setConnectClientDrives
-
in file sambaMungedDial.inc, method sambaMungedDial::setConnectClientDrives()
    sets connect-client-drive-at-logon value: enabled/disabled
-
setConnectClientPrinters
-
in file sambaMungedDial.inc, method sambaMungedDial::setConnectClientPrinters()
    sets connect-client-printers-at-logon value: enabled/disabled
-
setCtxMaxConnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxConnectionTimeF()
    SMARTY: sets the checkbox "Connection" to unchecked
-
setCtxMaxDisconnectionTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxDisconnectionTimeF()
    SMARTY: sets the checkbox "Disconnection" to unchecked
-
setCtxMaxIdleTimeF
-
in file sambaMungedDial.inc, method sambaMungedDial::setCtxMaxIdleTimeF()
    SMARTY: sets the checkbox "Idle" to unchecked
-
setDefaultPrinter
-
in file sambaMungedDial.inc, method sambaMungedDial::setDefaultPrinter()
    sets set-client-printer-to-default value: enabled/disabled
-
setInheritMode
-
in file sambaMungedDial.inc, method sambaMungedDial::setInheritMode()
    sets Inherit-config-from-client value: enabled/disabled
-
setReConn
-
in file sambaMungedDial.inc, method sambaMungedDial::setReConn()
    sets Reconnection value: from any client/from previous client only
-
setShadow
-
in file sambaMungedDial.inc, method sambaMungedDial::setShadow()
    sets shadow value
-
setTsLogin
-
in file sambaMungedDial.inc, method sambaMungedDial::setTsLogin()
    Sets Terminal-Server-Login value: enabled/disabled
-
shadowAccount
-
in file shadowAccount.inc, class shadowAccount
    Manages the object class "shadowAccount" for users.
-
smbHash
-
in file createntlm.inc, class smbHash
    Calculates NT and LM hashes.
-
sortModules
-
in file modules.inc, method accountContainer::sortModules()
    Sorts the module buttons for the account page.
-
strhex
-
in file sambaMungedDial.inc, method sambaMungedDial::strhex()
    strhex
-
-
- top
-
- -
-

t

-
-
to8bit
-
in file sambaMungedDial.inc, method sambaMungedDial::to8bit()
    to8bit
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_profiles.html b/lam-web/developers/devel/phpdoc/elementindex_profiles.html deleted file mode 100644 index 6e5d948c..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_profiles.html +++ /dev/null @@ -1,139 +0,0 @@ - - -Package profiles Element Index - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package profiles

- [ d ] - [ g ] - [ l ] - [ p ] - [ s ] - -
- -
-

d

-
-
delAccountProfile
-
in file profiles.inc, function delAccountProfile()
    Deletes an account profile
-
-
- top
-
- -
-

g

-
-
getAccountProfiles
-
in file profiles.inc, function getAccountProfiles()
    Returns an array of string with all available profiles for the given account type
-
-
- top
-
- -
-

l

-
-
loadAccountProfile
-
in file profiles.inc, function loadAccountProfile()
    Loads an profile of the given account type
-
-
- top
-
- -
-

p

-
-
profiles.inc
-
procedural page profiles.inc
-
profiledelete.php
-
procedural page profiledelete.php
-
profilemain.php
-
procedural page profilemain.php
-
profilepage.php
-
procedural page profilepage.php
-
-
- top
-
- -
-

s

-
-
saveAccountProfile
-
in file profiles.inc, function saveAccountProfile()
    Saves an hash array (attribute => value) to an account profile
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_selfService.html b/lam-web/developers/devel/phpdoc/elementindex_selfService.html deleted file mode 100644 index e43f2f2d..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_selfService.html +++ /dev/null @@ -1,186 +0,0 @@ - - -Package selfService Element Index - - - - - - - - - - - - - -
selfService
- - - [ class tree: selfService ] - [ index: selfService ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package selfService

- [ c ] - [ g ] - [ i ] - [ l ] - [ m ] - [ s ] - [ _ ] - -
- -
-

_

-
-
__construct
-
in file selfService.inc, method selfServiceProfile::__construct()
    Constructor
-
-
- top
-
- -
-

c

-
-
checkSelfServiceOptions
-
in file selfService.inc, function checkSelfServiceOptions()
    Checks if all input values are correct and returns the LDAP commands which should be executed.
-
checkSelfServiceSettings
-
in file selfService.inc, function checkSelfServiceSettings()
    Checks if the self service settings are valid
-
-
- top
-
- -
-

g

-
-
getSelfServiceFieldSettings
-
in file selfService.inc, function getSelfServiceFieldSettings()
    Returns the field settings for the self service.
-
getSelfServiceOptions
-
in file selfService.inc, function getSelfServiceOptions()
    Returns meta HTML code for each self service field.
-
getSelfServiceProfiles
-
in file selfService.inc, function getSelfServiceProfiles()
    Returns a list of all available self service profiles (without .conf)
-
getSelfServiceSearchAttributes
-
in file selfService.inc, function getSelfServiceSearchAttributes()
    Returns a list of possible search attributes for the self service.
-
getSelfServiceSettings
-
in file selfService.inc, function getSelfServiceSettings()
    Returns a hash array (module name => elements) of all module options for the configuration page.
-
-
- top
-
- -
-

i

-
-
$inputFields
-
in file selfService.inc, variable selfServiceProfile::$inputFields
    input fields
-
isLAMProVersion
-
in file selfService.inc, function isLAMProVersion()
    Returns if this is a LAM Pro installation.
-
-
- top
-
- -
-

l

-
-
$LDAPPassword
-
in file selfService.inc, variable selfServiceProfile::$LDAPPassword
    LDAP password
-
$LDAPSuffix
-
in file selfService.inc, variable selfServiceProfile::$LDAPSuffix
    LDAP suffix
-
$LDAPUser
-
in file selfService.inc, variable selfServiceProfile::$LDAPUser
    LDAP user DN
-
$loginAttributeText
-
in file selfService.inc, variable selfServiceProfile::$loginAttributeText
    describing text for search attribute
-
$loginCaption
-
in file selfService.inc, variable selfServiceProfile::$loginCaption
    describing text for user login
-
loadSelfServiceProfile
-
in file selfService.inc, function loadSelfServiceProfile()
    Loads all settings of a self service profile.
-
-
- top
-
- -
-

m

-
-
$mainPageText
-
in file selfService.inc, variable selfServiceProfile::$mainPageText
    describing text for self service main page
-
$moduleSettings
-
in file selfService.inc, variable selfServiceProfile::$moduleSettings
    configuration settings of modules
-
-
- top
-
- -
-

s

-
-
$searchAttribute
-
in file selfService.inc, variable selfServiceProfile::$searchAttribute
    LDAP search attribute
-
$serverURL
-
in file selfService.inc, variable selfServiceProfile::$serverURL
    server address
-
selfService.inc
-
procedural page selfService.inc
-
saveSelfServiceProfile
-
in file selfService.inc, function saveSelfServiceProfile()
    Saves a self service profile.
-
selfServiceProfile
-
in file selfService.inc, class selfServiceProfile
    Includes all settings of a self service profile.
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_tests.html b/lam-web/developers/devel/phpdoc/elementindex_tests.html deleted file mode 100644 index 149dca39..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_tests.html +++ /dev/null @@ -1,100 +0,0 @@ - - -Package tests Element Index - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package tests

- [ c ] - [ s ] - -
- -
-

c

-
-
conf-main-test.php
-
procedural page conf-main-test.php
-
conf-test.php
-
procedural page conf-test.php
-
-
- top
-
- -
-

s

-
-
status-test.php
-
procedural page status-test.php
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_tools.html b/lam-web/developers/devel/phpdoc/elementindex_tools.html deleted file mode 100644 index 325dcd7b..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_tools.html +++ /dev/null @@ -1,454 +0,0 @@ - - -Package tools Element Index - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package tools

- [ a ] - [ b ] - [ c ] - [ d ] - [ e ] - [ g ] - [ h ] - [ i ] - [ l ] - [ m ] - [ n ] - [ o ] - [ p ] - [ q ] - [ r ] - [ s ] - [ t ] - [ v ] - -
- -
-

a

-
-
$attributes
-
in file export.inc, variable PlaLdapExporter::$attributes
-
-
- top
-
- -
-

b

-
-
$base_dn
-
in file export.inc, variable LdapExportInfo::$base_dn
-
$br
-
in file export.inc, variable PlaExporter::$br
-
-
- top
-
- -
-

c

-
-
$counter
-
in file export.inc, variable PlaDsmlExporter::$counter
-
$counter
-
in file export.inc, variable PlaLdifExporter::$counter
-
checkSchemaForModule
-
in file schemaTest.php, function checkSchemaForModule()
    Checks if the object classes and attributes for this module are available.
-
-
- top
-
- -
-

d

-
-
$deliveryAddress
-
in file export.inc, variable PlaVcardExporter::$deliveryAddress
-
$description
-
in file tools.php, variable LAMTool::$description
    description text
-
displayExportInfo
-
in file export.inc, method PlaLdifExporter::displayExportInfo()
-
display_main
-
in file ou_edit.php, function display_main()
-
-
- top
-
- -
-

e

-
-
$entry_array
-
in file export.inc, variable PlaLdapExporter::$entry_array
-
$entry_id
-
in file export.inc, variable PlaLdapExporter::$entry_id
-
$escapeCode
-
in file export.inc, variable PlaCSVExporter::$escapeCode
-
$exporter
-
in file export.inc, variable PlaExporter::$exporter
-
export
-
in file export.inc, method PlaLdifExporter::export()
    Export entries to ldif format
-
export
-
in file export.inc, method PlaVcardExporter::export()
    When doing an exporter, the method export need to be overriden.
-
export
-
in file export.inc, method MyCustomExporter::export()
    When doing an exporter, the method export need to be overriden.
-
export
-
in file export.inc, method PlaCSVExporter::export()
-
export
-
in file export.inc, method PlaDsmlExporter::export()
    Export the entries to DSML
-
export
-
in file export.inc, method PlaExporter::export()
    Abstract method use to export data.
-
export.inc
-
procedural page export.inc
-
-
- top
-
- -
-

g

-
-
getRecursiveAttributesFromObjectClass
-
in file schemaTest.php, function getRecursiveAttributesFromObjectClass()
    Returns the names of all attributes which are managed by the given object class and its parents.
-
get_user_agent_string
-
in file export.inc, function get_user_agent_string()
    Gets the USER_AGENT string from the $_SERVER array, all in lower case in an E_NOTICE safe manner.
-
-
- top
-
- -
-

h

-
-
$hasNext
-
in file export.inc, variable PlaLdapExporter::$hasNext
-
-
- top
-
- -
-

i

-
-
$indent_step
-
in file export.inc, variable PlaDsmlExporter::$indent_step
-
is_browser_os_mac
-
in file export.inc, function is_browser_os_mac()
    Determines whether the browser's operating system is Macintosh.
-
is_browser_os_unix
-
in file export.inc, function is_browser_os_unix()
    Determines whether the browser's operating system is UNIX (or something like UNIX).
-
is_browser_os_windows
-
in file export.inc, function is_browser_os_windows()
    Determines whether the browser's operating system is Windows.
-
is_safe_ascii
-
in file export.inc, method PlaExporter::is_safe_ascii()
    Helper method to check if the attribute value should be base 64 encoded.
-
index.php
-
procedural page index.php
-
-
- top
-
- -
-

l

-
-
$ldap_info
-
in file export.inc, variable PlaLdapExporter::$ldap_info
-
$link
-
in file tools.php, variable LAMTool::$link
    link to tool page (relative to templates/)
-
lamRunLamdaemonTestSuite
-
in file lamdaemonTest.php, function lamRunLamdaemonTestSuite()
    Runs all tests for a given server.
-
lamTestLamdaemon
-
in file lamdaemonTest.php, function lamTestLamdaemon()
    Runs a test case of lamdaemon.
-
LAMTool
-
in file tools.php, class LAMTool
    Represents a tool.
-
LdapEscape
-
in file export.inc, method PlaCSVExporter::LdapEscape()
-
LdapExportInfo
-
in file export.inc, class LdapExportInfo
    This class encapsulate informations about the ldap server from which the export is done.
-
LdapExportInfo
-
in file export.inc, method LdapExportInfo::LdapExportInfo()
    Create a new LdapExportInfo object
-
lamdaemonTest.php
-
procedural page lamdaemonTest.php
-
-
- top
-
- -
-

m

-
-
$MAX_LDIF_LINE_LENGTH
-
in file export.inc, variable PlaLdifExporter::$MAX_LDIF_LINE_LENGTH
-
$multivalue_separator
-
in file export.inc, variable PlaCSVExporter::$multivalue_separator
-
multi_lines_display
-
in file export.inc, method PlaLdifExporter::multi_lines_display()
    Helper method to wrap ldif lines
-
MyCustomExporter
-
in file export.inc, class MyCustomExporter
-
MyCutsomExporter
-
in file export.inc, method MyCustomExporter::MyCutsomExporter()
-
massBuildAccounts.php
-
procedural page massBuildAccounts.php
-
masscreate.php
-
procedural page masscreate.php
-
massDoUpload.php
-
procedural page massDoUpload.php
-
-
- top
-
- -
-

n

-
-
$name
-
in file tools.php, variable LAMTool::$name
    name of the tool
-
$num_entries
-
in file export.inc, variable PlaLdapExporter::$num_entries
-
-
- top
-
- -
-

o

-
-
ou_edit.php
-
procedural page ou_edit.php
-
-
- top
-
- -
-

p

-
-
PlaAbstractExporter
-
in file export.inc, class PlaAbstractExporter
    This class represents the base class of all exporters
-
PlaCSVExporter
-
in file export.inc, class PlaCSVExporter
    Export to cvs format
-
PlaCSVExporter
-
in file export.inc, method PlaCSVExporter::PlaCSVExporter()
-
PlaDsmlExporter
-
in file export.inc, method PlaDsmlExporter::PlaDsmlExporter()
    Create a PlaDsmlExporter object
-
PlaDsmlExporter
-
in file export.inc, class PlaDsmlExporter
    Export entries to DSML v.1
-
PlaExporter
-
in file export.inc, method PlaExporter::PlaExporter()
    Constructor
-
PlaExporter
-
in file export.inc, class PlaExporter
    PlaExporter acts a wrapper around another exporter.
-
PlaLdapExporter
-
in file export.inc, method PlaLdapExporter::PlaLdapExporter()
    Create a PlaLdapExporter object.
-
PlaLdapExporter
-
in file export.inc, class PlaLdapExporter
    Export data from a ldap server
-
PlaLdifExporter
-
in file export.inc, class PlaLdifExporter
    Export entries to ldif format
-
PlaLdifExporter
-
in file export.inc, method PlaLdifExporter::PlaLdifExporter()
    Create a PlaLdifExporter object
-
PlaVcardExporter
-
in file export.inc, class PlaVcardExporter
-
PlaVcardExporter
-
in file export.inc, method PlaVcardExporter::PlaVcardExporter()
-
pla_fetch_entry_array
-
in file export.inc, method PlaLdapExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_array
-
in file export.inc, method PlaAbstractExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_array
-
in file export.inc, method PlaExporter::pla_fetch_entry_array()
    Return the entry as an array
-
pla_fetch_entry_object
-
in file export.inc, method PlaLdapExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_fetch_entry_object
-
in file export.inc, method PlaExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_fetch_entry_object
-
in file export.inc, method PlaAbstractExporter::pla_fetch_entry_object()
    Return the entry as an Entry object
-
pla_get_ldap_info
-
in file export.inc, method PlaAbstractExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_get_ldap_info
-
in file export.inc, method PlaLdapExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_get_ldap_info
-
in file export.inc, method PlaExporter::pla_get_ldap_info()
    Return a PlaLdapInfo Object
-
pla_has_entry
-
in file export.inc, method PlaAbstractExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_has_entry
-
in file export.inc, method PlaLdapExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_has_entry
-
in file export.inc, method PlaExporter::pla_has_entry()
    Return true if there is some more entries to be processed
-
pla_num_entries
-
in file export.inc, method PlaExporter::pla_num_entries()
    Return the number of entries
-
pla_num_entries
-
in file export.inc, method PlaLdapExporter::pla_num_entries()
    Return the number of entries
-
pla_num_entries
-
in file export.inc, method PlaAbstractExporter::pla_num_entries()
    Return the number of entries
-
-
- top
-
- -
-

q

-
-
$qualifier
-
in file export.inc, variable PlaCSVExporter::$qualifier
-
$queryFilter
-
in file export.inc, variable PlaLdapExporter::$queryFilter
-
$query_filter
-
in file export.inc, variable LdapExportInfo::$query_filter
-
-
- top
-
- -
-

r

-
-
$requiresPasswordChanges
-
in file tools.php, variable LAMTool::$requiresPasswordChanges
    tool requires password change rights
-
$requiresWriteAccess
-
in file tools.php, variable LAMTool::$requiresWriteAccess
    tool requires write access to LDAP
-
$results
-
in file export.inc, variable PlaLdapExporter::$results
-
-
- top
-
- -
-

s

-
-
$scope
-
in file export.inc, variable LdapExportInfo::$scope
-
$scope
-
in file export.inc, variable PlaLdapExporter::$scope
-
$separator
-
in file export.inc, variable PlaCSVExporter::$separator
    When doing an exporter, the method export need to be overriden.
-
setOutputFormat
-
in file export.inc, method PlaExporter::setOutputFormat()
    Set the carriage return /linefeed for the export
-
showColumnData
-
in file masscreate.php, function showColumnData()
    Prints the properties of one input field.
-
showMainPage
-
in file masscreate.php, function showMainPage()
    Displays the acount type specific main page of the upload.
-
schema.php
-
procedural page schema.php
-
schemaTest.php
-
procedural page schemaTest.php
-
-
- top
-
- -
-

t

-
-
tools.php
-
procedural page tools.php
-
-
- top
-
- -
-

v

-
-
$vcardMapping
-
in file export.inc, variable PlaVcardExporter::$vcardMapping
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/elementindex_types.html b/lam-web/developers/devel/phpdoc/elementindex_types.html deleted file mode 100644 index 9a661de7..00000000 --- a/lam-web/developers/devel/phpdoc/elementindex_types.html +++ /dev/null @@ -1,255 +0,0 @@ - - -Package types Element Index - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- - -

Element index for package types

- [ b ] - [ g ] - [ h ] - [ m ] - [ s ] - [ t ] - [ u ] - -
- -
-

b

-
-
baseType
-
in file baseType.inc, class baseType
    This is the parent class of all account types.
-
baseType.inc
-
procedural page baseType.inc
-
-
- top
-
- -
-

g

-
-
getAlias
-
in file smbDomain.inc, method smbDomain::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file baseType.inc, method baseType::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file host.inc, method host::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file mailAlias.inc, method mailAlias::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file group.inc, method group::getAlias()
    Returns the alias name of this account type.
-
getAlias
-
in file user.inc, method user::getAlias()
    Returns the alias name of this account type.
-
getDefaultListAttributes
-
in file host.inc, method host::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file smbDomain.inc, method smbDomain::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file user.inc, method user::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file types.inc, function getDefaultListAttributes()
    Returns the default attribute list for an account type.
-
getDefaultListAttributes
-
in file mailAlias.inc, method mailAlias::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file group.inc, method group::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDefaultListAttributes
-
in file baseType.inc, method baseType::getDefaultListAttributes()
    Returns the default attribute list for this account type.
-
getDescription
-
in file mailAlias.inc, method mailAlias::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file baseType.inc, method baseType::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file user.inc, method user::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file smbDomain.inc, method smbDomain::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file group.inc, method group::getDescription()
    Returns the description of this account type.
-
getDescription
-
in file host.inc, method host::getDescription()
    Returns the description of this account type.
-
getListAttributeDescriptions
-
in file types.inc, function getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file group.inc, method group::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file user.inc, method user::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file smbDomain.inc, method smbDomain::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file baseType.inc, method baseType::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file host.inc, method host::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListAttributeDescriptions
-
in file mailAlias.inc, method mailAlias::getListAttributeDescriptions()
    Returns a list of attributes which have a translated description.
-
getListClassName
-
in file group.inc, method group::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file types.inc, function getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file user.inc, method user::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file baseType.inc, method baseType::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file smbDomain.inc, method smbDomain::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file host.inc, method host::getListClassName()
    Returns the class name for the list object.
-
getListClassName
-
in file mailAlias.inc, method mailAlias::getListClassName()
    Returns the class name for the list object.
-
getTypeAlias
-
in file types.inc, function getTypeAlias()
    Returns the alias name of an account type.
-
getTypeDescription
-
in file types.inc, function getTypeDescription()
    Returns the description of an account type.
-
getTypes
-
in file types.inc, function getTypes()
    Returns a list of available account types.
-
group
-
in file group.inc, class group
    The account type for group accounts (e.g. Unix and Samba).
-
group.inc
-
procedural page group.inc
-
-
- top
-
- -
-

h

-
-
host
-
in file host.inc, class host
    The account type for host accounts (e.g. Samba).
-
host.inc
-
procedural page host.inc
-
-
- top
-
- -
-

m

-
-
mailAlias.inc
-
procedural page mailAlias.inc
-
mailAlias
-
in file mailAlias.inc, class mailAlias
    The account type for mail aliases.
-
-
- top
-
- -
-

s

-
-
smbDomain.inc
-
procedural page smbDomain.inc
-
smbDomain
-
in file smbDomain.inc, class smbDomain
    The account type for Samba domains.
-
-
- top
-
- -
-

t

-
-
types.inc
-
procedural page types.inc
-
-
- top
-
- -
-

u

-
-
user.inc
-
procedural page user.inc
-
user
-
in file user.inc, class user
    The account type for user accounts (e.g. Unix, Samba and Kolab).
-
-
- top
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/errors.html b/lam-web/developers/devel/phpdoc/errors.html deleted file mode 100644 index 18f40da4..00000000 --- a/lam-web/developers/devel/phpdoc/errors.html +++ /dev/null @@ -1,175 +0,0 @@ - - -phpDocumentor Parser Errors and Warnings - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -Post-parsing
-fpdf.php
-schema.inc
-ufpdf.php
- -

export.inc

-

Warnings:


-Warning on line 445 - Method "displayExportInfo" has no method-level DocBlock.
-Warning on line 590 - Method "PlaVcardExporter" has no method-level DocBlock.
-Warning on line 687 - Method "PlaCSVExporter" has no method-level DocBlock.
-Warning on line 775 - Method "export" has no method-level DocBlock.
-Warning on line 781 - Method "LdapEscape" has no method-level DocBlock.
-Warning on line 795 - Method "MyCutsomExporter" has no method-level DocBlock.
- -

fpdf.php

-

Warnings:


-Warning on line 202 - Method "SetMargins" has no method-level DocBlock.
-Warning on line 210 - Method "SetLeftMargin" has no method-level DocBlock.
-Warning on line 216 - Method "SetTopMargin" has no method-level DocBlock.
-Warning on line 222 - Method "SetRightMargin" has no method-level DocBlock.
-Warning on line 230 - Method "SetAutoPageBreak" has no method-level DocBlock.
-Warning on line 243 - Method "SetDisplayMode" has no method-level DocBlock.
-Warning on line 252 - Method "SetCompression" has no method-level DocBlock.
-Warning on line 258 - Method "SetTitle" has no method-level DocBlock.
-Warning on line 264 - Method "SetSubject" has no method-level DocBlock.
-Warning on line 270 - Method "SetAuthor" has no method-level DocBlock.
-Warning on line 276 - Method "SetKeywords" has no method-level DocBlock.
-Warning on line 282 - Method "SetCreator" has no method-level DocBlock.
-Warning on line 288 - Method "AliasNbPages" has no method-level DocBlock.
-Warning on line 294 - Method "Error" has no method-level DocBlock.
-Warning on line 300 - Method "Open" has no method-level DocBlock.
-Warning on line 317 - Method "Close" has no method-level DocBlock.
-Warning on line 384 - Method "AddPage" has no method-level DocBlock.
-Warning on line 389 - Method "Header" has no method-level DocBlock.
-Warning on line 394 - Method "Footer" has no method-level DocBlock.
-Warning on line 400 - Method "PageNo" has no method-level DocBlock.
-Warning on line 411 - Method "SetDrawColor" has no method-level DocBlock.
-Warning on line 423 - Method "SetFillColor" has no method-level DocBlock.
-Warning on line 433 - Method "SetTextColor" has no method-level DocBlock.
-Warning on line 445 - Method "GetStringWidth" has no method-level DocBlock.
-Warning on line 453 - Method "SetLineWidth" has no method-level DocBlock.
-Warning on line 459 - Method "Line" has no method-level DocBlock.
-Warning on line 471 - Method "Rect" has no method-level DocBlock.
-Warning on line 519 - Method "AddFont" has no method-level DocBlock.
-Warning on line 579 - Method "SetFont" has no method-level DocBlock.
-Warning on line 590 - Method "SetFontSize" has no method-level DocBlock.
-Warning on line 598 - Method "AddLink" has no method-level DocBlock.
-Warning on line 608 - Method "SetLink" has no method-level DocBlock.
-Warning on line 614 - Method "Link" has no method-level DocBlock.
-Warning on line 625 - Method "Text" has no method-level DocBlock.
-Warning on line 631 - Method "AcceptPageBreak" has no method-level DocBlock.
-Warning on line 710 - Method "Cell" has no method-level DocBlock.
-Warning on line 823 - Method "MultiCell" has no method-level DocBlock.
-Warning on line 904 - Method "Write" has no method-level DocBlock.
-Warning on line 954 - Method "Image" has no method-level DocBlock.
-Warning on line 964 - Method "Ln" has no method-level DocBlock.
-Warning on line 970 - Method "GetX" has no method-level DocBlock.
-Warning on line 979 - Method "SetX" has no method-level DocBlock.
-Warning on line 985 - Method "GetY" has no method-level DocBlock.
-Warning on line 995 - Method "SetY" has no method-level DocBlock.
-Warning on line 1002 - Method "SetXY" has no method-level DocBlock.
-Warning on line 1070 - Method "Output" has no method-level DocBlock.
-Warning on line 1092 - Method "_getfontpath" has no method-level DocBlock.
-Warning on line 1163 - Method "_putpages" has no method-level DocBlock.
-Warning on line 1280 - Method "_putfonts" has no method-level DocBlock.
-Warning on line 1328 - Method "_putimages" has no method-level DocBlock.
-Warning on line 1334 - Method "_putxobjectdict" has no method-level DocBlock.
-Warning on line 1346 - Method "_putresourcedict" has no method-level DocBlock.
-Warning on line 1359 - Method "_putresources" has no method-level DocBlock.
-Warning on line 1375 - Method "_putinfo" has no method-level DocBlock.
-Warning on line 1395 - Method "_putcatalog" has no method-level DocBlock.
-Warning on line 1400 - Method "_putheader" has no method-level DocBlock.
-Warning on line 1407 - Method "_puttrailer" has no method-level DocBlock.
-Warning on line 1442 - Method "_enddoc" has no method-level DocBlock.
-Warning on line 1481 - Method "_beginpage" has no method-level DocBlock.
-Warning on line 1487 - Method "_endpage" has no method-level DocBlock.
-Warning on line 1495 - Method "_newobj" has no method-level DocBlock.
-Warning on line 1504 - Method "_dounderline" has no method-level DocBlock.
-Warning on line 1528 - Method "_parsejpg" has no method-level DocBlock.
-Warning on line 1611 - Method "_parsepng" has no method-level DocBlock.
-Warning on line 1618 - Method "_freadint" has no method-level DocBlock.
-Warning on line 1624 - Method "_textstring" has no method-level DocBlock.
-Warning on line 1630 - Method "_escape" has no method-level DocBlock.
-Warning on line 1637 - Method "_putstream" has no method-level DocBlock.
-Warning on line 1646 - Method "_out" has no method-level DocBlock.
- -

schema.inc

-

Warnings:


-Warning on line 67 - Method "setOID" has no method-level DocBlock.
-Warning on line 72 - Method "setDescription" has no method-level DocBlock.
-Warning on line 77 - Method "getOID" has no method-level DocBlock.
-Warning on line 82 - Method "getDescription" has no method-level DocBlock.
-Warning on line 1232 - Method "MatchingRuleUse" has no method-level DocBlock.
- -

ufpdf.php

-

Warnings:


-Warning on line 70 - Method "GetStringWidth" has no method-level DocBlock.
-Warning on line 99 - Method "AddFont" has no method-level DocBlock.
-Warning on line 110 - Method "Text" has no method-level DocBlock.
-Warning on line 116 - Method "AcceptPageBreak" has no method-level DocBlock.
-Warning on line 196 - Method "Cell" has no method-level DocBlock.
-Warning on line 321 - Method "MultiCell" has no method-level DocBlock.
-Warning on line 404 - Method "Write" has no method-level DocBlock.
-Warning on line 410 - Method "AliasNbPages" has no method-level DocBlock.
-Warning on line 487 - Method "_dounderline" has no method-level DocBlock.
-Warning on line 495 - Method "_textstring" has no method-level DocBlock.
-Warning on line 503 - Method "_escapetext" has no method-level DocBlock.
-Warning on line 519 - Method "_putinfo" has no method-level DocBlock.
-Warning on line 592 - Method "_putpages" has no method-level DocBlock.
-Warning on line 694 - Method "utf8_to_utf16be" has no method-level DocBlock.
-Warning on line 702 - Method "code2utf" has no method-level DocBlock.
-Warning on line 706 - Method "strlen" has no method-level DocBlock.
-Warning on line 721 - Method "utf8_substr" has no method-level DocBlock.
-Warning on line 813 - Method "utf8_to_codepoints" has no method-level DocBlock.
-
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/index.html b/lam-web/developers/devel/phpdoc/index.html deleted file mode 100644 index d96d9e94..00000000 --- a/lam-web/developers/devel/phpdoc/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
default
- - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to default!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_Help.html b/lam-web/developers/devel/phpdoc/li_Help.html deleted file mode 100644 index b10a68d3..00000000 --- a/lam-web/developers/devel/phpdoc/li_Help.html +++ /dev/null @@ -1,76 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
Help
- - - [ class tree: Help ] - [ index: Help ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to Help!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_LDAP.html b/lam-web/developers/devel/phpdoc/li_LDAP.html deleted file mode 100644 index 0bde2507..00000000 --- a/lam-web/developers/devel/phpdoc/li_LDAP.html +++ /dev/null @@ -1,79 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
LDAP
- - - [ class tree: LDAP ] - [ index: LDAP ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to LDAP!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_PDF.html b/lam-web/developers/devel/phpdoc/li_PDF.html deleted file mode 100644 index bf1f0dff..00000000 --- a/lam-web/developers/devel/phpdoc/li_PDF.html +++ /dev/null @@ -1,106 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
PDF
- - - [ class tree: PDF ] - [ index: PDF ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to PDF!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:13 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_configuration.html b/lam-web/developers/devel/phpdoc/li_configuration.html deleted file mode 100644 index 06962702..00000000 --- a/lam-web/developers/devel/phpdoc/li_configuration.html +++ /dev/null @@ -1,96 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
configuration
- - - [ class tree: configuration ] - [ index: configuration ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to configuration!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_lib.html b/lam-web/developers/devel/phpdoc/li_lib.html deleted file mode 100644 index b284450d..00000000 --- a/lam-web/developers/devel/phpdoc/li_lib.html +++ /dev/null @@ -1,94 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to lib!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_lists.html b/lam-web/developers/devel/phpdoc/li_lists.html deleted file mode 100644 index 4c3d119a..00000000 --- a/lam-web/developers/devel/phpdoc/li_lists.html +++ /dev/null @@ -1,152 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to lists!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_main.html b/lam-web/developers/devel/phpdoc/li_main.html deleted file mode 100644 index 7433174a..00000000 --- a/lam-web/developers/devel/phpdoc/li_main.html +++ /dev/null @@ -1,84 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to main!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_modules.html b/lam-web/developers/devel/phpdoc/li_modules.html deleted file mode 100644 index 16c4dfba..00000000 --- a/lam-web/developers/devel/phpdoc/li_modules.html +++ /dev/null @@ -1,138 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to modules!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_profiles.html b/lam-web/developers/devel/phpdoc/li_profiles.html deleted file mode 100644 index 7b2707f6..00000000 --- a/lam-web/developers/devel/phpdoc/li_profiles.html +++ /dev/null @@ -1,80 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to profiles!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_selfService.html b/lam-web/developers/devel/phpdoc/li_selfService.html deleted file mode 100644 index 491db3d6..00000000 --- a/lam-web/developers/devel/phpdoc/li_selfService.html +++ /dev/null @@ -1,79 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
selfService
- - - [ class tree: selfService ] - [ index: selfService ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to selfService!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_tests.html b/lam-web/developers/devel/phpdoc/li_tests.html deleted file mode 100644 index 5fdf0447..00000000 --- a/lam-web/developers/devel/phpdoc/li_tests.html +++ /dev/null @@ -1,78 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to tests!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_tools.html b/lam-web/developers/devel/phpdoc/li_tools.html deleted file mode 100644 index be3b59b4..00000000 --- a/lam-web/developers/devel/phpdoc/li_tools.html +++ /dev/null @@ -1,106 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to tools!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/li_types.html b/lam-web/developers/devel/phpdoc/li_types.html deleted file mode 100644 index e82f9fe8..00000000 --- a/lam-web/developers/devel/phpdoc/li_types.html +++ /dev/null @@ -1,96 +0,0 @@ - - -LDAP Account Manager - Documentation - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

LDAP Account Manager - Documentation

-Welcome to types!
-
-This documentation was generated by phpDocumentor v1.4.0
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/AttributeType.html b/lam-web/developers/devel/phpdoc/lib/AttributeType.html deleted file mode 100644 index e7f251f7..00000000 --- a/lam-web/developers/devel/phpdoc/lib/AttributeType.html +++ /dev/null @@ -1,1199 +0,0 @@ - - -Docs For Class AttributeType - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: AttributeType

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-
SchemaItem
-   |
-   --AttributeType

-
Represents an LDAP AttributeType


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: SchemaItem

-
-
- SchemaItem::$description -
-
- -
-
- SchemaItem::$oid -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: SchemaItem

-
-
- SchemaItem::SchemaItem() -
-
- Default constructor. -
-
- SchemaItem::getDescription() -
-
- -
-
- SchemaItem::getOID() -
-
- -
-
- SchemaItem::initVars() -
-
- Initialize class members to default values. -
-
- SchemaItem::setDescription() -
-
- -
-
- SchemaItem::setOID() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 514]
-Represents an LDAP AttributeType



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$aliases =

-

[line 539]

- An array of alias attribute names, strings

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$equality =

-

[line 523]

- The equality rule used

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$is_collective =

-

[line 533]

- boolean: is collective?

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$is_no_user_modification =

-

[line 535]

- boolean: can use modify?

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$is_obsolete =

-

[line 519]

- string: the description

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$is_single_value =

-

[line 531]

- boolean: is single valued only?

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$max_length =

-

[line 541]

- The max number of characters this attribute can be

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$name =

-

[line 517]

- The name of this attributeType

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ordering =

-

[line 525]

- The ordering of the attributeType

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$required_by_object_classes = array()

-

[line 547]

- A list of object class names that require this attribute type.

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sub_str =

-

[line 527]

- Boolean: supports substring matching?

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sup_attribute =

-

[line 521]

- The attribute from which this attribute inherits (if any)

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$syntax =

-

[line 529]

- The full syntax string, ie 1.2.3.4{16}

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$type =

-

[line 543]

- A string description of the syntax type (taken from the LDAPSyntaxes)

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$usage =

-

[line 537]

- The usage string set by the LDAP schema

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$used_in_object_classes =

-

[line 545]

- An array of objectClasses which use this attributeType (must be set by caller)

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor AttributeType [line 579]

-
-
-
- AttributeType AttributeType( - -$raw_ldap_attr_string) -
-

- - Creates a new AttributeType objcet from a raw LDAP AttributeType string.



- - -

Parameters:

-
- - - - - - -
  $raw_ldap_attr_string  
-

-
[ Top ]
-
-
- -

method addAlias [line 878]

-
-
-
- void addAlias( -string -$new_alias_name) -
-

- - Adds an attribute name to the alias array.



- - -

Parameters:

-
- - - - - - -
string  $new_alias_name  The name of a new attribute to add to this attribute's list of aliases.
-

-
[ Top ]
-
-
- -

method addRequiredByObjectClass [line 948]

-
-
-
- void addRequiredByObjectClass( -string -$object_class_name) -
-

- - Adds an objectClass name to this attribute's list of "required by" objectClasses, that is the list of objectClasses which must have this attribute.



- - -

Parameters:

-
- - - - - - -
string  $object_class_name  The name of the objectClass to add.
-

-
[ Top ]
-
-
- -

method addUsedInObjectClass [line 924]

-
-
-
- void addUsedInObjectClass( -string -$object_class_name) -
-

- - Adds an objectClass name to this attribute's list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.



- - -

Parameters:

-
- - - - - - -
string  $object_class_name  The name of the objectClass to add.
-

-
[ Top ]
-
-
- -

method getAliases [line 761]

-
-
-
- array getAliases( -) -
-

- - Gets the names of attributes that are an alias for this attribute (if any).



-

Tags:

-
- - - - -
return:  An array of names of attributes which alias this attribute or an empty array if no attribute aliases this object.
-
-

- - -
[ Top ]
-
-
- -

method getEquality [line 733]

-
-
-
- string getEquality( -) -
-

- - Gets this attribute's equality string



- - -
[ Top ]
-
-
- -

method getIsCollective [line 833]

-
-
-
- bool getIsCollective( -) -
-

- - Gets whether this attribute is collective.



-

Tags:

-
- - - - -
return:  Returns true if this attribute is collective and false otherwise.
-
-

- - -
[ Top ]
-
-
- -

method getIsNoUserModification [line 842]

-
-
-
- bool getIsNoUserModification( -) -
-

- - Gets whether this attribute is not modifiable by users.



-

Tags:

-
- - - - -
return:  Returns true if this attribute is not modifiable by users.
-
-

- - -
[ Top ]
-
-
- -

method getIsObsolete [line 705]

-
-
-
- bool getIsObsolete( -) -
-

- - Gets whether this attribute has been flagged as obsolete by the LDAP server



- - -
[ Top ]
-
-
- -

method getIsSingleValue [line 815]

-
-
-
- bool getIsSingleValue( -) -
-

- - Gets whether this attribute is single-valued. If this attribute only supports single values, true is returned. If this attribute supports multiple values, false is returned.



-

Tags:

-
- - - - -
return:  Returns true if this attribute is single-valued or false otherwise.
-
-

- - -
[ Top ]
-
-
- -

method getMaxLength [line 805]

-
-
-
- int getMaxLength( -) -
-

- - Gets this attribute's the maximum length. If no maximum is defined by the LDAP server, null is returned.



-

Tags:

-
- - - - -
return:  The maximum length (in characters) of this attribute or null if no maximum is specified.
-
-

- - -
[ Top ]
-
-
- -

method getName [line 696]

-
-
-
- string getName( -) -
-

- - Gets this attribute's name



- - -
[ Top ]
-
-
- -

method getOrdering [line 742]

-
-
-
- string getOrdering( -) -
-

- - Gets this attribute's ordering specification.



- - -
[ Top ]
-
-
- -

method getRequiredByObjectClasses [line 962]

-
-
-
- array getRequiredByObjectClasses( -) -
-

- - Gets the list of "required by" objectClasses, that is the list of objectClasses which provide must have attribute.



-

Tags:

-
- - - - -
return:  An array of names of objectclasses (strings) which provide this attribute
-
-

- - -
[ Top ]
-
-
- -

method getSubstr [line 751]

-
-
-
- string getSubstr( -) -
-

- - Gets this attribute's substring matching specification



- - -
[ Top ]
-
-
- -

method getSupAttribute [line 724]

-
-
-
- string getSupAttribute( -) -
-

- - Gets this attribute's parent attribute (if any). If this attribute does not inherit from another attribute, null is returned.



- - -
[ Top ]
-
-
- -

method getSyntaxOID [line 796]

-
-
-
- string getSyntaxOID( -) -
-

- - Gets this attribute's syntax OID. Differs from getSyntaxString() in that this function only returns the actual OID with any length specification removed.

Ie, if the syntax string is "1.2.3.4{16}", this function only retruns "1.2.3.4".




-

Tags:

-
- - - - -
return:  The syntax OID string.
-
-

- - -
[ Top ]
-
-
- -

method getSyntaxString [line 784]

-
-
-
- string getSyntaxString( -) -
-

- - Gets this attribute's raw syntax string (ie: "1.2.3.4{16}").



-

Tags:

-
- - - - -
return:  The raw syntax string
-
-

- - -
[ Top ]
-
-
- -

method getType [line 851]

-
-
-
- string getType( -) -
-

- - Gets this attribute's type



-

Tags:

-
- - - - -
return:  The attribute's type.
-
-

- - -
[ Top ]
-
-
- -

method getUsage [line 714]

-
-
-
- string getUsage( -) -
-

- - Gets this attribute's usage string as defined by the LDAP server



- - -
[ Top ]
-
-
- -

method getUsedInObjectClasses [line 938]

-
-
-
- array getUsedInObjectClasses( -) -
-

- - Gets the list of "used in" objectClasses, that is the list of objectClasses which provide this attribute.



-

Tags:

-
- - - - -
return:  An array of names of objectclasses (strings) which provide this attribute
-
-

- - -
[ Top ]
-
-
- -

method initVars [line 552]

-
-
-
- void initVars( -) -
-

- - Initialize the class' member variables



- - Overrides SchemaItem::initVars() (Initialize class members to default values.)

-
[ Top ]
-
-
- -

method isAliasFor [line 771]

-
-
-
- bool isAliasFor( -string -$attr_name) -
-

- - Returns whether the specified attribute is an alias for this one (based on this attribute's alias list).



-

Tags:

-
- - - - -
return:  True if the specified attribute is an alias for this one, or false otherwise.
-
-

- - -

Parameters:

-
- - - - - - -
string  $attr_name  The name of the attribute to check.
-

-
[ Top ]
-
-
- -

method removeAlias [line 862]

-
-
-
- bool removeAlias( -string -$remove_alias_name) -
-

- - Removes an attribute name from this attribute's alias array.



-

Tags:

-
- - - - -
return:  true on success or false on failure (ie, if the specified attribute name is not found in this attribute's list of aliases)
-
-

- - -

Parameters:

-
- - - - - - -
string  $remove_alias_name  The name of the attribute to remove.
-

-
[ Top ]
-
-
- -

method setAliases [line 905]

-
-
-
- void setAliases( -array -$new_aliases) -
-

- - Sets this attribute's list of aliases.



- - -

Parameters:

-
- - - - - - -
array  $new_aliases  The array of alias names (strings)
-

-
[ Top ]
-
-
- -

method setIsSingleValue [line 824]

-
-
-
- void setIsSingleValue( -bool -$is_single_value) -
-

- - Sets whether this attribute is single-valued.



- - -

Parameters:

-
- - - - - - -
bool  $is_single_value  
-

-
[ Top ]
-
-
- -

method setName [line 887]

-
-
-
- void setName( -string -$new_name) -
-

- - Sets this attriute's name.



- - -

Parameters:

-
- - - - - - -
string  $new_name  The new name to give this attribute.
-

-
[ Top ]
-
-
- -

method setSupAttribute [line 896]

-
-
-
- void setSupAttribute( -string -$new_sup_attr) -
-

- - Sets this attriute's SUP attribute (ie, the attribute from which this attribute inherits).



- - -

Parameters:

-
- - - - - - -
string  $new_sup_attr  The name of the new parent (SUP) attribute
-

-
[ Top ]
-
-
- -

method setType [line 914]

-
-
-
- void setType( -string -$new_type) -
-

- - Sets this attribute's type.



- - -

Parameters:

-
- - - - - - -
string  $new_type  The new type.
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:53 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/MatchingRule.html b/lam-web/developers/devel/phpdoc/lib/MatchingRule.html deleted file mode 100644 index 7175f21f..00000000 --- a/lam-web/developers/devel/phpdoc/lib/MatchingRule.html +++ /dev/null @@ -1,473 +0,0 @@ - - -Docs For Class MatchingRule - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: MatchingRule

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-
SchemaItem
-   |
-   --MatchingRule

-
Represents an LDAP MatchingRule


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: SchemaItem

-
-
- SchemaItem::$description -
-
- -
-
- SchemaItem::$oid -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: SchemaItem

-
-
- SchemaItem::SchemaItem() -
-
- Default constructor. -
-
- SchemaItem::getDescription() -
-
- -
-
- SchemaItem::getOID() -
-
- -
-
- SchemaItem::initVars() -
-
- Initialize class members to default values. -
-
- SchemaItem::setDescription() -
-
- -
-
- SchemaItem::setOID() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 1019]
-Represents an LDAP MatchingRule



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$is_obsolete =

-

[line 1026]

- Boolean value indicating whether this MatchingRule is obsolete

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$name =

-

[line 1022]

- This rule's name

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$syntax =

-

[line 1024]

- This rule's syntax OID

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$used_by_attrs =

-

[line 1028]

- An array of attribute names who use this MatchingRule

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor MatchingRule [line 1045]

-
-
-
- MatchingRule MatchingRule( - -$raw_ldap_matching_rule_string) -
-

- - Creates a new MatchingRule object from a raw LDAP MatchingRule string.



- - -

Parameters:

-
- - - - - - -
  $raw_ldap_matching_rule_string  
-

-
[ Top ]
-
-
- -

method addUsedByAttr [line 1115]

-
-
-
- true addUsedByAttr( - -$new_attr_name) -
-

- - Adds an attribute name to the list of attributes who use this MatchingRule



-

Tags:

-
- - - - -
return:  if the attribute was added and false otherwise (already in the list)
-
-

- - -

Parameters:

-
- - - - - - -
  $new_attr_name  
-

-
[ Top ]
-
-
- -

method getIsObsolete [line 1137]

-
-
-
- bool getIsObsolete( -) -
-

- - Gets whether this MatchingRule is flagged as obsolete by the LDAP server.



-

Tags:

-
- - - - -
return:  True if this MatchingRule is obsolete and false otherwise.
-
-

- - -
[ Top ]
-
-
- -

method getName [line 1128]

-
-
-
- string getName( -) -
-

- - Gets this MatchingRule's name.



-

Tags:

-
- - - - -
return:  The name.
-
-

- - -
[ Top ]
-
-
- -

method getUsedByAttrs [line 1146]

-
-
-
- array getUsedByAttrs( -) -
-

- - Gets an array of attribute names (strings) which use this MatchingRule



-

Tags:

-
- - - - -
return:  The array of attribute names (strings).
-
-

- - -
[ Top ]
-
-
- -

method initVars [line 1031]

-
-
-
- void initVars( -) -
-

- - Initialize the class' member variables



- - Overrides SchemaItem::initVars() (Initialize class members to default values.)

-
[ Top ]
-
-
- -

method setUsedByAttrs [line 1106]

-
-
-
- void setUsedByAttrs( -array -$attrs) -
-

- - Sets the list of used_by_attrs to the array specified by $attrs;



- - -

Parameters:

-
- - - - - - -
array  $attrs  The array of attribute names (strings) which use this MatchingRule
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:54 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/MatchingRuleUse.html b/lam-web/developers/devel/phpdoc/lib/MatchingRuleUse.html deleted file mode 100644 index 7b00cea9..00000000 --- a/lam-web/developers/devel/phpdoc/lib/MatchingRuleUse.html +++ /dev/null @@ -1,350 +0,0 @@ - - -Docs For Class MatchingRuleUse - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: MatchingRuleUse

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-
SchemaItem
-   |
-   --MatchingRuleUse

-
Represents an LDAP schema matchingRuleUse entry


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: SchemaItem

-
-
- SchemaItem::$description -
-
- -
-
- SchemaItem::$oid -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: SchemaItem

-
-
- SchemaItem::SchemaItem() -
-
- Default constructor. -
-
- SchemaItem::getDescription() -
-
- -
-
- SchemaItem::getOID() -
-
- -
-
- SchemaItem::initVars() -
-
- Initialize class members to default values. -
-
- SchemaItem::setDescription() -
-
- -
-
- SchemaItem::setOID() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 1157]
-Represents an LDAP schema matchingRuleUse entry



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$name =

-

[line 1160]

- The name of the MathingRule this applies to

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$used_by_attrs =

-

[line 1163]

- An array of attributeType names who make use of the mathingRule

identified by $this->oid and $this->name


-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor MatchingRuleUse [line 1174]

-
-
-
- MatchingRuleUse MatchingRuleUse( - -$raw_matching_rule_use_string) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $raw_matching_rule_use_string  
-

-
[ Top ]
-
-
- -

method getName [line 1239]

-
-
-
- string getName( -) -
-

- - Gets this MatchingRuleUse's name



-

Tags:

-
- - - - -
return:  The name
-
-

- - -
[ Top ]
-
-
- -

method getUsedByAttrs [line 1248]

-
-
-
- array getUsedByAttrs( -) -
-

- - Gets an array of attribute names (strings) which use this MatchingRuleUse object.



-

Tags:

-
- - - - -
return:  The array of attribute names (strings).
-
-

- - -
[ Top ]
-
-
- -

method initVars [line 1166]

-
-
-
- void initVars( -) -
-

- - Initialize the class' member variables



- - Overrides SchemaItem::initVars() (Initialize class members to default values.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:54 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/ObjectClass.html b/lam-web/developers/devel/phpdoc/lib/ObjectClass.html deleted file mode 100644 index b472a709..00000000 --- a/lam-web/developers/devel/phpdoc/lib/ObjectClass.html +++ /dev/null @@ -1,770 +0,0 @@ - - -Docs For Class ObjectClass - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: ObjectClass

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-
SchemaItem
-   |
-   --ObjectClass

-
Represents an LDAP objectClass


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: SchemaItem

-
-
- SchemaItem::$description -
-
- -
-
- SchemaItem::$oid -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: SchemaItem

-
-
- SchemaItem::SchemaItem() -
-
- Default constructor. -
-
- SchemaItem::getDescription() -
-
- -
-
- SchemaItem::getOID() -
-
- -
-
- SchemaItem::initVars() -
-
- Initialize class members to default values. -
-
- SchemaItem::setDescription() -
-
- -
-
- SchemaItem::setOID() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 91]
-Represents an LDAP objectClass



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$children_objectclasses =

-

[line 106]

- array of objectClasses which inherit from this one (must be set at runtime explicitly by the caller)

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$is_obsolete =

-

[line 104]

- boolean value indicating whether this objectClass is obsolete

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$may_attrs =

-

[line 102]

- arrays of attribute names that this objectClass allows, but does not require

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$must_attrs =

-

[line 100]

- arrays of attribute names that this objectClass requires

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$name =

-

[line 94]

- This objectClass' name, ie "inetOrgPerson"

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sup_classes =

-

[line 96]

- array of objectClass names from which this objectClass inherits

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$type =

-

[line 98]

- one of STRUCTURAL, ABSTRACT, or AUXILIARY

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor ObjectClass [line 126]

-
-
-
- ObjectClass ObjectClass( - -$raw_ldap_schema_string) -
-

- - Creates a new ObjectClass object given a raw LDAP objectClass string.



- - -

Parameters:

-
- - - - - - -
  $raw_ldap_schema_string  
-

-
[ Top ]
-
-
- -

method addChildObjectClass [line 376]

-
-
-
- bool addChildObjectClass( -String -$object_class_name) -
-

- - Adds an objectClass to the list of objectClasses that inherit from this objectClass.



-

Tags:

-
- - - - -
return:  Returns true on success or false on failure (objectclass already existed for example)
-
-

- - -

Parameters:

-
- - - - - - -
String  $object_class_name  The name of the objectClass to add
-

-
[ Top ]
-
-
- -

method addMayAttrs [line 454]

-
-
-
- void addMayAttrs( -array -$new_may_attrs) -
-

- - Behaves identically to addMustAttrs, but it operates on the MAY attributes of this objectClass.



- - -

Parameters:

-
- - - - - - -
array  $new_may_attrs  An array of attribute names (strings) to add.
-

-
[ Top ]
-
-
- -

method addMustAttrs [line 439]

-
-
-
- void addMustAttrs( -array -$new_must_attrs) -
-

- - Adds the specified array of attributes to this objectClass' list of MUST attributes. The resulting array of must attributes will contain unique members.



- - -

Parameters:

-
- - - - - - -
array  $new_must_attrs  An array of attribute names (strings) to add.
-

-
[ Top ]
-
-
- -

method getChildObjectClasses [line 392]

-
-
-
- Array getChildObjectClasses( -) -
-

- - Returns the array of objectClass names which inherit from this objectClass.



-

Tags:

-
- - - - -
return:  Names of objectClasses which inherit from this objectClass.
-
-

- - -
[ Top ]
-
-
- -

method getIsObsolete [line 427]

-
-
-
- void getIsObsolete( -) -
-

- - Gets whether this objectClass is flagged as obsolete by the LDAP server.



- - -
[ Top ]
-
-
- -

method getMayAttrNames [line 361]

-
-
-
- array getMayAttrNames( -[array -$oclasses = null]) -
-

- - Gets an array of attribute names (strings) that entries of this ObjectClass must define.

This differs from getMayAttrs in that it returns an array of strings rather than array of AttributeType objects




-

Tags:

-
- - - - - - - - - - - - - -
return:  The array of allowed attribute names (strings).
see:  ObjectClass::getMustAttrNames()
see:  ObjectClass::getMayAttrs()
see:  ObjectClass::getMustAttrs()
-
-

- - -

Parameters:

-
- - - - - - -
array  $oclasses  An array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
-

-
[ Top ]
-
-
- -

method getMayAttrs [line 303]

-
-
-
- array getMayAttrs( -[array -$oclasses = NULL]) -
-

- - Gets an array of AttributeType objects that entries of this ObjectClass may define.

This differs from getMayAttrNames in that it returns an array of AttributeType objects




-

Tags:

-
- - - - - - - - - - - - - - - - -
return:  The array of allowed AttributeType objects.
see:  AttributeType
see:  ObjectClass::getMayAttrNames()
see:  ObjectClass::getMustAttrs()
see:  ObjectClass::getMustAttrNames()
-
-

- - -

Parameters:

-
- - - - - - -
array  $oclasses  An array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
-

-
[ Top ]
-
-
- -

method getMustAttrNames [line 337]

-
-
-
- array getMustAttrNames( -[array -$oclasses = null]) -
-

- - Gets an array of attribute names (strings) that entries of this ObjectClass must define.

This differs from getMustAttrs in that it returns an array of strings rather than array of AttributeType objects




-

Tags:

-
- - - - - - - - - - - - - -
return:  The array of allowed attribute names (strings).
see:  ObjectClass::getMayAttrNames()
see:  ObjectClass::getMayAttrs()
see:  ObjectClass::getMustAttrs()
-
-

- - -

Parameters:

-
- - - - - - -
array  $oclasses  An array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
-

-
[ Top ]
-
-
- -

method getMustAttrs [line 269]

-
-
-
- array getMustAttrs( -[array -$oclasses = NULL]) -
-

- - Gets an array of AttributeType objects that entries of this ObjectClass must define.

This differs from getMustAttrNames in that it returns an array of AttributeType objects




-

Tags:

-
- - - - - - - - - - - - - -
return:  The array of required AttributeType objects.
see:  ObjectClass::getMayAttrNames()
see:  ObjectClass::getMayAttrs()
see:  ObjectClass::getMustAttrNames()
-
-

- - -

Parameters:

-
- - - - - - -
array  $oclasses  An array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass requires.
-

-
[ Top ]
-
-
- -

method getName [line 401]

-
-
-
- string getName( -) -
-

- - Gets the name of this objectClass (ie, "inetOrgPerson")



-

Tags:

-
- - - - -
return:  The name of the objectClass
-
-

- - -
[ Top ]
-
-
- -

method getSupClasses [line 411]

-
-
-
- array getSupClasses( -) -
-

- - Gets the objectClass names from which this objectClass inherits.



-

Tags:

-
- - - - -
return:  An array of objectClass names (strings)
-
-

- - -
[ Top ]
-
-
- -

method getType [line 419]

-
-
-
- void getType( -) -
-

- - Gets the type of this objectClass: STRUCTURAL, ABSTRACT, or AUXILIARY.



- - -
[ Top ]
-
-
- -

method initVars [line 109]

-
-
-
- void initVars( -) -
-

- - Initialize the class' member variables



- - Overrides SchemaItem::initVars() (Initialize class members to default values.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:54 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/ObjectClassAttribute.html b/lam-web/developers/devel/phpdoc/lib/ObjectClassAttribute.html deleted file mode 100644 index bad03f78..00000000 --- a/lam-web/developers/devel/phpdoc/lib/ObjectClassAttribute.html +++ /dev/null @@ -1,255 +0,0 @@ - - -Docs For Class ObjectClassAttribute - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: ObjectClassAttribute

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-

-
A simple class for representing AttributeTypes used only by the ObjectClass class.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 476]
-A simple class for representing AttributeTypes used only by the ObjectClass class.

Users should never instantiate this class. It represents an attribute internal to an ObjectClass. If PHP supported inner-classes and variable permissions, this would be interior to class ObjectClass and flagged private. The reason this class is used and not the "real" class AttributeType is because this class supports the notion of a "source" objectClass, meaning that it keeps track of which objectClass originally specified it. This class is therefore used by the class ObjectClass to determine inheritance.




-
[ Top ]

- -
- -

Class Variables

-
- -

-

$name =

-

[line 479]

- This Attribute's name

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$source =

-

[line 481]

- This Attribute's root

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor ObjectClassAttribute [line 489]

-
-
-
- ObjectClassAttribute ObjectClassAttribute( -string -$name, string -$source) -
-

- - Creates a new ObjectClassAttribute with specified name and source objectClass.



- - -

Parameters:

-
- - - - - - - - - - - -
string  $name  the name of the new attribute.
string  $source  the name of the ObjectClass which specifies this attribute.
-

-
[ Top ]
-
-
- -

method getName [line 496]

-
-
-
- void getName( -) -
-

- - Gets this attribute's name



- - -
[ Top ]
-
-
- -

method getSource [line 502]

-
-
-
- void getSource( -) -
-

- - Gets the name of the ObjectClass which originally specified this attribute.



- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:54 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/SchemaItem.html b/lam-web/developers/devel/phpdoc/lib/SchemaItem.html deleted file mode 100644 index d4cde90b..00000000 --- a/lam-web/developers/devel/phpdoc/lib/SchemaItem.html +++ /dev/null @@ -1,358 +0,0 @@ - - -Docs For Class SchemaItem - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: SchemaItem

-Source Location: /lib/schema.inc

- - - - - - - - - - -
- -

Class Overview

-

-
Generic parent class for all schema items. A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
ObjectClass
-
Represents an LDAP objectClass
-
-
-
AttributeType
-
Represents an LDAP AttributeType
-
-
-
Syntax
-
Represents an LDAP Syntax
-
-
-
MatchingRule
-
Represents an LDAP MatchingRule
-
-
-
MatchingRuleUse
-
Represents an LDAP schema matchingRuleUse entry
-
-
-
-
- - -

Class Details

-
-[line 45]
-Generic parent class for all schema items. A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax.

All schema items have at least two things in common: An OID and a description. This class provides an implementation for these two data.




-
[ Top ]

- -
- -

Class Variables

-
- -

-

$description =

-

[line 50]

- The description of this schema item.

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$oid =

-

[line 48]

- The OID of this schema item.

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor SchemaItem [line 60]

-
-
-
- SchemaItem SchemaItem( -) -
-

- - Default constructor.



- - -
[ Top ]
-
-
- -

method getDescription [line 80]

-
-
-
- void getDescription( -) -
-

- -

- - -
[ Top ]
-
-
- -

method getOID [line 75]

-
-
-
- void getOID( -) -
-

- -

- - -
[ Top ]
-
-
- -

method initVars [line 53]

-
-
-
- void initVars( -) -
-

- - Initialize class members to default values.



- -

Overridden in child classes as:
-

-
ObjectClass::initVars()
-
Initialize the class' member variables
-
-
-
AttributeType::initVars()
-
Initialize the class' member variables
-
-
-
Syntax::initVars()
-
Initializes the class' member variables
-
-
-
MatchingRule::initVars()
-
Initialize the class' member variables
-
-
-
MatchingRuleUse::initVars()
-
Initialize the class' member variables
-
-

- -
[ Top ]
-
-
- -

method setDescription [line 70]

-
-
-
- void setDescription( - -$new_desc) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $new_desc  
-

-
[ Top ]
-
-
- -

method setOID [line 65]

-
-
-
- void setOID( - -$new_oid) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $new_oid  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:54 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/Syntax.html b/lam-web/developers/devel/phpdoc/lib/Syntax.html deleted file mode 100644 index 127c1024..00000000 --- a/lam-web/developers/devel/phpdoc/lib/Syntax.html +++ /dev/null @@ -1,256 +0,0 @@ - - -Docs For Class Syntax - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: Syntax

-Source Location: /lib/schema.inc

- - - - - - - - - -
- -

Class Overview

-
SchemaItem
-   |
-   --Syntax

-
Represents an LDAP Syntax


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: SchemaItem

-
-
- SchemaItem::$description -
-
- -
-
- SchemaItem::$oid -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: SchemaItem

-
-
- SchemaItem::SchemaItem() -
-
- Default constructor. -
-
- SchemaItem::getDescription() -
-
- -
-
- SchemaItem::getOID() -
-
- -
-
- SchemaItem::initVars() -
-
- Initialize class members to default values. -
-
- SchemaItem::setDescription() -
-
- -
-
- SchemaItem::setOID() -
-
- -
-
-
-
-
- - -

Class Details

-
-[line 973]
-Represents an LDAP Syntax



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor Syntax [line 986]

-
-
-
- Syntax Syntax( - -$raw_ldap_syntax_string) -
-

- - Creates a new Syntax object from a raw LDAP syntax string.



- - -

Parameters:

-
- - - - - - -
  $raw_ldap_syntax_string  
-

-
[ Top ]
-
-
- -

method initVars [line 976]

-
-
-
- void initVars( -) -
-

- - Initializes the class' member variables



- - Overrides SchemaItem::initVars() (Initialize class members to default values.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lib/_lib---account.inc.html b/lam-web/developers/devel/phpdoc/lib/_lib---account.inc.html deleted file mode 100644 index f587d900..00000000 --- a/lam-web/developers/devel/phpdoc/lib/_lib---account.inc.html +++ /dev/null @@ -1,588 +0,0 @@ - - -Docs for page account.inc - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: account.inc

-Source Location: /lib/account.inc

- -
-
- -
-

Classes:

-
samba3domain
-
Represents a Samba 3 domain entry
-


- -

Page Details:

-This provides several helper function for the account modules.



-

Tags:

-
- - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
-
-

-

-

-
-
- -

array_delete [line 69]

-
-
-
- array array_delete( -array $values, array $array) -
-

- - This function will return all values from $array without values of $values.



-

Tags:

-
- - - - -
return:  list of remaining values
-
-

- -

Parameters

- - - - - - - - - - - -
array  $values  list of values which should be removed
array  $array  list of original values
-
[ Top ]


-
-
- -

cmp_domain [line 342]

-
-
-
- integer cmp_domain( -string $a, string $b) -
-

- - Helper function to sort the domains



-

Tags:

-
- - - - -
return:  0 if equal, 1 if $a is greater, -1 if $b is greater
-
-

- -

Parameters

- - - - - - - - - - - -
string  $a  first argument to compare
string  $b  second argument to compare
-
[ Top ]


-
-
- -

generateRandomPassword [line 293]

-
-
-
- String generateRandomPassword( -) -
-

- - Generates a random password with 12 digits.



-

Tags:

-
- - - - -
return:  password
-
-

- -
[ Top ]


-
-
- -

getdays [line 102]

-
-
-
- number getdays( -) -
-

- - This function will return the days from 1.1.1970 until now.



-

Tags:

-
- - - - -
return:  of days
-
-

- -
[ Top ]


-
-
- -

getshells [line 40]

-
-
-
- array getshells( -) -
-

- - Returns a list of shells listed in config/shells.



-

Tags:

-
- - - - -
return:  list of shell names
-
-

- -
[ Top ]


-
-
- -

get_preg [line 385]

-
-
-
- boolean get_preg( -string $argument, string $regexp) -
-

- - Checks if a given value matches the selected regular expression.



-

Tags:

-
- - - - -
return:  true if matches, otherwise false
-
-

- -

Parameters

- - - - - - - - - - - -
string  $argument  value to check
string  $regexp  pattern name
-
[ Top ]


-
-
- -

in_array_ignore_case [line 85]

-
-
-
- void in_array_ignore_case( - $needle, $haystack) -
-

- - Checks if a string exists in an array, ignoring case.



- -

Parameters

- - - - - - - - - - - -
  $needle  
  $haystack  
-
[ Top ]


-
-
- -

lmPassword [line 137]

-
-
-
- string lmPassword( -string $password) -
-

- - Generates the LM hash of a password.



-

Tags:

-
- - - - -
return:  password hash
-
-

- -

Parameters

- - - - - - -
string  $password  password original password
-
[ Top ]


-
-
- -

ntPassword [line 151]

-
-
-
- string ntPassword( -string $password) -
-

- - Generates the NT hash of a password.



-

Tags:

-
- - - - -
return:  password hash
-
-

- -

Parameters

- - - - - - -
string  $password  password original password
-
[ Top ]


-
-
- -

pwd_disable [line 251]

-
-
-
- string pwd_disable( -string $hash) -
-

- - Marks an password hash as disabled and returns the new hash string



-

Tags:

-
- - - - -
return:  disabled hash value
-
-

- -

Parameters

- - - - - - -
string  $hash  hash value to disable
-
[ Top ]


-
-
- -

pwd_enable [line 226]

-
-
-
- string pwd_enable( -string $hash) -
-

- - Marks an password hash as enabled and returns the new hash string



-

Tags:

-
- - - - -
return:  enabled password hash
-
-

- -

Parameters

- - - - - - -
string  $hash  hash value to enable
-
[ Top ]


-
-
- -

pwd_hash [line 171]

-
-
-
- string pwd_hash( -string $password, [boolean $enabled = true], [string $hashType = 'SSHA']) -
-

- - Returns the hash value of a plain text password the hash algorithm depends on the configuration file



-

Tags:

-
- - - - -
return:  the password hash
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $password  the password string
boolean  $enabled  marks the hash as enabled/disabled (e.g. by prefixing "!")
string  $hashType  password hash type (CRYPT, SHA, SSHA, MD5, SMD5, PLAIN)
-
[ Top ]


-
-
- -

pwd_is_enabled [line 276]

-
-
-
- boolean pwd_is_enabled( -string $hash) -
-

- - Checks if a password hash is enabled/disabled



-

Tags:

-
- - - - -
return:  true if the password is marked as enabled
-
-

- -

Parameters

- - - - - - -
string  $hash  password hash to check
-
[ Top ]


-
-
- -

search_domains [line 308]

-
-
-
- array search_domains( -) -
-

- - Returns an array with all Samba 3 domain entries under the given suffix



-

Tags:

-
- - - - -
return:  list of samba3domain objects
-
-

- -
[ Top ]


-
-
- -

smbflag [line 114]

-
-
-
- string smbflag( -array $input) -
-

- - Takes a list of Samba flags and creates the corresponding flag string.



-

Tags:

-
- - - - -
return:  Samba flag string
-
-

- -

Parameters

- - - - - - -
array  $input  is an array of Samba flags (e.g. X or D)
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:16 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lib/_lib---cache.inc.html b/lam-web/developers/devel/phpdoc/lib/_lib---cache.inc.html deleted file mode 100644 index 5ce67ca1..00000000 --- a/lam-web/developers/devel/phpdoc/lib/_lib---cache.inc.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page cache.inc - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: cache.inc

-Source Location: /lib/cache.inc

- -
-
- -
-

Classes:

-
cache
-
This class contains all functions which are needed to manage the LDAP cache.
-


- -

Page Details:

-Provides a cache for LDAP attributes.



-

Tags:

-
- - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('ldap.inc') [line 34]
-en/decryption functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:20 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lib/_lib---schema.inc.html b/lam-web/developers/devel/phpdoc/lib/_lib---schema.inc.html deleted file mode 100644 index 2d97557a..00000000 --- a/lam-web/developers/devel/phpdoc/lib/_lib---schema.inc.html +++ /dev/null @@ -1,595 +0,0 @@ - - -Docs for page schema.inc - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: schema.inc

-Source Location: /lib/schema.inc

- -
-
- -
-

Classes:

-
SchemaItem
-
Generic parent class for all schema items. A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax.
-
ObjectClass
-
Represents an LDAP objectClass
-
ObjectClassAttribute
-
A simple class for representing AttributeTypes used only by the ObjectClass class.
-
AttributeType
-
Represents an LDAP AttributeType
-
Syntax
-
Represents an LDAP Syntax
-
MatchingRule
-
Represents an LDAP MatchingRule
-
MatchingRuleUse
-
Represents an LDAP schema matchingRuleUse entry
-


- -

Page Details:

-Classes and functions for fetching and parsing schema from an LDAP server.



-

Tags:

-
- - - - - - - -
author:  The phpLDAPadmin development team
author:  Roland Gruber
-
-

-

-

-
- -

SCHEMA_SESSION_CACHE_ENABLED [line 34]

-
-
-
- SCHEMA_SESSION_CACHE_ENABLED = 1 -
-
- - To enable/disable session-based schema caching (1: enabled, 0: disabled).


-
-
[ Top ]


-
-
- -

add_aliases_to_attrs [line 1702]

-
-
-
- void add_aliases_to_attrs( - &$attrs) -
-

- - For each attribute that has multiple names, this function adds unique entries to the attrs array for those names. Ie, attributeType has name 'gn' and 'givenName'.

This function will create a unique entry for 'gn' and 'givenName'.




- -

Parameters

- - - - - - -
  &$attrs  
-
[ Top ]


-
-
- -

add_sup_to_attrs [line 1727]

-
-
-
- void add_sup_to_attrs( - &$attrs, &$attrs_oid) -
-

- - Adds inherited values to each attributeType specified by the SUP directive.

Supports infinite levels of inheritance. Bug 856832: require a second paramter that has all attributes indexed by OID




- -

Parameters

- - - - - - - - - - - -
  &$attrs  
  &$attrs_oid  
-
[ Top ]


-
-
- -

cached_schema_available [line 1936]

-
-
-
- void cached_schema_available( - $schema_type) -
-

- - Returns true if the schema for $schema_type has been cached and

is availble. $schema_type may be one of (lowercase) the following: objectclasses attributetypes ldapsyntaxes matchingrules matchingruleuse Note that _get_raw_schema() takes a similar parameter.




- -

Parameters

- - - - - - -
  $schema_type  
-
[ Top ]


-
-
- -

get_cached_schema [line 1973]

-
-
-
- void get_cached_schema( - $schema_type) -
-

- - Returns the cached array of schemaitem objects for the specified

$schema_type. For list of valid $schema_type values, see above schema_cache_available(). Note that internally, this function utilizes a two-layer cache, one in memory using a static variable for multiple calls within the same page load, and one in a session for multiple calls within the same user session (spanning multiple page loads).

Returns an array of SchemaItem objects on success or false on failure.




- -

Parameters

- - - - - - -
  $schema_type  
-
[ Top ]


-
-
- -

get_schema_attribute [line 1589]

-
-
-
- AttributeType get_schema_attribute( - $attr_name, [string $dn = null], [ $use_cache = true], string $oclass_name) -
-

- - Gets a single AttributeType object specified by name.



-

Tags:

-
- - - - - - - - - - -
return:  The specified AttributeType object or false on error.
see:  get_schema_attributes()
see:  AttributeType
-
-

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string  $oclass_name  The name of the AttributeType to fetch.
string  $dn  (optional) It is easier to fetch schema if a DN is provided which defines the subschemaSubEntry attribute (all entries should).
  $attr_name  
  $use_cache  
-
[ Top ]


-
-
- -

get_schema_attributes [line 1610]

-
-
-
- array get_schema_attributes( -[string $dn = null], [ $use_cache = true]) -
-

- - Gets an associative array of AttributeType objects for the specified server. Each array entry's key is the name of the attributeType in lower-case and the value is an AttributeType object.



-

Tags:

-
- - - - -
return:  An array of AttributeType objects.
-
-

- -

Parameters

- - - - - - - - - - - -
string  $dn  (optional) It is easier to fetch schema if a DN is provided which defines the subschemaSubEntry attribute (all entries should).
  $use_cache  
-
[ Top ]


-
-
- -

get_schema_matching_rules [line 1841]

-
-
-
- void get_schema_matching_rules( -[ $dn = null], [ $use_cache = true]) -
-

- - Returns an array of MatchingRule objects for the specified server.

The key of each entry is the OID of the matching rule.




- -

Parameters

- - - - - - - - - - - -
  $dn  
  $use_cache  
-
[ Top ]


-
-
- -

get_schema_objectclass [line 1565]

-
-
-
- ObjectClass get_schema_objectclass( -string $oclass_name, [string $dn = null], [ $use_cache = true]) -
-

- - Gets a single ObjectClass object specified by name.



-

Tags:

-
- - - - - - - - - - -
return:  The specified ObjectClass object or false on error.
see:  get_schema_objectclasses()
see:  ObjectClass
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $oclass_name  The name of the objectClass to fetch.
string  $dn  (optional) It is easier to fetch schema if a DN is provided which defines the subschemaSubEntry attribute (all entries should).
  $use_cache  
-
[ Top ]


-
-
- -

get_schema_objectclasses [line 1525]

-
-
-
- array get_schema_objectclasses( -[string $dn = null], [ $use_cache = true]) -
-

- - Gets an associative array of ObjectClass objects for the specified server. Each array entry's key is the name of the objectClass in lower-case and the value is an ObjectClass object.



-

Tags:

-
- - - - - - - - - - -
return:  An array of ObjectClass objects.
see:  get_schema_objectclass()
see:  ObjectClass
-
-

- -

Parameters

- - - - - - - - - - - -
string  $dn  (optional) It is easier to fetch schema if a DN is provided which defines the subschemaSubEntry attribute (all entries should).
  $use_cache  
-
[ Top ]


-
-
- -

get_schema_syntaxes [line 1895]

-
-
-
- void get_schema_syntaxes( -[ $dn = null], [ $use_cache = true]) -
-

- - Returns an array of Syntax objects that this LDAP server uses mapped to their descriptions. The key of each entry is the OID of the Syntax.



- -

Parameters

- - - - - - - - - - - -
  $dn  
  $use_cache  
-
[ Top ]


-
-
- -

set_cached_schema [line 2004]

-
-
-
- void set_cached_schema( - $schema_type, $schema_items) -
-

- - Caches the specified $schema_type.

$schema_items should be an array of SchemaItem instances (ie, an array of ObjectClass, AttributeType, LDAPSyntax, MatchingRuleUse, or MatchingRule objects.

Returns true on success of false on failure.




- -

Parameters

- - - - - - - - - - - -
  $schema_type  
  $schema_items  
-
[ Top ]


-
-
- -

set_schema_cache_unavailable [line 2033]

-
-
-
- void set_schema_cache_unavailable( -) -
-

- - Sets the schema entry for the server_id to be "unavailable" so that we realize that we tried to get the schema but could not, so quit trying next time to fetch it from the server.



- -
[ Top ]


-
-
- -

_get_raw_schema [line 1334]

-
-
-
- an _get_raw_schema( -$schema_to_fetch $schema_to_fetch, [$dn $dn = '']) -
-

- - Fetches the raw schema array for the subschemaSubentry of the server. Note, this function has grown many hairs to accomodate more LDAP servers. It is needfully complicated as it now supports many popular LDAP servers that don't necessarily expose their schema "the right way".



-

Tags:

-
- - - - -
return:  array of strings of this form: Array ( [0] => "( 1.3.6.1.4.1.7165.1.2.2.4 NAME 'gidPool' DESC 'Pool ... [1] => "( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' DESC 'Sa ... etc.
-
-

- -

Parameters

- - - - - - - - - - - -
$schema_to_fetch  $schema_to_fetch  - A string indicating which type of schema to fetch. Five valid values: 'objectclasses', 'attributetypes', 'ldapsyntaxes', 'matchingruleuse', or 'matchingrules'. Case insensitive.
$dn  $dn  (optional) This paremeter is the DN of the entry whose schema you would like to fetch. Entries have the option of specifying their own subschemaSubentry that points to the DN of the system schema entry which applies to this attribute. If unspecified, this will try to retrieve the schema from the RootDSE subschemaSubentry. Failing that, we use some commonly known schema DNs. Default value is the Root DSE DN (zero-length string)
-
[ Top ]


-
-
- -

_get_schema_dn [line 1267]

-
-
-
- string _get_schema_dn( -string $dn, [bool $debug = false]) -
-

- - Helper for _get_raw_schema() which fetches the DN of the schema object

in an LDAP server based on a DN. Entries should set the subSchemaSubEntry attribute pointing to the DN of the server schema. You can specify the DN whose subSchemaSubEntry you wish to retrieve of specify an empty string to fetch the subScehamSubEntry from the Root DSE.




-

Tags:

-
- - - - -
return:  The DN of the entry which houses this LDAP server's schema.
-
-

- -

Parameters

- - - - - - - - - - - -
string  $dn  The DN (may be null) which houses the subschemaSubEntry attribute which this function can use to determine the schema entry's DN.
bool  $debug  Switch to true to see some nice and copious output. :)
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:53 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lib/_lib---security.inc.html b/lam-web/developers/devel/phpdoc/lib/_lib---security.inc.html deleted file mode 100644 index fac2bf84..00000000 --- a/lam-web/developers/devel/phpdoc/lib/_lib---security.inc.html +++ /dev/null @@ -1,237 +0,0 @@ - - -Docs for page security.inc - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: security.inc

-Source Location: /lib/security.inc

- -
-
- - -

Page Details:

-This file includes functions to perform several security checks on each page load.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('ldap.inc') [line 34]
-ldap connection

include_once('config.inc') [line 32]
-configuration options

-

-

-
-
- -

checkClientIP [line 75]

-
-
-
- void checkClientIP( -) -
-

- - Checks if the client's IP address is on the list of allowed IPs.

The script is stopped if the host is not valid.




- -
[ Top ]


-
-
- -

checkIfPasswordChangeIsAllowed [line 202]

-
-
-
- boolean checkIfPasswordChangeIsAllowed( -) -
-

- - Checks if passwords may be changed.



-

Tags:

-
- - - - -
return:  true, if allowed
-
-

- -
[ Top ]


-
-
- -

checkIfWriteAccessIsAllowed [line 187]

-
-
-
- boolean checkIfWriteAccessIsAllowed( -) -
-

- - Checks if write access to LDAP is allowed.



-

Tags:

-
- - - - -
return:  true, if allowed
-
-

- -
[ Top ]


-
-
- -

logNewMessage [line 150]

-
-
-
- void logNewMessage( -string $level, string $message) -
-

- - Puts a new message in the log file.



- -

Parameters

- - - - - - - - - - - -
string  $level  log level (LOG_NOTICE, LOG_WARNING, LOG_ERR)
string  $message  log message
-
[ Top ]


-
-
- -

logoffAndBackToLoginPage [line 103]

-
-
-
- void logoffAndBackToLoginPage( -) -
-

- - Logs off the user and displays the login page.



- -
[ Top ]


-
-
- -

startSecureSession [line 43]

-
-
-
- void startSecureSession( -) -
-

- - Starts a session and checks the environment.

The script is stopped if one of the checks fail.




- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lib/_lib---status.inc.html b/lam-web/developers/devel/phpdoc/lib/_lib---status.inc.html deleted file mode 100644 index 43c98504..00000000 --- a/lam-web/developers/devel/phpdoc/lib/_lib---status.inc.html +++ /dev/null @@ -1,149 +0,0 @@ - - -Docs for page status.inc - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: status.inc

-Source Location: /lib/status.inc

- -
-
- - -

Page Details:

-LDAP Account Manager status messages.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

-

-
-
- -

StatusMessage [line 50]

-
-
-
- void StatusMessage( -string $MessageTyp, string $MessageHeadline, [string $MessageText = ''], [array $MessageVariables = array()]) -
-

- - This function prints a short status message. It can be used to print INFO, WARN and ERROR messages at the moment.

The headline and text may be formated with special tags:

{bold}, {endbold}: All text between these tags is printed bold.
{color=#123456}, {endcolor}: All text between these tags is printed in the given color.
{link=http://nodomain.org}, {endlink}: A link with the given target is created. The link text is the text between the tags.




- -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string  $MessageTyp  The type of the message to be printed. It must be one of the following types: 'INFO', 'WARN' or 'ERROR'.
Every other type will lead to an error message indicating an invalid message type.
string  $MessageHeadline  The headline of the status message.
It may be formatted with special color/link/bold tags.
string  $MessageText  The text of the status message.
It may be formatted with special color/link/bold tags. This parameter is optional.
array  $MessageVariables  The variables that are used to replace the spacers (%s) in the submitted text. This parameter is optional.
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lib/cache.html b/lam-web/developers/devel/phpdoc/lib/cache.html deleted file mode 100644 index 0625b161..00000000 --- a/lam-web/developers/devel/phpdoc/lib/cache.html +++ /dev/null @@ -1,459 +0,0 @@ - - -Docs For Class cache - - - - - - - - - - - - - -
lib
- - - [ class tree: lib ] - [ index: lib ] - [ all elements ] -
- - - - - - -
-
- -

Class: cache

-Source Location: /lib/cache.inc

- - - - - - - - - -
- -

Class Overview

-

-
This class contains all functions which are needed to manage the LDAP cache.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 42]
-This class contains all functions which are needed to manage the LDAP cache.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 56]

-
-
-
- cache __construct( -) -
-

- - Constructor.



-

Tags:

-
- - - - -
return:  cache object
-
-

- - -
[ Top ]
-
-
- -

method add_cache [line 66]

-
-
-
- void add_cache( -array -$attributes) -
-

- - This function adds attributes to the cache.



- - -

Parameters:

-
- - - - - - -
array  $attributes  syntax: is array( scope1 => array ( attributes ), scope2 => array ( attributes ), ...)
-

-
[ Top ]
-
-
- -

method findgroups [line 242]

-
-
-
- array findgroups( -) -
-

- - This function returns an array with all group names which were found in the LDAP directory.



-

Tags:

-
- - - - -
return:  group names
-
-

- - -
[ Top ]
-
-
- -

method getgid [line 223]

-
-
-
- string getgid( -string -$groupname) -
-

- - This function will return the GID number to an existing group name (using the cache).



-

Tags:

-
- - - - -
return:  GID number
-
-

- - -

Parameters:

-
- - - - - - -
string  $groupname  name of group
-

-
[ Top ]
-
-
- -

method getgrnam [line 260]

-
-
-
- group getgrnam( -string -$gidNumber) -
-

- - This function returns the group name to an existing gidNumber.



-

Tags:

-
- - - - -
return:  name
-
-

- - -

Parameters:

-
- - - - - - -
string  $gidNumber  GID number
-

-
[ Top ]
-
-
- -

method get_cache [line 95]

-
-
-
- array get_cache( -mixed -$attributes, string -$objectClass, mixed -$scopelist) -
-

- - Queries the cache for a list of LDAP entries and their attributes.



-

Tags:

-
- - - - -
return:  The found LDAP entries.
Format: array(dn1 => array(uidnumber1), dn2 => array(uidnumber2), ... ) if $attributes is of type string
or array(dn1 => array(uid => array(myuid), uidNumber => array(1234)), ... ) if $attributes is an array
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
mixed  $attributes  One (string) or many (array) attribute names.
string  $objectClass  The resulting entries need to contain this object class.
mixed  $scopelist  the account type(s) as string or array, all scopes if NULL given
-

-
[ Top ]
-
-
- -

method in_cache [line 140]

-
-
-
- void in_cache( -string -$value, string -$attribute, mixed -$scopelist) -
-

- - This function returns the DN if an LDAP entry with $attribute=$value is found.



- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
string  $value  is the searched value of the attribute $attribute
string  $attribute  name of the LDAP attribute
mixed  $scopelist  the account type(s) as string or array, all scopes if NULL given
-

-
[ Top ]
-
-
- -

method refresh_cache [line 175]

-
-
-
- void refresh_cache( -[boolean -$rebuild = false]) -
-

- - This function refreshes the cache.



- - -

Parameters:

-
- - - - - - -
boolean  $rebuild  forces a refresh if set to true
-

-
[ Top ]
-
-
- -

method __sleep [line 278]

-
-
-
- array __sleep( -) -
-

- - Encrypts LDAP cache before saving to session file.



-

Tags:

-
- - - - -
return:  list of variables to save
-
-

- - -
[ Top ]
-
-
- -

method __wakeup [line 287]

-
-
-
- void __wakeup( -) -
-

- - Decrypts LDAP cache after loading from session file.



- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:20 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/_lib---lists.inc.html b/lam-web/developers/devel/phpdoc/lists/_lib---lists.inc.html deleted file mode 100644 index b51b32b7..00000000 --- a/lam-web/developers/devel/phpdoc/lists/_lib---lists.inc.html +++ /dev/null @@ -1,188 +0,0 @@ - - -Docs for page lists.inc - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: lists.inc

-Source Location: /lib/lists.inc

- -
-
- -
-

Classes:

-
lamList
-
Generates the list view.
-
lamListTool
-
Represents a tool which can be included in the account lists.
-
lamListOption
-
Represents a list configuration option.
-
lamBooleanListOption
-
Boolean option for list configuration.
-
lamSelectListOption
-
Boolean option for list configuration.
-


- -

Page Details:

-This file includes functions to manage the list views.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("types.inc") [line 33]
-Used to get type information.

include_once("pdfstruct.inc") [line 35]
-Used to get PDF information.

include_once("pdf.inc") [line 37]
-Used to create PDF files.

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:39 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/_templates---lists---deletelink.php.html b/lam-web/developers/devel/phpdoc/lists/_templates---lists---deletelink.php.html deleted file mode 100644 index fbee3ddc..00000000 --- a/lam-web/developers/devel/phpdoc/lists/_templates---lists---deletelink.php.html +++ /dev/null @@ -1,175 +0,0 @@ - - -Docs for page deletelink.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: deletelink.php

-Source Location: /templates/lists/deletelink.php

- -
-
- - -

Page Details:

-This page will redirect to delete.php if the given user is valid.

It is called from the list views via the delete links.




-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 34]
-security functions

include_once("../../lib/ldap.inc") [line 36]
-Needed to find DNs of users

include_once("../../lib/status.inc") [line 38]
-Used to display error messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/_templates---lists---list.php.html b/lam-web/developers/devel/phpdoc/lists/_templates---lists---list.php.html deleted file mode 100644 index 3cb1b02f..00000000 --- a/lam-web/developers/devel/phpdoc/lists/_templates---lists---list.php.html +++ /dev/null @@ -1,175 +0,0 @@ - - -Docs for page list.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: list.php

-Source Location: /templates/lists/list.php

- -
-
- - -

Page Details:

-This file shows the list views.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 33]
-security functions

include_once("../../lib/types.inc") [line 35]
-Used to get type information.

include_once("../../lib/config.inc") [line 37]
-Access to configuration options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:39 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/_templates---lists---userlink.php.html b/lam-web/developers/devel/phpdoc/lists/_templates---lists---userlink.php.html deleted file mode 100644 index 7003851d..00000000 --- a/lam-web/developers/devel/phpdoc/lists/_templates---lists---userlink.php.html +++ /dev/null @@ -1,207 +0,0 @@ - - -Docs for page userlink.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: userlink.php

-Source Location: /templates/lists/userlink.php

- -
-
- - -

Page Details:

-This page will redirect to account/edit.php if the given user is valid.

It is called from listgroups.php via the memberUID links.




-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 34]
-security functions

include_once("../../lib/ldap.inc") [line 36]
-Needed to find DNs of users

include_once("../../lib/status.inc") [line 38]
-Used to display error messages

-

-

-
-
- -

search_username [line 77]

-
-
-
- string search_username( -string $name) -
-

- - Searches LDAP for a specific user name (uid attribute) and returns its DN entry



-

Tags:

-
- - - - -
return:  DN
-
-

- -

Parameters

- - - - - - -
string  $name  user name
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/lamBooleanListOption.html b/lam-web/developers/devel/phpdoc/lists/lamBooleanListOption.html deleted file mode 100644 index 66d6a090..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamBooleanListOption.html +++ /dev/null @@ -1,395 +0,0 @@ - - -Docs For Class lamBooleanListOption - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamBooleanListOption

-Source Location: /lib/lists.inc

- - - - - - - - - -
- -

Class Overview

-
lamListOption
-   |
-   --lamBooleanListOption

-
Boolean option for list configuration.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: lamListOption

-
-
- lamListOption::__construct() -
-
- Creates a new config option. -
-
- lamListOption::fillFromPostData() -
-
- Fills the config option from POST data. -
-
- lamListOption::getID() -
-
- Returns the option ID. -
-
- lamListOption::getMetaHTML() -
-
- Returns the meta HTML data to display this option. -
-
- lamListOption::getValue() -
-
- Returns the option value. The value must not contain "=" and ";". -
-
- lamListOption::setValue() -
-
- Sets the config option value. The value must not contain "=" and ";". -
-
-
-
-
- - -

Class Details

-
-[line 1066]
-Boolean option for list configuration.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 1077]

-
-
-
- lamBooleanListOption __construct( -String -$name, String -$ID) -
-

- - Creates a new boolean option.



-

Tags:

-
- - - - - - - -
return:  config option
access:  public
-
-

- - Overrides lamListOption::__construct() (Creates a new config option.)

-

Parameters:

-
- - - - - - - - - - - -
String  $name  name to show on config page
String  $ID  unique ID
-

-
[ Top ]
-
-
- -

method fillFromPostData [line 1096]

-
-
-
- array fillFromPostData( -) -
-

- - Fills the config option from POST data.



-

Tags:

-
- - - - - - - -
return:  list of StatusMessages (array(<type>, <head line>, <body>))
access:  public
-
-

- - Overrides lamListOption::fillFromPostData() (Fills the config option from POST data.)

-
[ Top ]
-
-
- -

method getMetaHTML [line 1110]

-
-
-
- array getMetaHTML( -) -
-

- - Returns the meta HTML data to display this option.



-

Tags:

-
- - - - - - - -
return:  meta HTML
access:  public
-
-

- - Overrides lamListOption::getMetaHTML() (Returns the meta HTML data to display this option.)

-
[ Top ]
-
-
- -

method isSelected [line 1087]

-
-
-
- boolean isSelected( -) -
-

- - Returns if this option is selected.



-

Tags:

-
- - - - - - - -
return:  true, if selected
access:  public
-
-

- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:39 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamGroupList.html b/lam-web/developers/devel/phpdoc/lists/lamGroupList.html deleted file mode 100644 index c6dd6263..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamGroupList.html +++ /dev/null @@ -1,665 +0,0 @@ - - -Docs For Class lamGroupList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamGroupList

-Source Location: /lib/types/group.inc

- - - - - - - - - - -
- -

Class Overview

-
lamList
-   |
-   --lamGroupList

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - - - - -
-

Inherited Constants

-
-

Class: lamList

-
-
- lamList::LIST_SIZE_OPTION_NAME -
-
- -
-
-
-
-

Inherited Variables

-
-

Class: lamList

-
-
- lamList::$attrArray -
-
- -
-
- lamList::$descArray -
-
- -
-
- lamList::$entries -
-
- -
-
- lamList::$filterText -
-
- -
-
- lamList::$labels -
-
- -
-
- lamList::$maxPageEntries -
-
- -
-
- lamList::$page -
-
- -
-
- lamList::$possibleSuffixes -
-
- -
-
- lamList::$refresh -
-
- -
-
- lamList::$sortColumn -
-
- -
-
- lamList::$sortDirection -
-
- -
-
- lamList::$suffix -
-
- -
-
- lamList::$type -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: lamList

-
-
- lamList::__construct() -
-
- Constructor -
-
- lamList::cmp_array() -
-
- Compare function used for usort-method -
-
- lamList::getAdditionalTools() -
-
- Returns a list of lamListTool objects to display next to the edit/delete buttons. -
-
- lamList::listBuildFilter() -
-
- Builds the regular expressions from the filter values. -
-
- lamList::listConfigurationChanged() -
-
- Called when the configuration options changed. -
-
- lamList::listDoPost() -
-
- Manages all POST actions (e.g. button pressed) for the account lists. -
-
- lamList::listDrawNavigationBar() -
-
- Draws a navigation bar to switch between pages -
-
- lamList::listFilterAccounts() -
-
- Removes all entries which do not fit to the filter. -
-
- lamList::listGetAllConfigOptions() -
-
- Returns a list of possible configuration options. -
-
- lamList::listGetConfigOptionByID() -
-
- Returns the configuration option with the given ID. -
-
- lamList::listGetParams() -
-
- Sets some internal parameters. -
-
- lamList::listPrintButtons() -
-
- Prints the create and delete buttons. -
-
- lamList::listPrintConfigurationPage() -
-
- Prints the list configuration page. -
-
- lamList::listPrintFooter() -
-
- Prints the HTML footer. -
-
- lamList::listPrintHeader() -
-
- Prints the HTML header. -
-
- lamList::listPrintTableBody() -
-
- Prints the entry list -
-
- lamList::listPrintTableCellContent() -
-
- Prints the content of a cell in the account list for a given LDAP entry and attribute. -
-
- lamList::listPrintTableHeader() -
-
- Prints the attribute and filter row at the account table head -
-
- lamList::listRefreshData() -
-
- Rereads the entries from LDAP. -
-
- lamList::listShowOUSelection() -
-
- Prints a combobox with possible sub-DNs. -
-
- lamList::listSort() -
-
- Sorts an account list by a given attribute -
-
- lamList::showPage() -
-
- Prints the HTML code to display the list view. -
-
-
-
-
- - -

Class Details

-
-[line 100]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 117]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - -
return:  list object
-
-

- - Overrides lamList::__construct() (Constructor)

-

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-
- -

method groupRefreshPrimary [line 222]

-
-
-
- void groupRefreshPrimary( -) -
-

- - Refreshes the primary group members list.



- - -
[ Top ]
-
-
- -

method listConfigurationChanged [line 268]

-
-
-
- void listConfigurationChanged( -) -
-

- - Called when the configuration options changed.



-

Tags:

-
- - - - -
access:  protected
-
-

- - Overrides lamList::listConfigurationChanged() (Called when the configuration options changed.)

-
[ Top ]
-
-
- -

method listGetAllConfigOptions [line 259]

-
-
-
- array listGetAllConfigOptions( -) -
-

- - Returns a list of possible configuration options.



-

Tags:

-
- - - - - - - -
return:  list of lamListOption objects
access:  protected
-
-

- - Overrides lamList::listGetAllConfigOptions() (Returns a list of possible configuration options.)

-
[ Top ]
-
-
- -

method listGetParams [line 131]

-
-
-
- void listGetParams( -) -
-

- - Sets some internal parameters.



- - Overrides lamList::listGetParams() (Sets some internal parameters.)

-
[ Top ]
-
-
- -

method listPrintTableCellContent [line 145]

-
-
-
- void listPrintTableCellContent( - -&$entry, -&$attribute, array -$entry, string -$attribute) -
-

- - Prints the content of a cell in the account list for a given LDAP entry and attribute.



- - Overrides lamList::listPrintTableCellContent() (Prints the content of a cell in the account list for a given LDAP entry and attribute.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $entry  LDAP attributes
string  $attribute  attribute name
  &$entry  
  &$attribute  
-

-
[ Top ]
-
-
- -

method listRefreshData [line 212]

-
-
-
- void listRefreshData( -) -
-

- - Rereads the entries from LDAP.



- - Overrides lamList::listRefreshData() (Rereads the entries from LDAP.)

-
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

TRANS_PRIMARY_OPTION_NAME =  "LG_TP"

-

[line 109]

- ID for config option

-
-
[ Top ]

-

- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:31 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamHostList.html b/lam-web/developers/devel/phpdoc/lists/lamHostList.html deleted file mode 100644 index 9a95bc2a..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamHostList.html +++ /dev/null @@ -1,495 +0,0 @@ - - -Docs For Class lamHostList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamHostList

-Source Location: /lib/types/host.inc

- - - - - - - - - -
- -

Class Overview

-
lamList
-   |
-   --lamHostList

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - - -
-

Inherited Constants

-
-

Class: lamList

-
-
- lamList::LIST_SIZE_OPTION_NAME -
-
- -
-
-
-
-

Inherited Variables

-
-

Class: lamList

-
-
- lamList::$attrArray -
-
- -
-
- lamList::$descArray -
-
- -
-
- lamList::$entries -
-
- -
-
- lamList::$filterText -
-
- -
-
- lamList::$labels -
-
- -
-
- lamList::$maxPageEntries -
-
- -
-
- lamList::$page -
-
- -
-
- lamList::$possibleSuffixes -
-
- -
-
- lamList::$refresh -
-
- -
-
- lamList::$sortColumn -
-
- -
-
- lamList::$sortDirection -
-
- -
-
- lamList::$suffix -
-
- -
-
- lamList::$type -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: lamList

-
-
- lamList::__construct() -
-
- Constructor -
-
- lamList::cmp_array() -
-
- Compare function used for usort-method -
-
- lamList::getAdditionalTools() -
-
- Returns a list of lamListTool objects to display next to the edit/delete buttons. -
-
- lamList::listBuildFilter() -
-
- Builds the regular expressions from the filter values. -
-
- lamList::listConfigurationChanged() -
-
- Called when the configuration options changed. -
-
- lamList::listDoPost() -
-
- Manages all POST actions (e.g. button pressed) for the account lists. -
-
- lamList::listDrawNavigationBar() -
-
- Draws a navigation bar to switch between pages -
-
- lamList::listFilterAccounts() -
-
- Removes all entries which do not fit to the filter. -
-
- lamList::listGetAllConfigOptions() -
-
- Returns a list of possible configuration options. -
-
- lamList::listGetConfigOptionByID() -
-
- Returns the configuration option with the given ID. -
-
- lamList::listGetParams() -
-
- Sets some internal parameters. -
-
- lamList::listPrintButtons() -
-
- Prints the create and delete buttons. -
-
- lamList::listPrintConfigurationPage() -
-
- Prints the list configuration page. -
-
- lamList::listPrintFooter() -
-
- Prints the HTML footer. -
-
- lamList::listPrintHeader() -
-
- Prints the HTML header. -
-
- lamList::listPrintTableBody() -
-
- Prints the entry list -
-
- lamList::listPrintTableCellContent() -
-
- Prints the content of a cell in the account list for a given LDAP entry and attribute. -
-
- lamList::listPrintTableHeader() -
-
- Prints the attribute and filter row at the account table head -
-
- lamList::listRefreshData() -
-
- Rereads the entries from LDAP. -
-
- lamList::listShowOUSelection() -
-
- Prints a combobox with possible sub-DNs. -
-
- lamList::listSort() -
-
- Sorts an account list by a given attribute -
-
- lamList::showPage() -
-
- Prints the HTML code to display the list view. -
-
-
-
-
- - -

Class Details

-
-[line 101]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 109]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - -
return:  list object
-
-

- - Overrides lamList::__construct() (Constructor)

-

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:32 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamList.html b/lam-web/developers/devel/phpdoc/lists/lamList.html deleted file mode 100644 index 5d54d6f5..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamList.html +++ /dev/null @@ -1,1401 +0,0 @@ - - -Docs For Class lamList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamList

-Source Location: /lib/lists.inc

- - - - - - - - - - - -
- -

Class Overview

-

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Variables

- -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
lamGroupList
-
Generates the list view.
-
-
-
lamHostList
-
Generates the list view.
-
-
-
lamMailAliasList
-
Generates the list view.
-
-
-
lamSmbDomainList
-
Generates the list view.
-
-
-
lamUserList
-
Generates the list view.
-
-
-
-
- - -

Class Details

-
-[line 47]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$attrArray = array()

-

[line 56]

- list of LDAP attributes



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$descArray = array()

-

[line 59]

- list of attribute descriptions



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$entries =

-

[line 77]

- LDAP entries



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$filterText =

-

[line 80]

- filter string to include in URL



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$labels =

-

[line 86]

- list of account specific labels



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$maxPageEntries =  30

-

[line 62]

- maximum count of entries per page



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$page =  1

-

[line 53]

- current page number



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$possibleSuffixes =

-

[line 83]

- list of possible LDAP suffixes(organizational units)



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$refresh =  true

-

[line 74]

- refresh page switch



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sortColumn =

-

[line 65]

- sort column name



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$sortDirection =  1

-

[line 68]

- sort direction: 1 for ascending, -1 for descending



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$suffix =

-

[line 71]

- LDAP suffix



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$type =

-

[line 50]

- Account type



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 100]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - - - - -
return:  list object
access:  public
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::__construct()
-
Constructor
-
-
-
lamHostList::__construct()
-
Constructor
-
-
-
lamMailAliasList::__construct()
-
Constructor
-
-
-
lamSmbDomainList::__construct()
-
Constructor
-
-
-
lamUserList::__construct()
-
Constructor
-
-

- -

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-
- -

method cmp_array [line 302]

-
-
-
- integer cmp_array( - -&$a, -&$b, array -$a, array -$b) -
-

- - Compare function used for usort-method

Rows are sorted with the first attribute entry of the sort column. If objects have attributes with multiple values only the first is used for sorting.




-

Tags:

-
- - - - - - - -
return:  0 if both are equal, 1 if $a is greater, -1 if $b is greater
access:  protected
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $a  first row which is compared
array  $b  second row which is compared
  &$a  
  &$b  
-

-
[ Top ]
-
-
- -

method getAdditionalTools [line 865]

-
-
-
- lamListTool[] getAdditionalTools( -) -
-

- - Returns a list of lamListTool objects to display next to the edit/delete buttons.



-

Tags:

-
- - - - - - - -
return:  tools
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamUserList::getAdditionalTools()
-
Returns a list of lamListTool objects to display next to the edit/delete buttons.
-
-

- -
[ Top ]
-
-
- -

method listBuildFilter [line 204]

-
-
-
- array listBuildFilter( -) -
-

- - Builds the regular expressions from the filter values.



-

Tags:

-
- - - - - - - -
return:  filter data array($attribute => array('regex' => $reg, 'original' => $orig)) $reg is the regular expression to use, $orig the user's unmodified input string
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listConfigurationChanged [line 924]

-
-
-
- void listConfigurationChanged( -) -
-

- - Called when the configuration options changed.



-

Tags:

-
- - - - -
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::listConfigurationChanged()
-
Called when the configuration options changed.
-
-
-
lamUserList::listConfigurationChanged()
-
Called when the configuration options changed.
-
-

- -
[ Top ]
-
-
- -

method listDoPost [line 506]

-
-
-
- void listDoPost( -) -
-

- - Manages all POST actions (e.g. button pressed) for the account lists.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listDrawNavigationBar [line 321]

-
-
-
- void listDrawNavigationBar( -integer -$count) -
-

- - Draws a navigation bar to switch between pages



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
integer  $count  number of account entries
-

-
[ Top ]
-
-
- -

method listFilterAccounts [line 248]

-
-
-
- array listFilterAccounts( -) -
-

- - Removes all entries which do not fit to the filter.



-

Tags:

-
- - - - - - - -
return:  filtered list of accounts
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listGetAllConfigOptions [line 874]

-
-
-
- array listGetAllConfigOptions( -) -
-

- - Returns a list of possible configuration options.



-

Tags:

-
- - - - - - - -
return:  list of lamListOption objects
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::listGetAllConfigOptions()
-
Returns a list of possible configuration options.
-
-
-
lamUserList::listGetAllConfigOptions()
-
Returns a list of possible configuration options.
-
-

- -
[ Top ]
-
-
- -

method listGetConfigOptionByID [line 912]

-
-
-
- void listGetConfigOptionByID( -String -$ID) -
-

- - Returns the configuration option with the given ID.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
String  $ID  ID
-

-
[ Top ]
-
-
- -

method listGetParams [line 791]

-
-
-
- void listGetParams( -) -
-

- - Sets some internal parameters.



-

Tags:

-
- - - - -
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::listGetParams()
-
Sets some internal parameters.
-
-
-
lamUserList::listGetParams()
-
Sets some internal parameters.
-
-

- -
[ Top ]
-
-
- -

method listPrintButtons [line 707]

-
-
-
- void listPrintButtons( -boolean -$createOnly) -
-

- - Prints the create and delete buttons.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - -
boolean  $createOnly  true if only the create button should be displayed
-

-
[ Top ]
-
-
- -

method listPrintConfigurationPage [line 882]

-
-
-
- void listPrintConfigurationPage( -) -
-

- - Prints the list configuration page.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listPrintFooter [line 746]

-
-
-
- void listPrintFooter( -) -
-

- - Prints the HTML footer.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listPrintHeader [line 734]

-
-
-
- void listPrintHeader( -) -
-

- - Prints the HTML header.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listPrintTableBody [line 412]

-
-
-
- void listPrintTableBody( - -&$info, array -$info) -
-

- - Prints the entry list



-

Tags:

-
- - - - -
access:  protected
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
array  $info  entries
  &$info  
-

-
[ Top ]
-
-
- -

method listPrintTableCellContent [line 487]

-
-
-
- void listPrintTableCellContent( - -&$entry, -&$attribute, array -$entry, string -$attribute) -
-

- - Prints the content of a cell in the account list for a given LDAP entry and attribute.



-

Tags:

-
- - - - -
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::listPrintTableCellContent()
-
Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
-
-
lamUserList::listPrintTableCellContent()
-
Prints the content of a cell in the account list for a given LDAP entry and attribute.
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $entry  LDAP attributes
string  $attribute  attribute name
  &$entry  
  &$attribute  
-

-
[ Top ]
-
-
- -

method listPrintTableHeader [line 360]

-
-
-
- void listPrintTableHeader( -) -
-

- - Prints the attribute and filter row at the account table head



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listRefreshData [line 830]

-
-
-
- void listRefreshData( -) -
-

- - Rereads the entries from LDAP.



-

Tags:

-
- - - - -
access:  protected
-
-

- -

Overridden in child classes as:
-

-
lamGroupList::listRefreshData()
-
Rereads the entries from LDAP.
-
-
-
lamUserList::listRefreshData()
-
Rereads the entries from LDAP.
-
-

- -
[ Top ]
-
-
- -

method listShowOUSelection [line 687]

-
-
-
- void listShowOUSelection( -) -
-

- - Prints a combobox with possible sub-DNs.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method listSort [line 283]

-
-
-
- array listSort( - -&$info, array -$info) -
-

- - Sorts an account list by a given attribute



-

Tags:

-
- - - - - - - -
return:  sorted account list
access:  protected
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
array  $info  the account list
  &$info  
-

-
[ Top ]
-
-
- -

method showPage [line 142]

-
-
-
- void showPage( -) -
-

- - Prints the HTML code to display the list view.



-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

LIST_SIZE_OPTION_NAME =  "L_SIZE"

-

[line 92]

- ID for list size config option

-
-
[ Top ]

-

- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:39 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamListOption.html b/lam-web/developers/devel/phpdoc/lists/lamListOption.html deleted file mode 100644 index bd02f932..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamListOption.html +++ /dev/null @@ -1,461 +0,0 @@ - - -Docs For Class lamListOption - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamListOption

-Source Location: /lib/lists.inc

- - - - - - - - - -
- -

Class Overview

-

-
Represents a list configuration option.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
lamBooleanListOption
-
Boolean option for list configuration.
-
-
-
lamSelectListOption
-
Boolean option for list configuration.
-
-
-
-
- - -

Class Details

-
-[line 998]
-Represents a list configuration option.



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
abstract:  
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 1010]

-
-
-
- lamConfigOption __construct( -String -$ID) -
-

- - Creates a new config option.



-

Tags:

-
- - - - - - - -
return:  config option
access:  public
-
-

- -

Overridden in child classes as:
-

-
lamBooleanListOption::__construct()
-
Creates a new boolean option.
-
-
-
lamSelectListOption::__construct()
-
Creates a new selection list option.
-
-

- -

Parameters:

-
- - - - - - -
String  $ID  unique ID
-

-
[ Top ]
-
-
- -

method fillFromPostData [line 1028]

-
-
-
- array fillFromPostData( -) -
-

- - Fills the config option from POST data.



-

Tags:

-
- - - - - - - - - - -
return:  list of StatusMessages (array(<type>, <head line>, <body>))
abstract:  
access:  public
-
-

- -

Overridden in child classes as:
-

-
lamBooleanListOption::fillFromPostData()
-
Fills the config option from POST data.
-
-
-
lamSelectListOption::fillFromPostData()
-
Fills the config option from POST data.
-
-

- -
[ Top ]
-
-
- -

method getID [line 1019]

-
-
-
- String getID( -) -
-

- - Returns the option ID.



-

Tags:

-
- - - - - - - -
return:  ID
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getMetaHTML [line 1056]

-
-
-
- array getMetaHTML( -) -
-

- - Returns the meta HTML data to display this option.



-

Tags:

-
- - - - - - - - - - -
return:  meta HTML
abstract:  
access:  public
-
-

- -

Overridden in child classes as:
-

-
lamBooleanListOption::getMetaHTML()
-
Returns the meta HTML data to display this option.
-
-
-
lamSelectListOption::getMetaHTML()
-
Returns the meta HTML data to display this option.
-
-

- -
[ Top ]
-
-
- -

method getValue [line 1035]

-
-
-
- String getValue( -) -
-

- - Returns the option value. The value must not contain "=" and ";".



-

Tags:

-
- - - - - - - -
return:  value
access:  public
-
-

- - -
[ Top ]
-
-
- -

method setValue [line 1044]

-
-
-
- void setValue( -String -$value) -
-

- - Sets the config option value. The value must not contain "=" and ";".



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
String  $value  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:39 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamListTool.html b/lam-web/developers/devel/phpdoc/lists/lamListTool.html deleted file mode 100644 index 52d9f5d0..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamListTool.html +++ /dev/null @@ -1,355 +0,0 @@ - - -Docs For Class lamListTool - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamListTool

-Source Location: /lib/lists.inc

- - - - - - - - - -
- -

Class Overview

-

-
Represents a tool which can be included in the account lists.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 940]
-Represents a tool which can be included in the account lists.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 954]

-
-
-
- lamListTool __construct( -String -$name, String -$image, String -$target) -
-

- - Constructor



-

Tags:

-
- - - - - - - -
return:  tool object
access:  public
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
String  $name  tool name
String  $image  image file
String  $target  target page
-

-
[ Top ]
-
-
- -

method getImage [line 966]

-
-
-
- String getImage( -) -
-

- - Returns the name of the tool image.

The image is returned without path (e.g. mytool.png). All images must reside in the graphics folder.




-

Tags:

-
- - - - - - - -
return:  image name
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLinkTarget [line 986]

-
-
-
- String getLinkTarget( -) -
-

- - Returns the PHP file (relative to 'templates/lists') which will be the target for this tool.

The target page will be opened with two GET parameters: DN and type (e.g. user)




-

Tags:

-
- - - - - - - -
return:  page file (e.g. 'mytool.php')
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getName [line 976]

-
-
-
- String getName( -) -
-

- - Returns the tool name.

This is used for the tool tip.




-

Tags:

-
- - - - - - - -
return:  name
access:  public
-
-

- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamMailAliasList.html b/lam-web/developers/devel/phpdoc/lists/lamMailAliasList.html deleted file mode 100644 index 6f86df33..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamMailAliasList.html +++ /dev/null @@ -1,495 +0,0 @@ - - -Docs For Class lamMailAliasList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamMailAliasList

-Source Location: /lib/types/mailAlias.inc

- - - - - - - - - -
- -

Class Overview

-
lamList
-   |
-   --lamMailAliasList

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - - -
-

Inherited Constants

-
-

Class: lamList

-
-
- lamList::LIST_SIZE_OPTION_NAME -
-
- -
-
-
-
-

Inherited Variables

-
-

Class: lamList

-
-
- lamList::$attrArray -
-
- -
-
- lamList::$descArray -
-
- -
-
- lamList::$entries -
-
- -
-
- lamList::$filterText -
-
- -
-
- lamList::$labels -
-
- -
-
- lamList::$maxPageEntries -
-
- -
-
- lamList::$page -
-
- -
-
- lamList::$possibleSuffixes -
-
- -
-
- lamList::$refresh -
-
- -
-
- lamList::$sortColumn -
-
- -
-
- lamList::$sortDirection -
-
- -
-
- lamList::$suffix -
-
- -
-
- lamList::$type -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: lamList

-
-
- lamList::__construct() -
-
- Constructor -
-
- lamList::cmp_array() -
-
- Compare function used for usort-method -
-
- lamList::getAdditionalTools() -
-
- Returns a list of lamListTool objects to display next to the edit/delete buttons. -
-
- lamList::listBuildFilter() -
-
- Builds the regular expressions from the filter values. -
-
- lamList::listConfigurationChanged() -
-
- Called when the configuration options changed. -
-
- lamList::listDoPost() -
-
- Manages all POST actions (e.g. button pressed) for the account lists. -
-
- lamList::listDrawNavigationBar() -
-
- Draws a navigation bar to switch between pages -
-
- lamList::listFilterAccounts() -
-
- Removes all entries which do not fit to the filter. -
-
- lamList::listGetAllConfigOptions() -
-
- Returns a list of possible configuration options. -
-
- lamList::listGetConfigOptionByID() -
-
- Returns the configuration option with the given ID. -
-
- lamList::listGetParams() -
-
- Sets some internal parameters. -
-
- lamList::listPrintButtons() -
-
- Prints the create and delete buttons. -
-
- lamList::listPrintConfigurationPage() -
-
- Prints the list configuration page. -
-
- lamList::listPrintFooter() -
-
- Prints the HTML footer. -
-
- lamList::listPrintHeader() -
-
- Prints the HTML header. -
-
- lamList::listPrintTableBody() -
-
- Prints the entry list -
-
- lamList::listPrintTableCellContent() -
-
- Prints the content of a cell in the account list for a given LDAP entry and attribute. -
-
- lamList::listPrintTableHeader() -
-
- Prints the attribute and filter row at the account table head -
-
- lamList::listRefreshData() -
-
- Rereads the entries from LDAP. -
-
- lamList::listShowOUSelection() -
-
- Prints a combobox with possible sub-DNs. -
-
- lamList::listSort() -
-
- Sorts an account list by a given attribute -
-
- lamList::showPage() -
-
- Prints the HTML code to display the list view. -
-
-
-
-
- - -

Class Details

-
-[line 97]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 105]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - -
return:  list object
-
-

- - Overrides lamList::__construct() (Constructor)

-

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamSelectListOption.html b/lam-web/developers/devel/phpdoc/lists/lamSelectListOption.html deleted file mode 100644 index 8b7feac0..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamSelectListOption.html +++ /dev/null @@ -1,409 +0,0 @@ - - -Docs For Class lamSelectListOption - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamSelectListOption

-Source Location: /lib/lists.inc

- - - - - - - - - -
- -

Class Overview

-
lamListOption
-   |
-   --lamSelectListOption

-
Boolean option for list configuration.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: lamListOption

-
-
- lamListOption::__construct() -
-
- Creates a new config option. -
-
- lamListOption::fillFromPostData() -
-
- Fills the config option from POST data. -
-
- lamListOption::getID() -
-
- Returns the option ID. -
-
- lamListOption::getMetaHTML() -
-
- Returns the meta HTML data to display this option. -
-
- lamListOption::getValue() -
-
- Returns the option value. The value must not contain "=" and ";". -
-
- lamListOption::setValue() -
-
- Sets the config option value. The value must not contain "=" and ";". -
-
-
-
-
- - -

Class Details

-
-[line 1127]
-Boolean option for list configuration.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 1141]

-
-
-
- lamBooleanListOption __construct( -String -$name, array -$options, String -$ID) -
-

- - Creates a new selection list option.



-

Tags:

-
- - - - - - - -
return:  config option
access:  public
-
-

- - Overrides lamListOption::__construct() (Creates a new config option.)

-

Parameters:

-
- - - - - - - - - - - - - - - - -
String  $name  name to show on config page
array  $options  list of possible values
String  $ID  unique ID
-

-
[ Top ]
-
-
- -

method fillFromPostData [line 1161]

-
-
-
- array fillFromPostData( -) -
-

- - Fills the config option from POST data.



-

Tags:

-
- - - - - - - -
return:  list of StatusMessages (array(<type>, <head line>, <body>))
access:  public
-
-

- - Overrides lamListOption::fillFromPostData() (Fills the config option from POST data.)

-
[ Top ]
-
-
- -

method getMetaHTML [line 1175]

-
-
-
- array getMetaHTML( -) -
-

- - Returns the meta HTML data to display this option.



-

Tags:

-
- - - - - - - -
return:  meta HTML
access:  public
-
-

- - Overrides lamListOption::getMetaHTML() (Returns the meta HTML data to display this option.)

-
[ Top ]
-
-
- -

method setHelpID [line 1152]

-
-
-
- void setHelpID( -Strign -$id) -
-

- - Sets the help ID.



-

Tags:

-
- - - - -
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
Strign  $id  help ID
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamSmbDomainList.html b/lam-web/developers/devel/phpdoc/lists/lamSmbDomainList.html deleted file mode 100644 index 3b566a9a..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamSmbDomainList.html +++ /dev/null @@ -1,495 +0,0 @@ - - -Docs For Class lamSmbDomainList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamSmbDomainList

-Source Location: /lib/types/smbDomain.inc

- - - - - - - - - -
- -

Class Overview

-
lamList
-   |
-   --lamSmbDomainList

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - - -
-

Inherited Constants

-
-

Class: lamList

-
-
- lamList::LIST_SIZE_OPTION_NAME -
-
- -
-
-
-
-

Inherited Variables

-
-

Class: lamList

-
-
- lamList::$attrArray -
-
- -
-
- lamList::$descArray -
-
- -
-
- lamList::$entries -
-
- -
-
- lamList::$filterText -
-
- -
-
- lamList::$labels -
-
- -
-
- lamList::$maxPageEntries -
-
- -
-
- lamList::$page -
-
- -
-
- lamList::$possibleSuffixes -
-
- -
-
- lamList::$refresh -
-
- -
-
- lamList::$sortColumn -
-
- -
-
- lamList::$sortDirection -
-
- -
-
- lamList::$suffix -
-
- -
-
- lamList::$type -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: lamList

-
-
- lamList::__construct() -
-
- Constructor -
-
- lamList::cmp_array() -
-
- Compare function used for usort-method -
-
- lamList::getAdditionalTools() -
-
- Returns a list of lamListTool objects to display next to the edit/delete buttons. -
-
- lamList::listBuildFilter() -
-
- Builds the regular expressions from the filter values. -
-
- lamList::listConfigurationChanged() -
-
- Called when the configuration options changed. -
-
- lamList::listDoPost() -
-
- Manages all POST actions (e.g. button pressed) for the account lists. -
-
- lamList::listDrawNavigationBar() -
-
- Draws a navigation bar to switch between pages -
-
- lamList::listFilterAccounts() -
-
- Removes all entries which do not fit to the filter. -
-
- lamList::listGetAllConfigOptions() -
-
- Returns a list of possible configuration options. -
-
- lamList::listGetConfigOptionByID() -
-
- Returns the configuration option with the given ID. -
-
- lamList::listGetParams() -
-
- Sets some internal parameters. -
-
- lamList::listPrintButtons() -
-
- Prints the create and delete buttons. -
-
- lamList::listPrintConfigurationPage() -
-
- Prints the list configuration page. -
-
- lamList::listPrintFooter() -
-
- Prints the HTML footer. -
-
- lamList::listPrintHeader() -
-
- Prints the HTML header. -
-
- lamList::listPrintTableBody() -
-
- Prints the entry list -
-
- lamList::listPrintTableCellContent() -
-
- Prints the content of a cell in the account list for a given LDAP entry and attribute. -
-
- lamList::listPrintTableHeader() -
-
- Prints the attribute and filter row at the account table head -
-
- lamList::listRefreshData() -
-
- Rereads the entries from LDAP. -
-
- lamList::listShowOUSelection() -
-
- Prints a combobox with possible sub-DNs. -
-
- lamList::listSort() -
-
- Sorts an account list by a given attribute -
-
- lamList::showPage() -
-
- Prints the HTML code to display the list view. -
-
-
-
-
- - -

Class Details

-
-[line 97]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 105]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - -
return:  list object
-
-

- - Overrides lamList::__construct() (Constructor)

-

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/lamUserList.html b/lam-web/developers/devel/phpdoc/lists/lamUserList.html deleted file mode 100644 index 698768af..00000000 --- a/lam-web/developers/devel/phpdoc/lists/lamUserList.html +++ /dev/null @@ -1,733 +0,0 @@ - - -Docs For Class lamUserList - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Class: lamUserList

-Source Location: /lib/types/user.inc

- - - - - - - - - - -
- -

Class Overview

-
lamList
-   |
-   --lamUserList

-
Generates the list view.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Constants

- -
-

Methods

- -
-
- - - - - - - - - - - -
-

Inherited Constants

-
-

Class: lamList

-
-
- lamList::LIST_SIZE_OPTION_NAME -
-
- -
-
-
-
-

Inherited Variables

-
-

Class: lamList

-
-
- lamList::$attrArray -
-
- -
-
- lamList::$descArray -
-
- -
-
- lamList::$entries -
-
- -
-
- lamList::$filterText -
-
- -
-
- lamList::$labels -
-
- -
-
- lamList::$maxPageEntries -
-
- -
-
- lamList::$page -
-
- -
-
- lamList::$possibleSuffixes -
-
- -
-
- lamList::$refresh -
-
- -
-
- lamList::$sortColumn -
-
- -
-
- lamList::$sortDirection -
-
- -
-
- lamList::$suffix -
-
- -
-
- lamList::$type -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: lamList

-
-
- lamList::__construct() -
-
- Constructor -
-
- lamList::cmp_array() -
-
- Compare function used for usort-method -
-
- lamList::getAdditionalTools() -
-
- Returns a list of lamListTool objects to display next to the edit/delete buttons. -
-
- lamList::listBuildFilter() -
-
- Builds the regular expressions from the filter values. -
-
- lamList::listConfigurationChanged() -
-
- Called when the configuration options changed. -
-
- lamList::listDoPost() -
-
- Manages all POST actions (e.g. button pressed) for the account lists. -
-
- lamList::listDrawNavigationBar() -
-
- Draws a navigation bar to switch between pages -
-
- lamList::listFilterAccounts() -
-
- Removes all entries which do not fit to the filter. -
-
- lamList::listGetAllConfigOptions() -
-
- Returns a list of possible configuration options. -
-
- lamList::listGetConfigOptionByID() -
-
- Returns the configuration option with the given ID. -
-
- lamList::listGetParams() -
-
- Sets some internal parameters. -
-
- lamList::listPrintButtons() -
-
- Prints the create and delete buttons. -
-
- lamList::listPrintConfigurationPage() -
-
- Prints the list configuration page. -
-
- lamList::listPrintFooter() -
-
- Prints the HTML footer. -
-
- lamList::listPrintHeader() -
-
- Prints the HTML header. -
-
- lamList::listPrintTableBody() -
-
- Prints the entry list -
-
- lamList::listPrintTableCellContent() -
-
- Prints the content of a cell in the account list for a given LDAP entry and attribute. -
-
- lamList::listPrintTableHeader() -
-
- Prints the attribute and filter row at the account table head -
-
- lamList::listRefreshData() -
-
- Rereads the entries from LDAP. -
-
- lamList::listShowOUSelection() -
-
- Prints a combobox with possible sub-DNs. -
-
- lamList::listSort() -
-
- Sorts an account list by a given attribute -
-
- lamList::showPage() -
-
- Prints the HTML code to display the list view. -
-
-
-
-
- - -

Class Details

-
-[line 106]
-Generates the list view.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 123]

-
-
-
- lamList __construct( -string -$type) -
-

- - Constructor



-

Tags:

-
- - - - - - - -
return:  list object
access:  public
-
-

- - Overrides lamList::__construct() (Constructor)

-

Parameters:

-
- - - - - - -
string  $type  account type
-

-
[ Top ]
-
-
- -

method getAdditionalTools [line 234]

-
-
-
- lamListTool[] getAdditionalTools( -) -
-

- - Returns a list of lamListTool objects to display next to the edit/delete buttons.



-

Tags:

-
- - - - - - - -
return:  tools
access:  protected
-
-

- - Overrides lamList::getAdditionalTools() (Returns a list of lamListTool objects to display next to the edit/delete buttons.)

-
[ Top ]
-
-
- -

method listConfigurationChanged [line 256]

-
-
-
- void listConfigurationChanged( -) -
-

- - Called when the configuration options changed.



-

Tags:

-
- - - - -
access:  protected
-
-

- - Overrides lamList::listConfigurationChanged() (Called when the configuration options changed.)

-
[ Top ]
-
-
- -

method listGetAllConfigOptions [line 247]

-
-
-
- array listGetAllConfigOptions( -) -
-

- - Returns a list of possible configuration options.



-

Tags:

-
- - - - - - - -
return:  list of lamListOption objects
access:  protected
-
-

- - Overrides lamList::listGetAllConfigOptions() (Returns a list of possible configuration options.)

-
[ Top ]
-
-
- -

method listGetParams [line 137]

-
-
-
- void listGetParams( -) -
-

- - Sets some internal parameters.



-

Tags:

-
- - - - -
access:  protected
-
-

- - Overrides lamList::listGetParams() (Sets some internal parameters.)

-
[ Top ]
-
-
- -

method listPrintTableCellContent [line 179]

-
-
-
- void listPrintTableCellContent( - -&$entry, -&$attribute, array -$entry, string -$attribute) -
-

- - Prints the content of a cell in the account list for a given LDAP entry and attribute.



-

Tags:

-
- - - - -
access:  protected
-
-

- - Overrides lamList::listPrintTableCellContent() (Prints the content of a cell in the account list for a given LDAP entry and attribute.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $entry  LDAP attributes
string  $attribute  attribute name
  &$entry  
  &$attribute  
-

-
[ Top ]
-
-
- -

method listRefreshData [line 148]

-
-
-
- void listRefreshData( -) -
-

- - Rereads the entries from LDAP.



-

Tags:

-
- - - - -
access:  protected
-
-

- - Overrides lamList::listRefreshData() (Rereads the entries from LDAP.)

-
[ Top ]
-
-
- -

method refreshPrimaryGroupTranslation [line 158]

-
-
-
- void refreshPrimaryGroupTranslation( -) -
-

- - Refreshes the GID to group name cache.



-

Tags:

-
- - - - -
access:  protected
-
-

- - -
[ Top ]
-
-

- -
- -

Class Constants

-
- -

-

TRANS_PRIMARY_OPTION_NAME =  "LU_TP"

-

[line 115]

- ID for config option

-
-
[ Top ]

-

- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_lib---tree.inc.html b/lam-web/developers/devel/phpdoc/lists/tree/_lib---tree.inc.html deleted file mode 100644 index df65ef30..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_lib---tree.inc.html +++ /dev/null @@ -1,1198 +0,0 @@ - - -Docs for page tree.inc - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: tree.inc

-Source Location: /lib/tree.inc

- -
-
- - -

Page Details:

-This function displays the LDAP tree for all the servers that you have

in config.php. We read the session variable 'tree' to know which dns are expanded or collapsed. No query string parameters are expected, however, you can use a '#' offset to scroll to a given dn. The syntax is tree.php#<rawurlencoded dn>, so if I wanted to scroll to dc=example,dc=com for server 3, the URL would be: tree.php#3_dc%3Dexample%2Cdc%3Dcom




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

-

-
-
- -

arrayLower [line 940]

-
-
-
- void arrayLower( - $array) -
-

- -

- -

Parameters

- - - - - - -
  $array  
-
[ Top ]


-
-
- -

array_stripslashes [line 61]

-
-
-
- void array_stripslashes( - &$array, Array $array) -
-

- - Strips all slashes from the specified array in place (pass by ref).



- -

Parameters

- - - - - - - - - - - -
Array  $array  The array to strip slashes from, typically one of $_GET, $_POST, or $_COOKIE.
  &$array  
-
[ Top ]


-
-
- -

build_initial_tree_icons [line 209]

-
-
-
- void build_initial_tree_icons( -) -
-

- - Builds the initial array that stores the icon-lookup for each server's DN in the tree browser. The returned

array is then stored in the current session. The structure of the returned array is simple, and looks like this:

  1.    Array
  2. -
  3.     (
  4. -
  5.       [0=> Array
  6. -
  7.           (
  8. -
  9.              [dc=example,dc=com=> "dcobject.png"
  10. -
  11.           )
  12. -
  13.       [1=> Array
  14. -
  15.             [o=Corporation=> "o.png"
  16. -
  17.           )
  18. -
  19.      )
  20. -
This function is not meant as a user-callable function, but rather a convenient, automated method for setting up the initial data structure for the tree viewer's icon cache.




- -
[ Top ]


-
-
- -

dn_exists [line 228]

-
-
-
- bool dn_exists( -string $dn) -
-

- - Gets whether an entry exists based on its DN. If the entry exists, returns true. Otherwise returns false.



- -

Parameters

- - - - - - -
string  $dn  The DN of the entry of interest.
-
[ Top ]


-
-
- -

draw_formatted_dn [line 676]

-
-
-
- void draw_formatted_dn( - $dn) -
-

- - Gets a DN string using the user-configured tree_display_format string to format it.



- -

Parameters

- - - - - - -
  $dn  
-
[ Top ]


-
-
- -

draw_jpeg_photos [line 1151]

-
-
-
- void draw_jpeg_photos( -string $dn, [string $attr_name = 'jpegPhoto'], [bool $draw_delete_buttons = false], [bool $draw_bytes_and_size = true], [string $table_html_attrs = 'align=&quot;left&quot;'], [ $img_html_attrs = '']) -
-

- - Draw the jpegPhoto image(s) for an entry wrapped in HTML. Many options are available to specify how the images are to be displayed.

Usage Examples:

  1.     draw_jpeg_photos0"cn=Bob,ou=People,dc=example,dc=com""jpegPhoto" truefalse"border: 1px; width: 150px" );
  2. -
  3.     draw_jpeg_photos1"cn=Fred,ou=People,dc=example,dc=com" );
  4. -




- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string  $dn  The DN of the entry that contains the jpeg attribute you want to draw.
string  $attr_name  The name of the attribute containing the jpeg data (usually 'jpegPhoto').
bool  $draw_delete_buttons  If true, draws a button beneath the image titled 'Delete' allowing the user to delete the jpeg attribute by calling JavaScript function deleteAttribute() provided in the default modification template.
bool  $draw_bytes_and_size  If true, draw text below the image indicating the byte size and dimensions.
string  $table_html_attrs  Specifies optional CSS style attributes for the table tag.
  $img_html_attrs  
-
[ Top ]


-
-
- -

draw_server_tree [line 73]

-
-
-
- void draw_server_tree( -) -
-

- - Prints the HTML of the tree view.



- -
[ Top ]


-
-
- -

get_container [line 1329]

-
-
-
- string get_container( -string $dn) -
-

- - Given a DN string, this returns the parent container portion of the string.

For example. given 'cn=Manager,dc=example,dc=com', this function returns 'dc=example,dc=com'.




-

Tags:

-
- - - - - - - -
return:  The container
see:  get_rdn()
-
-

- -

Parameters

- - - - - - -
string  $dn  The DN whose container string to return.
-
[ Top ]


-
-
- -

get_container_contents [line 274]

-
-
-
- array get_container_contents( -string $dn, [int $size_limit = 0], [string $filter = '(objectClass=*)']) -
-

- - Gets a list of child entries for an entry. Given a DN, this function fetches the list of DNs of child entries one level beneath the parent. For example, for the following tree:

  1.  dc=example,dc=com
  2. -
  3.    ou=People
  4. -
  5.       cn=Dave
  6. -
  7.       cn=Fred
  8. -
  9.       cn=Joe
  10. -
  11.       ou=More People
  12. -
  13.          cn=Mark
  14. -
  15.          cn=Bob
  16. -

Calling

  1. get_container_contents"ou=people,dc=example,dc=com" )
  2. -
would return the following list:

  1.   cn=Dave
  2. -
  3.   cn=Fred
  4. -
  5.   cn=Joe
  6. -
  7.   ou=More People
  8. -




-

Tags:

-
- - - - -
return:  An array of DN strings listing the immediate children of the specified entry.
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $dn  The DN of the entry whose children to return.
int  $size_limit  (optional) The maximum number of entries to return. If unspecified, no limit is applied to the number of entries in the returned.
string  $filter  (optional) An LDAP filter to apply when fetching children, example: "(objectClass=inetOrgPerson)"
-
[ Top ]


-
-
- -

get_enc_type [line 1121]

-
-
-
- void get_enc_type( - $user_password) -
-

- -

- -

Parameters

- - - - - - -
  $user_password  
-
[ Top ]


-
-
- -

get_entry_system_attrs [line 912]

-
-
-
- array get_entry_system_attrs( -string $dn, [int $deref = LDAP_DEREF_NEVER]) -
-

- - Gets the operational attributes for an entry. Given a DN, this function fetches that entry's

operational (ie, system or internal) attributes. These attributes include "createTimeStamp", "creatorsName", and any other attribute that the LDAP server sets automatically. The returned associative array is of this form:

  1.   Array
  2. -
  3.   (
  4. -
  5.     [creatorsName=> Array
  6. -
  7.         (
  8. -
  9.            [0=> "cn=Admin,dc=example,dc=com"
  10. -
  11.         )
  12. -
  13.     [createTimeStamp]=> Array
  14. -
  15.         (
  16. -
  17.            [0=> "10401040130"
  18. -
  19.         )
  20. -
  21.     [hasSubordinates=> Array
  22. -
  23.         (
  24. -
  25.            [0=> "FALSE"
  26. -
  27.         )
  28. -
  29.   )
  30. -




-

Tags:

-
- - - - -
return:  An associative array whose keys are attribute names and whose values are arrays of values for the aforementioned attribute.
-
-

- -

Parameters

- - - - - - - - - - - -
string  $dn  The DN of the entry whose interal attributes are desired.
int  $deref  For aliases and referrals, this parameter specifies whether to follow references to the referenced DN or to fetch the attributes for the referencing DN. See http://php.net/ldap_search for the 4 valid options.
-
[ Top ]


-
-
- -

get_icon [line 311]

-
-
-
- string get_icon( -string $dn) -
-

- - Given a DN and server ID, this function reads the DN's objectClasses and

determines which icon best represents the entry. The results of this query are cached in a session variable so it is not run every time the tree browser changes, just when exposing new DNs that were not displayed previously. That means we can afford a little bit of inefficiency here in favor of coolness. :)

This function returns a string like "country.png". All icon files are assumed to be contained in the /../../graphics/ directory of phpLDAPadmin.

Developers are encouraged to add new icons to the images directory and modify this function as needed to suit their types of LDAP entries. If the modifications are general to an LDAP audience, the phpLDAPadmin team will gladly accept them as a patch.




- -

Parameters

- - - - - - -
string  $dn  The DN of the entry whose icon you wish to fetch.
-
[ Top ]


-
-
- -

get_object_attr [line 455]

-
-
-
- void get_object_attr( -string $dn, string $attr, bool $lower_case_attr_names) -
-

- - Much like get_object_attrs(), but only returns the values for one attribute of an object. Example calls:

  1.  print_rget_object_attr0"cn=Bob,ou=people,dc=example,dc=com""sn" ) );
  2. -
  3.  // prints:
  4. -
  5.  //  Array
  6. -
  7.  //    (
  8. -
  9.  //       [0] => "Smith"
  10. -
  11.  //    )
  12. -
  13.  
  14. -
  15.  print_rget_object_attr0"cn=Bob,ou=people,dc=example,dc=com""objectClass" ) );
  16. -
  17.  // prints:
  18. -
  19.  //  Array
  20. -
  21.  //    (
  22. -
  23.  //       [0] => "top"
  24. -
  25.  //       [1] => "person"
  26. -
  27.  //    )
  28. -




-

Tags:

-
- - - - -
see:  get_object_attrs()
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $dn  The distinguished name (DN) of the entry whose attributes/values to fetch.
string  $attr  The attribute whose value(s) to return (ie, "objectClass", "cn", "userPassword")
bool  $lower_case_attr_names  (optional) If true, all keys of the returned associative array will be lower case. Otherwise, they will be cased as the LDAP server returns them.
-
[ Top ]


-
-
- -

get_object_attrs [line 750]

-
-
-
- array get_object_attrs( -string $dn, [bool $lower_case_attr_names = false], [int $deref = LDAP_DEREF_NEVER]) -
-

- - Gets the attributes/values of an entry. Returns an associative array whose

keys are attribute value names and whose values are arrays of values for said attribute. Optionally, callers may specify true for the parameter $lower_case_attr_names to force all keys in the associate array (attribute names) to be lower case.

Sample return value of

  1. get_object_attrs0"cn=Bob,ou=pepole,dc=example,dc=com" )
  2. -

  1.  Array
  2. -
  3.   (
  4. -
  5.    [objectClass=> Array
  6. -
  7.        (
  8. -
  9.            [0=> person
  10. -
  11.            [1=> top
  12. -
  13.        )
  14. -
  15.    [cn=> Array
  16. -
  17.        (
  18. -
  19.            [0=> Bob
  20. -
  21.        )
  22. -
  23.    [sn=> Array
  24. -
  25.        (
  26. -
  27.            [0=> Jones
  28. -
  29.        )
  30. -
  31.    [dn=> Array
  32. -
  33.        (
  34. -
  35.             [0=> cn=Bob,ou=pepole,dc=example,dc=com
  36. -
  37.        )
  38. -
  39.   )
  40. -




-

Tags:

-
- - - - - - - -
see:  get_object_attr()
see:  get_entry_system_attrs()
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $dn  The distinguished name (DN) of the entry whose attributes/values to fetch.
bool  $lower_case_attr_names  (optional) If true, all keys of the returned associative array will be lower case. Otherwise, they will be cased as the LDAP server returns them.
int  $deref  For aliases and referrals, this parameter specifies whether to follow references to the referenced DN or to fetch the attributes for the referencing DN. See http://php.net/ldap_search for the 4 valid options.
-
[ Top ]


-
-
- -

get_rdn [line 489]

-
-
-
- string get_rdn( -string $dn, [bool $include_attrs = 0]) -
-

- - Given a DN string, this returns the 'RDN' portion of the string.

For example. given 'cn=Manager,dc=example,dc=com', this function returns 'cn=Manager' (it is really the exact opposite of get_container()).




-

Tags:

-
- - - - - - - -
return:  The RDN
see:  get_container()
-
-

- -

Parameters

- - - - - - - - - - - -
string  $dn  The DN whose RDN to return.
bool  $include_attrs  If true, include attributes in the RDN string. See http://php.net/ldap_explode_dn for details
-
[ Top ]


-
-
- -

initialize_session_tree [line 172]

-
-
-
- void initialize_session_tree( -) -
-

- - Checks and fixes an initial session's tree cache if needed.

This function is not meant as a user-callable function, but rather a convenient, automated method for checking the initial data structure of the session.




- -
[ Top ]


-
-
- -

is_attr_binary [line 802]

-
-
-
- bool is_attr_binary( -string $attr_name) -
-

- - Given an attribute name and server ID number, this function returns whether the attrbiute may contain binary data. This is useful for developers who wish to display the contents of an arbitrary attribute but don't want to dump binary data on the page.



-

Tags:

-
- - - - -
see:  is_jpeg_photo()
-
-

- -

Parameters

- - - - - - -
string  $attr_name  The name of the attribute to test.
-
[ Top ]


-
-
- -

is_attr_boolean [line 988]

-
-
-
- bool is_attr_boolean( -string $attr_name) -
-

- - Given an attribute name and server ID number, this function returns whether the attrbiute contains boolean data. This is useful for developers who wish to display the contents of a boolean attribute with a drop-down.



- -

Parameters

- - - - - - -
string  $attr_name  The name of the attribute to test.
-
[ Top ]


-
-
- -

is_dn_attr [line 1095]

-
-
-
- bool is_dn_attr( -string $attr_name) -
-

- - Returns true if the attribute specified is required to take as input a DN.

Some examples include 'distinguishedName', 'member' and 'uniqueMember'.




- -

Parameters

- - - - - - -
string  $attr_name  The name of the attribute of interest (case insensitive)
-
[ Top ]


-
-
- -

is_jpeg_photo [line 956]

-
-
-
- bool is_jpeg_photo( -string $attr_name) -
-

- - Used to determine if the specified attribute is indeed a jpegPhoto. If the specified attribute is one that houses jpeg data, true is returned. Otherwise this function returns false.



-

Tags:

-
- - - - -
see:  draw_jpeg_photos()
-
-

- -

Parameters

- - - - - - -
string  $attr_name  The name of the attribute to test.
-
[ Top ]


-
-
- -

is_mail_string [line 1008]

-
-
-
- bool is_mail_string( -string $str) -
-

- - Get whether a string looks like an email address (user@example.com).



-

Tags:

-
- - - - -
return:  Returns true if the specified string looks like an email address or false otherwise.
-
-

- -

Parameters

- - - - - - -
string  $str  The string to analyze.
-
[ Top ]


-
-
- -

is_multi_line_attr [line 1056]

-
-
-
- bool is_multi_line_attr( -string $attr_name, [string $val = null]) -
-

- - Determines if an attribute's value can contain multiple lines. Attributes that fall in this multi-line category may be configured in config.php. Hence, this function accesses the global variable $multi_line_attributes;

Usage example:

  1.   ifis_muli_line_attr"postalAddress" ) )
  2. -
  3.       echo "<textarea name=\"postalAddress\"></textarea>";
  4. -
  5.   else
  6. -
  7.       echo "<input name=\"postalAddress\" type=\"text\">";
  8. -




- -

Parameters

- - - - - - - - - - - -
string  $attr_name  The name of the attribute of interestd (case insensivite)
string  $val  (optional) The current value of the attribute (speeds up the process by searching for carriage returns already in the attribute value)
-
[ Top ]


-
-
- -

is_url_string [line 1024]

-
-
-
- bool is_url_string( -string $str) -
-

- - Get whether a string looks like a web URL (http://www.example.com/)



-

Tags:

-
- - - - -
return:  Returns true if the specified string looks like a web URL or false otherwise.
-
-

- -

Parameters

- - - - - - -
string  $str  The string to analyze.
-
[ Top ]


-
-
- -

pla_compare_dns [line 591]

-
-
-
- int pla_compare_dns( -string $dn1, string $dn2) -
-

- - Compares 2 DNs. If they are equivelant, returns 0, otherwise, returns their sorting order (similar to strcmp()): Returns < 0 if dn1 is less than dn2.

Returns > 0 if dn1 is greater than dn2.

The comparison is performed starting with the top-most element of the DN. Thus, the following list:

  1.        ou=people,dc=example,dc=com
  2. -
  3.        cn=Admin,ou=People,dc=example,dc=com
  4. -
  5.        cn=Joe,ou=people,dc=example,dc=com
  6. -
  7.        dc=example,dc=com
  8. -
  9.        cn=Fred,ou=people,dc=example,dc=org
  10. -
  11.        cn=Dave,ou=people,dc=example,dc=org
  12. -
Will be sorted thus using usort( $list, "pla_compare_dns" ):
  1.        dc=com
  2. -
  3.        dc=example,dc=com
  4. -
  5.        ou=people,dc=example,dc=com
  6. -
  7.        cn=Admin,ou=People,dc=example,dc=com
  8. -
  9.        cn=Joe,ou=people,dc=example,dc=com
  10. -
  11.        cn=Dave,ou=people,dc=example,dc=org
  12. -
  13.        cn=Fred,ou=people,dc=example,dc=org
  14. -




- -

Parameters

- - - - - - - - - - - -
string  $dn1  The first of two DNs to compare
string  $dn2  The second of two DNs to compare
-
[ Top ]


-
-
- -

pla_explode_dn [line 521]

-
-
-
- array pla_explode_dn( -string $dn, [ $with_attributes = 0], int $with_attriutes) -
-

- - Explode a DN into an array of its RDN parts. This function is UTF-8 safe and replaces the buggy PHP ldap_explode_dn() which does not properly handle UTF-8 DNs and also causes segmentation faults with some inputs.



-

Tags:

-
- - - - -
return:  An array of RDN parts of this format:
  1.    Array
  2. -
  3.     (
  4. -
  5.        [0=> uid=ppratt
  6. -
  7.        [1=> ou=People
  8. -
  9.        [2=> dc=example
  10. -
  11.        [3=> dc=com
  12. -
  13.     )
  14. -
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $dn  The DN to explode.
int  $with_attriutes  (optional) Whether to include attribute names (see http://php.net/ldap_explode_dn for details)
  $with_attributes  
-
[ Top ]


-
-
- -

pla_ldap_search [line 1255]

-
-
-
- void pla_ldap_search( -string $filter, [string $base_dn = null], [array $attrs = array()], [string $scope = 'sub'], [bool $sort_results = true], [int $deref = LDAP_DEREF_ALWAYS]) -
-

- - A handy ldap searching function very similar to PHP's ldap_search() with the following exceptions: Callers may specify a search scope and the return value is an array containing the search results rather than an LDAP result resource.

Example usage:

  1.  $samba_users ldap_search0"(&(objectClass=sambaAccount)(objectClass=posixAccount))",
  2. -
  3.                               "ou=People,dc=example,dc=com"array"uid""homeDirectory" ) );
  4. -
  5.  print_r$samba_users );
  6. -
  7.  // prints (for example):
  8. -
  9.  //  Array
  10. -
  11.  //    (
  12. -
  13.  //       [uid=jsmith,ou=People,dc=example,dc=com] => Array
  14. -
  15.  //           (
  16. -
  17.  //               [dn] => "uid=jsmith,ou=People,dc=example,dc=com"
  18. -
  19.  //               [uid] => "jsmith"
  20. -
  21.  //               [homeDirectory] => "\\server\jsmith"
  22. -
  23.  //           )
  24. -
  25.  //       [uid=byoung,ou=People,dc=example,dc=com] => Array
  26. -
  27.  //           (
  28. -
  29.  //               [dn] => "uid=byoung,ou=Samba,ou=People,dc=example,dc=com"
  30. -
  31.  //               [uid] => "byoung"
  32. -
  33.  //               [homeDirectory] => "\\server\byoung"
  34. -
  35.  //           )
  36. -
  37.  //    )
  38. -

WARNING: This function will use a lot of memory on large searches since the entire result set is stored in a single array. For large searches, you should consider sing the less memory intensive PHP LDAP API directly (ldap_search(), ldap_next_entry(), ldap_next_attribute(), etc).




- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string  $filter  The LDAP filter to use when searching (example: "(objectClass=*)") (see RFC 2254)
string  $base_dn  The DN of the base of search.
array  $attrs  An array of attributes to include in the search result (example: array( "objectClass", "uid", "sn" )).
string  $scope  The LDAP search scope. Must be one of "base", "one", or "sub". Standard LDAP search scope.
bool  $sort_results  Specify false to not sort results by DN or true to have the returned array sorted by DN (uses ksort)
int  $deref  When handling aliases or referrals, this specifies whether to follow referrals. Must be one of LDAP_DEREF_ALWAYS, LDAP_DEREF_NEVER, LDAP_DEREF_SEARCHING, or LDAP_DEREF_FINDING. See the PHP LDAP API for details.
-
[ Top ]


-
-
- -

pla_reverse_dn [line 657]

-
-
-
- string pla_reverse_dn( -string $dn) -
-

- - Reverses a DN such that the top-level RDN is first and the bottom-level RDN is last

For example:

  1.    cn=Brigham,ou=People,dc=example,dc=com
  2. -
Becomes:
  1.    dc=com,dc=example,ou=People,cn=Brigham
  2. -
This makes it possible to sort lists of DNs such that they are grouped by container.




-

Tags:

-
- - - - - - - -
return:  The reversed DN
see:  pla_compare_dns()
-
-

- -

Parameters

- - - - - - -
string  $dn  The DN to reverse
-
[ Top ]


-
-
- -

pretty_print_dn [line 546]

-
-
-
- string pretty_print_dn( -string $dn) -
-

- - Returns an HTML-beautified version of a DN.

Internally, this function makes use of pla_explode_dn() to break the the DN into its components. It then glues them back together with "pretty" HTML. The returned HTML is NOT to be used as a real DN, but simply displayed.




- -

Parameters

- - - - - - -
string  $dn  The DN to pretty-print.
-
[ Top ]


-
-
- -

real_attr_name [line 875]

-
-
-
- string real_attr_name( -string $attr_name) -
-

- - Prunes off anything after the ";" in an attr name. This is useful for attributes that may have ";binary" appended to their names. With real_attr_name(), you can more easily fetch these attributes' schema with their "real" attribute name.



- -

Parameters

- - - - - - -
string  $attr_name  The name of the attribute to examine.
-
[ Top ]


-
-
- -

sortAttrs [line 1034]

-
-
-
- void sortAttrs( - $a, $b) -
-

- -

- -

Parameters

- - - - - - - - - - - -
  $a  
  $b  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:58 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr.php.html deleted file mode 100644 index 1de9df19..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr.php.html +++ /dev/null @@ -1,204 +0,0 @@ - - -Docs for page add_attr.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_attr.php

-Source Location: /templates/tree/add_attr.php

- -
-
- - -

Page Details:

-Adds an attribute/value pair to an object

Variables that come in as POST vars:

  • dn
  • attr
  • val
  • binary




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/tree.inc') [line 49]
-tree functions

include_once('../../lib/config.inc') [line 51]
-access to configuration

include_once('../../lib/ldap.inc') [line 53]
-LDAP functions

include_once('../../lib/account.inc') [line 57]
-common functions

include_once('../../lib/security.inc') [line 47]
-security functions

include_once('../../lib/status.inc') [line 55]
-status messages

-

-

-
-
- -

is_binary_option_required [line 140]

-
-
-
- void is_binary_option_required( - $attr) -
-

- -

- -

Parameters

- - - - - - -
  $attr  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:17 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr_form.php.html deleted file mode 100644 index 36370c91..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_attr_form.php.html +++ /dev/null @@ -1,203 +0,0 @@ - - -Docs for page add_attr_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_attr_form.php

-Source Location: /templates/tree/add_attr_form.php

- -
-
- - -

Page Details:

-Displays a form for adding an attribute/value to an LDAP entry.

Variables that come in as GET vars:

  • dn (rawurlencoded)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('../../lib/status.inc') [line 52]
-status messages

-

-

-
-
- -

not_an_attr [line 188]

-
-
-
- void not_an_attr( - $x) -
-

- - Given an attribute $x, this returns true if it is NOT already specified in the current entry, returns false otherwise.



- -

Parameters

- - - - - - -
  $x  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:17 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass.php.html deleted file mode 100644 index 55ede221..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page add_oclass.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_oclass.php

-Source Location: /templates/tree/add_oclass.php

- -
-
- - -

Page Details:

-Adds an objectClass to the specified dn.

Variables that come in as POST vars:

Note, this does not do any schema violation checking. That is performed in add_oclass_form.php.

Vars that come in as POST:

  • dn (rawurlencoded)
  • new_oclass
  • new_attrs (array, if any)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 49]
-security functions

include_once('../../lib/tree.inc') [line 51]
-tree functions

include_once('../../lib/config.inc') [line 53]
-access to configuration

include_once('../../lib/ldap.inc') [line 55]
-LDAP functions

include_once('../../lib/status.inc') [line 57]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:17 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass_form.php.html deleted file mode 100644 index be3040e7..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_oclass_form.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page add_oclass_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_oclass_form.php

-Source Location: /templates/tree/add_oclass_form.php

- -
-
- - -

Page Details:

-This page may simply add the objectClass and take you back to the edit page, but, in one condition it may prompt the user for input. That condition is this:

If the user has requested to add an objectClass that requires a set of attributes with 1 or more not defined by the object. In that case, we will present a form for the user to add those attributes to the object.

Variables that come in as POST vars:

  • dn (rawurlencoded)
  • new_oclass




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 50]
-security functions

include_once('../../lib/tree.inc') [line 52]
-tree functions

include_once('../../lib/config.inc') [line 54]
-access to configuration

include_once('../../lib/ldap.inc') [line 56]
-LDAP functions

include_once('../../lib/status.inc') [line 58]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:17 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value.php.html deleted file mode 100644 index 8b06aa0e..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page add_value.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_value.php

-Source Location: /templates/tree/add_value.php

- -
-
- - -

Page Details:

-Adds a value to an attribute for a given dn.

Variables that come in as POST vars:

  • dn (rawurlencoded)
  • attr (rawurlencoded) the attribute to which we are adding a value
  • new_value (form element)
  • binary
On success, redirect to the edit_dn page. On failure, echo an error.




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 49]
-security functions

include_once('../../lib/tree.inc') [line 51]
-tree functions

include_once('../../lib/config.inc') [line 53]
-access to configuration

include_once('../../lib/ldap.inc') [line 55]
-LDAP functions

include_once('../../lib/status.inc') [line 57]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:17 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value_form.php.html deleted file mode 100644 index 992e1f7d..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---add_value_form.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page add_value_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: add_value_form.php

-Source Location: /templates/tree/add_value_form.php

- -
-
- - -

Page Details:

-add_value_form.php Displays a form to allow the user to enter a new value to add to the existing list of values for a multi-valued attribute.

Variables that come in as GET vars:

  • dn (rawurlencoded)
  • attr (rawurlencoded) the attribute to which we are adding a value




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 46]
-security functions

include_once('../../lib/tree.inc') [line 48]
-tree functions

include_once('../../lib/config.inc') [line 50]
-access to configuration

include_once('../../lib/ldap.inc') [line 52]
-LDAP functions

include_once('../../lib/status.inc') [line 54]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:18 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---collapse.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---collapse.php.html deleted file mode 100644 index 46d9d379..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---collapse.php.html +++ /dev/null @@ -1,179 +0,0 @@ - - -Docs for page collapse.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: collapse.php

-Source Location: /templates/tree/collapse.php

- -
-
- - -

Page Details:

-This script alters the session variable 'tree', collapsing it at the dn specified in the query string.

Variables that come in as GET vars:

  • dn (rawurlencoded)
  • server_id
Note: this script is equal and opposite to expand.php




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 48]
-security functions

include_once('../../lib/tree.inc') [line 50]
-tree functions

include_once('../../lib/config.inc') [line 52]
-access to configuration

include_once('../../lib/ldap.inc') [line 54]
-LDAP functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:21 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create.php.html deleted file mode 100644 index 6cfe2ba9..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create.php.html +++ /dev/null @@ -1,181 +0,0 @@ - - -Docs for page create.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: create.php

-Source Location: /templates/tree/create.php

- -
-
- - -

Page Details:

-Creates a new object.

Variables that come in as POST vars:

  • new_dn
  • attrs (an array of attributes)
  • vals (an array of values for the above attrs)
  • required_attrs (an array with indices being the attributes, - and the values being their respective values)
  • object_classes (rawurlencoded, and serialized array of objectClasses)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 49]
-security functions

include_once('../../lib/tree.inc') [line 51]
-tree functions

include_once('../../lib/config.inc') [line 53]
-access to configuration

include_once('../../lib/ldap.inc') [line 55]
-LDAP functions

include_once('../../lib/status.inc') [line 57]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create_form.php.html deleted file mode 100644 index 2ac6be42..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---create_form.php.html +++ /dev/null @@ -1,181 +0,0 @@ - - -Docs for page create_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: create_form.php

-Source Location: /templates/tree/create_form.php

- -
-
- - -

Page Details:

-The menu where the user chooses an RDN, Container, and Template for creating a new entry.

After submitting this form, the user is taken to their chosen Template handler.

Variables that come in as GET vars

  • container (rawurlencoded) (optional)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/tree.inc') [line 47]
-tree functions

include_once('../../lib/security.inc') [line 45]
-security functions

include_once('../../lib/config.inc') [line 49]
-access to configuration

include_once('../../lib/ldap.inc') [line 51]
-LDAP functions

include_once('templates/templates.inc') [line 55]
-template configuration

include_once('../../lib/status.inc') [line 53]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---creation_template.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---creation_template.php.html deleted file mode 100644 index 16a517f8..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---creation_template.php.html +++ /dev/null @@ -1,182 +0,0 @@ - - -Docs for page creation_template.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: creation_template.php

-Source Location: /templates/tree/creation_template.php

- -
-
- - -

Page Details:

-This file simply acts as a plugin grabber for the creator templates in the directory templates/creation/

Expected POST vars: template




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include($handler) [line 93]
-include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('templates/templates.inc') [line 54]
-template configuration

include_once('../../lib/status.inc') [line 52]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete.php.html deleted file mode 100644 index 6e569fd9..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page delete.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: delete.php

-Source Location: /templates/tree/delete.php

- -
-
- - -

Page Details:

-Deletes a DN and presents a "job's done" message.

Variables that come in as POST vars:

  • dn (rawurlencoded)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('../../lib/status.inc') [line 52]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_attr.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_attr.php.html deleted file mode 100644 index e760dfb7..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_attr.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page delete_attr.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: delete_attr.php

-Source Location: /templates/tree/delete_attr.php

- -
-
- - -

Page Details:

-Deletes an attribute from an entry with NO confirmation.

On success, redirect to edit.php On failure, echo an error.




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('../../lib/status.inc') [line 52]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_form.php.html deleted file mode 100644 index 34de4411..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---delete_form.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page delete_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: delete_form.php

-Source Location: /templates/tree/delete_form.php

- -
-
- - -

Page Details:

-Displays a last chance confirmation form to delete a dn.

Variables that come in as GET vars:

  • dn (rawurlencoded)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('../../lib/status.inc') [line 52]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---download_binary_attr.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---download_binary_attr.php.html deleted file mode 100644 index 9a71bacb..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---download_binary_attr.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page download_binary_attr.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: download_binary_attr.php

-Source Location: /templates/tree/download_binary_attr.php

- -
-
- - -

Page Details:

-Used to send binary values to user.



-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 41]
-security functions

include_once('../../lib/tree.inc') [line 43]
-tree functions

include_once('../../lib/config.inc') [line 45]
-access to configuration

include_once('../../lib/ldap.inc') [line 47]
-LDAP functions

include_once('../../lib/status.inc') [line 49]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---edit.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---edit.php.html deleted file mode 100644 index 117cbcdf..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---edit.php.html +++ /dev/null @@ -1,181 +0,0 @@ - - -Docs for page edit.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: edit.php

-Source Location: /templates/tree/edit.php

- -
-
- - -

Page Details:

-Displays the specified dn from the specified server for editing

Variables that come in as GET vars:

  • dn (rawurlencoded)
  • modified_attrs (optional) an array of attributes to highlight as - they were changed by the last operation




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 46]
-security functions

include_once('../../lib/tree.inc') [line 48]
-tree functions

include_once('../../lib/config.inc') [line 50]
-access to configuration

include_once('../../lib/ldap.inc') [line 52]
-LDAP functions

include_once('../../lib/status.inc') [line 54]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---expand.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---expand.php.html deleted file mode 100644 index ca0836e4..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---expand.php.html +++ /dev/null @@ -1,179 +0,0 @@ - - -Docs for page expand.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: expand.php

-Source Location: /templates/tree/expand.php

- -
-
- - -

Page Details:

-This script alters the session variable 'tree', expanding it at the dn specified in the query string.

Variables that come in as GET vars:

  • dn (rawurlencoded)
Note: this script is equal and opposite to collapse.php




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 47]
-security functions

include_once('../../lib/tree.inc') [line 49]
-tree functions

include_once('../../lib/config.inc') [line 51]
-access to configuration

include_once('../../lib/ldap.inc') [line 53]
-LDAP functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export.php.html deleted file mode 100644 index 4b37ff12..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export.php.html +++ /dev/null @@ -1,181 +0,0 @@ - - -Docs for page export.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: export.php

-Source Location: /templates/tree/export.php

- -
-
- - -

Page Details:

-

-

Tags:

-
- - - - - - - -
author:  The phpLDAPadmin development team
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/ldap.inc') [line 47]
-LDAP functions

include_once('../../lib/config.inc') [line 45]
-access to configuration

include_once('../../lib/status.inc') [line 49]
-status messages

include_once('../../lib/security.inc') [line 39]
-security functions

require('../../lib/export.inc') [line 41]
-export functions

require('../../lib/tree.inc') [line 43]
-common functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:29 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export_form.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export_form.php.html deleted file mode 100644 index 12c37a81..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---export_form.php.html +++ /dev/null @@ -1,204 +0,0 @@ - - -Docs for page export_form.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: export_form.php

-Source Location: /templates/tree/export_form.php

- -
-
- - -

Page Details:

-export_form.php --------------------

Html form to choose an export format(ldif,...)




-

Tags:

-
- - - - - - - -
author:  The phpLDAPadmin development team
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

include_once('../../lib/status.inc') [line 52]
-status messages

require('../../lib/export.inc') [line 46]
-export functions

-

-

-
-
- -

get_line_end_format [line 181]

-
-
-
- String get_line_end_format( -) -
-

- - Helper functoin for fetching the line end format.



-

Tags:

-
- - - - -
return:  'win', 'unix', or 'mac' based on the user's browser..
-
-

- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:29 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---rdelete.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---rdelete.php.html deleted file mode 100644 index d3ac2a42..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---rdelete.php.html +++ /dev/null @@ -1,203 +0,0 @@ - - -Docs for page rdelete.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: rdelete.php

-Source Location: /templates/tree/rdelete.php

- -
-
- - -

Page Details:

-Recursively deletes the specified DN and all of its children Variables that come in as POST vars:
  • dn (rawurlencoded)




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/tree.inc') [line 45]
-tree functions

include_once('../../lib/security.inc') [line 43]
-security functions

include_once('../../lib/config.inc') [line 47]
-access to configuration

include_once('../../lib/ldap.inc') [line 49]
-LDAP functions

include_once('../../lib/status.inc') [line 51]
-status messages

-

-

-
-
- -

pla_rdelete [line 129]

-
-
-
- void pla_rdelete( - $dn) -
-

- -

- -

Parameters

- - - - - - -
  $dn  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:48 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---refresh.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---refresh.php.html deleted file mode 100644 index 9c7a0ef1..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---refresh.php.html +++ /dev/null @@ -1,179 +0,0 @@ - - -Docs for page refresh.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: refresh.php

-Source Location: /templates/tree/refresh.php

- -
-
- - -

Page Details:

-This script alters the session variable 'tree', by re-querying the LDAP server to grab the contents of every expanded container.

Variables that come in as GET vars:




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 44]
-security functions

include_once('../../lib/tree.inc') [line 46]
-tree functions

include_once('../../lib/config.inc') [line 48]
-access to configuration

include_once('../../lib/ldap.inc') [line 50]
-LDAP functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:48 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---custom.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---custom.php.html deleted file mode 100644 index 0bd5357a..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---custom.php.html +++ /dev/null @@ -1,251 +0,0 @@ - - -Docs for page custom.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: custom.php

-Source Location: /templates/tree/templates/creation/custom.php

- -
-
- - -

Page Details:

-Creates custom LDAP objects.



-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

-

-
-
- -

get_attr_select_html [line 245]

-
-
-
- void get_attr_select_html( - $all_attrs, [ $highlight_attr = null]) -
-

- - Returns option values.



- -

Parameters

- - - - - - - - - - - -
  $all_attrs  
  $highlight_attr  
-
[ Top ]


-
-
- -

get_binary_attr_select_html [line 264]

-
-
-
- void get_binary_attr_select_html( - $binary_attrs, [ $highlight_attr = null]) -
-

- - Returns option values.



- -

Parameters

- - - - - - - - - - - -
  $binary_attrs  
  $highlight_attr  
-
[ Top ]


-
-
- -

remove_aliases [line 285]

-
-
-
- void remove_aliases( - &$attribute_list) -
-

- - Removes attributes from the array that are aliases for eachother

(just removes the second instance of the aliased attr)




- -

Parameters

- - - - - - -
  &$attribute_list  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---new_ou_template.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---new_ou_template.php.html deleted file mode 100644 index 3d3c9b1c..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---creation---new_ou_template.php.html +++ /dev/null @@ -1,172 +0,0 @@ - - -Docs for page new_ou_template.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: new_ou_template.php

-Source Location: /templates/tree/templates/creation/new_ou_template.php

- -
-
- - -

Page Details:

-Creates new OUs.



-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:42 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---templates.inc.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---templates.inc.html deleted file mode 100644 index aa000733..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---templates---templates.inc.html +++ /dev/null @@ -1,172 +0,0 @@ - - -Docs for page templates.inc - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: templates.inc

-Source Location: /templates/tree/templates/templates.inc

- -
-
- - -

Page Details:

-Configuration for creation templates.



-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree.php.html deleted file mode 100644 index 26da237b..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree.php.html +++ /dev/null @@ -1,240 +0,0 @@ - - -Docs for page tree.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: tree.php

-Source Location: /templates/tree/tree.php

- -
-
- - -

Page Details:

-This script displays the LDAP tree for all the servers that you have

in config.php. We read the session variable 'tree' to know which dns are expanded or collapsed. No query string parameters are expected, however, you can use a '#' offset to scroll to a given dn. The syntax is tree.php#<rawurlencoded dn>, so if I wanted to scroll to dc=example,dc=com for server 3, the URL would be: tree.php#3_dc%3Dexample%2Cdc%3Dcom




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 47]
-security functions

include_once('../../lib/tree.inc') [line 49]
-tree functions

include_once('../../lib/ldap.inc') [line 53]
-LDAP functions

include_once('../../lib/config.inc') [line 51]
-access to configuration

-

-

-
-
- -

draw_create_link [line 175]

-
-
-
- void draw_create_link( - $rdn, $level, $encoded_dn) -
-

- -

- -

Parameters

- - - - - - - - - - - - - - - - -
  $rdn  
  $level  
  $encoded_dn  
-
[ Top ]


-
-
- -

draw_tree_html [line 102]

-
-
-
- void draw_tree_html( - $dn, [ $level = 0]) -
-

- - Recursively descend on the given dn and draw the tree in html



- -

Parameters

- - - - - - - - - - - -
  $dn  
  $level  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree_view.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree_view.php.html deleted file mode 100644 index 497ca15b..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---tree_view.php.html +++ /dev/null @@ -1,176 +0,0 @@ - - -Docs for page tree_view.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: tree_view.php

-Source Location: /templates/tree/tree_view.php

- -
-
- - -

Page Details:

-This file includes the main frame of the LDAP browser.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 34]
-security functions

include_once('../../lib/tree.inc') [line 36]
-tree functions

include_once('../../lib/config.inc') [line 38]
-access to configuration

include_once('../../lib/ldap.inc') [line 40]
-LDAP functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update.php.html deleted file mode 100644 index f0243d89..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page update.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: update.php

-Source Location: /templates/tree/update.php

- -
-
- - -

Page Details:

-Updates or deletes a value from a specified attribute for a specified dn.

Variables that come in on the query string:

  • dn (rawurlencoded)
  • update_array (an array in the form expected by PHP's ldap_modify, except for deletions) - (will never be empty: update_confirm.php ensures that)
Attribute deletions: To specify that an attribute is to be deleted (whether multi- or single-valued), enter that attribute in the update array like this: attr => ''. For example, to delete the 'sn' attribute from an entry, the update array would look like this: Array ( sn => '' )

On success, redirect to edit.php On failure, echo an error.




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 57]
-security functions

include_once('../../lib/tree.inc') [line 59]
-tree functions

include_once('../../lib/config.inc') [line 61]
-access to configuration

include_once('../../lib/ldap.inc') [line 63]
-LDAP functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update_confirm.php.html b/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update_confirm.php.html deleted file mode 100644 index 49326a75..00000000 --- a/lam-web/developers/devel/phpdoc/lists/tree/_templates---tree---update_confirm.php.html +++ /dev/null @@ -1,180 +0,0 @@ - - -Docs for page update_confirm.php - - - - - - - - - - - - - -
lists
- - - [ class tree: lists ] - [ index: lists ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: update_confirm.php

-Source Location: /templates/tree/update_confirm.php

- -
-
- - -

Page Details:

-Takes the results of clicking "Save" in edit.php and determines which

attributes need to be updated (ie, which ones actually changed). Then, we present a confirmation table to the user outlining the changes they are about to make. That form submits directly to update.php, which makes the change.




-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../../lib/security.inc') [line 45]
-security functions

include_once('../../lib/tree.inc') [line 47]
-tree functions

include_once('../../lib/config.inc') [line 49]
-access to configuration

include_once('../../lib/ldap.inc') [line 51]
-LDAP functions

include_once('../../lib/account.inc') [line 53]
-common functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---delete.php.html b/lam-web/developers/devel/phpdoc/main/_templates---delete.php.html deleted file mode 100644 index 31af1d7a..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---delete.php.html +++ /dev/null @@ -1,178 +0,0 @@ - - -Docs for page delete.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: delete.php

-Source Location: /templates/delete.php

- -
-
- - -

Page Details:

-Used to delete accounts from LDAP tree.



-

Tags:

-
- - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../lib/status.inc') [line 41]
-message displaying

include_once("../lib/security.inc") [line 35]
-security functions

include_once('../lib/config.inc') [line 39]
-current configuration options

include_once('../lib/ldap.inc') [line 43]
-LDAP connection

include_once('../lib/modules.inc') [line 47]
-module interface

include_once('../lib/lamdaemon.inc') [line 45]
-lamdaemon interface

include_once('../lib/account.inc') [line 37]
-account functions

-

-

-
-
- -

deleteDN [line 272]

-
-
-
- array deleteDN( -string $dn) -
-

- - Deletes a DN and all child entries.



-

Tags:

-
- - - - -
return:  error messages
-
-

- -

Parameters

- - - - - - -
string  $dn  DN to delete
-
[ Top ]


-
-
- -

getChildCount [line 256]

-
-
-
- interger getChildCount( -string $dn) -
-

- - Returns the number of child entries of a DN.



-

Tags:

-
- - - - -
return:  number of childs
-
-

- -

Parameters

- - - - - - -
string  $dn  DN of parent
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:25 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---initsuff.php.html b/lam-web/developers/devel/phpdoc/main/_templates---initsuff.php.html deleted file mode 100644 index b271f44d..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---initsuff.php.html +++ /dev/null @@ -1,108 +0,0 @@ - - -Docs for page initsuff.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: initsuff.php

-Source Location: /templates/initsuff.php

- -
-
- - -

Page Details:

-Creates main suffixes if they are missing.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 32]
-security functions

include_once("../lib/config.inc") [line 34]
-access to configuration settings

include_once("../lib/ldap.inc") [line 36]
-LDAP access

include_once("../lib/status.inc") [line 38]
-status messages

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:35 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---login.php.html b/lam-web/developers/devel/phpdoc/main/_templates---login.php.html deleted file mode 100644 index 70866c02..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---login.php.html +++ /dev/null @@ -1,132 +0,0 @@ - - -Docs for page login.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: login.php

-Source Location: /templates/login.php

- -
-
- - -

Page Details:

-Login form of LDAP Account Manager.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

Includes:

-
-include_once("../lib/status.inc") [line 32]
-status messages

include_once("../lib/security.inc") [line 34]
-security functions

include_once("../lib/config.inc") [line 100]
-access to configuration options

include_once("../lib/ldap.inc") [line 380]
-include_once("../lib/selfService.inc") [line 36]
-self service functions

-

-

-
-
- -

display_LoginPage [line 110]

-
-
-
- void display_LoginPage( -object $config_object) -
-

- - Displays the login window.



- -

Parameters

- - - - - - -
object  $config_object  current active configuration
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---logout.php.html b/lam-web/developers/devel/phpdoc/main/_templates---logout.php.html deleted file mode 100644 index 71006dff..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---logout.php.html +++ /dev/null @@ -1,107 +0,0 @@ - - -Docs for page logout.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: logout.php

-Source Location: /templates/logout.php

- -
-
- - -

Page Details:

-User is logged off from LDAP server, session is destroyed.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 39]
-security functions

include_once("../lib/status.inc") [line 41]
-Used to display status messages

include_once("../lib/ldap.inc") [line 43]
-LDAP settings are deleted at logout

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---main.php.html b/lam-web/developers/devel/phpdoc/main/_templates---main.php.html deleted file mode 100644 index 399a2d47..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---main.php.html +++ /dev/null @@ -1,106 +0,0 @@ - - -Docs for page main.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: main.php

-Source Location: /templates/main.php

- -
-
- - -

Page Details:

-This is the main window. The user and group lists will be shown in this frameset.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../lib/cache.inc') [line 32]
-LDAP attibute cache

include_once('../lib/config.inc') [line 34]
-config object

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/main/_templates---main_header.php.html b/lam-web/developers/devel/phpdoc/main/_templates---main_header.php.html deleted file mode 100644 index 1450433a..00000000 --- a/lam-web/developers/devel/phpdoc/main/_templates---main_header.php.html +++ /dev/null @@ -1,107 +0,0 @@ - - -Docs for page main_header.php - - - - - - - - - - - - - -
main
- - - [ class tree: main ] - [ index: main ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: main_header.php

-Source Location: /templates/main_header.php

- -
-
- - -

Page Details:

-Head frame in main window, includes links to lists etc.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 32]
-security functions

include_once("../lib/config.inc") [line 34]
-access to configuration options

include_once("../lib/selfService.inc") [line 36]
-self service functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/media/background.png b/lam-web/developers/devel/phpdoc/media/background.png deleted file mode 100644 index 638060d2..00000000 Binary files a/lam-web/developers/devel/phpdoc/media/background.png and /dev/null differ diff --git a/lam-web/developers/devel/phpdoc/media/empty.png b/lam-web/developers/devel/phpdoc/media/empty.png deleted file mode 100644 index b26eb55a..00000000 Binary files a/lam-web/developers/devel/phpdoc/media/empty.png and /dev/null differ diff --git a/lam-web/developers/devel/phpdoc/media/style.css b/lam-web/developers/devel/phpdoc/media/style.css deleted file mode 100644 index bc65d896..00000000 --- a/lam-web/developers/devel/phpdoc/media/style.css +++ /dev/null @@ -1,195 +0,0 @@ -.php { - padding: 1em; -} -.php-src { font-family: 'Courier New', Courier, monospace; font-weight: normal; } - -body -{ - color: #000000; - background-color: #ffffff; - background-image: url("background.png"); - background-repeat: repeat-y; - font-family: tahoma, verdana, arial, sans-serif; - font-size: 10pt; - margin: 0; - padding: 0; -} - -a -{ - color: #000099; - background-color: transparent; - text-decoration: none; -} - -a:hover -{ - text-decoration: underline; -} - -a.menu -{ - color: #ffffff; - background-color: transparent; -} - -td -{ - font-size: 10pt; -} - -td.header_top -{ - color: #ffffff; - background-color: #9999cc; - font-size: 16pt; - font-weight: bold; - text-align: right; - padding: 10px; -} - -td.header_line -{ - color: #ffffff; - background-color: #333366; -} - -td.header_menu -{ - color: #ffffff; - background-color: #666699; - font-size: 8pt; - text-align: right; - padding: 2px; - padding-right: 5px; -} - -td.menu -{ - padding: 2px; - padding-left: 5px; -} - -td.code_border -{ - color: #000000; - background-color: #c0c0c0; -} - -td.code -{ - color: #000000; - background-color: #f0f0f0; -} - -td.type -{ - font-style: italic; -} - -div.credit -{ - font-size: 8pt; - text-align: center; -} - -div.package -{ - padding-left: 5px; -} - -div.tags -{ - padding-left: 15px; -} - -div.function -{ - padding-left: 15px; -} - -div.top -{ - font-size: 8pt; -} - -div.warning -{ - color: #ff0000; - background-color: transparent; -} - -div.description -{ - padding-left: 15px; -} - -hr -{ - height: 1px; - border-style: solid; - border-color: #c0c0c0; - margin-top: 10px; - margin-bottom: 10px; -} - -span.smalllinenumber -{ - font-size: 8pt; -} - -ul { - margin-left: 0px; - padding-left: 8px; -} -/* Syntax highlighting */ - -.src-code { background-color: #f5f5f5; border: 1px solid #ccc9a4; padding: 0 0 0 1em; margin : 0px; - font-family: 'Courier New', Courier, monospace; font-weight: normal; } -.src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; } - -.src-comm { color: green; } -.src-id { } -.src-inc { color: #0000FF; } -.src-key { color: #0000FF; } -.src-num { color: #CC0000; } -.src-str { color: #66cccc; } -.src-sym { font-weight: bold; } -.src-var { } - -.src-php { font-weight: bold; } - -.src-doc { color: #009999 } -.src-doc-close-template { color: #0000FF } -.src-doc-coretag { color: #0099FF; font-weight: bold } -.src-doc-inlinetag { color: #0099FF } -.src-doc-internal { color: #6699cc } -.src-doc-tag { color: #0080CC } -.src-doc-template { color: #0000FF } -.src-doc-type { font-style: italic } -.src-doc-var { font-style: italic } - -.tute-tag { color: #009999 } -.tute-attribute-name { color: #0000FF } -.tute-attribute-value { color: #0099FF } -.tute-entity { font-weight: bold; } -.tute-comment { font-style: italic } -.tute-inline-tag { color: #636311; font-weight: bold } - -/* tutorial */ - -.authors { } -.author { font-style: italic; font-weight: bold } -.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } -.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; } -.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap; } -.release-info { font-size: 85%; font-style: italic; margin: 1em 0em } -.ref-title-box { } -.ref-title { } -.ref-purpose { font-style: italic; color: #666666 } -.ref-synopsis { } -.title { font-weight: bold; margin: 1em 0em 0em 0em; padding: .25em; border: 2px solid #999999; background-color: #9999CC } -.cmd-synopsis { margin: 1em 0em } -.cmd-title { font-weight: bold } -.toc { margin-left: 2em; padding-left: 0em } - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---baseModule.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---baseModule.inc.html deleted file mode 100644 index b41409f2..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---baseModule.inc.html +++ /dev/null @@ -1,163 +0,0 @@ - - -Docs for page baseModule.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: baseModule.inc

-Source Location: /lib/baseModule.inc

- -
-
- -
-

Classes:

-
baseModule
-
Parent class of all account modules.
-


- -

Page Details:

-This is the parent class for all account modules.

It implements the complete module interface and uses meta-data provided by the account modules for its functions.




-

Tags:

-
- - - - - - - -
author:  Roland Gruber
see:  baseModule
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:18 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---createntlm.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---createntlm.inc.html deleted file mode 100644 index 3795e53c..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---createntlm.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page createntlm.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: createntlm.inc

-Source Location: /lib/createntlm.inc

- -
-
- -
-

Classes:

-
smbHash
-
Calculates NT and LM hashes.
-


- -

Page Details:

-This class provides functions to calculate Samba NT and LM hashes.

The code is a conversion from createntlm.pl (Benjamin Kuit) and smbdes.c/md4.c (Andrew Tridgell).




-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---lamdaemon.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---lamdaemon.inc.html deleted file mode 100644 index 8c4c4cd8..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---lamdaemon.inc.html +++ /dev/null @@ -1,235 +0,0 @@ - - -Docs for page lamdaemon.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: lamdaemon.inc

-Source Location: /lib/lamdaemon.inc

- -
-
- - -

Page Details:

-This file includes functions to control lamdaemon.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Thomas Manninger
-
-

-

-

-
-
- -

lamdaemon [line 42]

-
-
-
- array lamdaemon( -array $commands, string $server) -
-

- - Sends commands to lamdaemon script.



-

Tags:

-
- - - - -
return:  Output of lamdaemon
-
-

- -

Parameters

- - - - - - - - - - - -
array  $commands  List of command lines
string  $server  remote server
-
[ Top ]


-
-
- -

lamdaemonSSH [line 97]

-
-
-
- array lamdaemonSSH( -array $commands, string $server) -
-

- - Sends commands to lamdaemon script via PHP SSH functions.



-

Tags:

-
- - - - -
return:  Output of lamdaemon
-
-

- -

Parameters

- - - - - - - - - - - -
array  $commands  List of command lines
string  $server  remote server
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:36 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---account.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---account.inc.html deleted file mode 100644 index 397ee72f..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---account.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page account.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: account.inc

-Source Location: /lib/modules/account.inc

- -
-
- -
-

Classes:

-
account
-
Manages the object class "account" for users and hosts.
-


- -

Page Details:

-Manages the object class "account" for users and hosts.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---ieee802device.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---ieee802device.inc.html deleted file mode 100644 index b013e5d3..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---ieee802device.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page ieee802device.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: ieee802device.inc

-Source Location: /lib/modules/ieee802device.inc

- -
-
- -
-

Classes:

-
ieee802Device
-
Provides MAC addresses for hosts.
-


- -

Page Details:

-Provides MAC addresses for hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:32 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetLocalMailRecipient.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetLocalMailRecipient.inc.html deleted file mode 100644 index 24efc5bf..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetLocalMailRecipient.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page inetLocalMailRecipient.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: inetLocalMailRecipient.inc

-Source Location: /lib/modules/inetLocalMailRecipient.inc

- -
-
- -
-

Classes:

-
inetLocalMailRecipient
-
Provides mail routing for users.
-


- -

Page Details:

-Provides mail routing for user accounts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:33 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetOrgPerson.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetOrgPerson.inc.html deleted file mode 100644 index c812afd0..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---inetOrgPerson.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page inetOrgPerson.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: inetOrgPerson.inc

-Source Location: /lib/modules/inetOrgPerson.inc

- -
-
- -
-

Classes:

-
inetOrgPerson
-
This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).
-


- -

Page Details:

-Manages the atrributes of object class inetOrgPerson.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:34 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---kolabUser.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---kolabUser.inc.html deleted file mode 100644 index 91f568f7..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---kolabUser.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page kolabUser.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: kolabUser.inc

-Source Location: /lib/modules/kolabUser.inc

- -
-
- -
-

Classes:

-
kolabUser
-
Manages Kolab user accounts.
-


- -

Page Details:

-Manages Kolab user accounts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:35 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---ldapPublicKey.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---ldapPublicKey.inc.html deleted file mode 100644 index 02d2fb6c..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---ldapPublicKey.inc.html +++ /dev/null @@ -1,163 +0,0 @@ - - -Docs for page ldapPublicKey.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: ldapPublicKey.inc

-Source Location: /lib/modules/ldapPublicKey.inc

- -
-
- -
-

Classes:

-
ldapPublicKey
-
Manages SSH public keys.
-


- -

Page Details:

-Manages SSH public keys.



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
author:  Andrew Dibble <adibble@mobitv.com>
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---nisMailAlias.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---nisMailAlias.inc.html deleted file mode 100644 index 7d92ac7d..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---nisMailAlias.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page nisMailAlias.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: nisMailAlias.inc

-Source Location: /lib/modules/nisMailAlias.inc

- -
-
- -
-

Classes:

-
nisMailAlias
-
Provides NIS mail alias management.
-


- -

Page Details:

-Provides NIS mail alias management.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:42 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixAccount.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixAccount.inc.html deleted file mode 100644 index f212d130..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixAccount.inc.html +++ /dev/null @@ -1,169 +0,0 @@ - - -Docs for page posixAccount.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: posixAccount.inc

-Source Location: /lib/modules/posixAccount.inc

- -
-
- -
-

Classes:

-
posixAccount
-
Manages the object class "posixAccount" for users and hosts.
-


- -

Page Details:

-Manages Unix accounts for users and hosts.



-

Tags:

-
- - - - - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
author:  Thomas Manninger
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixGroup.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixGroup.inc.html deleted file mode 100644 index 77c01fb5..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---posixGroup.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page posixGroup.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: posixGroup.inc

-Source Location: /lib/modules/posixGroup.inc

- -
-
- -
-

Classes:

-
posixGroup
-
Manages the object class "posixGroup" for groups.
-


- -

Page Details:

-Manages Unix accounts for groups.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:45 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---quota.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---quota.inc.html deleted file mode 100644 index 44368757..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---quota.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page quota.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: quota.inc

-Source Location: /lib/modules/quota.inc

- -
-
- -
-

Classes:

-
quota
-
Manages quotas for users and groups.
-


- -

Page Details:

-Manages quotas for users and groups.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaAccount.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaAccount.inc.html deleted file mode 100644 index 05e0d57c..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaAccount.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page sambaAccount.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: sambaAccount.inc

-Source Location: /lib/modules/sambaAccount.inc

- -
-
- -
-

Classes:

-
sambaAccount
-
Manages the object class "sambaAccount" for users and hosts.
-


- -

Page Details:

-Manages Samba 2 accounts for users and hosts.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:48 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaDomain.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaDomain.inc.html deleted file mode 100644 index 437e0b7f..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaDomain.inc.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Docs for page sambaDomain.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: sambaDomain.inc

-Source Location: /lib/modules/sambaDomain.inc

- -
-
- -
-

Classes:

-
sambaDomain
-
Manages Samba 3 domain entries.
-


- -

Page Details:

-Manages Samba 3 domain entries.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:49 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaGroupMapping.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaGroupMapping.inc.html deleted file mode 100644 index f4d2d899..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaGroupMapping.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page sambaGroupMapping.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: sambaGroupMapping.inc

-Source Location: /lib/modules/sambaGroupMapping.inc

- -
-
- -
-

Classes:

-
sambaGroupMapping
-
Manages the object class "sambaGroupMapping" for groups.
-


- -

Page Details:

-Manages Samba 3 accounts for groups.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:50 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount---sambaMungedDial.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount---sambaMungedDial.inc.html deleted file mode 100644 index 50d8067d..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount---sambaMungedDial.inc.html +++ /dev/null @@ -1,186 +0,0 @@ - - -Docs for page sambaMungedDial.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: sambaMungedDial.inc

-Source Location: /lib/modules/sambaSamAccount/sambaMungedDial.inc

- -
-
- -
-

Classes:

-
sambaMungedDial
-
Manages terminal server settings for Samba 3.
-


- -

Page Details:

-Manages terminal server settings for Samba 3.



-

Tags:

-
- - - - -
author:  Cajus Pollmeier
-
-

-

-

-
- -

SAMBA_MUNGEDDIAL_FILEHEADER [line 32]

-
-
-
- SAMBA_MUNGEDDIAL_FILEHEADER = "20002000200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200020002000"."5000" -
-
- - File header


-
-
[ Top ]


-
- -

SAMBA_MUNGEDDIAL_FILEHEADER_OLD [line 43]

-
-
-
- SAMBA_MUNGEDDIAL_FILEHEADER_OLD = "6d000800200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200064000100"."20002000200020002000200020002000"."20002000200020002000200020002000"."20002000200020002000200020002000"."50001000" -
-
- - File header for old format.


-
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:51 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount.inc.html deleted file mode 100644 index d081eaa9..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---sambaSamAccount.inc.html +++ /dev/null @@ -1,170 +0,0 @@ - - -Docs for page sambaSamAccount.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: sambaSamAccount.inc

-Source Location: /lib/modules/sambaSamAccount.inc

- -
-
- -
-

Classes:

-
sambaSamAccount
-
Manages the object class "sambaSamAccount" for users and hosts.
-


- -

Page Details:

-Manages Samba 3 accounts for users and hosts.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

Includes:

-
-include_once('sambaSamAccount/sambaMungedDial.inc') [line 35]
-terminals server options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:51 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules---shadowAccount.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules---shadowAccount.inc.html deleted file mode 100644 index 3677547f..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules---shadowAccount.inc.html +++ /dev/null @@ -1,166 +0,0 @@ - - -Docs for page shadowAccount.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: shadowAccount.inc

-Source Location: /lib/modules/shadowAccount.inc

- -
-
- -
-

Classes:

-
shadowAccount
-
Manages the object class "shadowAccount" for users.
-


- -

Page Details:

-Manages Unix shadow accounts for users.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Roland Gruber
author:  Michael Duergner
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:56 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_lib---modules.inc.html b/lam-web/developers/devel/phpdoc/modules/_lib---modules.inc.html deleted file mode 100644 index 8d24d1db..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_lib---modules.inc.html +++ /dev/null @@ -1,911 +0,0 @@ - - -Docs for page modules.inc - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: modules.inc

-Source Location: /lib/modules.inc

- -
-
- -
-

Classes:

-
accountContainer
-
This class includes all modules and attributes of an account.
-


- -

Page Details:

-Interface between modules and other parts of LAM.



-

Tags:

-
- - - - - - - - - - -
author:  Tilo Lutz
author:  Michael Duergner
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("lamdaemon.inc") [line 43]
-lamdaemon functions

include_once("baseModule.inc") [line 39]
-parent class of account modules

include_once("cache.inc") [line 35]
-LDAP caches

include_once("account.inc") [line 37]
-some helper functions

include_once($modulesINC_dirname.'/'.$entry) [line 55]
-This includes all module files.

include_once("ldap.inc") [line 41]
-access to LDAP server

include_once("security.inc") [line 45]
-security functions

-

-

-
-
- -

buildUploadAccounts [line 396]

-
-
-
- mixed buildUploadAccounts( -string $scope, array $data, array $ids) -
-

- - This function builds the LDAP accounts for the file upload.

If there are problems status messages will be printed automatically.




-

Tags:

-
- - - - -
return:  array including accounts or false if there were errors
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $scope  account type
array  $data  array containing one account in each element
array  $ids  array(<column_name> => <column number>)
-
[ Top ]


-
-
- -

checkConfigOptions [line 319]

-
-
-
- array checkConfigOptions( -array $scopes, array $options) -
-

- - Checks if the configuration options are valid



-

Tags:

-
- - - - -
return:  list of error messages
-
-

- -

Parameters

- - - - - - - - - - - -
array  $scopes  hash array (module name => array(account types))
array  $options  hash array containing all options (name => array(...))
-
[ Top ]


-
-
- -

checkProfileOptions [line 285]

-
-
-
- array checkProfileOptions( -string $scope, array $options) -
-

- - Checks if the profile options are valid



-

Tags:

-
- - - - -
return:  list of error messages
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  account type (user, group, host)
array  $options  hash array containing all options (name => array(...))
-
[ Top ]


-
-
- -

check_module_conflicts [line 229]

-
-
-
- boolean check_module_conflicts( -array $selected, array $deps) -
-

- - Checks if there are conflicts between modules



-

Tags:

-
- - - - -
return:  false if no conflict was found, otherwise an array of array(selected module, conflicting module) if conflicts were found
-
-

- -

Parameters

- - - - - - - - - - - -
array  $selected  selected module names
array  $deps  module dependencies
-
[ Top ]


-
-
- -

check_module_depends [line 188]

-
-
-
- mixed check_module_depends( -array $selected, array $deps) -
-

- - Checks if there are missing dependencies between modules.



-

Tags:

-
- - - - -
return:  false if no misssing dependency was found, otherwise an array of array(selected module, depending module) if missing dependencies were found
-
-

- -

Parameters

- - - - - - - - - - - -
array  $selected  selected module names
array  $deps  module dependencies
-
[ Top ]


-
-
- -

doUploadPostActions [line 476]

-
-
-
- array doUploadPostActions( -string $scope, array $data, array $ids, array $failed) -
-

- - This function executes one post upload action.



-

Tags:

-
- - - - -
return:  current status
array (
'status' => 'finished' | 'inProgress'
'module' => <name of active module>
'progress' => 0..100
'errors' => array (<array of parameters for StatusMessage>)
)
-
-

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string  $scope  account type
array  $data  array containing one account in each element
array  $ids  array(<column_name> => <column number>)
array  $failed  list of accounts which were not created successfully
-
[ Top ]


-
-
- -

getAvailableModules [line 248]

-
-
-
- array getAvailableModules( -string $scope) -
-

- - Returns an array with all available user module names



-

Tags:

-
- - - - -
return:  list of possible modules
-
-

- -

Parameters

- - - - - - -
string  $scope  account type (user, group, host)
-
[ Top ]


-
-
- -

getAvailablePDFFields [line 350]

-
-
-
- array getAvailablePDFFields( -string $scope) -
-

- - Returns a list of available PDF entries.



-

Tags:

-
- - - - -
return:  PDF entries
-
-

- -

Parameters

- - - - - - -
string  $scope  account type (user, group, host)
-
[ Top ]


-
-
- -

getConfigOptions [line 302]

-
-
-
- array getConfigOptions( -array $scopes) -
-

- - Returns a hash array (module name => elements) of all module options for the configuration page.



-

Tags:

-
- - - - -
return:  configuration options
-
-

- -

Parameters

- - - - - - -
array  $scopes  hash array (module name => array(account types))
-
[ Top ]


-
-
- -

getHelp [line 339]

-
-
-
- array getHelp( -string $module, string $helpID, [ $scope = '']) -
-

- - Returns a help entry from an account module.



-

Tags:

-
- - - - -
return:  help entry
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $helpID  help identifier
string  $module  module name
  $scope  
-
[ Top ]


-
-
- -

getModuleAlias [line 65]

-
-
-
- string getModuleAlias( -string $name, string $scope) -
-

- - Returns the alias name of a module



-

Tags:

-
- - - - -
return:  alias name
-
-

- -

Parameters

- - - - - - - - - - - -
string  $name  the module name
string  $scope  the account type ("user", "group", "host")
-
[ Top ]


-
-
- -

getModulesDependencies [line 170]

-
-
-
- array getModulesDependencies( -string $scope) -
-

- - Returns a hash array (module name => dependencies) of all module dependencies

"dependencies" contains an array with two sub arrays: depends, conflicts
The elements of "depends" are either module names or an array of module names (OR-case).
The elements of conflicts are module names.




-

Tags:

-
- - - - -
return:  dependencies
-
-

- -

Parameters

- - - - - - -
string  $scope  the account type (user, group, host)
-
[ Top ]


-
-
- -

getProfileOptions [line 268]

-
-
-
- array getProfileOptions( -string $scope) -
-

- - Returns the elements for the profile page.



-

Tags:

-
- - - - -
return:  profile elements
-
-

- -

Parameters

- - - - - - -
string  $scope  account type (user, group, host)
-
[ Top ]


-
-
- -

getRDNAttributes [line 120]

-
-
-
- array getRDNAttributes( -string $scope) -
-

- - Returns a list of LDAP attributes which can be used to form the RDN.

The list is already sorted by the priority given by the nodules.




-

Tags:

-
- - - - -
return:  list of LDAP attributes
-
-

- -

Parameters

- - - - - - -
string  $scope  account type (user, group, host)
-
[ Top ]


-
-
- -

getRequiredExtensions [line 512]

-
-
-
- array getRequiredExtensions( -) -
-

- - Returns true if the module is a base module



-

Tags:

-
- - - - -
return:  required extensions
-
-

- -
[ Top ]


-
-
- -

getUploadColumns [line 376]

-
-
-
- array getUploadColumns( -string $scope) -
-

- - Returns an array containing all input columns for the file upload.

Syntax:
array(
string: name, // fixed non-translated name which is used as column name (should be of format: <module name>_<column name>)
string: description, // short descriptive name
string: help, // help ID
string: example, // example value
boolean: required // true, if user must set a value for this column
)




-

Tags:

-
- - - - -
return:  column list
-
-

- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
-
- -

get_ldap_filter [line 88]

-
-
-
- string get_ldap_filter( -string $scope) -
-

- - Returns the LDAP filter used by the account lists



-

Tags:

-
- - - - -
return:  LDAP filter
-
-

- -

Parameters

- - - - - - -
string  $scope  the account type ("user", "group", "host")
-
[ Top ]


-
-
- -

is_base_module [line 77]

-
-
-
- boolean is_base_module( -string $name, string $scope) -
-

- - Returns true if the module is a base module



-

Tags:

-
- - - - -
return:  true if base module
-
-

- -

Parameters

- - - - - - - - - - - -
string  $name  the module name
string  $scope  the account type ("user", "group", "host")
-
[ Top ]


-
-
- -

parseHtml [line 674]

-
-
-
- array parseHtml( -string $module, array $input, array $values, boolean $restricted, &$tabindex, &$tabindexLink, string $scope, integer $tabindex, integer $tabindexLink) -
-

- - Takes a list of meta-HTML elements and prints the equivalent HTML output.

The modules are not allowed to display HTML code directly but return meta HTML code. This allows to have a common design for all module pages.

Meta HTML code is always returned as a three dimensional array[a][b][c] where a is the row number, b is the column number and c is is a data element.

Format of data elements:

A data element is an array which contains the data to display.
All data elements must contail a value "kind" which defines what kind of element should be displayed.

These are the possibilies for kind and what other options have to be added to the array:

  • fieldset: Inserts a fieldset. -
    • legend: The legend of the fieldset.
    • value: A data element. Can be used recursively.
  • help: Adds a help link. -
    • value: The help number for the help entry.
    • scope: The account type for the help entry.
  • input: Adds a HTML input element. -
    • name: The name of the element, will be used later as variable name - when user input is returned.
    • type: allowed values: submit, reset, checkbox, text, password, file, hidden
    • checked: Boolean value, if true a checkbox will be checked. This - value is only needed or checkboxes.
    • disabled: Boolean value, if true the element will be disabled.
    • size: The length of the input element, only used for text, password and file.
    • maxlength: The maximum size of the input element, only used for - text, password and file.
    • value: The element will have this value as default. Button elements will have - this as caption.
  • select: This will add a select field. -
    • name: The name of the element, will be used later as variable name when user input is - returned.
    • multiple: Boolean value, if set to true the user can select more than one entry.
    • options: Array of string. This is the list of option values the user can select.
    • options_selected: Array of string. This is the list of pre selected elements, must contain - values that are also in options.
    • descriptiveOptions: - Boolean value, if set to true then all elements in options must be arrays themselves (array(value, -description)) (default: false)
    • size: The size of the select field, if set to 1 a dropdown box will be displayed.
    • noSorting: If set to true then the entries will not be sorted. Default is false.
    • onchange: onchange event
  • table: Adds a table. Can be used recursively. -
    • value: A data element. Can be used recursively.
  • text: Inserts a text element. -
    • text: The text to display.
  • textarea: Adds a multiline text field. -
    • name: The name of the element, will be used later as variable name when user - input is returned.
    • rows: Number of rows (required)
    • cols: Number of characters for each line (required)
    • readonly: Boolean value, if true the text field will be read only.
  • image: Displays an image. -
    • path: Path to the image
    • width: Width of the image
    • height: Height of the image
    • alt: Alt text of the image

Beneath those values a "td" value may be added. This has to be an array with one or more of these options:

  • colspan: Like the HTML colspan attribute for td elements
  • rowspan: Like the HTML rowspan attribute for td elements
  • align: left/center/right/justify Like the HTML align attribute
  • valign: top/middle/bottom Like the HTML valign attribute
  • width: Like the HTML height attribute for td elements

Input buttons which should load a different subpage of a module must have a special name attribute:

name => 'form_subpage_' . <module name> . '_' . <subpage name> . '_' . <button name>
  • <module name>: name of this account module (e.g. 'posixAccount')
  • <subpage name>: name of next subpage (e.g. 'attributes')
  • <button name>: a name to distinguish buttons (e.g. 'ok'/'cancel'/'back')


Example:
  1.  array(
  2. -
  3.   array(
  4. -
  5.     array("kind" => "text""text" => "This is an example""td" => array("colspan" => 3))
  6. -
  7.   ),
  8. -
  9.   array(
  10. -
  11.     array("kind" => "text""text" => "Input:"),
  12. -
  13.     array("kind" => "input""name" => "myinput""type" => "text"),
  14. -
  15.     array("kind" => "help""value" => "42")
  16. -
  17.   ),
  18. -
  19.   array(
  20. -
  21.     array("kind" => "input""name" => 'form_subpage_myModule_attributes_back'"value" => _("Back"))
  22. -
  23.   )
  24. -
  25. )
  26. -




-

Tags:

-
- - - - -
return:  List of input field names and their type (name => type)
-
-

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string  $module  Name of account module
array  $input  List of meta-HTML elements
array  $values  List of values which override the defaults in $input (name => value)
boolean  $restricted  If true then no buttons will be displayed
integer  $tabindex  Start value of tabulator index for input fields
integer  $tabindexLink  Start value of tabulator index for links
string  $scope  Account type
  &$tabindex  
  &$tabindexLink  
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/_templates---account---edit.php.html b/lam-web/developers/devel/phpdoc/modules/_templates---account---edit.php.html deleted file mode 100644 index 0d1d52a6..00000000 --- a/lam-web/developers/devel/phpdoc/modules/_templates---account---edit.php.html +++ /dev/null @@ -1,164 +0,0 @@ - - -Docs for page edit.php - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: edit.php

-Source Location: /templates/account/edit.php

- -
-
- - -

Page Details:

-Displays the account detail page.



-

Tags:

-
- - - - -
author:  Tilo Lutz
-
-

-

Includes:

-
-include_once('../../lib/config.inc') [line 36]
-configuration options

include_once("../../lib/security.inc") [line 34]
-security functions

include_once('../../lib/profiles.inc') [line 38]
-functions to load and save profiles

include_once('../../lib/status.inc') [line 40]
-Return error-message

include_once('../../lib/modules.inc') [line 44]
-module functions

include_once('../../lib/pdf.inc') [line 42]
-Return a pdf-file

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/modules/account.html b/lam-web/developers/devel/phpdoc/modules/account.html deleted file mode 100644 index 7cdceb9a..00000000 --- a/lam-web/developers/devel/phpdoc/modules/account.html +++ /dev/null @@ -1,813 +0,0 @@ - - -Docs For Class account - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: account

-Source Location: /lib/modules/account.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --account

-
Manages the object class "account" for users and hosts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 39]
-Manages the object class "account" for users and hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 253]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 215]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method getButtonStatus [line 157]

-
-
-
- string getButtonStatus( -) -
-

- - Controls if the module button the account page is visible and activated.



-

Tags:

-
- - - - -
return:  status ("enabled", "disabled", "hidden")
-
-

- - Overrides baseModule::getButtonStatus() (Controls if the module button the account page is visible and activated.)

-
[ Top ]
-
-
- -

method get_metaData [line 48]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 238]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 134]

-
-
-
- void load_Messages( -) -
-

- - This function fills the message array.



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method module_complete [line 146]

-
-
-
- boolean module_complete( -) -
-

- - This functions returns true if all needed settings are done.



-

Tags:

-
- - - - -
return:  true if LDAP operation can be done
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method process_attributes [line 196]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method save_attributes [line 179]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/accountContainer.html b/lam-web/developers/devel/phpdoc/modules/accountContainer.html deleted file mode 100644 index c5de113d..00000000 --- a/lam-web/developers/devel/phpdoc/modules/accountContainer.html +++ /dev/null @@ -1,761 +0,0 @@ - - -Docs For Class accountContainer - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: accountContainer

-Source Location: /lib/modules.inc

- - - - - - - - - - -
- -

Class Overview

-

-
This class includes all modules and attributes of an account.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 868]
-This class includes all modules and attributes of an account.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$attributes =

-

[line 897]

- Array of all used attributes

Syntax is attribute => array ( objectClass => MUST or MAY, ...)


-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$attributes_orig =

-

[line 918]

- original LDAP attributes when account was loaded from LDAP

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$dn =

-

[line 909]

- DN suffix of the account

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$dn_orig =

-

[line 912]

- DN suffix of account when it was loaded

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$isNewAccount =

-

[line 933]

- True if this is a newly created account

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$rdn =

-

[line 915]

- RDN attribute of this account

-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 876]

-
-
-
- accountContainer __construct( -string -$type, string -$base) -
-

- - Constructor



- - -

Parameters:

-
- - - - - - - - - - - -
string  $type  account type
string  $base  key in $_SESSION where this object is saved
-

-
[ Top ]
-
-
- -

method continue_main [line 974]

-
-
-
- void continue_main( -) -
-

- - This function is called when the user clicks on any button on the account pages.

It prints the HTML code of each account page.




- - -
[ Top ]
-
-
- -

method fixLDAPAttributes [line 1489]

-
-
-
- array fixLDAPAttributes( -array -$attributes, array -$modules) -
-

- - Fixes spelling errors in the attribute names.



-

Tags:

-
- - - - -
return:  fixed attributes
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
array  $attributes  LDAP attributes
array  $modules  list of active modules
-

-
[ Top ]
-
-
- -

method getAccountModule [line 943]

-
-
-
- baseModule getAccountModule( -string -$name) -
-

- - Returns the account module with the given class name



-

Tags:

-
- - - - -
return:  account module
-
-

- - -

Parameters:

-
- - - - - - -
string  $name  class name (e.g. posixAccount)
-

-
[ Top ]
-
-
- -

method getAccountModules [line 957]

-
-
-
- array getAccountModules( -) -
-

- - Returns the included account modules.



-

Tags:

-
- - - - -
return:  modules
-
-

- - -
[ Top ]
-
-
- -

method getParentDN [line 1826]

-
-
-
- String getParentDN( -String -$dn) -
-

- - Returns the parent DN of a given DN.



-

Tags:

-
- - - - -
return:  DN
-
-

- - -

Parameters:

-
- - - - - - -
String  $dn  DN
-

-
[ Top ]
-
-
- -

method getRDN [line 1814]

-
-
-
- String getRDN( -String -$dn) -
-

- - Returns the RDN part of a given DN.



-

Tags:

-
- - - - -
return:  RDN
-
-

- - -

Parameters:

-
- - - - - - -
String  $dn  DN
-

-
[ Top ]
-
-
- -

method get_pdfEntries [line 1738]

-
-
-
- list get_pdfEntries( -) -
-

- - Returns a list of possible PDF entries for this account.



-

Tags:

-
- - - - -
return:  of PDF entries (array(<name> => <PDF lines>))
-
-

- - -
[ Top ]
-
-
- -

method get_type [line 966]

-
-
-
- string get_type( -) -
-

- - Returns the accout type of this object (e.g. user, group, host).



-

Tags:

-
- - - - -
return:  account type
-
-

- - -
[ Top ]
-
-
- -

method load_account [line 1430]

-
-
-
- array load_account( -string -$dn) -
-

- - Loads an LDAP account with the given DN.



-

Tags:

-
- - - - -
return:  error messages
-
-

- - -

Parameters:

-
- - - - - - -
string  $dn  the DN of the account
-

-
[ Top ]
-
-
- -

method new_account [line 1562]

-
-
-
- void new_account( -) -
-

- - This function will prepare the object for a new account.



- - -
[ Top ]
-
-
- -

method save_account [line 1592]

-
-
-
- array save_account( -) -
-

- - This function will save an account to the LDAP database.



-

Tags:

-
- - - - -
return:  list of status messages if any errors occured
-
-

- - -
[ Top ]
-
-
- -

method save_module_attributes [line 1352]

-
-
-
- array save_module_attributes( -array -$attributes, array -$orig) -
-

- - This function checks which LDAP attributes have changed while the account was edited.



-

Tags:

-
- - - - -
return:  an array which can be passed to $this->saveAccount()
-
-

- - -

Parameters:

-
- - - - - - - - - - - -
array  $attributes  list of current LDAP attributes
array  $orig  list of old attributes when account was loaded
-

-
[ Top ]
-
-
- -

method sortModules [line 1751]

-
-
-
- void sortModules( -) -
-

- - Sorts the module buttons for the account page.



- - -
[ Top ]
-
-
- -

method __sleep [line 1837]

-
-
-
- array __sleep( -) -
-

- - Encrypts sensitive data before storing in session.



-

Tags:

-
- - - - -
return:  list of attributes which are serialized
-
-

- - -
[ Top ]
-
-
- -

method __wakeup [line 1849]

-
-
-
- void __wakeup( -) -
-

- - Decrypts sensitive data after accountContainer was loaded from session.



- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:42 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/baseModule.html b/lam-web/developers/devel/phpdoc/modules/baseModule.html deleted file mode 100644 index 8b7d9ae7..00000000 --- a/lam-web/developers/devel/phpdoc/modules/baseModule.html +++ /dev/null @@ -1,2912 +0,0 @@ - - -Docs For Class baseModule - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: baseModule

-Source Location: /lib/baseModule.inc

- - - - - - - - - - -
- -

Class Overview

-

-
Parent class of all account modules.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
account
-
Manages the object class "account" for users and hosts.
-
-
-
ieee802Device
-
Provides MAC addresses for hosts.
-
-
-
inetLocalMailRecipient
-
Provides mail routing for users.
-
-
-
inetOrgPerson
-
This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).
-
-
-
kolabUser
-
Manages Kolab user accounts.
-
-
-
ldapPublicKey
-
Manages SSH public keys.
-
-
-
nisMailAlias
-
Provides NIS mail alias management.
-
-
-
posixAccount
-
Manages the object class "posixAccount" for users and hosts.
-
-
-
posixGroup
-
Manages the object class "posixGroup" for groups.
-
-
-
quota
-
Manages quotas for users and groups.
-
-
-
sambaAccount
-
Manages the object class "sambaAccount" for users and hosts.
-
-
-
sambaDomain
-
Manages Samba 3 domain entries.
-
-
-
sambaGroupMapping
-
Manages the object class "sambaGroupMapping" for groups.
-
-
-
sambaSamAccount
-
Manages the object class "sambaSamAccount" for users and hosts.
-
-
-
shadowAccount
-
Manages the object class "shadowAccount" for users.
-
-
-
-
- - -

Class Details

-
-[line 53]
-Parent class of all account modules.

It implements the complete module interface and uses meta-data provided by the account modules for its functions.

Location and naming of modules
All LAM modules are placed in lib/modules/ and are named "<class name>.inc". E.g. if you create a new module and its class name is "qmail" then the filename would be "qmail.inc". The class name of a module must contain only a-z, A-Z, 0-9, -, and _.

You can avoid to override many functions by using get_metaData().

All module classes should extend the baseModule class.




-

Tags:

-
- - - - - - - -
author:  Roland Gruber
abstract:  
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$attributes =

-

[line 71]

- contains all ldap attributes which should be written



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$autoAddObjectClasses =

-

[line 80]

- if true, managed object classes are added when an account is created or loaded (default: true)



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$messages =

-

[line 77]

- contains all error messages of a module



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$meta =

-

[line 56]

- includes all meta data provided by the sub class



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$moduleSettings =

-

[line 62]

- configuration settings of all modules



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$orig =

-

[line 74]

- contains all ldap attributes which are loaded from ldap



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$selfServiceSettings =

-

[line 65]

- self service settings of all modules



-

Tags:

-
- - - - -
access:  protected
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 87]

-
-
-
- baseModule __construct( -string -$scope) -
-

- - Creates a new base module class



-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
kolabUser::__construct()
-
Creates a new kolabUser object.
-
-
-
sambaAccount::__construct()
-
Creates a new sambaAccount object.
-
-
-
sambaGroupMapping::__construct()
-
Creates a new module for Samba 3 groups.
-
-
-
sambaSamAccount::__construct()
-
Creates a new sambaSamAccount object.
-
-

- -

Parameters:

-
- - - - - - -
string  $scope  the account type (user, group, host)
-

-
[ Top ]
-
-
- -

method build_uploadAccounts [line 854]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP accounts are built.

Calling this method does not require the existence of an enclosing accountContainer.

Returns an array which contains subarrays to generate StatusMessages if any errors occured.




-

Tags:

-
- - - - - - - -
return:  list of error messages if any
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
ieee802Device::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
inetLocalMailRecipient::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
inetOrgPerson::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
kolabUser::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
ldapPublicKey::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
nisMailAlias::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
posixAccount::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
posixGroup::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
sambaAccount::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
sambaDomain::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
sambaGroupMapping::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
sambaSamAccount::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-
-
shadowAccount::build_uploadAccounts()
-
In this function the LDAP account is built up.
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  the user input data, contains one subarray for each account.
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method can_manage [line 397]

-
-
-
- boolean can_manage( -) -
-

- - Returns true if this module can manage accounts of the current type, otherwise false.

Calling this method does not require the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - - - - -
return:  true if module fits
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method checkSelfServiceOptions [line 1216]

-
-
-
- array checkSelfServiceOptions( -string -$fields, array -$attributes) -
-

- - Checks if all input values are correct and returns the LDAP attributes which should be changed.

Calling this method does not require the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - -
return:  messages and attributes (array('messages' => array(), 'add' => array('mail' => array('test@test.com')), 'del' => array(), 'mod' => array()))
access:  public
-
-

- -

Overridden in child classes as:
-

-
inetOrgPerson::checkSelfServiceOptions()
-
Checks if all input values are correct and returns the LDAP commands which should be executed.
-
-
-
posixAccount::checkSelfServiceOptions()
-
Checks if all input values are correct and returns the LDAP commands which should be executed.
-
-
-
sambaSamAccount::checkSelfServiceOptions()
-
Checks if all input values are correct and returns the LDAP commands which should be executed.
-
-

- -

Parameters:

-
- - - - - - - - - - - -
string  $fields  input fields
array  $attributes  LDAP attributes
-

-
[ Top ]
-
-
- -

method checkSelfServiceSettings [line 1252]

-
-
-
- array checkSelfServiceSettings( -array -$options) -
-

- - Checks if the self service settings are valid.

Calling this method does not require the existence of an enclosing accountContainer.

If the input data is invalid the return value is an array that contains arrays to build StatusMessages (message type, message head, message text). If no errors occured the function returns an empty array.




-

Tags:

-
- - - - - - - -
return:  error messages
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
array  $options  hash array (option name => value) that contains the input. The option values are all arrays containing one or more elements.
-

-
[ Top ]
-
-
- -

method check_configOptions [line 670]

-
-
-
- array check_configOptions( -array -$scopes, array -$options) -
-

- - Checks input values of module settings.

Calling this method does not require the existence of an enclosing accountContainer.

If the input data is invalid the return value is an array that contains subarrays to build StatusMessages ('message type', 'message head', 'message text').
If no errors occured the function returns an empty array.




-

Tags:

-
- - - - - - - - - - -
return:  list of error messages
see:  baseModule::get_metaData()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::check_configOptions()
-
Checks input values of module settings.
-
-

- -

Parameters:

-
- - - - - - - - - - - -
array  $scopes  list of account types which are used
array  $options  hash array (option name => value) that contains the input. The option values are all arrays containing one or more elements.
-

-
[ Top ]
-
-
- -

method check_profileOptions [line 536]

-
-
-
- array check_profileOptions( -array -$options) -
-

- - Checks input values of account profiles.

Calling this method does not require the existence of an enclosing accountContainer.

$options is an hash array (option name => value) that contains the user input. The option values are all arrays containing one or more elements.
If the input data is invalid the return value is an array that contains arrays to build StatusMessages (message type, message head, message text). If no errors occured the function returns an empty array.




-

Tags:

-
- - - - - - - - - - -
return:  list of error messages (array(type, title, text)) to generate StatusMessages, if any
see:  baseModule::get_metaData()
access:  public
-
-

- -

Overridden in child classes as:
-

-
quota::check_profileOptions()
-
Checks input values of account profiles.
-
-

- -

Parameters:

-
- - - - - - -
array  $options  a hash array (name => value) containing the user input
-

-
[ Top ]
-
-
- -

method delete_attributes [line 1054]

-
-
-
- List delete_attributes( -) -
-

- - This function returns an array with the same syntax as save_attributes().

Calling this method requires the existence of an enclosing accountContainer.

It allows additional LDAP changes when an account is deleted.




-

Tags:

-
- - - - - - - -
return:  of LDAP operations, same as for save_attributes()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::delete_attributes()
-
Additional LDAP operations on delete.
-
-
-
posixGroup::delete_attributes()
-
Checks if the group which should be deleted is still used as primary group.
-
-

- -
[ Top ]
-
-
- -

method display_html_attributes [line 1095]

-
-
-
- meta display_html_attributes( -) -
-

- - This function creates meta HTML code to display the module page.

Calling this method requires the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - - - - - - - -
return:  HTML
see:  parseHtml()
abstract:  
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
ieee802Device::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
inetLocalMailRecipient::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
inetOrgPerson::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
kolabUser::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
ldapPublicKey::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
nisMailAlias::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
posixAccount::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
posixGroup::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
quota::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
sambaAccount::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
sambaDomain::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
sambaGroupMapping::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
sambaSamAccount::display_html_attributes()
-
Returns the HTML meta data for the main account page.
-
-
-
shadowAccount::display_html_attributes()
-
This function will create the meta HTML code to show a page with all attributes.
-
-

- -
[ Top ]
-
-
- -

method display_html_delete [line 1069]

-
-
-
- meta display_html_delete( -) -
-

- - This function creates meta HTML code which will be displayed when an account should be deleted.

Calling this method requires the existence of an enclosing accountContainer.

This can be used to interact with the user, e.g. should the home directory be deleted? The output of all modules is displayed on a single page.




-

Tags:

-
- - - - - - - - - - -
return:  HTML code
see:  parseHtml()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::display_html_delete()
-
Displays the delete homedir option for the delete page.
-
-

- -
[ Top ]
-
-
- -

method doUploadPostActions [line 967]

-
-
-
- array doUploadPostActions( -array -$data, array -$ids, array -$failed, -&$temp, array -$temp) -
-

- - This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).

Calling this method does not require the existence of an enclosing accountContainer.

This function is called as long as the returned status is 'finished'. Please make sure that one function call lasts no longer than 3-4 seconds. Otherwise the upload may fail because the time limit is exceeded. You should not make more than one LDAP operation in each call.




-

Tags:

-
- - - - - - - -
return:  current status
array (
'status' => 'finished' | 'inProgress' // defines if all operations are complete
'progress' => 0..100 // the progress of the operations in percent
'errors' => array // list of arrays which are used to generate StatusMessages
)
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::doUploadPostActions()
-
This function executes one post upload action.
-
-
-
quota::doUploadPostActions()
-
This function executes one post upload action.
-
-

- -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
array  $data  array containing one account in each element
array  $ids  maps the column names to keys for the sub arrays (array(<column_name> => <column number>))
array  $failed  list of account numbers which could not be successfully uploaded to LDAP
array  $temp  variable to store temporary data between two post actions
  &$temp  
-

-
[ Top ]
-
-
- -

method getAccountContainer [line 1264]

-
-
-
- accountContainer getAccountContainer( -) -
-

- - Returns the accountContainer object.



-

Tags:

-
- - - - - - - - - - -
return:  accountContainer object
see:  accountContainer
access:  protected
-
-

- - -
[ Top ]
-
-
- -

method getAttributes [line 1278]

-
-
-
- array getAttributes( -) -
-

- - Returns the LDAP attributes which are managed in this module.



-

Tags:

-
- - - - - - - -
return:  attributes
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getButtonStatus [line 942]

-
-
-
- string getButtonStatus( -) -
-

- - Controls if the module button the account page is visible and activated.

Calling this method requires the existence of an enclosing accountContainer.

Possible return values:

  • enabled: button is visible and active
  • disabled: button is visible and deactivated (greyed)
  • hidden: no button will be shown




-

Tags:

-
- - - - - - - -
return:  status ("enabled", "disabled", "hidden")
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::getButtonStatus()
-
Controls if the module button the account page is visible and activated.
-
-
-
inetOrgPerson::getButtonStatus()
-
Controls if the module button the account page is visible and activated.
-
-
-
nisMailAlias::getButtonStatus()
-
Controls if the module button the account page is visible and activated.
-
-
-
posixGroup::getButtonStatus()
-
Controls if the module button the account page is visible and activated.
-
-

- -
[ Top ]
-
-
- -

method getIcon [line 1300]

-
-
-
- unknown getIcon( -) -
-

- - Returns the path to the module icon.

The path must be releative to graphics (e.g. key.png). You can also set $this->meta['icon']. The preferred size is 32x32px.




-

Tags:

-
- - - - - - - -
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getLDAPAliases [line 1126]

-
-
-
- array getLDAPAliases( -) -
-

- - Returns a list of aliases for LDAP attributes.

Calling this method does not require the existence of an enclosing accountContainer.

All alias attributes will be renamed to the given attribute names.




-

Tags:

-
- - - - - - - - - - -
return:  list of aliases like array("alias name" => "attribute name")
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getManagedAttributes [line 1139]

-
-
-
- array getManagedAttributes( -) -
-

- - Returns a list of LDAP attributes which are managed by this module.

All attribute names will be renamed to match the given spelling.




-

Tags:

-
- - - - - - - - - - -
return:  list of attributes
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getManagedObjectClasses [line 1110]

-
-
-
- array getManagedObjectClasses( -) -
-

- - Returns a list of managed object classes for this module.

Calling this method does not require the existence of an enclosing accountContainer.

This is used to fix spelling errors in LDAP-Entries (e.g. if "posixACCOUNT" is read instead of "posixAccount" from LDAP).

Example: return array('posixAccount')




-

Tags:

-
- - - - - - - - - - -
return:  list of object classes
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getOriginalAttributes [line 1287]

-
-
-
- array getOriginalAttributes( -) -
-

- - Returns the LDAP attributes which are managed in this module (with unchanged values).



-

Tags:

-
- - - - - - - -
return:  attributes
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getRequiredExtensions [line 1153]

-
-
-
- array getRequiredExtensions( -) -
-

- - This function returns a list of PHP extensions (e.g. mhash) which are needed by this module.

Calling this method does not require the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - - - - -
return:  extensions
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getSelfServiceFields [line 1183]

-
-
-
- array getSelfServiceFields( -) -
-

- - Returns a list of possible input fields and their descriptions.

Calling this method does not require the existence of an enclosing accountContainer.

Format: array(<field identifier> => <field description>)




-

Tags:

-
- - - - - - - - - - -
return:  fields
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getSelfServiceOptions [line 1202]

-
-
-
- array getSelfServiceOptions( -array -$fields, array -$attributes) -
-

- - Returns the meta HTML code for each input field.

Calling this method does not require the existence of an enclosing accountContainer.

Format: array(<field1> => array(<META HTML>), ...)
It is not possible to display help links.




-

Tags:

-
- - - - - - - - - - -
return:  meta HTML
see:  parseHtml()
access:  public
-
-

- -

Overridden in child classes as:
-

-
inetOrgPerson::getSelfServiceOptions()
-
Returns the meta HTML code for each input field.
-
-
-
posixAccount::getSelfServiceOptions()
-
Returns the meta HTML code for each input field.
-
-

- -

Parameters:

-
- - - - - - - - - - - -
array  $fields  list of active fields
array  $attributes  attributes of LDAP account (attribute names in lower case)
-

-
[ Top ]
-
-
- -

method getSelfServiceSearchAttributes [line 1167]

-
-
-
- array getSelfServiceSearchAttributes( -) -
-

- - This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects.

Calling this method does not require the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - - - - -
return:  attributes
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getSelfServiceSettings [line 1235]

-
-
-
- array getSelfServiceSettings( -) -
-

- - Returns a list of self service configuration settings.

Calling this method does not require the existence of an enclosing accountContainer.

The type "fieldset" is not allowed here. The name attributes are used as keywords to load and save settings. We recommend to use the module name as prefix for them (e.g. posixAccount_homeDirectory) to avoid naming conflicts.




-

Tags:

-
- - - - - - - - - - - - - -
return:  meta HTML code
see:  baseModule::get_metaData()
see:  parseHtml()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_alias [line 452]

-
-
-
- string get_alias( -) -
-

- - Returns an alias name for the module.

Calling this method does not require the existence of an enclosing accountContainer.

This function returns a more descriptive string than the class name. Alias names are used for the buttons on the account pages and the module selection in the configuration wizard.
Please take care that your alias name is not too long. It may contain any character but should not include parts that may be interpreted by the browser (e.g. '<' or '>'). If you use different aliases dependent on the account type please make sure that there is a general alias for unknown types.




-

Tags:

-
- - - - - - - - - - -
return:  alias name
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_configOptions [line 647]

-
-
-
- array get_configOptions( -array -$scopes, array -$allScopes) -
-

- - Returns a list of configuration options.

Calling this method does not require the existence of an enclosing accountContainer.

The type "fieldset" is not allowed here. The name attributes are used as keywords to load and save settings. We recommend to use the module name as prefix for them (e.g. posixAccount_homeDirectory) to avoid naming conflicts.




-

Tags:

-
- - - - - - - - - - - - - -
return:  meta HTML code
see:  baseModule::get_metaData()
see:  parseHtml()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixGroup::get_configOptions()
-
Returns a list of elements for the configuration.
-
-

- -

Parameters:

-
- - - - - - - - - - - -
array  $scopes  account types (user, group, host)
array  $allScopes  list of all active account modules and their scopes (module => array(scopes))
-

-
[ Top ]
-
-
- -

method get_dependencies [line 495]

-
-
-
- array get_dependencies( -) -
-

- - This function returns a list with all depending and conflicting modules.

Calling this method does not require the existence of an enclosing accountContainer.

The return value is an array with two sub arrays, "depends" and "conflicts". All values of the conflict array are string values with module names. All values of the depends array are either string values with module names or arrays which include only string values with module names.
If an element of the depends array is itself an array, this means that your module depends on one of these modules.

Example: return array("depends" => array("posixAccount", array("qmail", "sendmail")), "conflicts" => array("exim"))




-

Tags:

-
- - - - - - - - - - -
return:  list of dependencies and conflicts
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_help [line 884]

-
-
-
- array get_help( -string -$id) -
-

- - This function returns the help entry array for a specific help id.

Calling this method does not require the existence of an enclosing accountContainer.

The result is an hashtable with the following keys:

  • Headline (required)
    - The headline of this help entry. Can consist of any alpha-numeric characters. No HTML/CSS elements are allowed.
  • Text (required)
    - The text of the help entry which may contain any alpha-numeric characters.
  • SeeAlso (optional)
    - A reference to anonther related web site. It must be an array containing a field called "text" with the link text - that should be displayed and a field called "link" which is the link target.

Example:

array('Headline' => 'This is the head line', 'Text' => 'Help content', 'SeeAlso' => array('text' => 'LAM homepage', 'link' => 'http://lam.sf.net'))




-

Tags:

-
- - - - - - - - - - -
return:  The desired help entry.
see:  baseModule::get_metaData()
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $id  The id string for the help entry needed.
-

-
[ Top ]
-
-
- -

method get_ldap_filter [line 434]

-
-
-
- string get_ldap_filter( -) -
-

- - Returns an LDAP filter for the account lists

Calling this method does not require the existence of an enclosing accountContainer.

Returns an array('or' => '...', 'and' => '...') that is used to build the LDAP filter. Usually, this is used to filter object classes. All "or" filter parts of the base modules are combined with OR and then combined with the "and" parts.
The resulting LDAP filter will look like this: (&(|(OR1)(OR2)(OR3))(AND1)(AND2)(AND3))

Example: return array('or' => '(objectClass=posixAccount)', 'and' => '(!(uid=*$))')




-

Tags:

-
- - - - - - - - - - -
return:  LDAP filter
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_metaData [line 375]

-
-
-
- array get_metaData( -) -
-

- - This function provides meta data which is interpreted by baseModule.

Only subclasses will return real data.

The aim of the meta data is to reduce the number of functions in the subclasses. All major data is centralized in one place.

The returned array contains a list of key-value pairs for the different functions.

  • can_manage()
    -
    - Key: account_types
    - Value: array of account types
    -
    - Example: "account_types" => array("user", "host") -

  • is_base_module()
    -
    - Key: is_base
    - Value: boolean
    -
    - Example: "is_base" => true -

  • get_ldap_filter()
    -
    - Key: ldap_filter
    - Value: array of filters
    -
    - Example: "ldap_filter" => array('or' => 'objectClass=posixAccount', 'and' => '(!(uid=*$))') -

  • getManagedObjectClasses()
    -
    - Key: objectClasses
    - Value: array of object classes
    -
    - Example: "objectClasses" => array('posixAccount') -

  • getLDAPAliases()
    -
    - Key: LDAPaliases
    - Value: array of aliases
    -
    - Example: "LDAPaliases" => array('commonName' => 'cn') -

  • get_RDNAttributes()
    -
    - Key: RDN
    - Value: array of RDNs
    -
    - Example: "RDN" => array('uid' => 'normal', 'cn' => 'low') -

  • get_dependencies()
    -
    - Key: dependencies
    - Value: array of dependencies
    -
    - Example: "dependencies" => array("depends" => array("posixAccount", array("qmail", "sendmail")), "conflicts" => array("exim")) -

  • get_profileOptions()
    -
    - Key: profile_options
    - Value: array of profile options
    -
    - The syntax for the value array is the same as for the return value of get_profileOptions(). -

  • check_profileOptions()
    -
    - Key: profile_checks
    - Value: array of checks (array("optionName" => array()))
    -
    - The "optionName" keys of the value array are the names of the option identifiers.
    - Each array element is an array itself containing these values: -
    • type: determines how to check input
      - Possible values: -
      • regex: check with regular expression from regex variable, case sensitive
      • regex_i: check with regular expression from regex variable, case insensitive
      • int_greater: integer value of cmp_name1 must be greater than the integer value from the option cmp_name2
      • int_greaterOrEqual: integer value of cmp_name1 must be greater or equal than the integer value from the option cmp_name2
    • error_message: message that is displayed if input value was syntactically incorrect
      - error_message is an array to build StatusMessages (message type, message head, message text, additional variables)
    • regex: regular expression string (only if type is regex/regex_i)
    • cmp_name1: name of first input variable that is used for comparison (only if type is int_greater/int_greaterOrEqual)
    • cmp_name2: name of second input variable that is used for comparison (only if type is int_greater/int_greaterOrEqual)
    • required: true or false, if this input field must be filled set to true (optional)
    • required_message: message that is displayed if no input value was given (only if required == true)
      - required_message is an array to build StatusMessages (message type, message head, message text, additional variables)
    -

  • load_profile()
    -
    - Key: profile_mappings
    - Value: array('profile_identifier1' => 'LDAP_attribute1', 'profile_identifier2' => 'LDAP_attribute2')
    -
    - The mapped values are stored directly in $this->attributes. -
    - Example: "profile_mappings" => array('inetOrgPerson_title' => 'title') -

  • get_configOptions()
    -
    - Key: config_options
    - Value: array('user' => array, 'host' => array, 'all' => array)
    -
    - The values from 'all' are always returned, the other values only if they are inside the $scopes array.
    - The syntax for sub arrays is the same as for the return value of get_configOptions(). -

  • check_configOptions()
    -
    - Key: config_checks
    - Value: array('user' => array, 'host' => 'array', 'all' => array)
    -
    - The values from 'all' are always used for checking, the other values only if they are inside the $scopes array. - The syntax for sub arrays is the same as for check_configOptions(). -

  • get_uploadColumns()
    -
    - Key: upload_columns
    - Value: array
    -
    - The syntax for array is the same as for the return value of get_uploadColumns(). -

  • get_uploadPreDepends()
    -
    - Key: upload_preDepends
    - Value: array
    -
    - The syntax for array is the same as for the return value of get_uploadPreDepends(). -

  • getRequiredExtensions()
    -
    - Key: extensions
    - Value: array of extension names
    -
    - Example: "extensions" => array('mhash') -

  • get_help()
    -
    - Key: help
    - Value: hashtable of help entries
    -
    - The hashtable is an array which maps help IDs to help entries.
    -
    - Example: 'help' => array('myEntry' => array('Headline' => 'This is the head line', 'Text' => 'Help content')) -

  • getSelfServiceSearchAttributes()
    -
    - Key: selfServiceSearchAttributes
    - Value: array of attribute names
    -
    - Example: "selfServiceSearchAttributes" => array('uid') -

  • getSelfServiceFields()
    -
    - Key: selfServiceFieldSettings
    - Value: array of self service fields
    -
    - Example: "selfServiceFieldSettings" => array('pwd' => 'Password') -

Example: return array("is_base" => true);




-

Tags:

-
- - - - - - - -
return:  meta data
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
ieee802Device::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
inetLocalMailRecipient::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
inetOrgPerson::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
kolabUser::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
ldapPublicKey::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
nisMailAlias::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
posixAccount::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
posixGroup::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
quota::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
sambaAccount::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
sambaDomain::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
sambaGroupMapping::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
sambaSamAccount::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-
-
shadowAccount::get_metaData()
-
Returns meta data that is interpreted by parent class
-
-

- -
[ Top ]
-
-
- -

method get_pdfFields [line 794]

-
-
-
- array get_pdfFields( -string -$scope) -
-

- - Returns a hashtable with all entries that may be printed out in the PDF.

Calling this method does not require the existence of an enclosing accountContainer.

This method must be overwritten in case that there are non static values to be returned. The $this->meta['PDF_fields'] array may be used for static content.

Format of returned hashtable:

This function uses XML formatted commands to define the PDF output. Each part in the PDF document is surrounded by "<block>" and "</block>".
Inside the <block> tags there are different ways to format the output:

  • simple line with attribute name and value: <block><key>attribute name</key><value>attribute value</value></block>
  • table: <block><key>attribute name</key><tr><td>value<td><td>value<td></tr></block><block><tr><td>value</td><td>value<td></tr></block>
Special commands:
  • Alignment in <td>: You can specify the alignment in <td> tags with align=(L|R|C) (e.g. <td align=\"L\">)
  • Cell width: <td> allows an attribute "width" to set the cell width (e.g. <td width=20%> or <td width=30>).
  • Line breaks: Line breaks can be specified by adding a <br> tag. The new line will start at the left border of the PDF document.

Examples:

Simple name+value lines:

In most cases you will just want to display a single line per attribute with its name and value.

'myAttribute' => '<block><key>AttrName</key><value>12345</value></block>'

This will give the following PDF output:

Attribute name: 12345


Multiline values:

Sometimes you have multivalued attributes where it is not applicable to write all values in one line but where you want to list your values one below the other or show a table. This can be done by using the <td> tag.

This example only uses one column but you can just use more <td> tags per <block> tag to display more columns.

'myAttribute' => '<block><key>AttrName</key><tr><td align=\"L\">123</td></tr></block><block><tr><td align=\"L\">456</td></tr></block><block><tr><td align=\"L\">789</td></tr></block>'




-

Tags:

-
- - - - - - - - - - -
return:  PDF entries
see:  baseModule::get_metaData()
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $scope  account type
-

-
[ Top ]
-
-
- -

method get_profileOptions [line 515]

-
-
-
- array get_profileOptions( -) -
-

- - This function defines what attributes will be used in the account profiles and their appearance in the profile editor.

Calling this method does not require the existence of an enclosing accountContainer.

The return value is an array that contains meta HTML code.
The type "fieldset" is not allowed here. The name attributes are used as keywords to load and save profiles. We recommend to use the module name as prefix for them (e.g. posixAccount_homeDirectory) to avoid naming conflicts.




-

Tags:

-
- - - - - - - - - - - - - -
return:  meta HTML code
see:  baseModule::get_metaData()
see:  parseHtml()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::get_profileOptions()
-
Returns a list of elements for the account profiles.
-
-
-
quota::get_profileOptions()
-
Returns a list of elements for the account profiles.
-
-
-
sambaGroupMapping::get_profileOptions()
-
Returns a list of elements for the account profiles.
-
-
-
sambaSamAccount::get_profileOptions()
-
Returns a list of elements for the account profiles.
-
-

- -
[ Top ]
-
-
- -

method get_RDNAttributes [line 472]

-
-
-
- array get_RDNAttributes( -) -
-

- - Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name).

Calling this method does not require the existence of an enclosing accountContainer.

The returned elements have this form: <attribute> => <priority>
<attribute> is the name of the LDAP attribute
<priority> defines the priority of the attribute (can be "low", "normal", "high")

Example: return array('uid' => 'normal', 'cn' => 'low')




-

Tags:

-
- - - - - - - - - - -
return:  list of attributes
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_scope [line 384]

-
-
-
- string get_scope( -) -
-

- - Returns the account type of this module (user, group, host)



-

Tags:

-
- - - - - - - -
return:  account type
access:  public
-
-

- - -
[ Top ]
-
-
- -

method get_uploadColumns [line 821]

-
-
-
- array get_uploadColumns( -) -
-

- - Returns an array containing all input columns for the file upload.

Calling this method does not require the existence of an enclosing accountContainer.

This funtion returns an array which contains subarrays which represent an upload column. Syntax of column arrays:

array(
string: name, // fixed non-translated name which is used as column name (should be of format: <module name>_<column name>)
string: description, // short descriptive name
string: help, // help ID
string: example, // example value
string: values, // possible input values (optional)
string: default, // default value (optional)
boolean: required // true, if user must set a value for this column
boolean: unique // true if all values of this column must be different values (optional, default: "false")
)




-

Tags:

-
- - - - - - - - - - -
return:  column list
see:  baseModule::get_metaData()
access:  public
-
-

- -

Overridden in child classes as:
-

-
quota::get_uploadColumns()
-
Returns an array containing all input columns for the file upload.
-
-

- -
[ Top ]
-
-
- -

method get_uploadPreDepends [line 837]

-
-
-
- array get_uploadPreDepends( -) -
-

- - Returns a list of module names which must be processed in building the account befor this module.

Calling this method does not require the existence of an enclosing accountContainer.

The named modules may not be active, LAM will check this automatically.




-

Tags:

-
- - - - - - - - - - -
return:  list of module names
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method init [line 112]

-
-
-
- void init( -string -$base) -
-

- - Initializes the module after it became part of an accountContainer

Calling this method requires the existence of an enclosing accountContainer.




-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::init()
-
Initializes the module after it became part of an accountContainer
-
-
-
posixGroup::init()
-
This functin will be called when the module will be loaded *
-
-
-
sambaAccount::init()
-
Initializes the module after it became part of an accountContainer
-
-
-
sambaGroupMapping::init()
-
Initializes the module after it became part of an accountContainer
-
-
-
sambaSamAccount::init()
-
Initializes the module after it became part of an accountContainer
-
-

- -

Parameters:

-
- - - - - - -
string  $base  the name of the accountContainer object ($_SESSION[$base])
-

-
[ Top ]
-
-
- -

method is_base_module [line 414]

-
-
-
- boolean is_base_module( -) -
-

- - Returns true if your module is a base module and otherwise false.

Calling this method does not require the existence of an enclosing accountContainer.

Every account type needs exactly one base module. A base module manages a structural object class. E.g. the inetOrgPerson module is a base module since its object class is structural.




-

Tags:

-
- - - - - - - - - - -
return:  true if base module (defaults to false if no meta data is provided)
see:  baseModule::get_metaData()
access:  public
-
-

- - -
[ Top ]
-
-
- -

method load_attributes [line 140]

-
-
-
- void load_attributes( -array -$attributes) -
-

- - This function loads the LDAP attributes when an account should be loaded.

Calling this method requires the existence of an enclosing accountContainer.

By default this method loads the object classes and accounts which are specified in getManagedObjectClasses() and getManagedAttributes().




-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::load_attributes()
-
This function loads all needed LDAP attributes.
-
-
-
sambaAccount::load_attributes()
-
This function loads the LDAP attributes for this module.
-
-
-
sambaSamAccount::load_attributes()
-
This function loads the LDAP attributes for this module.
-
-

- -

Parameters:

-
- - - - - - -
array  $attributes  array like the array returned by get_ldap_attributes(dn of account) but without count indices
-

-
[ Top ]
-
-
- -

method load_Messages [line 102]

-
-
-
- void load_Messages( -) -
-

- - This function fills the $messages variable with output messages from this module.

Calling this method requires the existence of an enclosing accountContainer.




-

Tags:

-
- - - - -
access:  protected
-
-

- -

Overridden in child classes as:
-

-
account::load_Messages()
-
This function fills the message array.
-
-
-
ieee802Device::load_Messages()
-
This function fills the error message array with messages
-
-
-
inetLocalMailRecipient::load_Messages()
-
This function fills the error message array with messages
-
-
-
inetOrgPerson::load_Messages()
-
This function fills the message array.
-
-
-
kolabUser::load_Messages()
-
This function fills the error message array with messages
-
-
-
nisMailAlias::load_Messages()
-
This function fills the error message array with messages
-
-
-
posixAccount::load_Messages()
-
This function fills the error message array with messages.
-
-
-
posixGroup::load_Messages()
-
This function fills the $messages variable with output messages from this module.
-
-
-
quota::load_Messages()
-
this functin fills the error message array with messages
-
-
-
sambaAccount::load_Messages()
-
this functin fills the error message array with messages
-
-
-
sambaDomain::load_Messages()
-
This function fills the error message array with messages
-
-
-
sambaGroupMapping::load_Messages()
-
this functin fills the error message array with messages
-
-
-
sambaSamAccount::load_Messages()
-
this functin fills the error message array with messages
-
-
-
shadowAccount::load_Messages()
-
This function builds up the message array.
-
-

- -
[ Top ]
-
-
- -

method load_profile [line 621]

-
-
-
- void load_profile( -array -$profile) -
-

- - This function loads the values from an account profile to the module's internal data structures.

Calling this method does not require the existence of an enclosing accountContainer.




-

Tags:

-
- - - - - - - -
see:  baseModule::get_metaData()
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::load_profile()
-
Loads the values of an account profile into internal variables.
-
-
-
quota::load_profile()
-
Loads the values of an account profile into internal variables.
-
-
-
sambaAccount::load_profile()
-
Loads the values of an account profile into internal variables.
-
-
-
sambaGroupMapping::load_profile()
-
Loads the values of an account profile into internal variables.
-
-
-
sambaSamAccount::load_profile()
-
Loads the values of an account profile into internal variables.
-
-
-
shadowAccount::load_profile()
-
Loads the values of an account profile into internal variables.
-
-

- -

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_complete [line 924]

-
-
-
- boolean module_complete( -) -
-

- - This functions is used to check if all settings for this module have been made.

Calling this method requires the existence of an enclosing accountContainer.

This function tells LAM if it can create/modify the LDAP account. If your module needs any additional input then set this to false. The user will be notified that your module needs more input.
This method's return value defaults to true.




-

Tags:

-
- - - - - - - -
return:  true, if settings are complete
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::module_complete()
-
This functions returns true if all needed settings are done.
-
-
-
inetOrgPerson::module_complete()
-
This functions return true if all needed settings are done.
-
-
-
kolabUser::module_complete()
-
This function returns true if all needed settings are done.
-
-
-
posixAccount::module_complete()
-
This functions is used to check if all settings for this module have been made.
-
-
-
posixGroup::module_complete()
-
This functions is used to check if all settings for this module have been made.
-
-
-
sambaAccount::module_complete()
-
This functions returns true if all needed settings are done
-
-

- -
[ Top ]
-
-
- -

method module_ready [line 908]

-
-
-
- boolean module_ready( -) -
-

- - This function is used to check if this module page can be displayed.

Calling this method requires the existence of an enclosing accountContainer.

Your module might depend on input of other modules. This function determines if the user can change to your module page or not. The return value is true if your module accepts input, otherwise false.
This method's return value defaults to true.




-

Tags:

-
- - - - - - - -
return:  true, if page can be displayed
access:  public
-
-

- -

Overridden in child classes as:
-

-
quota::module_ready()
-
This function is used to check if this module page can be displayed.
-
-
-
sambaAccount::module_ready()
-
This function is used to check if this module page can be displayed.
-
-
-
sambaGroupMapping::module_ready()
-
This function is used to check if this module page can be displayed.
-
-
-
sambaSamAccount::module_ready()
-
This function is used to check if this module page can be displayed.
-
-

- -
[ Top ]
-
-
- -

method postDeleteActions [line 1041]

-
-
-
- void postDeleteActions( -) -
-

- - Allows the module to run commands after the LDAP entry is deleted.

Calling this method requires the existence of an enclosing accountContainer.




-

Tags:

-
- - - - -
access:  public
-
-

- - -
[ Top ]
-
-
- -

method postModifyActions [line 1019]

-
-
-
- void postModifyActions( -boolean -$newAccount) -
-

- - Allows the module to run commands after the LDAP entry is changed or created.

Calling this method requires the existence of an enclosing accountContainer.




-

Tags:

-
- - - - -
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::postModifyActions()
-
Allows the module to run commands after the LDAP entry was changed or created.
-
-
-
quota::postModifyActions()
-
Allows the module to run commands after the LDAP entry is changed or created.
-
-

- -

Parameters:

-
- - - - - - -
boolean  $newAccount  new account
-

-
[ Top ]
-
-
- -

method preDeleteActions [line 1032]

-
-
-
- true, preDeleteActions( -) -
-

- - Allows the module to run commands before the LDAP entry is deleted.

Calling this method requires the existence of an enclosing accountContainer.

An error message should be printed if the function returns false.




-

Tags:

-
- - - - - - - -
return:  if no problems occured
access:  public
-
-

- -

Overridden in child classes as:
-

-
posixAccount::preDeleteActions()
-
Allows the module to run commands before the LDAP entry is deleted.
-
-
-
quota::preDeleteActions()
-
Allows the module to run commands before the LDAP entry is deleted.
-
-

- -
[ Top ]
-
-
- -

method preModifyActions [line 1008]

-
-
-
- true, preModifyActions( -boolean -$newAccount) -
-

- - Allows the module to run commands before the LDAP entry is changed or created.

Calling this method requires the existence of an enclosing accountContainer.

An error message should be printed if the function returns false.




-

Tags:

-
- - - - - - - -
return:  if no problems occured
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
boolean  $newAccount  new account
-

-
[ Top ]
-
-
- -

method process_attributes [line 1084]

-
-
-
- array process_attributes( -) -
-

- - This function processes user input.

Calling this method requires the existence of an enclosing accountContainer.

It checks the user input and saves changes in the module's data structures.

Example: return array(array('ERROR', 'Invalid input!', 'This is not allowed here.'));




-

Tags:

-
- - - - - - - - - - -
return:  Array which contains status messages. Each entry is an array containing the status message parameters.
abstract:  
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::process_attributes()
-
Processes user input of the primary module page.
-
-
-
ieee802Device::process_attributes()
-
Processes user input of the primary module page.
-
-
-
inetLocalMailRecipient::process_attributes()
-
Processes user input of the primary module page.
-
-
-
inetOrgPerson::process_attributes()
-
Processes user input of the primary module page.
-
-
-
kolabUser::process_attributes()
-
Processes user input of the primary module page.
-
-
-
ldapPublicKey::process_attributes()
-
Processes user input of the primary module page.
-
-
-
nisMailAlias::process_attributes()
-
Processes user input of the primary module page.
-
-
-
posixAccount::process_attributes()
-
Processes user input of the primary module page.
-
-
-
posixGroup::process_attributes()
-
Processes user input of the primary module page.
-
-
-
quota::process_attributes()
-
Processes user input of the primary module page.
-
-
-
sambaAccount::process_attributes()
-
Processes user input of the primary module page.
-
-
-
sambaDomain::process_attributes()
-
Processes user input of the primary module page.
-
-
-
sambaGroupMapping::process_attributes()
-
Processes user input of the primary module page.
-
-
-
sambaSamAccount::process_attributes()
-
Processes user input of the primary module page.
-
-
-
shadowAccount::process_attributes()
-
Processes user input of the primary module page.
-
-

- -
[ Top ]
-
-
- -

method save_attributes [line 994]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.

Calling this method requires the existence of an enclosing accountContainer.


This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It is possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)

"add" are attributes which have to be added to the LDAP entry
"remove" are attributes which have to be removed from the LDAP entry
"modify" are attributes which have to be modified in the LDAP entry
"notchanged" are attributes which stay unchanged

This builds the required comands from $this-attributes and $this->orig.




-

Tags:

-
- - - - - - - -
return:  list of modifications
access:  public
-
-

- -

Overridden in child classes as:
-

-
account::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
inetOrgPerson::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
kolabUser::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
nisMailAlias::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
posixAccount::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
posixGroup::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
sambaAccount::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
sambaGroupMapping::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
sambaSamAccount::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-
-
shadowAccount::save_attributes()
-
Returns a list of modifications which have to be made to the LDAP account.
-
-

- -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:18 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/ieee802Device.html b/lam-web/developers/devel/phpdoc/modules/ieee802Device.html deleted file mode 100644 index 8597307c..00000000 --- a/lam-web/developers/devel/phpdoc/modules/ieee802Device.html +++ /dev/null @@ -1,735 +0,0 @@ - - -Docs For Class ieee802Device - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: ieee802Device

-Source Location: /lib/modules/ieee802device.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --ieee802Device

-
Provides MAC addresses for hosts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 35]
-Provides MAC addresses for hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 165]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 97]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method get_metaData [line 44]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 194]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 87]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method process_attributes [line 123]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:32 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/inetLocalMailRecipient.html b/lam-web/developers/devel/phpdoc/modules/inetLocalMailRecipient.html deleted file mode 100644 index 99bba353..00000000 --- a/lam-web/developers/devel/phpdoc/modules/inetLocalMailRecipient.html +++ /dev/null @@ -1,735 +0,0 @@ - - -Docs For Class inetLocalMailRecipient - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: inetLocalMailRecipient

-Source Location: /lib/modules/inetLocalMailRecipient.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --inetLocalMailRecipient

-
Provides mail routing for users.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 35]
-Provides mail routing for users.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 257]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 137]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method get_metaData [line 44]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 310]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 123]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method process_attributes [line 179]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:33 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/inetOrgPerson.html b/lam-web/developers/devel/phpdoc/modules/inetOrgPerson.html deleted file mode 100644 index ab6a4bb4..00000000 --- a/lam-web/developers/devel/phpdoc/modules/inetOrgPerson.html +++ /dev/null @@ -1,985 +0,0 @@ - - -Docs For Class inetOrgPerson - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: inetOrgPerson

-Source Location: /lib/modules/inetOrgPerson.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --inetOrgPerson

-
This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 38]
-This module manages LDAP attributes of the object class inetOrgPerson (e.g. name and address).



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 970]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method checkSelfServiceOptions [line 1353]

-
-
-
- array checkSelfServiceOptions( -string -$fields, array -$attributes) -
-

- - Checks if all input values are correct and returns the LDAP commands which should be executed.



-

Tags:

-
- - - - -
return:  messages and LDAP commands (array('messages' => array(), 'add' => array(), 'del' => array(), 'mod' => array()))
-
-

- - Overrides baseModule::checkSelfServiceOptions() (Checks if all input values are correct and returns the LDAP attributes which should be changed.)

-

Parameters:

-
- - - - - - - - - - - -
string  $fields  input fields
array  $attributes  LDAP attributes
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 639]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_password [line 879]

-
-
-
- array display_html_password( -) -
-

- - Displays the password changing dialog.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_photo [line 919]

-
-
-
- array display_html_photo( -) -
-

- - Displays the photo upload page.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method getButtonStatus [line 465]

-
-
-
- string getButtonStatus( -) -
-

- - Controls if the module button the account page is visible and activated.



-

Tags:

-
- - - - -
return:  status ("enabled", "disabled", "hidden")
-
-

- - Overrides baseModule::getButtonStatus() (Controls if the module button the account page is visible and activated.)

-
[ Top ]
-
-
- -

method getSelfServiceOptions [line 1212]

-
-
-
- array getSelfServiceOptions( -array -$fields, array -$attributes) -
-

- - Returns the meta HTML code for each input field.

format: array(<field1> => array(<META HTML>), ...) It is not possible to display help links.




-

Tags:

-
- - - - -
return:  meta HTML
-
-

- - Overrides baseModule::getSelfServiceOptions() (Returns the meta HTML code for each input field.)

-

Parameters:

-
- - - - - - - - - - - -
array  $fields  list of active fields
array  $attributes  attributes of LDAP account (attribute names in lower case)
-

-
[ Top ]
-
-
- -

method get_metaData [line 118]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 938]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 70]

-
-
-
- void load_Messages( -) -
-

- - This function fills the message array.



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method module_complete [line 448]

-
-
-
- boolean module_complete( -) -
-

- - This functions return true if all needed settings are done.



-

Tags:

-
- - - - -
return:  true, if all is ok
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method process_attributes [line 525]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_password [line 857]

-
-
-
- void process_password( -) -
-

- - Sets a new password.



- - -
[ Top ]
-
-
- -

method process_photo [line 899]

-
-
-
- void process_photo( -) -
-

- - Sets a new photo.



- - -
[ Top ]
-
-
- -

method save_attributes [line 487]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:34 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/kolabUser.html b/lam-web/developers/devel/phpdoc/modules/kolabUser.html deleted file mode 100644 index b2930b04..00000000 --- a/lam-web/developers/devel/phpdoc/modules/kolabUser.html +++ /dev/null @@ -1,849 +0,0 @@ - - -Docs For Class kolabUser - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: kolabUser

-Source Location: /lib/modules/kolabUser.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --kolabUser

-
Manages Kolab user accounts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 35]
-Manages Kolab user accounts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 45]

-
-
-
- kolabUser __construct( -string -$scope) -
-

- - Creates a new kolabUser object.



- - Overrides baseModule::__construct() (Creates a new base module class)

-

Parameters:

-
- - - - - - -
string  $scope  account type (user, group, host)
-

-
[ Top ]
-
-
- -

method build_uploadAccounts [line 614]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 268]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_deleteUser [line 564]

-
-
-
- void display_html_deleteUser( -) -
-

- - This function will create the meta HTML code to show a page to delete accounts.



- - -
[ Top ]
-
-
- -

method get_metaData [line 65]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 752]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 227]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method module_complete [line 591]

-
-
-
- true, module_complete( -) -
-

- - This function returns true if all needed settings are done.



-

Tags:

-
- - - - -
return:  if account can be saved
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method process_attributes [line 420]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_deleteUser [line 579]

-
-
-
- void process_deleteUser( -) -
-

- - Write variables into object and do some regex checks



- - -
[ Top ]
-
-
- -

method save_attributes [line 255]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:35 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/ldapPublicKey.html b/lam-web/developers/devel/phpdoc/modules/ldapPublicKey.html deleted file mode 100644 index 80dba872..00000000 --- a/lam-web/developers/devel/phpdoc/modules/ldapPublicKey.html +++ /dev/null @@ -1,709 +0,0 @@ - - -Docs For Class ldapPublicKey - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: ldapPublicKey

-Source Location: /lib/modules/ldapPublicKey.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --ldapPublicKey

-
Manages SSH public keys.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 36]
-Manages SSH public keys.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 144]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 91]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method get_metaData [line 45]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 164]

-
-
-
- void get_pdfEntries( -) -
-

- - Returns a list of PDF entries



- - -
[ Top ]
-
-
- -

method process_attributes [line 117]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:37 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/nisMailAlias.html b/lam-web/developers/devel/phpdoc/modules/nisMailAlias.html deleted file mode 100644 index 20b0ffc0..00000000 --- a/lam-web/developers/devel/phpdoc/modules/nisMailAlias.html +++ /dev/null @@ -1,787 +0,0 @@ - - -Docs For Class nisMailAlias - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: nisMailAlias

-Source Location: /lib/modules/nisMailAlias.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --nisMailAlias

-
Provides NIS mail alias management.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 35]
-Provides NIS mail alias management.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 234]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 135]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method getButtonStatus [line 215]

-
-
-
- string getButtonStatus( -) -
-

- - Controls if the module button the account page is visible and activated.



-

Tags:

-
- - - - -
return:  status ("enabled", "disabled", "hidden")
-
-

- - Overrides baseModule::getButtonStatus() (Controls if the module button the account page is visible and activated.)

-
[ Top ]
-
-
- -

method get_metaData [line 44]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 273]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 104]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method process_attributes [line 166]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method save_attributes [line 122]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:42 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/posixAccount.html b/lam-web/developers/devel/phpdoc/modules/posixAccount.html deleted file mode 100644 index fc4980a8..00000000 --- a/lam-web/developers/devel/phpdoc/modules/posixAccount.html +++ /dev/null @@ -1,1412 +0,0 @@ - - -Docs For Class posixAccount - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: posixAccount

-Source Location: /lib/modules/posixAccount.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --posixAccount

-
Manages the object class "posixAccount" for users and hosts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 40]
-Manages the object class "posixAccount" for users and hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 1273]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method checkASCII [line 857]

-
-
-
- string checkASCII( -string -$attribute) -
-

- - Checks if an attribute contains only ASCII charaters and replaces invalid characters.



-

Tags:

-
- - - - -
return:  attribute value with replaced non-ASCII characters
-
-

- - -

Parameters:

-
- - - - - - -
string  $attribute  attribute value
-

-
[ Top ]
-
-
- -

method checkSelfServiceOptions [line 1720]

-
-
-
- array checkSelfServiceOptions( -string -$fields, array -$attributes) -
-

- - Checks if all input values are correct and returns the LDAP commands which should be executed.



-

Tags:

-
- - - - -
return:  messages and LDAP commands (array('messages' => array(), 'add' => array(), 'del' => array(), 'mod' => array()))
-
-

- - Overrides baseModule::checkSelfServiceOptions() (Checks if all input values are correct and returns the LDAP attributes which should be changed.)

-

Parameters:

-
- - - - - - - - - - - -
string  $fields  input fields
array  $attributes  LDAP attributes
-

-
[ Top ]
-
-
- -

method check_configOptions [line 1214]

-
-
-
- array check_configOptions( -array -$scopes, array -$options) -
-

- - Checks input values of module settings.



-

Tags:

-
- - - - -
return:  list of error messages
-
-

- - Overrides baseModule::check_configOptions() (Checks input values of module settings.)

-

Parameters:

-
- - - - - - - - - - - -
array  $scopes  list of account types which are used
array  $options  hash array containing the settings (array('option' => array('value')))
-

-
[ Top ]
-
-
- -

method delete_attributes [line 578]

-
-
-
- List delete_attributes( -) -
-

- - Additional LDAP operations on delete.



-

Tags:

-
- - - - -
return:  of LDAP operations, same as for save_attributes()
-
-

- - Overrides baseModule::delete_attributes() (This function returns an array with the same syntax as save_attributes().)

-
[ Top ]
-
-
- -

method display_html_attributes [line 928]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_delete [line 1034]

-
-
-
- meta display_html_delete( -) -
-

- - Displays the delete homedir option for the delete page.



-

Tags:

-
- - - - -
return:  HTML code
-
-

- - Overrides baseModule::display_html_delete() (This function creates meta HTML code which will be displayed when an account should be deleted.)

-
[ Top ]
-
-
- -

method display_html_group [line 1049]

-
-
-
- array display_html_group( -) -
-

- - Displays the group selection.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_password [line 1094]

-
-
-
- array display_html_password( -) -
-

- - Displays the password changing dialog.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method doUploadPostActions [line 1525]

-
-
-
- array doUploadPostActions( -array -$data, array -$ids, array -$failed, -&$temp, array -$temp) -
-

- - This function executes one post upload action.



-

Tags:

-
- - - - -
return:  current status
array (
'status' => 'finished' | 'inProgress'
'progress' => 0..100
'errors' => array (<array of parameters for StatusMessage>)
)
-
-

- - Overrides baseModule::doUploadPostActions() (This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
array  $data  array containing one account in each element
array  $ids  array(<column_name> => <column number>)
array  $failed  list of accounts which were not created successfully
array  $temp  variable to store temporary data between two post actions
  &$temp  
-

-
[ Top ]
-
-
- -

method getClearTextPassword [line 1749]

-
-
-
- string getClearTextPassword( -) -
-

- - Returns the clear text password.



-

Tags:

-
- - - - - - - -
return:  password
access:  public
-
-

- - -
[ Top ]
-
-
- -

method getNextUIDs [line 1634]

-
-
-
- mixed getNextUIDs( -integer -$count, -&$errors, array -$errors) -
-

- - Returns one or more free UID numbers.



-

Tags:

-
- - - - -
return:  Null if no UIDs are free else an array of free UIDs.
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
integer  $count  Number of needed free UIDs.
array  $errors  list of error messages where errors can be added
  &$errors  
-

-
[ Top ]
-
-
- -

method getSelfServiceOptions [line 1700]

-
-
-
- array getSelfServiceOptions( -array -$fields, array -$attributes) -
-

- - Returns the meta HTML code for each input field.

format: array(<field1> => array(<META HTML>), ...) It is not possible to display help links.




-

Tags:

-
- - - - -
return:  meta HTML
-
-

- - Overrides baseModule::getSelfServiceOptions() (Returns the meta HTML code for each input field.)

-

Parameters:

-
- - - - - - - - - - - -
array  $fields  list of active fields
array  $attributes  attributes of LDAP account (attribute names in lower case)
-

-
[ Top ]
-
-
- -

method get_metaData [line 104]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 1189]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method get_profileOptions [line 1125]

-
-
-
- profile get_profileOptions( -) -
-

- - Returns a list of elements for the account profiles.



-

Tags:

-
- - - - -
return:  elements
-
-

- - Overrides baseModule::get_profileOptions() (This function defines what attributes will be used in the account profiles and their appearance in the profile editor.)

-
[ Top ]
-
-
- -

method init [line 432]

-
-
-
- void init( -string -$base) -
-

- - Initializes the module after it became part of an accountContainer



- - Overrides baseModule::init() (Initializes the module after it became part of an accountContainer)

-

Parameters:

-
- - - - - - -
string  $base  the name of the accountContainer object ($_SESSION[$base])
-

-
[ Top ]
-
-
- -

method load_attributes [line 464]

-
-
-
- void load_attributes( -array -$attr) -
-

- - This function loads all needed LDAP attributes.



- - Overrides baseModule::load_attributes() (This function loads the LDAP attributes when an account should be loaded.)

-

Parameters:

-
- - - - - - -
array  $attr  list of attributes
-

-
[ Top ]
-
-
- -

method load_Messages [line 54]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages.



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 1167]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_complete [line 450]

-
-
-
- boolean module_complete( -) -
-

- - This functions is used to check if all settings for this module have been made.



-

Tags:

-
- - - - -
return:  true, if settings are complete
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method postModifyActions [line 540]

-
-
-
- void postModifyActions( -boolean -$newAccount) -
-

- - Allows the module to run commands after the LDAP entry was changed or created.



- - Overrides baseModule::postModifyActions() (Allows the module to run commands after the LDAP entry is changed or created.)

-

Parameters:

-
- - - - - - -
boolean  $newAccount  new account
-

-
[ Top ]
-
-
- -

method preDeleteActions [line 596]

-
-
-
- true, preDeleteActions( -) -
-

- - Allows the module to run commands before the LDAP entry is deleted.

An error message should be printed if the function returns false.




-

Tags:

-
- - - - -
return:  if no problems occured
-
-

- - Overrides baseModule::preDeleteActions() (Allows the module to run commands before the LDAP entry is deleted.)

-
[ Top ]
-
-
- -

method process_attributes [line 630]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_group [line 882]

-
-
-
- array process_group( -) -
-

- - Processes user input of the group selection page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method process_password [line 899]

-
-
-
- array process_password( -) -
-

- - Processes user input of the password page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method save_attributes [line 491]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:44 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/posixGroup.html b/lam-web/developers/devel/phpdoc/modules/posixGroup.html deleted file mode 100644 index 0851f356..00000000 --- a/lam-web/developers/devel/phpdoc/modules/posixGroup.html +++ /dev/null @@ -1,1063 +0,0 @@ - - -Docs For Class posixGroup - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: posixGroup

-Source Location: /lib/modules/posixGroup.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --posixGroup

-
Manages the object class "posixGroup" for groups.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 39]
-Manages the object class "posixGroup" for groups.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 53]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method delete_attributes [line 130]

-
-
-
- List delete_attributes( -) -
-

- - Checks if the group which should be deleted is still used as primary group.



-

Tags:

-
- - - - -
return:  of LDAP operations, same as for save_attributes()
-
-

- - Overrides baseModule::delete_attributes() (This function returns an array with the same syntax as save_attributes().)

-
[ Top ]
-
-
- -

method display_html_attributes [line 154]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - - - - -
return:  HTML meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_password [line 257]

-
-
-
- array display_html_password( -) -
-

- - Displays the password changing dialog.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_user [line 210]

-
-
-
- array display_html_user( -) -
-

- - Displays selections to add or remove users from current group.



-

Tags:

-
- - - - -
return:  meta HTML output
-
-

- - -
[ Top ]
-
-
- -

method getButtonStatus [line 505]

-
-
-
- string getButtonStatus( -) -
-

- - Controls if the module button the account page is visible and activated.



-

Tags:

-
- - - - -
return:  status ("enabled", "disabled", "hidden")
-
-

- - Overrides baseModule::getButtonStatus() (Controls if the module button the account page is visible and activated.)

-
[ Top ]
-
-
- -

method getNextGIDs [line 724]

-
-
-
- mixed getNextGIDs( -integer -$count, -&$errors, array -$errors) -
-

- - Returns one or more free GID numbers.



-

Tags:

-
- - - - -
return:  Null if no GIDs are free else an array of free GIDs.
-
-

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
integer  $count  Number of needed free GIDs.
array  $errors  list of error messages where errors can be added
  &$errors  
-

-
[ Top ]
-
-
- -

method get_configOptions [line 420]

-
-
-
- array get_configOptions( -array -$scopes, array -$allScopes) -
-

- - Returns a list of elements for the configuration.



-

Tags:

-
- - - - -
return:  configuration elements
-
-

- - Overrides baseModule::get_configOptions() (Returns a list of configuration options.)

-

Parameters:

-
- - - - - - - - - - - -
array  $scopes  account types (user, group, host)
array  $allScopes  list of all modules and active scopes
-

-
[ Top ]
-
-
- -

method get_metaData [line 279]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - -
return:  array with meta data
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 441]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method init [line 451]

-
-
-
- void init( - -$base) -
-

- - This functin will be called when the module will be loaded *



- - Overrides baseModule::init() (Initializes the module after it became part of an accountContainer)

-

Parameters:

-
- - - - - - -
  $base  
-

-
[ Top ]
-
-
- -

method load_Messages [line 461]

-
-
-
- void load_Messages( -) -
-

- - This function fills the $messages variable with output messages from this module.



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method module_complete [line 486]

-
-
-
- boolean module_complete( -) -
-

- - This functions is used to check if all settings for this module have been made.



-

Tags:

-
- - - - -
return:  true, if settings are complete
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method process_attributes [line 523]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_password [line 669]

-
-
-
- array process_password( -) -
-

- - Processes user input of the password page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method process_user [line 650]

-
-
-
- array process_user( -) -
-

- - Processes user input of the user selection page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method save_attributes [line 694]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:45 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/quota.html b/lam-web/developers/devel/phpdoc/modules/quota.html deleted file mode 100644 index 51e8d1ea..00000000 --- a/lam-web/developers/devel/phpdoc/modules/quota.html +++ /dev/null @@ -1,992 +0,0 @@ - - -Docs For Class quota - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: quota

-Source Location: /lib/modules/quota.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --quota

-
Manages quotas for users and groups.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 39]
-Manages quotas for users and groups.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method check_profileOptions [line 477]

-
-
-
- array check_profileOptions( -array -$options) -
-

- - Checks input values of account profiles.



-

Tags:

-
- - - - -
return:  list of error messages (array(type, title, text)) to generate StatusMessages, if any
-
-

- - Overrides baseModule::check_profileOptions() (Checks input values of account profiles.)

-

Parameters:

-
- - - - - - -
array  $options  a hash array (name => value) containing the options
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 337]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method doUploadPostActions [line 631]

-
-
-
- array doUploadPostActions( -array -$data, array -$ids, array -$failed, -&$temp, array -$temp) -
-

- - This function executes one post upload action.



-

Tags:

-
- - - - -
return:  current status
array (
'status' => 'finished' | 'inProgress'
'progress' => 0..100
'errors' => array (<array of parameters for StatusMessage>)
)
-
-

- - Overrides baseModule::doUploadPostActions() (This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
array  $data  array containing one account in each element
array  $ids  array(<column_name> => <column number>)
array  $failed  list of accounts which were not created successfully
array  $temp  variable to store temporary data between two post actions
  &$temp  
-

-
[ Top ]
-
-
- -

method get_metaData [line 67]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 533]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method get_profileOptions [line 420]

-
-
-
- profile get_profileOptions( -) -
-

- - Returns a list of elements for the account profiles.



-

Tags:

-
- - - - -
return:  elements
-
-

- - Overrides baseModule::get_profileOptions() (This function defines what attributes will be used in the account profiles and their appearance in the profile editor.)

-
[ Top ]
-
-
- -

method get_uploadColumns [line 587]

-
-
-
- array get_uploadColumns( -) -
-

- - Returns an array containing all input columns for the file upload.

Syntax:
array(
string: name, // fixed non-translated name which is used as column name (should be of format: <module name>_<column name>)
string: description, // short descriptive name
string: help, // help ID
string: example, // example value
boolean: required // true, if user must set a value for this column
)




-

Tags:

-
- - - - -
return:  column list
-
-

- - Overrides baseModule::get_uploadColumns() (Returns an array containing all input columns for the file upload.)

-
[ Top ]
-
-
- -

method initQuotas [line 154]

-
-
-
- void initQuotas( -) -
-

- - Initializes the quota values.



- - -
[ Top ]
-
-
- -

method load_Messages [line 43]

-
-
-
- void load_Messages( -) -
-

- - this functin fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 511]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_ready [line 193]

-
-
-
- boolean module_ready( -) -
-

- - This function is used to check if this module page can be displayed.

It returns false if a module depends on data from other modules which was not yet entered.




-

Tags:

-
- - - - -
return:  true, if page can be displayed
-
-

- - Overrides baseModule::module_ready() (This function is used to check if this module page can be displayed.)

-
[ Top ]
-
-
- -

method postModifyActions [line 210]

-
-
-
- void postModifyActions( -boolean -$newAccount) -
-

- - Allows the module to run commands after the LDAP entry is changed or created.



- - Overrides baseModule::postModifyActions() (Allows the module to run commands after the LDAP entry is changed or created.)

-

Parameters:

-
- - - - - - -
boolean  $newAccount  new account
-

-
[ Top ]
-
-
- -

method preDeleteActions [line 249]

-
-
-
- true, preDeleteActions( -) -
-

- - Allows the module to run commands before the LDAP entry is deleted.

An error message should be printed if the function returns false.




-

Tags:

-
- - - - -
return:  if no problems occured
-
-

- - Overrides baseModule::preDeleteActions() (Allows the module to run commands before the LDAP entry is deleted.)

-
[ Top ]
-
-
- -

method process_attributes [line 290]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method replaceSpecialChars [line 410]

-
-
-
- string replaceSpecialChars( -string -$input) -
-

- - Replaces special characters in HTML name values.



-

Tags:

-
- - - - -
return:  output string
-
-

- - -

Parameters:

-
- - - - - - -
string  $input  input string
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/samba3domain.html b/lam-web/developers/devel/phpdoc/modules/samba3domain.html deleted file mode 100644 index ad20a5fd..00000000 --- a/lam-web/developers/devel/phpdoc/modules/samba3domain.html +++ /dev/null @@ -1,363 +0,0 @@ - - -Docs For Class samba3domain - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: samba3domain

-Source Location: /lib/account.inc

- - - - - - - - - -
- -

Class Overview

-

-
Represents a Samba 3 domain entry


- - - - - - - -
-

Variables

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 354]
-Represents a Samba 3 domain entry



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$dn =

-

[line 357]

- DN



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$name =

-

[line 360]

- Domain name



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$nextGroupRID =

-

[line 372]

- Next group RID



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$nextRID =

-

[line 366]

- Next RID



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$nextUserRID =

-

[line 369]

- Next user RID



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$RIDbase =  1000

-

[line 375]

- RID base to calculate RIDs, default 1000



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$SID =

-

[line 363]

- Domain SID



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- - - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:16 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/sambaAccount.html b/lam-web/developers/devel/phpdoc/modules/sambaAccount.html deleted file mode 100644 index 8e6b4fff..00000000 --- a/lam-web/developers/devel/phpdoc/modules/sambaAccount.html +++ /dev/null @@ -1,992 +0,0 @@ - - -Docs For Class sambaAccount - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: sambaAccount

-Source Location: /lib/modules/sambaAccount.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --sambaAccount

-
Manages the object class "sambaAccount" for users and hosts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 38]
-Manages the object class "sambaAccount" for users and hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 45]

-
-
-
- sambaAccount __construct( -string -$scope) -
-

- - Creates a new sambaAccount object.



-

Tags:

-
- - - - -
access:  public
-
-

- - Overrides baseModule::__construct() (Creates a new base module class)

-

Parameters:

-
- - - - - - -
string  $scope  account type (user, group, host)
-

-
[ Top ]
-
-
- -

method build_uploadAccounts [line 909]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 726]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_userWorkstations [line 856]

-
-
-
- array display_html_userWorkstations( -) -
-

- - This function will create the HTML page to edit the allowed workstations.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method get_metaData [line 98]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 890]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method init [line 420]

-
-
-
- void init( -string -$base) -
-

- - Initializes the module after it became part of an accountContainer



- - Overrides baseModule::init() (Initializes the module after it became part of an accountContainer)

-

Parameters:

-
- - - - - - -
string  $base  the name of the accountContainer object ($_SESSION[$base])
-

-
[ Top ]
-
-
- -

method load_attributes [line 471]

-
-
-
- void load_attributes( - -$attr, array -$attributes) -
-

- - This function loads the LDAP attributes for this module.



- - Overrides baseModule::load_attributes() (This function loads the LDAP attributes when an account should be loaded.)

-

Parameters:

-
- - - - - - - - - - - -
array  $attributes  attribute list
  $attr  
-

-
[ Top ]
-
-
- -

method load_Messages [line 59]

-
-
-
- void load_Messages( -) -
-

- - this functin fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 1159]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_complete [line 460]

-
-
-
- boolean module_complete( -) -
-

- - This functions returns true if all needed settings are done



-

Tags:

-
- - - - -
return:  true if ready to save account
-
-

- - Overrides baseModule::module_complete() (This functions is used to check if all settings for this module have been made.)

-
[ Top ]
-
-
- -

method module_ready [line 448]

-
-
-
- boolean module_ready( -) -
-

- - This function is used to check if this module page can be displayed.

It returns false if a module depends on data from other modules which was not yet entered.




-

Tags:

-
- - - - -
return:  true, if page can be displayed
-
-

- - Overrides baseModule::module_ready() (This function is used to check if this module page can be displayed.)

-
[ Top ]
-
-
- -

method process_attributes [line 526]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_userWorkstations [line 677]

-
-
-
- array process_userWorkstations( -) -
-

- - Processes user input of the workstation selection page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method save_attributes [line 494]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:48 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/sambaDomain.html b/lam-web/developers/devel/phpdoc/modules/sambaDomain.html deleted file mode 100644 index a6dbbf7b..00000000 --- a/lam-web/developers/devel/phpdoc/modules/sambaDomain.html +++ /dev/null @@ -1,735 +0,0 @@ - - -Docs For Class sambaDomain - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: sambaDomain

-Source Location: /lib/modules/sambaDomain.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --sambaDomain

-
Manages Samba 3 domain entries.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 35]
-Manages Samba 3 domain entries.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 551]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 213]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method get_metaData [line 44]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 630]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 187]

-
-
-
- void load_Messages( -) -
-

- - This function fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method process_attributes [line 395]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:49 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/sambaGroupMapping.html b/lam-web/developers/devel/phpdoc/modules/sambaGroupMapping.html deleted file mode 100644 index 7c643bd3..00000000 --- a/lam-web/developers/devel/phpdoc/modules/sambaGroupMapping.html +++ /dev/null @@ -1,897 +0,0 @@ - - -Docs For Class sambaGroupMapping - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: sambaGroupMapping

-Source Location: /lib/modules/sambaGroupMapping.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --sambaGroupMapping

-
Manages the object class "sambaGroupMapping" for groups.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 39]
-Manages the object class "sambaGroupMapping" for groups.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 52]

-
-
-
- sambaGroupMapping __construct( -string -$scope) -
-

- - Creates a new module for Samba 3 groups.



- - Overrides baseModule::__construct() (Creates a new base module class)

-

Parameters:

-
- - - - - - -
string  $scope  account type
-

-
[ Top ]
-
-
- -

method build_uploadAccounts [line 102]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 172]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method get_metaData [line 252]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 344]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method get_profileOptions [line 358]

-
-
-
- profile get_profileOptions( -) -
-

- - Returns a list of elements for the account profiles.



-

Tags:

-
- - - - -
return:  elements
-
-

- - Overrides baseModule::get_profileOptions() (This function defines what attributes will be used in the account profiles and their appearance in the profile editor.)

-
[ Top ]
-
-
- -

method init [line 84]

-
-
-
- void init( -string -$base) -
-

- - Initializes the module after it became part of an accountContainer



- - Overrides baseModule::init() (Initializes the module after it became part of an accountContainer)

-

Parameters:

-
- - - - - - -
string  $base  the name of the accountContainer object ($_SESSION[$base])
-

-
[ Top ]
-
-
- -

method load_Messages [line 396]

-
-
-
- void load_Messages( -) -
-

- - this functin fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 381]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_ready [line 409]

-
-
-
- boolean module_ready( -) -
-

- - This function is used to check if this module page can be displayed.

It returns false if a module depends on data from other modules which was not yet entered.




-

Tags:

-
- - - - -
return:  true, if page can be displayed
-
-

- - Overrides baseModule::module_ready() (This function is used to check if this module page can be displayed.)

-
[ Top ]
-
-
- -

method process_attributes [line 422]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method save_attributes [line 482]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:50 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/sambaMungedDial.html b/lam-web/developers/devel/phpdoc/modules/sambaMungedDial.html deleted file mode 100644 index 9775745f..00000000 --- a/lam-web/developers/devel/phpdoc/modules/sambaMungedDial.html +++ /dev/null @@ -1,1138 +0,0 @@ - - -Docs For Class sambaMungedDial - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: sambaMungedDial

-Source Location: /lib/modules/sambaSamAccount/sambaMungedDial.inc

- - - - - - - - - - -
- -

Class Overview

-

-
Manages terminal server settings for Samba 3.


-

Author(s):

-
    -
  • Cajus Pollmeier
  • -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 57]
-Manages terminal server settings for Samba 3.



-

Tags:

-
- - - - -
author:  Cajus Pollmeier
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$ctx = array(
-     'CtxCfgPresent' =>              '551e0bb0',
-     'CtxCfgFlags1' =>                '00e00010',
-     'CtxCallback' =>                '',
-     'CtxShadow' =>                   '01000000',
-     'CtxMaxConnectionTime' =>      '',
-     'CtxMaxDisconnectionTime' =>   '',
-     'CtxMaxIdleTime' =>             '',
-     'CtxKeyboardLayout' =>           '',
-     'CtxMinEncryptionLevel' =>     '00',
-     'CtxWorkDirectory' =>            '',
-     'CtxNWLogonServer' =>            '',  
-     'CtxWFHomeDir' =>                 '',
-     'CtxWFHomeDirDrive' =>          '',
-     'CtxWFProfilePath' =>            '',
-     'CtxInitialProgram' =>           '',
-     'CtxCallbackNumber' =>          '')

-

[line 60]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ctxattributes = array("CtxCfgPresent", "CtxCfgFlags1", "CtxCallback",
-        "CtxShadow", "CtxMaxConnectionTime", "CtxMaxDisconnectionTime",
-        "CtxMaxIdleTime", "CtxKeyboardLayout", "CtxMinEncryptionLevel",
-        "CtxWorkDirectory", "CtxNWLogonServer", "CtxWFHomeDir",
-        "CtxWFHomeDirDrive", "CtxWFProfilePath", "CtxInitialProgram",
-        "CtxCallbackNumber")

-

[line 79]

-

-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

method decode_munged [line 250]

-
-
-
- void decode_munged( - -$munge) -
-

- - Takes a base64-encoded MungedDial-String and returns an array of included parameters and values



- - -

Parameters:

-
- - - - - - -
  $munge  
-

-
[ Top ]
-
-
- -

method encode_munged [line 176]

-
-
-
- void encode_munged( - -$params) -
-

- - Encode full MungedDial-String



- - -

Parameters:

-
- - - - - - -
  $params  
-

-
[ Top ]
-
-
- -

method endian [line 121]

-
-
-
- void endian( - -$src) -
-

- - endian



- - -

Parameters:

-
- - - - - - -
  $src  
-

-
[ Top ]
-
-
- -

method genTime [line 127]

-
-
-
- void genTime( - -$minutes) -
-

- - genTime



- - -

Parameters:

-
- - - - - - -
  $minutes  
-

-
[ Top ]
-
-
- -

method getBrokenConn [line 383]

-
-
-
- void getBrokenConn( -) -
-

- - gets Broken-Connection value: disconnect/reset



- - -
[ Top ]
-
-
- -

method getConnectClientDrives [line 488]

-
-
-
- void getConnectClientDrives( -) -
-

- - gets connect-client-drive-at-logon value: enabled/disabled



- - -
[ Top ]
-
-
- -

method getConnectClientPrinters [line 514]

-
-
-
- void getConnectClientPrinters( -) -
-

- - gets connect-client-printers-at-logon value: enabled/disabled



- - -
[ Top ]
-
-
- -

method getCtxMaxConnectionTimeF [line 568]

-
-
-
- void getCtxMaxConnectionTimeF( -) -
-

- - SMARTY: gets the checkbox state of "Connection"



- - -
[ Top ]
-
-
- -

method getCtxMaxDisconnectionTimeF [line 589]

-
-
-
- void getCtxMaxDisconnectionTimeF( -) -
-

- - SMARTY: gets the checkbox state of "Disconnection"



- - -
[ Top ]
-
-
- -

method getCtxMaxIdleTimeF [line 610]

-
-
-
- void getCtxMaxIdleTimeF( -) -
-

- - SMARTY: gets the checkbox state of "Idle"



- - -
[ Top ]
-
-
- -

method getDefaultPrinter [line 541]

-
-
-
- void getDefaultPrinter( -) -
-

- - gets set-client-printer-to-default value: enabled/disabled



- - -
[ Top ]
-
-
- -

method getInheritMode [line 437]

-
-
-
- void getInheritMode( -) -
-

- - gets Inherit-config-from-client value: enabled/disabled



- - -
[ Top ]
-
-
- -

method getMunged [line 311]

-
-
-
- void getMunged( -) -
-

- - Returns ready-to-run mungedDialString to be filled into ldap



- - -
[ Top ]
-
-
- -

method getOnDemandFlags [line 325]

-
-
-
- void getOnDemandFlags( -) -
-

- - Returns array of flags, which can be set on-demand with activated java-script



- - -
[ Top ]
-
-
- -

method getReConn [line 410]

-
-
-
- void getReConn( -) -
-

- - gets Reconnection value: from any client/from previous client only



- - -
[ Top ]
-
-
- -

method getShadow [line 465]

-
-
-
- void getShadow( -) -
-

- - gets shadow value (enum): 0-4



- - -
[ Top ]
-
-
- -

method getTsLogin [line 355]

-
-
-
- void getTsLogin( -) -
-

- - Gets Terminal-Server-Login value: enabled/disabled



- - -
[ Top ]
-
-
- -

method hexstr [line 109]

-
-
-
- void hexstr( - -$hex) -
-

- - hexstr



- - -

Parameters:

-
- - - - - - -
  $hex  
-

-
[ Top ]
-
-
- -

method is_samba_path [line 162]

-
-
-
- void is_samba_path( - -$path) -
-

- - Checks if this is a valid Samba path.



- - -

Parameters:

-
- - - - - - -
  $path  
-

-
[ Top ]
-
-
- -

method load [line 305]

-
-
-
- void load( - -$mungedDial) -
-

- - function takes a base64-encoded sambaMungedDial



- - -

Parameters:

-
- - - - - - -
  $mungedDial  
-

-
[ Top ]
-
-
- -

method munge [line 212]

-
-
-
- void munge( - -$paramName, -$paramValue, -$isString) -
-

- - Setup parameter given by paramName to MungedDial-Format



- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
  $paramName  
  $paramValue  
  $isString  
-

-
[ Top ]
-
-
- -

method readTime [line 135]

-
-
-
- void readTime( - -$time) -
-

- - readTime



- - -

Parameters:

-
- - - - - - -
  $time  
-

-
[ Top ]
-
-
- -

method setBrokenConn [line 396]

-
-
-
- void setBrokenConn( - -$checked) -
-

- - sets Broken-Connection value: disconnect/reset



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setConnectClientDrives [line 501]

-
-
-
- void setConnectClientDrives( - -$checked) -
-

- - sets connect-client-drive-at-logon value: enabled/disabled



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setConnectClientPrinters [line 527]

-
-
-
- void setConnectClientPrinters( - -$checked) -
-

- - sets connect-client-printers-at-logon value: enabled/disabled



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setCtxMaxConnectionTimeF [line 581]

-
-
-
- void setCtxMaxConnectionTimeF( - -$checked) -
-

- - SMARTY: sets the checkbox "Connection" to unchecked



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setCtxMaxDisconnectionTimeF [line 602]

-
-
-
- void setCtxMaxDisconnectionTimeF( - -$checked) -
-

- - SMARTY: sets the checkbox "Disconnection" to unchecked



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setCtxMaxIdleTimeF [line 623]

-
-
-
- void setCtxMaxIdleTimeF( - -$checked) -
-

- - SMARTY: sets the checkbox "Idle" to unchecked



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setDefaultPrinter [line 554]

-
-
-
- void setDefaultPrinter( - -$checked) -
-

- - sets set-client-printer-to-default value: enabled/disabled



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setInheritMode [line 449]

-
-
-
- void setInheritMode( - -$checked) -
-

- - sets Inherit-config-from-client value: enabled/disabled



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setReConn [line 423]

-
-
-
- void setReConn( - -$checked) -
-

- - sets Reconnection value: from any client/from previous client only



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method setShadow [line 476]

-
-
-
- void setShadow( - -$checked, -$value) -
-

- - sets shadow value



- - -

Parameters:

-
- - - - - - - - - - - -
  $checked  
  $value  
-

-
[ Top ]
-
-
- -

method setTsLogin [line 369]

-
-
-
- void setTsLogin( - -$checked) -
-

- - Sets Terminal-Server-Login value: enabled/disabled



- - -

Parameters:

-
- - - - - - -
  $checked  
-

-
[ Top ]
-
-
- -

method strhex [line 97]

-
-
-
- void strhex( - -$string) -
-

- - strhex



- - -

Parameters:

-
- - - - - - -
  $string  
-

-
[ Top ]
-
-
- -

method to8bit [line 147]

-
-
-
- void to8bit( - -$string) -
-

- - to8bit



- - -

Parameters:

-
- - - - - - -
  $string  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:51 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/sambaSamAccount.html b/lam-web/developers/devel/phpdoc/modules/sambaSamAccount.html deleted file mode 100644 index cceffbdf..00000000 --- a/lam-web/developers/devel/phpdoc/modules/sambaSamAccount.html +++ /dev/null @@ -1,1182 +0,0 @@ - - -Docs For Class sambaSamAccount - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: sambaSamAccount

-Source Location: /lib/modules/sambaSamAccount.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --sambaSamAccount

-
Manages the object class "sambaSamAccount" for users and hosts.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 42]
-Manages the object class "sambaSamAccount" for users and hosts.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

constructor __construct [line 66]

-
-
-
- sambaSamAccount __construct( -string -$scope) -
-

- - Creates a new sambaSamAccount object.



- - Overrides baseModule::__construct() (Creates a new base module class)

-

Parameters:

-
- - - - - - -
string  $scope  account type (user, group, host)
-

-
[ Top ]
-
-
- -

method build_uploadAccounts [line 1736]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method checkSelfServiceOptions [line 2070]

-
-
-
- array checkSelfServiceOptions( -string -$fields, array -$attributes) -
-

- - Checks if all input values are correct and returns the LDAP commands which should be executed.



-

Tags:

-
- - - - -
return:  messages and LDAP commands (array('messages' => array(), 'add' => array(), 'del' => array(), 'mod' => array()))
-
-

- - Overrides baseModule::checkSelfServiceOptions() (Checks if all input values are correct and returns the LDAP attributes which should be changed.)

-

Parameters:

-
- - - - - - - - - - - -
string  $fields  input fields
array  $attributes  LDAP attributes
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 909]

-
-
-
- array display_html_attributes( -) -
-

- - Returns the HTML meta data for the main account page.



-

Tags:

-
- - - - -
return:  HTML meta data
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_logonHours [line 1183]

-
-
-
- array display_html_logonHours( -) -
-

- - This function will create the HTML page to edit logon hours.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_sambaUserWorkstations [line 1149]

-
-
-
- array display_html_sambaUserWorkstations( -) -
-

- - This function will create the HTML page to edit the allowed workstations.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_terminalServer [line 1296]

-
-
-
- array display_html_terminalServer( -) -
-

- - This function will create the HTML page to edit the terminal server options.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method display_html_time [line 1246]

-
-
-
- array display_html_time( -) -
-

- - This function will create the meta HTML code to show a page to change time values.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method get_metaData [line 120]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 1634]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method get_profileOptions [line 1417]

-
-
-
- profile get_profileOptions( -) -
-

- - Returns a list of elements for the account profiles.



-

Tags:

-
- - - - -
return:  elements
-
-

- - Overrides baseModule::get_profileOptions() (This function defines what attributes will be used in the account profiles and their appearance in the profile editor.)

-
[ Top ]
-
-
- -

method init [line 516]

-
-
-
- void init( -string -$base) -
-

- - Initializes the module after it became part of an accountContainer



- - Overrides baseModule::init() (Initializes the module after it became part of an accountContainer)

-

Parameters:

-
- - - - - - -
string  $base  the name of the accountContainer object ($_SESSION[$base])
-

-
[ Top ]
-
-
- -

method load_attributes [line 549]

-
-
-
- void load_attributes( - -$attr, array -$attributes) -
-

- - This function loads the LDAP attributes for this module.



- - Overrides baseModule::load_attributes() (This function loads the LDAP attributes when an account should be loaded.)

-

Parameters:

-
- - - - - - - - - - - -
array  $attributes  attribute list
  $attr  
-

-
[ Top ]
-
-
- -

method load_Messages [line 79]

-
-
-
- void load_Messages( -) -
-

- - this functin fills the error message array with messages



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 1542]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method module_ready [line 536]

-
-
-
- boolean module_ready( -) -
-

- - This function is used to check if this module page can be displayed.

It returns false if a module depends on data from other modules which was not yet entered.




-

Tags:

-
- - - - -
return:  true, if page can be displayed
-
-

- - Overrides baseModule::module_ready() (This function is used to check if this module page can be displayed.)

-
[ Top ]
-
-
- -

method process_attributes [line 586]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_logonHours [line 810]

-
-
-
- array process_logonHours( -) -
-

- - Processes user input of the logon hours page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method process_sambaUserWorkstations [line 760]

-
-
-
- array process_sambaUserWorkstations( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method process_terminalServer [line 878]

-
-
-
- array process_terminalServer( -) -
-

- - Processes user input of the terminal server page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method process_time [line 836]

-
-
-
- array process_time( -) -
-

- - Processes user input of the time selection page.



-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method save_attributes [line 572]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:51 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/shadowAccount.html b/lam-web/developers/devel/phpdoc/modules/shadowAccount.html deleted file mode 100644 index 03284710..00000000 --- a/lam-web/developers/devel/phpdoc/modules/shadowAccount.html +++ /dev/null @@ -1,841 +0,0 @@ - - -Docs For Class shadowAccount - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: shadowAccount

-Source Location: /lib/modules/shadowAccount.inc

- - - - - - - - - -
- -

Class Overview

-
baseModule
-   |
-   --shadowAccount

-
Manages the object class "shadowAccount" for users.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

- -
-

Inherited Methods

-
-

Class: baseModule

-
-
- baseModule::__construct() -
-
- Creates a new base module class -
-
- baseModule::build_uploadAccounts() -
-
- In this function the LDAP accounts are built. -
-
- baseModule::can_manage() -
-
- Returns true if this module can manage accounts of the current type, otherwise false. -
-
- baseModule::checkSelfServiceOptions() -
-
- Checks if all input values are correct and returns the LDAP attributes which should be changed. -
-
- baseModule::checkSelfServiceSettings() -
-
- Checks if the self service settings are valid. -
-
- baseModule::check_configOptions() -
-
- Checks input values of module settings. -
-
- baseModule::check_profileOptions() -
-
- Checks input values of account profiles. -
-
- baseModule::delete_attributes() -
-
- This function returns an array with the same syntax as save_attributes(). -
-
- baseModule::display_html_attributes() -
-
- This function creates meta HTML code to display the module page. -
-
- baseModule::display_html_delete() -
-
- This function creates meta HTML code which will be displayed when an account should be deleted. -
-
- baseModule::doUploadPostActions() -
-
- This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..). -
-
- baseModule::getAccountContainer() -
-
- Returns the accountContainer object. -
-
- baseModule::getAttributes() -
-
- Returns the LDAP attributes which are managed in this module. -
-
- baseModule::getButtonStatus() -
-
- Controls if the module button the account page is visible and activated. -
-
- baseModule::getIcon() -
-
- Returns the path to the module icon. -
-
- baseModule::getLDAPAliases() -
-
- Returns a list of aliases for LDAP attributes. -
-
- baseModule::getManagedAttributes() -
-
- Returns a list of LDAP attributes which are managed by this module. -
-
- baseModule::getManagedObjectClasses() -
-
- Returns a list of managed object classes for this module. -
-
- baseModule::getOriginalAttributes() -
-
- Returns the LDAP attributes which are managed in this module (with unchanged values). -
-
- baseModule::getRequiredExtensions() -
-
- This function returns a list of PHP extensions (e.g. mhash) which are needed by this module. -
-
- baseModule::getSelfServiceFields() -
-
- Returns a list of possible input fields and their descriptions. -
-
- baseModule::getSelfServiceOptions() -
-
- Returns the meta HTML code for each input field. -
-
- baseModule::getSelfServiceSearchAttributes() -
-
- This function returns a list of possible LDAP attributes (e.g. uid, cn, ...) which can be used to search for LDAP objects. -
-
- baseModule::getSelfServiceSettings() -
-
- Returns a list of self service configuration settings. -
-
- baseModule::get_alias() -
-
- Returns an alias name for the module. -
-
- baseModule::get_configOptions() -
-
- Returns a list of configuration options. -
-
- baseModule::get_dependencies() -
-
- This function returns a list with all depending and conflicting modules. -
-
- baseModule::get_help() -
-
- This function returns the help entry array for a specific help id. -
-
- baseModule::get_ldap_filter() -
-
- Returns an LDAP filter for the account lists -
-
- baseModule::get_metaData() -
-
- This function provides meta data which is interpreted by baseModule. -
-
- baseModule::get_pdfFields() -
-
- Returns a hashtable with all entries that may be printed out in the PDF. -
-
- baseModule::get_profileOptions() -
-
- This function defines what attributes will be used in the account profiles and their appearance in the profile editor. -
-
- baseModule::get_RDNAttributes() -
-
- Returns a hash array containing a list of possible LDAP attributes that can be used to form the RDN (Relative Distinguished Name). -
-
- baseModule::get_scope() -
-
- Returns the account type of this module (user, group, host) -
-
- baseModule::get_uploadColumns() -
-
- Returns an array containing all input columns for the file upload. -
-
- baseModule::get_uploadPreDepends() -
-
- Returns a list of module names which must be processed in building the account befor this module. -
-
- baseModule::init() -
-
- Initializes the module after it became part of an accountContainer -
-
- baseModule::is_base_module() -
-
- Returns true if your module is a base module and otherwise false. -
-
- baseModule::load_attributes() -
-
- This function loads the LDAP attributes when an account should be loaded. -
-
- baseModule::load_Messages() -
-
- This function fills the $messages variable with output messages from this module. -
-
- baseModule::load_profile() -
-
- This function loads the values from an account profile to the module's internal data structures. -
-
- baseModule::module_complete() -
-
- This functions is used to check if all settings for this module have been made. -
-
- baseModule::module_ready() -
-
- This function is used to check if this module page can be displayed. -
-
- baseModule::postDeleteActions() -
-
- Allows the module to run commands after the LDAP entry is deleted. -
-
- baseModule::postModifyActions() -
-
- Allows the module to run commands after the LDAP entry is changed or created. -
-
- baseModule::preDeleteActions() -
-
- Allows the module to run commands before the LDAP entry is deleted. -
-
- baseModule::preModifyActions() -
-
- Allows the module to run commands before the LDAP entry is changed or created. -
-
- baseModule::process_attributes() -
-
- This function processes user input. -
-
- baseModule::save_attributes() -
-
- Returns a list of modifications which have to be made to the LDAP account. -
-
-
-
-
- - -

Class Details

-
-[line 39]
-Manages the object class "shadowAccount" for users.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method build_uploadAccounts [line 379]

-
-
-
- array build_uploadAccounts( -array -$rawAccounts, array -$ids, -&$partialAccounts, array -$partialAccounts) -
-

- - In this function the LDAP account is built up.



-

Tags:

-
- - - - -
return:  list of error messages if any
-
-

- - Overrides baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)

-

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
array  $rawAccounts  list of hash arrays (name => value) from user input
array  $partialAccounts  list of hash arrays (name => value) which are later added to LDAP
array  $ids  list of IDs for column position (e.g. "posixAccount_uid" => 5)
  &$partialAccounts  
-

-
[ Top ]
-
-
- -

method display_html_attributes [line 263]

-
-
-
- array display_html_attributes( -) -
-

- - This function will create the meta HTML code to show a page with all attributes.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - Overrides baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)

-
[ Top ]
-
-
- -

method display_html_expire [line 329]

-
-
-
- array display_html_expire( -) -
-

- - This function will create the meta HTML code to show a page with the expiration date.



-

Tags:

-
- - - - -
return:  meta HTML code
-
-

- - -
[ Top ]
-
-
- -

method get_metaData [line 66]

-
-
-
- array get_metaData( -) -
-

- - Returns meta data that is interpreted by parent class



-

Tags:

-
- - - - - - - -
return:  array with meta data
see:  baseModule::get_metaData()
-
-

- - Overrides baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)

-
[ Top ]
-
-
- -

method get_pdfEntries [line 364]

-
-
-
- array get_pdfEntries( -) -
-

- - Returns the PDF entries for this module.



-

Tags:

-
- - - - -
return:  list of possible PDF entries
-
-

- - -
[ Top ]
-
-
- -

method load_Messages [line 44]

-
-
-
- void load_Messages( -) -
-

- - This function builds up the message array.



- - Overrides baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)

-
[ Top ]
-
-
- -

method load_profile [line 459]

-
-
-
- void load_profile( -array -$profile) -
-

- - Loads the values of an account profile into internal variables.



- - Overrides baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)

-

Parameters:

-
- - - - - - -
array  $profile  hash array with profile values (identifier => value)
-

-
[ Top ]
-
-
- -

method process_attributes [line 243]

-
-
-
- array process_attributes( -) -
-

- - Processes user input of the primary module page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - Overrides baseModule::process_attributes() (This function processes user input.)

-
[ Top ]
-
-
- -

method process_expire [line 310]

-
-
-
- array process_expire( -) -
-

- - Processes user input of the expiration page.

It checks if all input values are correct and updates the associated LDAP attributes.




-

Tags:

-
- - - - -
return:  list of info/error messages
-
-

- - -
[ Top ]
-
-
- -

method save_attributes [line 225]

-
-
-
- array save_attributes( -) -
-

- - Returns a list of modifications which have to be made to the LDAP account.



-

Tags:

-
- - - - -
return:  list of modifications
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to LDAP entry
"remove" are attributes which have to be removed from LDAP entry
"modify" are attributes which have to been modified in LDAP entry
-
-

- - Overrides baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:56 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/modules/smbHash.html b/lam-web/developers/devel/phpdoc/modules/smbHash.html deleted file mode 100644 index 23eaf421..00000000 --- a/lam-web/developers/devel/phpdoc/modules/smbHash.html +++ /dev/null @@ -1,309 +0,0 @@ - - -Docs For Class smbHash - - - - - - - - - - - - - -
modules
- - - [ class tree: modules ] - [ index: modules ] - [ all elements ] -
- - - - - - -
-
- -

Class: smbHash

-Source Location: /lib/createntlm.inc

- - - - - - - - - -
- -

Class Overview

-

-
Calculates NT and LM hashes.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 41]
-Calculates NT and LM hashes.

The important functions are lmhash($password) and nthash($password).




-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method doHash [line 189]

-
-
-
- array doHash( -array -$in, array -$key, boolean -$forw) -
-

- -

- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
array  $in  
array  $key  
boolean  $forw  
-

-
[ Top ]
-
-
- -

method lmhash [line 334]

-
-
-
- string lmhash( -[string -$password = ""]) -
-

- - Calculates the LM hash of a given password.



-

Tags:

-
- - - - - - - -
return:  hash value
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $password  password
-

-
[ Top ]
-
-
- -

method nthash [line 351]

-
-
-
- string nthash( -[string -$password = ""]) -
-

- - Calculates the NT hash of a given password.



-

Tags:

-
- - - - - - - -
return:  hash value
access:  public
-
-

- - -

Parameters:

-
- - - - - - -
string  $password  password
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:24 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/profiles/_lib---profiles.inc.html b/lam-web/developers/devel/phpdoc/profiles/_lib---profiles.inc.html deleted file mode 100644 index 7bee24f0..00000000 --- a/lam-web/developers/devel/phpdoc/profiles/_lib---profiles.inc.html +++ /dev/null @@ -1,245 +0,0 @@ - - -Docs for page profiles.inc - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: profiles.inc

-Source Location: /lib/profiles.inc

- -
-
- - -

Page Details:

-This file provides functions to load and save account profiles.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
-
- -

delAccountProfile [line 147]

-
-
-
- boolean delAccountProfile( -string $file, string $scope) -
-

- - Deletes an account profile



-

Tags:

-
- - - - -
return:  true if profile was deleted
-
-

- -

Parameters

- - - - - - - - - - - -
string  $file  name of profile (Without .<scope> extension)
string  $scope  account type
-
[ Top ]


-
-
- -

getAccountProfiles [line 38]

-
-
-
- array getAccountProfiles( -string $scope) -
-

- - Returns an array of string with all available profiles for the given account type



-

Tags:

-
- - - - -
return:  profile names
-
-

- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
-
- -

loadAccountProfile [line 66]

-
-
-
- array loadAccountProfile( -string $profile, string $scope) -
-

- - Loads an profile of the given account type



-

Tags:

-
- - - - -
return:  hash array (attribute => value)
-
-

- -

Parameters

- - - - - - - - - - - -
string  $profile  name of the profile (without .<scope> extension)
string  $scope  account type
-
[ Top ]


-
-
- -

saveAccountProfile [line 110]

-
-
-
- boolean saveAccountProfile( -array $attributes, string $profile, string $scope) -
-

- - Saves an hash array (attribute => value) to an account profile

file is created, if needed




-

Tags:

-
- - - - -
return:  true, if saving succeeded
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $profile  name of the account profile (without .<scope> extension)
array  $attributes  hash array (attribute => value)
string  $scope  account type
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profiledelete.php.html b/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profiledelete.php.html deleted file mode 100644 index ff790dc4..00000000 --- a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profiledelete.php.html +++ /dev/null @@ -1,104 +0,0 @@ - - -Docs for page profiledelete.php - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: profiledelete.php

-Source Location: /templates/profedit/profiledelete.php

- -
-
- - -

Page Details:

-Manages deletion of profiles.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/profiles.inc") [line 34]
-helper functions for profiles

include_once("../../lib/ldap.inc") [line 36]
-access to LDAP server

include_once("../../lib/config.inc") [line 38]
-access to configuration options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilemain.php.html b/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilemain.php.html deleted file mode 100644 index 2b3221d3..00000000 --- a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilemain.php.html +++ /dev/null @@ -1,104 +0,0 @@ - - -Docs for page profilemain.php - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: profilemain.php

-Source Location: /templates/profedit/profilemain.php

- -
-
- - -

Page Details:

-This is the main window of the profile editor.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/profiles.inc") [line 34]
-helper functions for profiles

include_once("../../lib/ldap.inc") [line 36]
-access to LDAP server

include_once("../../lib/config.inc") [line 38]
-access to configuration options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilepage.php.html b/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilepage.php.html deleted file mode 100644 index 0b686bd8..00000000 --- a/lam-web/developers/devel/phpdoc/profiles/_templates---profedit---profilepage.php.html +++ /dev/null @@ -1,106 +0,0 @@ - - -Docs for page profilepage.php - - - - - - - - - - - - - -
profiles
- - - [ class tree: profiles ] - [ index: profiles ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: profilepage.php

-Source Location: /templates/profedit/profilepage.php

- -
-
- - -

Page Details:

-Manages creating/changing of profiles.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/profiles.inc") [line 34]
-helper functions for profiles

include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/ldap.inc") [line 36]
-access to LDAP server

include_once("../../lib/config.inc") [line 38]
-access to configuration options

include_once("../../lib/status.inc") [line 42]
-Used to display status messages

include_once("../../lib/modules.inc") [line 40]
-access to account modules

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:47 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/ric_INSTALL.html b/lam-web/developers/devel/phpdoc/ric_INSTALL.html deleted file mode 100644 index acbcc136..00000000 --- a/lam-web/developers/devel/phpdoc/ric_INSTALL.html +++ /dev/null @@ -1,128 +0,0 @@ - - -INSTALL - - - - - - - - - - - - - -
default
- - [ all elements ] -
- - - - - - -
-
- -

INSTALL

-
-
-Installation Instructions for LAM
----------------------------------
-
-
-1. Requirements
-
-   - Apache webserver (SSL optional) with PHP module (PHP 5 (>= 5.1) with
-     ldap, gettext, xml and optional mcrypt)
-   - some LAM plugins may require additional PHP extensions (you will get a
-     note on the login page if something is missing)
-   - Perl (optional, needed only for lamdaemon)
-   - OpenLDAP (>2.0)
-   - A web browser :-)
-
-   MHash is only needed for Samba password hashes.
-   MCrypt will be used to store your LDAP password encrypted in the session file.
-
-
-   See docs/README.schema.txt for information about used LDAP schema files.
-
-
-2. Installation
-
-   1. Extract package with:
-      tar xzf ldap-account-manager-<version>.tar.gz
-
-
-   2. Install the files
-
-   2a. Copy the files into the html-file scope of the webserver. For example
-       /apache/htdocs.
-
-       Set appropriate file permissions:
-        - lam/sess: write permission for apache user
-        - lam/tmp: write permission for apache user
-        - lam/config (with subdirectories): write permission for apache user
-        - lam/lib: lamdaemon.pl must be set executable (See also
-          docs/readme.lamdeamon.txt)
-
-   2b. You can also use the included configure script to install LAM. See
-       "./configure --help" for a list of install options.
-
-
-   3. Configure config.cfg and create a configuration profile.
-      Copy config.cfg_sample to config.cfg and set the master password and default
-      profile.
-
-      Open the index.html in your web browser:
-       - Follow the link "Configuration Login" from the start page.
-        (The default password to edit the options is "lam")
-       - Select the default lam profile or create a new profile.
-       - Change the settings to fit your environment.
-
-
-
-3. Setting up PHP
-
-   LAM runs with PHP5 (>= 5.1).
-
-   Needed changes in your php.ini:
-
-    * memory_limit = 64M
-
-
-
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/ric_README.html b/lam-web/developers/devel/phpdoc/ric_README.html deleted file mode 100644 index 620363c1..00000000 --- a/lam-web/developers/devel/phpdoc/ric_README.html +++ /dev/null @@ -1,142 +0,0 @@ - - -README - - - - - - - - - - - - - -
default
- - [ all elements ] -
- - - - - - -
-
- -

README

-
-
-LAM - Readme
-============
-
-  LDAP Account Manager (LAM) manages user, group and host accounts in an LDAP
-  directory. LAM runs on any webserver with PHP5 support and connects to your
-  LDAP server unencrypted or via SSL/TLS.
-  Currently LAM supports these account types: Samba 2 and 3, Unix, Kolab 2,
-  address book entries, NIS mail aliases and MAC addresses. There is a tree
-  viewer included to allow access to the raw LDAP attributes. You can use
-  templates for account creation and use multiple configuration profiles.
-  LAM is translated to Catalan, Chinese (Traditional + Simplified), Czech,
-  Dutch, English, French, German, Hungarian, Italian, Japanese, Portuguese,
-  Russian and Spanish.
-
-  http://sourceforge.net/projects/lam/
-
-    Copyright (C) 2003 - 2007 Michael Duergner <michael@duergner.com>
-                              Roland Gruber <post@rolandgruber.de>
-                              Tilo Lutz <tilolutz@gmx.de>
-
-  Requirements:
-    PHP5 (>= 5.1)
-    Openldap (2.0 or greater)
-    A web-browser that supports CSS
-
-  Summary:
-    With LAM you can easily manage user, group and machine accounts stored in
-    an LDAP directory over a web interface. At the moment it supports:
-
-      - managing user/group/host/domain entries
-      - filtering and sorting
-      - account profiles
-      - multiple configuration profiles
-      - tree viwer
-      - schema browser
-      - OU Editor
-      - account creation via file upload
-      - PDF export for all accounts
-      - manage user/group Quota and create home directories
-
-  Important:
-    The default password to edit the configuration options is "lam".
-
-  Installation:
-    Please see the INSTALL file.
-
-  Documentation:
-    Basic documentation is available in the directory "docs".
-
-  Upgrade from older versions:
-    See docs/README.upgrade.txt for upgrade instructions.
-
-  Internationalisation:
-    If you want to use a translated version of LAM be sure to install the
-    needed locales. See the LAM "locale" directory for a list of supported locales and languages.
-    You can get a list of all installed locales on your sysem by executing: locale -a
-    Debian users can add locales with "dpkg-reconfigure locales".
-
-  Security:
-    It is strongly recommended to use a SSL connection to your web server.
-
-    LAM needs to store your LDAP user name + password in the session. The session
-    files are saved in sess/ and are accessible only by the web server. To increase
-    security username and password are encrypted with MCrypt/AES if available.
-    The key and IV are generated at random when you log in. They are stored in two
-    cookies.
- 
-  Download:
-    You can get the newest version at http://lam.sourceforge.net/.
-
-  License:
-    LAM is published under the GNU General Public License.
-    The complete list of licenses can be found in the copyright file.
-
-
-    Have fun!
-        The LAM devel team
-
-
-
-
- Documentation generated on Thu, 07 Feb 2008 20:26:14 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/selfService/_lib---selfService.inc.html b/lam-web/developers/devel/phpdoc/selfService/_lib---selfService.inc.html deleted file mode 100644 index 7fb91194..00000000 --- a/lam-web/developers/devel/phpdoc/selfService/_lib---selfService.inc.html +++ /dev/null @@ -1,450 +0,0 @@ - - -Docs for page selfService.inc - - - - - - - - - - - - - -
selfService
- - - [ class tree: selfService ] - [ index: selfService ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: selfService.inc

-Source Location: /lib/selfService.inc

- -
-
- -
-

Classes:

-
selfServiceProfile
-
Includes all settings of a self service profile.
-


- -

Page Details:

-Interface between modules and self service pages.

This file also includes the self service profile class and helper functions.




-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("modules.inc") [line 34]
-modules

include_once("types.inc") [line 36]
-account types

-

-

-
-
- -

checkSelfServiceOptions [line 116]

-
-
-
- array checkSelfServiceOptions( -string $scope, string $fields, array $attributes) -
-

- - Checks if all input values are correct and returns the LDAP commands which should be executed.



-

Tags:

-
- - - - -
return:  messages and LDAP commands (array('messages' => array(), 'add' => array(), 'del' => array(), 'mod' => array()))
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $scope  account type
string  $fields  input fields (array(<moduleName> => array(<field1>, <field2>, ...)))
array  $attributes  LDAP attributes
-
[ Top ]


-
-
- -

checkSelfServiceSettings [line 238]

-
-
-
- array checkSelfServiceSettings( -string $scope, array $options) -
-

- - Checks if the self service settings are valid



-

Tags:

-
- - - - -
return:  list of error messages
-
-

- -

Parameters

- - - - - - - - - - - -
string  $scope  account type
array  $options  hash array containing all options (name => array(...))
-
[ Top ]


-
-
- -

getSelfServiceFieldSettings [line 75]

-
-
-
- array getSelfServiceFieldSettings( -string $scope) -
-

- - Returns the field settings for the self service.



-

Tags:

-
- - - - -
return:  settings
-
-

- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
-
- -

getSelfServiceOptions [line 95]

-
-
-
- array getSelfServiceOptions( -string $scope, array $fields, array $attributes) -
-

- - Returns meta HTML code for each self service field.



-

Tags:

-
- - - - -
return:  meta HTML code (array(<moduleName> => array(<field1> => array(<meta HTML>))))
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $scope  account type
array  $fields  input fields (array(<moduleName> => array(<field1>, <field2>, ...)))
array  $attributes  LDAP attributes (attribute names in lower case)
-
[ Top ]


-
-
- -

getSelfServiceProfiles [line 137]

-
-
-
- array getSelfServiceProfiles( -) -
-

- - Returns a list of all available self service profiles (without .conf)



-

Tags:

-
- - - - -
return:  profile names (array(<account type> => array(<profile1>, <profile2>, ...)))
-
-

- -
[ Top ]


-
-
- -

getSelfServiceSearchAttributes [line 55]

-
-
-
- array getSelfServiceSearchAttributes( -string $scope) -
-

- - Returns a list of possible search attributes for the self service.



-

Tags:

-
- - - - -
return:  attributes
-
-

- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
-
- -

getSelfServiceSettings [line 221]

-
-
-
- array getSelfServiceSettings( -string $scope) -
-

- - Returns a hash array (module name => elements) of all module options for the configuration page.



-

Tags:

-
- - - - -
return:  configuration options
-
-

- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
-
- -

isLAMProVersion [line 43]

-
-
-
- boolean isLAMProVersion( -) -
-

- - Returns if this is a LAM Pro installation.



-

Tags:

-
- - - - -
return:  LAM Pro installation
-
-

- -
[ Top ]


-
-
- -

loadSelfServiceProfile [line 161]

-
-
-
- selfServiceProfile loadSelfServiceProfile( -string $name, string $scope) -
-

- - Loads all settings of a self service profile.



-

Tags:

-
- - - - -
return:  true if file was readable
-
-

- -

Parameters

- - - - - - - - - - - -
string  $name  profile name
string  $scope  account type
-
[ Top ]


-
-
- -

saveSelfServiceProfile [line 194]

-
-
-
- boolean saveSelfServiceProfile( -string $name, string $scope, selfServiceProfile $profile) -
-

- - Saves a self service profile.

File is created, if needed




-

Tags:

-
- - - - -
return:  true, if saving succeeded
-
-

- -

Parameters

- - - - - - - - - - - - - - - - -
string  $name  name of the account profile
string  $scope  account type
selfServiceProfile  $profile  self service profile
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/selfService/selfServiceProfile.html b/lam-web/developers/devel/phpdoc/selfService/selfServiceProfile.html deleted file mode 100644 index b74a12a8..00000000 --- a/lam-web/developers/devel/phpdoc/selfService/selfServiceProfile.html +++ /dev/null @@ -1,407 +0,0 @@ - - -Docs For Class selfServiceProfile - - - - - - - - - - - - - -
selfService
- - - [ class tree: selfService ] - [ index: selfService ] - [ all elements ] -
- - - - - - -
-
- -

Class: selfServiceProfile

-Source Location: /lib/selfService.inc

- - - - - - - - - - -
- -

Class Overview

-

-
Includes all settings of a self service profile.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 255]
-Includes all settings of a self service profile.



-
[ Top ]

- -
- -

Class Variables

-
- -

-

$inputFields =

-

[line 285]

- input fields

Format: array(<module> => array(array('name' => <group name>, 'fields' => array(<field1>, <field2>))))




-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$LDAPPassword =

-

[line 267]

- LDAP password



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$LDAPSuffix =

-

[line 261]

- LDAP suffix



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$LDAPUser =

-

[line 264]

- LDAP user DN



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$loginAttributeText =

-

[line 276]

- describing text for search attribute



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$loginCaption =

-

[line 273]

- describing text for user login



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$mainPageText =

-

[line 279]

- describing text for self service main page



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$moduleSettings =

-

[line 288]

- configuration settings of modules



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$searchAttribute =

-

[line 270]

- LDAP search attribute



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$serverURL =

-

[line 258]

- server address



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor __construct [line 295]

-
-
-
- selfServiceProfile __construct( -) -
-

- - Constructor



- - -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tests/_tests---conf-main-test.php.html b/lam-web/developers/devel/phpdoc/tests/_tests---conf-main-test.php.html deleted file mode 100644 index cf9691bd..00000000 --- a/lam-web/developers/devel/phpdoc/tests/_tests---conf-main-test.php.html +++ /dev/null @@ -1,99 +0,0 @@ - - -Docs for page conf-main-test.php - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: conf-main-test.php

-Source Location: /tests/conf-main-test.php

- -
-
- - -

Page Details:

-This test reads all preferences from config.cfg. Then it writes new values and verifies if they were written. At last the old values are restored.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include("../lib/config.inc") [line 33]
-configuration interface

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:21 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tests/_tests---conf-test.php.html b/lam-web/developers/devel/phpdoc/tests/_tests---conf-test.php.html deleted file mode 100644 index cd18920a..00000000 --- a/lam-web/developers/devel/phpdoc/tests/_tests---conf-test.php.html +++ /dev/null @@ -1,99 +0,0 @@ - - -Docs for page conf-test.php - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: conf-test.php

-Source Location: /tests/conf-test.php

- -
-
- - -

Page Details:

-This test reads all preferences from lam.conf. Then it writes new values and verifies if they were written. At last the old values are restored.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include("../lib/config.inc") [line 33]
-access to configuration functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:21 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tests/_tests---status-test.php.html b/lam-web/developers/devel/phpdoc/tests/_tests---status-test.php.html deleted file mode 100644 index 8cd600db..00000000 --- a/lam-web/developers/devel/phpdoc/tests/_tests---status-test.php.html +++ /dev/null @@ -1,99 +0,0 @@ - - -Docs for page status-test.php - - - - - - - - - - - - - -
tests
- - - [ class tree: tests ] - [ index: tests ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: status-test.php

-Source Location: /tests/status-test.php

- -
-
- - -

Page Details:

-LDAP Account Manager status messages.



-

Tags:

-
- - - - -
author:  Michael Duergner
-
-

-

Includes:

-
-include_once("../lib/status.inc") [line 32]
-message displaying

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/LAMTool.html b/lam-web/developers/devel/phpdoc/tools/LAMTool.html deleted file mode 100644 index cc5bb39e..00000000 --- a/lam-web/developers/devel/phpdoc/tools/LAMTool.html +++ /dev/null @@ -1,294 +0,0 @@ - - -Docs For Class LAMTool - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: LAMTool

-Source Location: /templates/tools.php

- - - - - - - - - -
- -

Class Overview

-

-
Represents a tool.


-

Author(s):

-
    -
  • Roland Gruber
  • -
- - - - - - - -
-

Variables

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 140]
-Represents a tool.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$description =

-

[line 146]

- description text



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$link =

-

[line 149]

- link to tool page (relative to templates/)



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$name =

-

[line 143]

- name of the tool



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$requiresPasswordChanges =  false

-

[line 155]

- tool requires password change rights



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$requiresWriteAccess =  false

-

[line 152]

- tool requires write access to LDAP



-

Tags:

-
- - - - -
access:  public
-
- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- - - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/LdapExportInfo.html b/lam-web/developers/devel/phpdoc/tools/LdapExportInfo.html deleted file mode 100644 index 59e436b2..00000000 --- a/lam-web/developers/devel/phpdoc/tools/LdapExportInfo.html +++ /dev/null @@ -1,255 +0,0 @@ - - -Docs For Class LdapExportInfo - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: LdapExportInfo

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-

-
This class encapsulate informations about the ldap server from which the export is done.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - -
-
- - -

Class Details

-
-[line 84]
-This class encapsulate informations about the ldap server from which the export is done.

The following info are provided within this class:

$base_dn: if the source of the export is the ldap server, it indicates the base dn of the search. $query_filter: if the source of the export is the ldap server, it indicates the query filter for the search. $scope: if the source of the export is the ldap server, it indicates the scope of the search.




-
[ Top ]

- -
- -

Class Variables

-
- -

-

$base_dn =

-

[line 86]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$query_filter =

-

[line 87]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$scope =

-

[line 88]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor LdapExportInfo [line 98]

-
-
-
- LdapExportInfo LdapExportInfo( -[String -$base_dn = NULL], [String -$query_filter = NULL], [String -$scope = NULL]) -
-

- - Create a new LdapExportInfo object



- - -

Parameters:

-
- - - - - - - - - - - - - - - - -
String  $base_dn  the base_dn for the search in a ldap server
String  $query_filter  the query filter for the search
String  $scope  the scope of the search in a ldap server
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/MyCustomExporter.html b/lam-web/developers/devel/phpdoc/tools/MyCustomExporter.html deleted file mode 100644 index 00acde04..00000000 --- a/lam-web/developers/devel/phpdoc/tools/MyCustomExporter.html +++ /dev/null @@ -1,321 +0,0 @@ - - -Docs For Class MyCustomExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: MyCustomExporter

-Source Location: /lib/export.inc

- - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter
-      |
-      --MyCustomExporter

-


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: PlaExporter

-
-
- PlaExporter::$br -
-
- -
-
- PlaExporter::$exporter -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: PlaExporter

-
-
- PlaExporter::PlaExporter() -
-
- Constructor -
-
- PlaExporter::export() -
-
- Abstract method use to export data. -
-
- PlaExporter::is_safe_ascii() -
-
- Helper method to check if the attribute value should be base 64 encoded. -
-
- PlaExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaExporter::pla_num_entries() -
-
- Return the number of entries -
-
- PlaExporter::setOutputFormat() -
-
- Set the carriage return /linefeed for the export -
-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 792]
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method export [line 804]

-
-
-
- void export( -) -
-

- - When doing an exporter, the method export need to be overriden.

A basic implementation is provided here. Customize to your need




- - Overrides PlaExporter::export() (Abstract method use to export data.)

-
[ Top ]
-
-
- -

method MyCutsomExporter [line 794]

-
-
-
- void MyCutsomExporter( - -$exporter) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $exporter  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaAbstractExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaAbstractExporter.html deleted file mode 100644 index 731cbf98..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaAbstractExporter.html +++ /dev/null @@ -1,362 +0,0 @@ - - -Docs For Class PlaAbstractExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaAbstractExporter

-Source Location: /lib/export.inc

- - - - - - - - - -
- -

Class Overview

-

-
This class represents the base class of all exporters


-

Author(s):

-
    -
- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
PlaExporter
-
PlaExporter acts a wrapper around another exporter.
-
-
-
PlaLdapExporter
-
Export data from a ldap server
-
-
-
-
- - -

Class Details

-
-[line 119]
-This class represents the base class of all exporters

It can be subclassed directly if your intend is to write a source exporter(ie. it will act only as a decoree which will be wrapped by an another exporter.) If you consider writting an exporter for filtering data or directly display entries, please consider subclass the PlaExporter




-

Tags:

-
- - - - -
see:  PlaExporter
-
-


-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method pla_fetch_entry_array [line 137]

-
-
-
- array pla_fetch_entry_array( -) -
-

- - Return the entry as an array



-

Tags:

-
- - - - -
return:  an entry as an array
-
-

- -

Overridden in child classes as:
-

-
PlaExporter::pla_fetch_entry_array()
-
Return the entry as an array
-
-
-
PlaLdapExporter::pla_fetch_entry_array()
-
Return the entry as an array
-
-

- -
[ Top ]
-
-
- -

method pla_fetch_entry_object [line 143]

-
-
-
- Entry pla_fetch_entry_object( -) -
-

- - Return the entry as an Entry object



-

Tags:

-
- - - - -
return:  an entry as an Entry Object
-
-

- -

Overridden in child classes as:
-

-
PlaExporter::pla_fetch_entry_object()
-
Return the entry as an Entry object
-
-
-
PlaLdapExporter::pla_fetch_entry_object()
-
Return the entry as an Entry object
-
-

- -
[ Top ]
-
-
- -

method pla_get_ldap_info [line 149]

-
-
-
- LdapInfo pla_get_ldap_info( -) -
-

- - Return a PlaLdapInfo Object



-

Tags:

-
- - - - -
return:  Object with info from the ldap serveur
-
-

- -

Overridden in child classes as:
-

-
PlaExporter::pla_get_ldap_info()
-
Return a PlaLdapInfo Object
-
-
-
PlaLdapExporter::pla_get_ldap_info()
-
Return a PlaLdapInfo Object
-
-

- -
[ Top ]
-
-
- -

method pla_has_entry [line 131]

-
-
-
- bool pla_has_entry( -) -
-

- - Return true if there is some more entries to be processed



-

Tags:

-
- - - - -
return:  if there is some more entries to be processed
-
-

- -

Overridden in child classes as:
-

-
PlaExporter::pla_has_entry()
-
Return true if there is some more entries to be processed
-
-
-
PlaLdapExporter::pla_has_entry()
-
Return true if there is some more entries to be processed
-
-

- -
[ Top ]
-
-
- -

method pla_num_entries [line 125]

-
-
-
- int pla_num_entries( -) -
-

- - Return the number of entries



-

Tags:

-
- - - - -
return:  the number of entries to be exported
-
-

- -

Overridden in child classes as:
-

-
PlaExporter::pla_num_entries()
-
Return the number of entries
-
-
-
PlaLdapExporter::pla_num_entries()
-
Return the number of entries
-
-

- -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:27 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaCSVExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaCSVExporter.html deleted file mode 100644 index 866d0fb6..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaCSVExporter.html +++ /dev/null @@ -1,436 +0,0 @@ - - -Docs For Class PlaCSVExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaCSVExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter
-      |
-      --PlaCSVExporter

-
Export to cvs format


-

Author(s):

-
    -
  • Glen Ogilvie
  • -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: PlaExporter

-
-
- PlaExporter::$br -
-
- -
-
- PlaExporter::$exporter -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: PlaExporter

-
-
- PlaExporter::PlaExporter() -
-
- Constructor -
-
- PlaExporter::export() -
-
- Abstract method use to export data. -
-
- PlaExporter::is_safe_ascii() -
-
- Helper method to check if the attribute value should be base 64 encoded. -
-
- PlaExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaExporter::pla_num_entries() -
-
- Return the number of entries -
-
- PlaExporter::setOutputFormat() -
-
- Set the carriage return /linefeed for the export -
-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 684]
-Export to cvs format



-

Tags:

-
- - - - -
author:  Glen Ogilvie
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$escapeCode =  '"'

-

[line 698]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$multivalue_separator =  " | "

-

[line 697]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$qualifier =  '"'

-

[line 696]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$separator =  ","

-

[line 695]

- When doing an exporter, the method export need to be overriden.

A basic implementation is provided here. Customize to your need


-
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaCSVExporter [line 686]

-
-
-
- PlaCSVExporter PlaCSVExporter( - -$exporter) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $exporter  
-

-
[ Top ]
-
-
- -

method export [line 700]

-
-
-
- void export( -) -
-

- -

- - Overrides PlaExporter::export() (Abstract method use to export data.)

-
[ Top ]
-
-
- -

method LdapEscape [line 780]

-
-
-
- void LdapEscape( - -$var) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $var  
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:27 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaDsmlExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaDsmlExporter.html deleted file mode 100644 index 886eab5b..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaDsmlExporter.html +++ /dev/null @@ -1,375 +0,0 @@ - - -Docs For Class PlaDsmlExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaDsmlExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter
-      |
-      --PlaDsmlExporter

-
Export entries to DSML v.1


-

Author(s):

-
    -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: PlaExporter

-
-
- PlaExporter::$br -
-
- -
-
- PlaExporter::$exporter -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: PlaExporter

-
-
- PlaExporter::PlaExporter() -
-
- Constructor -
-
- PlaExporter::export() -
-
- Abstract method use to export data. -
-
- PlaExporter::is_safe_ascii() -
-
- Helper method to check if the attribute value should be base 64 encoded. -
-
- PlaExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaExporter::pla_num_entries() -
-
- Return the number of entries -
-
- PlaExporter::setOutputFormat() -
-
- Set the carriage return /linefeed for the export -
-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 478]
-Export entries to DSML v.1



-

Tags:

-
- - - - -
extends:  PlaExporter
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$counter =  0

-

[line 482]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$indent_step =  2

-

[line 481]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaDsmlExporter [line 488]

-
-
-
- PlaDsmlExporter PlaDsmlExporter( -PlaAbstractExporter -$exporter) -
-

- - Create a PlaDsmlExporter object



- - -

Parameters:

-
- - - - - - -
PlaAbstractExporter  $exporter  the decoree exporter
-

-
[ Top ]
-
-
- -

method export [line 495]

-
-
-
- void export( -) -
-

- - Export the entries to DSML



- - Overrides PlaExporter::export() (Abstract method use to export data.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:27 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaExporter.html deleted file mode 100644 index d01ef54b..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaExporter.html +++ /dev/null @@ -1,526 +0,0 @@ - - -Docs For Class PlaExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter

-
PlaExporter acts a wrapper around another exporter.


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Child classes:

-
-
-
PlaLdifExporter
-
Export entries to ldif format
-
-
-
PlaDsmlExporter
-
Export entries to DSML v.1
-
-
-
PlaVcardExporter
-
-
-
-
PlaCSVExporter
-
Export to cvs format
-
-
-
MyCustomExporter
-
-
-
-
-

Inherited Methods

-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 161]
-PlaExporter acts a wrapper around another exporter.

In other words, it will act as a decorator for another decorator




-
[ Top ]

- -
- -

Class Variables

-
- -

-

$br = "\n"

-

[line 163]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$exporter =

-

[line 165]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaExporter [line 171]

-
-
-
- PlaExporter PlaExporter( -source -$source) -
-

- - Constructor



- - -

Parameters:

-
- - - - - - -
source  $source  the decoree for this exporter
-

-
[ Top ]
-
-
- -

method export [line 233]

-
-
-
- void export( -) -
-

- - Abstract method use to export data.

Must be implemented in a sub-class if you write an exporter which export data. Leave it empty if you write a sub-class which do only some filtering.




- -

Overridden in child classes as:
-

-
PlaLdifExporter::export()
-
Export entries to ldif format
-
-
-
PlaDsmlExporter::export()
-
Export the entries to DSML
-
-
-
PlaVcardExporter::export()
-
When doing an exporter, the method export need to be overriden.
-
-
-
PlaCSVExporter::export()
-
-
-
-
MyCustomExporter::export()
-
When doing an exporter, the method export need to be overriden.
-
-

- -
[ Top ]
-
-
- -

method is_safe_ascii [line 220]

-
-
-
- bool is_safe_ascii( -String -$str) -
-

- - Helper method to check if the attribute value should be base 64 encoded.



-

Tags:

-
- - - - -
return:  true if the string is safe ascii, false otherwise.
-
-

- - -

Parameters:

-
- - - - - - -
String  $str  the string to check.
-

-
[ Top ]
-
-
- -

method pla_fetch_entry_array [line 195]

-
-
-
- array pla_fetch_entry_array( -) -
-

- - Return the entry as an array



-

Tags:

-
- - - - -
return:  an entry as an array
-
-

- - Overrides PlaAbstractExporter::pla_fetch_entry_array() (Return the entry as an array)

-
[ Top ]
-
-
- -

method pla_fetch_entry_object [line 203]

-
-
-
- Entry pla_fetch_entry_object( -) -
-

- - Return the entry as an Entry object



-

Tags:

-
- - - - -
return:  an entry as an Entry Object
-
-

- - Overrides PlaAbstractExporter::pla_fetch_entry_object() (Return the entry as an Entry object)

-
[ Top ]
-
-
- -

method pla_get_ldap_info [line 211]

-
-
-
- LdapInfo pla_get_ldap_info( -) -
-

- - Return a PlaLdapInfo Object



-

Tags:

-
- - - - -
return:  Object with info from the ldap serveur
-
-

- - Overrides PlaAbstractExporter::pla_get_ldap_info() (Return a PlaLdapInfo Object)

-
[ Top ]
-
-
- -

method pla_has_entry [line 187]

-
-
-
- bool pla_has_entry( -) -
-

- - Return true if there is some more entries to be processed



-

Tags:

-
- - - - -
return:  if there is some more entries to be processed
-
-

- - Overrides PlaAbstractExporter::pla_has_entry() (Return true if there is some more entries to be processed)

-
[ Top ]
-
-
- -

method pla_num_entries [line 179]

-
-
-
- int pla_num_entries( -) -
-

- - Return the number of entries



-

Tags:

-
- - - - -
return:  the number of entries to be exported
-
-

- - Overrides PlaAbstractExporter::pla_num_entries() (Return the number of entries)

-
[ Top ]
-
-
- -

method setOutputFormat [line 239]

-
-
-
- void setOutputFormat( -String -$br) -
-

- - Set the carriage return /linefeed for the export



- - -

Parameters:

-
- - - - - - -
String  $br  the CRLF to be set
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:28 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaLdapExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaLdapExporter.html deleted file mode 100644 index 5bf0324e..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaLdapExporter.html +++ /dev/null @@ -1,539 +0,0 @@ - - -Docs For Class PlaLdapExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaLdapExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaLdapExporter

-
Export data from a ldap server


-

Author(s):

-
    -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 252]
-Export data from a ldap server



-

Tags:

-
- - - - -
extends:  PlaAbstractExporter
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$attributes =

-

[line 261]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$entry_array =

-

[line 256]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$entry_id =

-

[line 253]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$hasNext =

-

[line 260]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$ldap_info =

-

[line 258]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$num_entries =

-

[line 257]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$queryFilter =

-

[line 259]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$results =

-

[line 254]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$scope =

-

[line 255]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaLdapExporter [line 268]

-
-
-
- PlaLdapExporter PlaLdapExporter( -String -$queryFilter, String -$base_dn, String -$scope, -$attributes) -
-

- - Create a PlaLdapExporter object.



- - -

Parameters:

-
- - - - - - - - - - - - - - - - - - - - - -
String  $queryFilter  the queryFilter for the export
String  $base_dn  the base_dn for the data to export
String  $scope  the scope for export
  $attributes  
-

-
[ Top ]
-
-
- -

method pla_fetch_entry_array [line 306]

-
-
-
- array pla_fetch_entry_array( -) -
-

- - Return the entry as an array



-

Tags:

-
- - - - -
return:  an entry as an array
-
-

- - Overrides PlaAbstractExporter::pla_fetch_entry_array() (Return the entry as an array)

-
[ Top ]
-
-
- -

method pla_fetch_entry_object [line 314]

-
-
-
- Entry pla_fetch_entry_object( -) -
-

- - Return the entry as an Entry object



-

Tags:

-
- - - - -
return:  an entry as an Entry Object
-
-

- - Overrides PlaAbstractExporter::pla_fetch_entry_object() (Return the entry as an Entry object)

-
[ Top ]
-
-
- -

method pla_get_ldap_info [line 322]

-
-
-
- LdapInfo pla_get_ldap_info( -) -
-

- - Return a PlaLdapInfo Object



-

Tags:

-
- - - - -
return:  Object with info from the ldap serveur
-
-

- - Overrides PlaAbstractExporter::pla_get_ldap_info() (Return a PlaLdapInfo Object)

-
[ Top ]
-
-
- -

method pla_has_entry [line 338]

-
-
-
- bool pla_has_entry( -) -
-

- - Return true if there is some more entries to be processed



-

Tags:

-
- - - - -
return:  if there is some more entries to be processed
-
-

- - Overrides PlaAbstractExporter::pla_has_entry() (Return true if there is some more entries to be processed)

-
[ Top ]
-
-
- -

method pla_num_entries [line 330]

-
-
-
- int pla_num_entries( -) -
-

- - Return the number of entries



-

Tags:

-
- - - - -
return:  the number of entries to be exported
-
-

- - Overrides PlaAbstractExporter::pla_num_entries() (Return the number of entries)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:28 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaLdifExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaLdifExporter.html deleted file mode 100644 index d2f31711..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaLdifExporter.html +++ /dev/null @@ -1,431 +0,0 @@ - - -Docs For Class PlaLdifExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaLdifExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter
-      |
-      --PlaLdifExporter

-
Export entries to ldif format


-

Author(s):

-
    -
- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: PlaExporter

-
-
- PlaExporter::$br -
-
- -
-
- PlaExporter::$exporter -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: PlaExporter

-
-
- PlaExporter::PlaExporter() -
-
- Constructor -
-
- PlaExporter::export() -
-
- Abstract method use to export data. -
-
- PlaExporter::is_safe_ascii() -
-
- Helper method to check if the attribute value should be base 64 encoded. -
-
- PlaExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaExporter::pla_num_entries() -
-
- Return the number of entries -
-
- PlaExporter::setOutputFormat() -
-
- Set the carriage return /linefeed for the export -
-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 378]
-Export entries to ldif format



-

Tags:

-
- - - - -
extends:  PlaExporter
-
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$counter =  0

-

[line 381]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$MAX_LDIF_LINE_LENGTH =  76

-

[line 384]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaLdifExporter [line 390]

-
-
-
- PlaLdifExporter PlaLdifExporter( -PlaAbstractExporter -$exporter) -
-

- - Create a PlaLdifExporter object



- - -

Parameters:

-
- - - - - - -
PlaAbstractExporter  $exporter  the source exporter
-

-
[ Top ]
-
-
- -

method displayExportInfo [line 439]

-
-
-
- void displayExportInfo( - -$pla_ldap_info) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $pla_ldap_info  
-

-
[ Top ]
-
-
- -

method export [line 397]

-
-
-
- void export( -) -
-

- - Export entries to ldif format



- - Overrides PlaExporter::export() (Abstract method use to export data.)

-
[ Top ]
-
-
- -

method multi_lines_display [line 452]

-
-
-
- void multi_lines_display( -String -$str) -
-

- - Helper method to wrap ldif lines



- - -

Parameters:

-
- - - - - - -
String  $str  the line to be wrapped if needed.
-

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:28 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/PlaVcardExporter.html b/lam-web/developers/devel/phpdoc/tools/PlaVcardExporter.html deleted file mode 100644 index 2855d345..00000000 --- a/lam-web/developers/devel/phpdoc/tools/PlaVcardExporter.html +++ /dev/null @@ -1,380 +0,0 @@ - - -Docs For Class PlaVcardExporter - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Class: PlaVcardExporter

-Source Location: /lib/export.inc

- - - - - - - - - - -
- -

Class Overview

-
PlaAbstractExporter
-   |
-   --PlaExporter
-      |
-      --PlaVcardExporter

-


- - - - - - - -
-

Variables

- -
-

Methods

- -
-
- - - - - - - - - - -
-

Inherited Variables

-
-

Class: PlaExporter

-
-
- PlaExporter::$br -
-
- -
-
- PlaExporter::$exporter -
-
- -
-
-
-
-

Inherited Methods

-
-

Class: PlaExporter

-
-
- PlaExporter::PlaExporter() -
-
- Constructor -
-
- PlaExporter::export() -
-
- Abstract method use to export data. -
-
- PlaExporter::is_safe_ascii() -
-
- Helper method to check if the attribute value should be base 64 encoded. -
-
- PlaExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaExporter::pla_num_entries() -
-
- Return the number of entries -
-
- PlaExporter::setOutputFormat() -
-
- Set the carriage return /linefeed for the export -
-
-

Class: PlaAbstractExporter

-
-
- PlaAbstractExporter::pla_fetch_entry_array() -
-
- Return the entry as an array -
-
- PlaAbstractExporter::pla_fetch_entry_object() -
-
- Return the entry as an Entry object -
-
- PlaAbstractExporter::pla_get_ldap_info() -
-
- Return a PlaLdapInfo Object -
-
- PlaAbstractExporter::pla_has_entry() -
-
- Return true if there is some more entries to be processed -
-
- PlaAbstractExporter::pla_num_entries() -
-
- Return the number of entries -
-
-
-
-
- - -

Class Details

-
-[line 565]
-


-
[ Top ]

- -
- -

Class Variables

-
- -

-

$deliveryAddress = array("postOfficeBox",
-            "street",
-            "l",
-            "st",
-            "postalCode",
-            "c")

-

[line 582]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

- -

-

$vcardMapping = array('cn' => 'FN',
-             'title' => 'TITLE',
-             'homePhone' => 'TEL;HOME',
-             'mobile' => 'TEL;CELL',
-             'mail' => 'EMAIL;Internet',
-             'labeledURI' =>'URL',
-             'o' => 'ORG',
-             'audio' => 'SOUND',
-             'facsmileTelephoneNumber' =>'TEL;WORK;HOME;VOICE;FAX',
-             'jpegPhoto' => 'PHOTO;ENCODING=BASE64',
-             'businessCategory' => 'ROLE',
-             'description' => 'NOTE'
-             )

-

[line 568]

- -
-
- - - - - -
Type:  mixed
-


-
[ Top ]

-

- -
- -

Class Methods

-
- -
- -

constructor PlaVcardExporter [line 589]

-
-
-
- PlaVcardExporter PlaVcardExporter( - -$exporter) -
-

- -

- - -

Parameters:

-
- - - - - - -
  $exporter  
-

-
[ Top ]
-
-
- -

method export [line 598]

-
-
-
- void export( -) -
-

- - When doing an exporter, the method export need to be overriden.

A basic implementation is provided here. Customize to your need




- - Overrides PlaExporter::export() (Abstract method use to export data.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:29 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/tools/_lib---export.inc.html b/lam-web/developers/devel/phpdoc/tools/_lib---export.inc.html deleted file mode 100644 index 4e954888..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_lib---export.inc.html +++ /dev/null @@ -1,247 +0,0 @@ - - -Docs for page export.inc - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: export.inc

-Source Location: /lib/export.inc

- -
-
- -
-

Classes:

-
LdapExportInfo
-
This class encapsulate informations about the ldap server from which the export is done.
-
PlaAbstractExporter
-
This class represents the base class of all exporters
-
PlaExporter
-
PlaExporter acts a wrapper around another exporter.
-
PlaLdapExporter
-
Export data from a ldap server
-
PlaLdifExporter
-
Export entries to ldif format
-
PlaDsmlExporter
-
Export entries to DSML v.1
-
PlaVcardExporter
-
-
PlaCSVExporter
-
Export to cvs format
-
MyCustomExporter
-
-


- -

Page Details:

-Functions and classes for exporting LDAP entries to others formats (LDIF,DSML,..) An example is provided at the bottom of this file if you want implement yours.



-

Tags:

-
- - - - - - - -
author:  The phpLDAPadmin development team
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('status.inc') [line 40]
-used to print status messages

-

-

-
-
- -

get_user_agent_string [line 847]

-
-
-
- String get_user_agent_string( -) -
-

- - Gets the USER_AGENT string from the $_SERVER array, all in lower case in an E_NOTICE safe manner.



-

Tags:

-
- - - - -
return:  The user agent string as reported by the browser.
-
-

- -
[ Top ]


-
-
- -

is_browser_os_mac [line 947]

-
-
-
- boolean is_browser_os_mac( -) -
-

- - Determines whether the browser's operating system is Macintosh.



-

Tags:

-
- - - - -
return:  True if the brower's OS is mac, false otherwise.
-
-

- -
[ Top ]


-
-
- -

is_browser_os_unix [line 859]

-
-
-
- boolean is_browser_os_unix( -) -
-

- - Determines whether the browser's operating system is UNIX (or something like UNIX).



-

Tags:

-
- - - - -
return:  True if the brower's OS is UNIX, false otherwise.
-
-

- -
[ Top ]


-
-
- -

is_browser_os_windows [line 910]

-
-
-
- boolean is_browser_os_windows( -) -
-

- - Determines whether the browser's operating system is Windows.



-

Tags:

-
- - - - -
return:  True if the brower's OS is Windows, false otherwise.
-
-

- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:26 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---massBuildAccounts.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---massBuildAccounts.php.html deleted file mode 100644 index 662b3fd1..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---massBuildAccounts.php.html +++ /dev/null @@ -1,130 +0,0 @@ - - -Docs for page massBuildAccounts.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: massBuildAccounts.php

-Source Location: /templates/massBuildAccounts.php

- -
-
- - -

Page Details:

-Creates the accounts by parsing the uploaded file.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 32]
-security functions

include_once('../lib/config.inc') [line 34]
-access to configuration

include_once('../lib/status.inc') [line 36]
-status messages

include_once('../lib/modules.inc') [line 38]
-account modules

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---massDoUpload.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---massDoUpload.php.html deleted file mode 100644 index c7a9e50d..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---massDoUpload.php.html +++ /dev/null @@ -1,132 +0,0 @@ - - -Docs for page massDoUpload.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: massDoUpload.php

-Source Location: /templates/massDoUpload.php

- -
-
- - -

Page Details:

-Creates LDAP accounts for file upload.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../lib/config.inc') [line 34]
-access to configuration

include_once("../lib/security.inc") [line 32]
-security functions

include_once('../lib/ldap.inc') [line 36]
-LDAP handle

include_once('../lib/status.inc') [line 38]
-status messages

include_once('../lib/cache.inc') [line 42]
-LAM cache

include_once('../lib/modules.inc') [line 40]
-account modules

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---masscreate.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---masscreate.php.html deleted file mode 100644 index 1e788613..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---masscreate.php.html +++ /dev/null @@ -1,186 +0,0 @@ - - -Docs for page masscreate.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: masscreate.php

-Source Location: /templates/masscreate.php

- -
-
- - -

Page Details:

-Start page of file upload



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once('../lib/config.inc') [line 34]
-access to configuration

include_once('../lib/status.inc') [line 36]
-status messages

include_once("../lib/security.inc") [line 32]
-security functions

include_once('../lib/modules.inc') [line 38]
-account modules

-

-

-
-
- -

showColumnData [line 295]

-
-
-
- void showColumnData( -string $module, array $data, string $scope) -
-

- - Prints the properties of one input field.



- -

Parameters

- - - - - - - - - - - - - - - - -
string  $module  account module name
array  $data  field data from modules
string  $scope  account type
-
[ Top ]


-
-
- -

showMainPage [line 123]

-
-
-
- void showMainPage( -string $scope) -
-

- - Displays the acount type specific main page of the upload.



- -

Parameters

- - - - - - -
string  $scope  account type
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:41 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---ou_edit.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---ou_edit.php.html deleted file mode 100644 index b091903a..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---ou_edit.php.html +++ /dev/null @@ -1,145 +0,0 @@ - - -Docs for page ou_edit.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: ou_edit.php

-Source Location: /templates/ou_edit.php

- -
-
- - -

Page Details:

-This is an editor for organizational units.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 32]
-security functions

include_once("../lib/config.inc") [line 34]
-access to configuration data

include_once("../lib/ldap.inc") [line 36]
-access LDAP server

include_once("../lib/status.inc") [line 38]
-used to print status messages

-

-

-
-
- -

display_main [line 144]

-
-
-
- void display_main( -) -
-

- -

- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:43 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---schema---schema.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---schema---schema.php.html deleted file mode 100644 index 5991d6a5..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---schema---schema.php.html +++ /dev/null @@ -1,133 +0,0 @@ - - -Docs for page schema.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: schema.php

-Source Location: /templates/schema/schema.php

- -
-
- - -

Page Details:

-Displays the LDAP schema of the server



-

Tags:

-
- - - - - - - -
author:  David Smith
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 35]
-security functions

include_once("../../lib/ldap.inc") [line 37]
-access to LDAP server

include_once("../../lib/config.inc") [line 39]
-access to configuration options

require_once("../../lib/schema.inc") [line 41]
-schema functions

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---tests---index.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---tests---index.php.html deleted file mode 100644 index 00f3accb..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---tests---index.php.html +++ /dev/null @@ -1,128 +0,0 @@ - - -Docs for page index.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: index.php

-Source Location: /templates/tests/index.php

- -
-
- - -

Page Details:

-Provides a list of LAM tests.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/config.inc") [line 34]
-access to configuration options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:33 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---tests---lamdaemonTest.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---tests---lamdaemonTest.php.html deleted file mode 100644 index 0131b6c9..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---tests---lamdaemonTest.php.html +++ /dev/null @@ -1,211 +0,0 @@ - - -Docs for page lamdaemonTest.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: lamdaemonTest.php

-Source Location: /templates/tests/lamdaemonTest.php

- -
-
- - -

Page Details:

-Tests the lamdaemon script.



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
author:  Thomas Manninger
-
-

-

Includes:

-
-include_once("../../lib/config.inc") [line 35]
-access to configuration options

include_once("../../lib/security.inc") [line 33]
-security functions

-

-

-
-
- -

lamRunLamdaemonTestSuite [line 193]

-
-
-
- void lamRunLamdaemonTestSuite( -String $serverName, String $serverTitle, boolean $testQuota) -
-

- - Runs all tests for a given server.



- -

Parameters

- - - - - - - - - - - - - - - - -
String  $serverName  server ID
String  $serverTitle  server name
boolean  $testQuota  true, if Quotas should be checked
-
[ Top ]


-
-
- -

lamTestLamdaemon [line 131]

-
-
-
- boolean lamTestLamdaemon( -string $command, boolean $stopTest, connection $handle, string $testText) -
-

- - Runs a test case of lamdaemon.



-

Tags:

-
- - - - -
return:  true, if errors occured
-
-

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - -
string  $command  test command
boolean  $stopTest  specifies if test should be run
connection  $handle  SSH connection
string  $testText  describing text
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:36 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---tests---schemaTest.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---tests---schemaTest.php.html deleted file mode 100644 index b63eafd4..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---tests---schemaTest.php.html +++ /dev/null @@ -1,199 +0,0 @@ - - -Docs for page schemaTest.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: schemaTest.php

-Source Location: /templates/tests/schemaTest.php

- -
-
- - -

Page Details:

-Tests the lamdaemon script.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../../lib/security.inc") [line 32]
-security functions

include_once("../../lib/config.inc") [line 34]
-access to configuration options

include_once("../../lib/schema.inc") [line 38]
-LDAP schema

include_once("../../lib/modules.inc") [line 36]
-account modules

-

-

-
-
- -

checkSchemaForModule [line 109]

-
-
-
- String checkSchemaForModule( -String $name, String $type) -
-

- - Checks if the object classes and attributes for this module are available.



-

Tags:

-
- - - - -
return:  error message or null
-
-

- -

Parameters

- - - - - - - - - - - -
String  $name  module name
String  $type  type (user, group, ...)
-
[ Top ]


-
-
- -

getRecursiveAttributesFromObjectClass [line 145]

-
-
-
- array getRecursiveAttributesFromObjectClass( -ObjectClass $oClass) -
-

- - Returns the names of all attributes which are managed by the given object class and its parents.



-

Tags:

-
- - - - -
return:  list of attribute names
-
-

- -

Parameters

- - - - - - -
ObjectClass  $oClass  object class
-
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:55 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/tools/_templates---tools.php.html b/lam-web/developers/devel/phpdoc/tools/_templates---tools.php.html deleted file mode 100644 index 72f33f2f..00000000 --- a/lam-web/developers/devel/phpdoc/tools/_templates---tools.php.html +++ /dev/null @@ -1,133 +0,0 @@ - - -Docs for page tools.php - - - - - - - - - - - - - -
tools
- - - [ class tree: tools ] - [ index: tools ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: tools.php

-Source Location: /templates/tools.php

- -
-
- -
-

Classes:

-
LAMTool
-
Represents a tool.
-


- -

Page Details:

-Provides a list of tools like file upload or profile editor.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("../lib/security.inc") [line 32]
-security functions

include_once("../lib/config.inc") [line 34]
-access to configuration options

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---baseType.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---baseType.inc.html deleted file mode 100644 index ede672c0..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---baseType.inc.html +++ /dev/null @@ -1,118 +0,0 @@ - - -Docs for page baseType.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: baseType.inc

-Source Location: /lib/baseType.inc

- -
-
- -
-

Classes:

-
baseType
-
This is the parent class of all account types.
-


- -

Page Details:

-This is the parent class of all account types.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:20 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types---group.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types---group.inc.html deleted file mode 100644 index cf32297a..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types---group.inc.html +++ /dev/null @@ -1,123 +0,0 @@ - - -Docs for page group.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: group.inc

-Source Location: /lib/types/group.inc

- -
-
- -
-

Classes:

-
group
-
The account type for group accounts (e.g. Unix and Samba).
-
lamGroupList
-
Generates the list view.
-


- -

Page Details:

-The account type for group accounts (e.g. Unix and Samba).



-

Tags:

-
- - - - - - - -
author:  Roland Gruber
author:  Ludek Finstrle
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:30 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types---host.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types---host.inc.html deleted file mode 100644 index ee2d5ea6..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types---host.inc.html +++ /dev/null @@ -1,120 +0,0 @@ - - -Docs for page host.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: host.inc

-Source Location: /lib/types/host.inc

- -
-
- -
-

Classes:

-
host
-
The account type for host accounts (e.g. Samba).
-
lamHostList
-
Generates the list view.
-


- -

Page Details:

-The account type for host accounts (e.g. Samba).



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:32 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types---mailAlias.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types---mailAlias.inc.html deleted file mode 100644 index 7e184d01..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types---mailAlias.inc.html +++ /dev/null @@ -1,120 +0,0 @@ - - -Docs for page mailAlias.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: mailAlias.inc

-Source Location: /lib/types/mailAlias.inc

- -
-
- -
-

Classes:

-
mailAlias
-
The account type for mail aliases.
-
lamMailAliasList
-
Generates the list view.
-


- -

Page Details:

-The account type for mail aliases.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types---smbDomain.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types---smbDomain.inc.html deleted file mode 100644 index 3ac4b9a3..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types---smbDomain.inc.html +++ /dev/null @@ -1,120 +0,0 @@ - - -Docs for page smbDomain.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: smbDomain.inc

-Source Location: /lib/types/smbDomain.inc

- -
-
- -
-

Classes:

-
smbDomain
-
The account type for Samba domains.
-
lamSmbDomainList
-
Generates the list view.
-


- -

Page Details:

-The account type for Samba domains.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types---user.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types---user.inc.html deleted file mode 100644 index a470b70b..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types---user.inc.html +++ /dev/null @@ -1,120 +0,0 @@ - - -Docs for page user.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: user.inc

-Source Location: /lib/types/user.inc

- -
-
- -
-

Classes:

-
user
-
The account type for user accounts (e.g. Unix, Samba and Kolab).
-
lamUserList
-
Generates the list view.
-


- -

Page Details:

-The account type for user accounts (e.g. Unix, Samba and Kolab).



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

-

-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/_lib---types.inc.html b/lam-web/developers/devel/phpdoc/types/_lib---types.inc.html deleted file mode 100644 index fe69ca1c..00000000 --- a/lam-web/developers/devel/phpdoc/types/_lib---types.inc.html +++ /dev/null @@ -1,304 +0,0 @@ - - -Docs for page types.inc - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Procedural File: types.inc

-Source Location: /lib/types.inc

- -
-
- - -

Page Details:

-This file is the interface to the different account types.



-

Tags:

-
- - - - -
author:  Roland Gruber
-
-

-

Includes:

-
-include_once("baseType.inc") [line 32]
-parent class of account types

include_once($typesINC_dirname.'/'.$entry) [line 47]
-This includes all type definitions.

include_once("selfService.inc") [line 36]
-Used to check if this is a LAM Pro release.

include_once("lists.inc") [line 34]
-parent class of list views

-

-

-
-
- -

getDefaultListAttributes [line 109]

-
-
-
- string getDefaultListAttributes( -string $type) -
-

- - Returns the default attribute list for an account type.

It is used as default value for the configuration editor.




-

Tags:

-
- - - - -
return:  attribute list
-
-

- -

Parameters

- - - - - - -
string  $type  account type
-
[ Top ]


-
-
- -

getListAttributeDescriptions [line 121]

-
-
-
- array getListAttributeDescriptions( -string $type) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- -

Parameters

- - - - - - -
string  $type  account type
-
[ Top ]


-
-
- -

getListClassName [line 97]

-
-
-
- string getListClassName( -string $type) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- -

Parameters

- - - - - - -
string  $type  account type
-
[ Top ]


-
-
- -

getTypeAlias [line 75]

-
-
-
- string getTypeAlias( -string $type) -
-

- - Returns the alias name of an account type.



-

Tags:

-
- - - - -
return:  type alias
-
-

- -

Parameters

- - - - - - -
string  $type  type name
-
[ Top ]


-
-
- -

getTypeDescription [line 86]

-
-
-
- string getTypeDescription( -string $type) -
-

- - Returns the description of an account type.



-

Tags:

-
- - - - -
return:  type description
-
-

- -

Parameters

- - - - - - -
string  $type  type name
-
[ Top ]


-
-
- -

getTypes [line 56]

-
-
-
- array getTypes( -) -
-

- - Returns a list of available account types.



-

Tags:

-
- - - - -
return:  list of types
-
-

- -
[ Top ]


-
- -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:01 +0100 by phpDocumentor 1.4.0 -
-
-
- - - diff --git a/lam-web/developers/devel/phpdoc/types/baseType.html b/lam-web/developers/devel/phpdoc/types/baseType.html deleted file mode 100644 index c29799a0..00000000 --- a/lam-web/developers/devel/phpdoc/types/baseType.html +++ /dev/null @@ -1,412 +0,0 @@ - - -Docs For Class baseType - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: baseType

-Source Location: /lib/baseType.inc

- - - - - - - - - -
- -

Class Overview

-

-
This is the parent class of all account types.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Child classes:

-
-
-
group
-
The account type for group accounts (e.g. Unix and Samba).
-
-
-
host
-
The account type for host accounts (e.g. Samba).
-
-
-
mailAlias
-
The account type for mail aliases.
-
-
-
smbDomain
-
The account type for Samba domains.
-
-
-
user
-
The account type for user accounts (e.g. Unix, Samba and Kolab).
-
-
-
-
- - -

Class Details

-
-[line 36]
-This is the parent class of all account types.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 44]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.

This function must be overwritten by the child classes.




-

Tags:

-
- - - - -
return:  alias name
-
-

- -

Overridden in child classes as:
-

-
group::getAlias()
-
Returns the alias name of this account type.
-
-
-
host::getAlias()
-
Returns the alias name of this account type.
-
-
-
mailAlias::getAlias()
-
Returns the alias name of this account type.
-
-
-
smbDomain::getAlias()
-
Returns the alias name of this account type.
-
-
-
user::getAlias()
-
Returns the alias name of this account type.
-
-

- -
[ Top ]
-
-
- -

method getDefaultListAttributes [line 73]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.

This function must be overwritten by the child classes.




-

Tags:

-
- - - - -
return:  attribute list
-
-

- -

Overridden in child classes as:
-

-
group::getDefaultListAttributes()
-
Returns the default attribute list for this account type.
-
-
-
host::getDefaultListAttributes()
-
Returns the default attribute list for this account type.
-
-
-
mailAlias::getDefaultListAttributes()
-
Returns the default attribute list for this account type.
-
-
-
smbDomain::getDefaultListAttributes()
-
Returns the default attribute list for this account type.
-
-
-
user::getDefaultListAttributes()
-
Returns the default attribute list for this account type.
-
-

- -
[ Top ]
-
-
- -

method getDescription [line 54]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.

This function must be overwritten by the child classes.




-

Tags:

-
- - - - -
return:  description
-
-

- -

Overridden in child classes as:
-

-
group::getDescription()
-
Returns the description of this account type.
-
-
-
host::getDescription()
-
Returns the description of this account type.
-
-
-
mailAlias::getDescription()
-
Returns the description of this account type.
-
-
-
smbDomain::getDescription()
-
Returns the description of this account type.
-
-
-
user::getDescription()
-
Returns the description of this account type.
-
-

- -
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 83]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- -

Overridden in child classes as:
-

-
group::getListAttributeDescriptions()
-
Returns a list of attributes which have a translated description.
-
-
-
host::getListAttributeDescriptions()
-
Returns a list of attributes which have a translated description.
-
-
-
mailAlias::getListAttributeDescriptions()
-
Returns a list of attributes which have a translated description.
-
-
-
smbDomain::getListAttributeDescriptions()
-
Returns a list of attributes which have a translated description.
-
-
-
user::getListAttributeDescriptions()
-
Returns a list of attributes which have a translated description.
-
-

- -
[ Top ]
-
-
- -

method getListClassName [line 63]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- -

Overridden in child classes as:
-

-
group::getListClassName()
-
Returns the class name for the list object.
-
-
-
host::getListClassName()
-
Returns the class name for the list object.
-
-
-
mailAlias::getListClassName()
-
Returns the class name for the list object.
-
-
-
smbDomain::getListClassName()
-
Returns the class name for the list object.
-
-
-
user::getListClassName()
-
Returns the class name for the list object.
-
-

- -
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:20 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/types/group.html b/lam-web/developers/devel/phpdoc/types/group.html deleted file mode 100644 index 04ebd3e4..00000000 --- a/lam-web/developers/devel/phpdoc/types/group.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs For Class group - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: group

-Source Location: /lib/types/group.inc

- - - - - - - - - -
- -

Class Overview

-
baseType
-   |
-   --group

-
The account type for group accounts (e.g. Unix and Samba).


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: baseType

-
-
- baseType::getAlias() -
-
- Returns the alias name of this account type. -
-
- baseType::getDefaultListAttributes() -
-
- Returns the default attribute list for this account type. -
-
- baseType::getDescription() -
-
- Returns the description of this account type. -
-
- baseType::getListAttributeDescriptions() -
-
- Returns a list of attributes which have a translated description. -
-
- baseType::getListClassName() -
-
- Returns the class name for the list object. -
-
-
-
-
- - -

Class Details

-
-[line 37]
-The account type for group accounts (e.g. Unix and Samba).



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 44]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.



-

Tags:

-
- - - - -
return:  alias name
-
-

- - Overrides baseType::getAlias() (Returns the alias name of this account type.)

-
[ Top ]
-
-
- -

method getDefaultListAttributes [line 71]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.



-

Tags:

-
- - - - -
return:  attribute list
-
-

- - Overrides baseType::getDefaultListAttributes() (Returns the default attribute list for this account type.)

-
[ Top ]
-
-
- -

method getDescription [line 53]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.



-

Tags:

-
- - - - -
return:  description
-
-

- - Overrides baseType::getDescription() (Returns the description of this account type.)

-
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 81]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- - Overrides baseType::getListAttributeDescriptions() (Returns a list of attributes which have a translated description.)

-
[ Top ]
-
-
- -

method getListClassName [line 62]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- - Overrides baseType::getListClassName() (Returns the class name for the list object.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:30 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/types/host.html b/lam-web/developers/devel/phpdoc/types/host.html deleted file mode 100644 index db3ac1f5..00000000 --- a/lam-web/developers/devel/phpdoc/types/host.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs For Class host - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: host

-Source Location: /lib/types/host.inc

- - - - - - - - - -
- -

Class Overview

-
baseType
-   |
-   --host

-
The account type for host accounts (e.g. Samba).


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: baseType

-
-
- baseType::getAlias() -
-
- Returns the alias name of this account type. -
-
- baseType::getDefaultListAttributes() -
-
- Returns the default attribute list for this account type. -
-
- baseType::getDescription() -
-
- Returns the description of this account type. -
-
- baseType::getListAttributeDescriptions() -
-
- Returns a list of attributes which have a translated description. -
-
- baseType::getListClassName() -
-
- Returns the class name for the list object. -
-
-
-
-
- - -

Class Details

-
-[line 36]
-The account type for host accounts (e.g. Samba).



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 43]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.



-

Tags:

-
- - - - -
return:  alias name
-
-

- - Overrides baseType::getAlias() (Returns the alias name of this account type.)

-
[ Top ]
-
-
- -

method getDefaultListAttributes [line 70]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.



-

Tags:

-
- - - - -
return:  attribute list
-
-

- - Overrides baseType::getDefaultListAttributes() (Returns the default attribute list for this account type.)

-
[ Top ]
-
-
- -

method getDescription [line 52]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.



-

Tags:

-
- - - - -
return:  description
-
-

- - Overrides baseType::getDescription() (Returns the description of this account type.)

-
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 80]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- - Overrides baseType::getListAttributeDescriptions() (Returns a list of attributes which have a translated description.)

-
[ Top ]
-
-
- -

method getListClassName [line 61]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- - Overrides baseType::getListClassName() (Returns the class name for the list object.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:32 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/types/mailAlias.html b/lam-web/developers/devel/phpdoc/types/mailAlias.html deleted file mode 100644 index 46d44df0..00000000 --- a/lam-web/developers/devel/phpdoc/types/mailAlias.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs For Class mailAlias - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: mailAlias

-Source Location: /lib/types/mailAlias.inc

- - - - - - - - - -
- -

Class Overview

-
baseType
-   |
-   --mailAlias

-
The account type for mail aliases.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: baseType

-
-
- baseType::getAlias() -
-
- Returns the alias name of this account type. -
-
- baseType::getDefaultListAttributes() -
-
- Returns the default attribute list for this account type. -
-
- baseType::getDescription() -
-
- Returns the description of this account type. -
-
- baseType::getListAttributeDescriptions() -
-
- Returns a list of attributes which have a translated description. -
-
- baseType::getListClassName() -
-
- Returns the class name for the list object. -
-
-
-
-
- - -

Class Details

-
-[line 36]
-The account type for mail aliases.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 43]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.



-

Tags:

-
- - - - -
return:  alias name
-
-

- - Overrides baseType::getAlias() (Returns the alias name of this account type.)

-
[ Top ]
-
-
- -

method getDefaultListAttributes [line 70]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.



-

Tags:

-
- - - - -
return:  attribute list
-
-

- - Overrides baseType::getDefaultListAttributes() (Returns the default attribute list for this account type.)

-
[ Top ]
-
-
- -

method getDescription [line 52]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.



-

Tags:

-
- - - - -
return:  description
-
-

- - Overrides baseType::getDescription() (Returns the description of this account type.)

-
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 80]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- - Overrides baseType::getListAttributeDescriptions() (Returns a list of attributes which have a translated description.)

-
[ Top ]
-
-
- -

method getListClassName [line 61]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- - Overrides baseType::getListClassName() (Returns the class name for the list object.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:40 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/types/smbDomain.html b/lam-web/developers/devel/phpdoc/types/smbDomain.html deleted file mode 100644 index 6316823c..00000000 --- a/lam-web/developers/devel/phpdoc/types/smbDomain.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs For Class smbDomain - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: smbDomain

-Source Location: /lib/types/smbDomain.inc

- - - - - - - - - -
- -

Class Overview

-
baseType
-   |
-   --smbDomain

-
The account type for Samba domains.


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: baseType

-
-
- baseType::getAlias() -
-
- Returns the alias name of this account type. -
-
- baseType::getDefaultListAttributes() -
-
- Returns the default attribute list for this account type. -
-
- baseType::getDescription() -
-
- Returns the description of this account type. -
-
- baseType::getListAttributeDescriptions() -
-
- Returns a list of attributes which have a translated description. -
-
- baseType::getListClassName() -
-
- Returns the class name for the list object. -
-
-
-
-
- - -

Class Details

-
-[line 36]
-The account type for Samba domains.



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 43]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.



-

Tags:

-
- - - - -
return:  alias name
-
-

- - Overrides baseType::getAlias() (Returns the alias name of this account type.)

-
[ Top ]
-
-
- -

method getDefaultListAttributes [line 70]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.



-

Tags:

-
- - - - -
return:  attribute list
-
-

- - Overrides baseType::getDefaultListAttributes() (Returns the default attribute list for this account type.)

-
[ Top ]
-
-
- -

method getDescription [line 52]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.



-

Tags:

-
- - - - -
return:  description
-
-

- - Overrides baseType::getDescription() (Returns the description of this account type.)

-
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 80]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- - Overrides baseType::getListAttributeDescriptions() (Returns a list of attributes which have a translated description.)

-
[ Top ]
-
-
- -

method getListClassName [line 61]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- - Overrides baseType::getListClassName() (Returns the class name for the list object.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:26:57 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/phpdoc/types/user.html b/lam-web/developers/devel/phpdoc/types/user.html deleted file mode 100644 index 204cda92..00000000 --- a/lam-web/developers/devel/phpdoc/types/user.html +++ /dev/null @@ -1,317 +0,0 @@ - - -Docs For Class user - - - - - - - - - - - - - -
types
- - - [ class tree: types ] - [ index: types ] - [ all elements ] -
- - - - - - -
-
- -

Class: user

-Source Location: /lib/types/user.inc

- - - - - - - - - -
- -

Class Overview

-
baseType
-   |
-   --user

-
The account type for user accounts (e.g. Unix, Samba and Kolab).


- - - - - - - -
-

Methods

- -
-
- - - - - - - - - -
-

Inherited Methods

-
-

Class: baseType

-
-
- baseType::getAlias() -
-
- Returns the alias name of this account type. -
-
- baseType::getDefaultListAttributes() -
-
- Returns the default attribute list for this account type. -
-
- baseType::getDescription() -
-
- Returns the description of this account type. -
-
- baseType::getListAttributeDescriptions() -
-
- Returns a list of attributes which have a translated description. -
-
- baseType::getListClassName() -
-
- Returns the class name for the list object. -
-
-
-
-
- - -

Class Details

-
-[line 36]
-The account type for user accounts (e.g. Unix, Samba and Kolab).



-
[ Top ]

- - -
- -

Class Methods

-
- -
- -

method getAlias [line 43]

-
-
-
- string getAlias( -) -
-

- - Returns the alias name of this account type.



-

Tags:

-
- - - - -
return:  alias name
-
-

- - Overrides baseType::getAlias() (Returns the alias name of this account type.)

-
[ Top ]
-
-
- -

method getDefaultListAttributes [line 70]

-
-
-
- string getDefaultListAttributes( -) -
-

- - Returns the default attribute list for this account type.



-

Tags:

-
- - - - -
return:  attribute list
-
-

- - Overrides baseType::getDefaultListAttributes() (Returns the default attribute list for this account type.)

-
[ Top ]
-
-
- -

method getDescription [line 52]

-
-
-
- string getDescription( -) -
-

- - Returns the description of this account type.



-

Tags:

-
- - - - -
return:  description
-
-

- - Overrides baseType::getDescription() (Returns the description of this account type.)

-
[ Top ]
-
-
- -

method getListAttributeDescriptions [line 80]

-
-
-
- array getListAttributeDescriptions( -) -
-

- - Returns a list of attributes which have a translated description.

This is used for the head row in the list view.




-

Tags:

-
- - - - -
return:  list of descriptions
-
-

- - Overrides baseType::getListAttributeDescriptions() (Returns a list of attributes which have a translated description.)

-
[ Top ]
-
-
- -

method getListClassName [line 61]

-
-
-
- string getListClassName( -) -
-

- - Returns the class name for the list object.



-

Tags:

-
- - - - -
return:  class name
-
-

- - Overrides baseType::getListClassName() (Returns the class name for the list object.)

-
[ Top ]
-
-

- - -
-
- Documentation generated on Thu, 07 Feb 2008 20:27:02 +0100 by phpDocumentor 1.4.0 -
-
-
- - - \ No newline at end of file diff --git a/lam-web/developers/devel/profile_editor.htm b/lam-web/developers/devel/profile_editor.htm deleted file mode 100644 index 19cc6038..00000000 --- a/lam-web/developers/devel/profile_editor.htm +++ /dev/null @@ -1,72 +0,0 @@ - - - - - Profile editor - - - -

Profile editor
-

-

-
-

-
The profile -editor allows the user to set default values for new accounts.
-These defaults are saved as files in config/profiles.
-
-

Profilemain.php
-

-This is the start page of the profile -editor. The user can select to add/modify/remove selected -account profiles.
-
-The list of existing account profiles is returned by getAccountProfiles() in modules.inc. It includes all -profile names without file extensions.
-
-

Profilepage.php
-

-This script is used to display the account profile to the user.
-
-The profile options include the LDAP OU suffix and options provided by -the account modules.
-
-The values for the OU selection are read with search_units().
-
-The account modules provide -all other profile options. The profile editor displays a separate -fieldset for each module containing its options.
-The function print_option() -manages the display of the different option types (checkbox, select, -...). The type of each option is saved in $_SESSION['profile_types'].
-See the modules specification -for a complete list of supported types.
-
-The profiles have unique names under which they are saved. If a profile -with the same name already exists it will be overwritten.
-
-When the user selects to save the profile then -profilepage.php will check the input for correctness.
-First the values are converted to the correct type (checkbox -> -Boolean) by checking $_SESSION['profile_types']. -Then LAM will replace all "\'" with  "'" if magic_quotes_gpc is on. Now the -input data is checked for correctness by calling checkProfileOptions().
-The account modules return a -list of -error messages if one or more options are incorrect. If there are -errors they will be displayed, otherwise the profile is -saved by calling saveAccountProfile().
-
-

Profiledelete.php

-When the user selected to delete a profile in profilemain.php he is redirected to -this page.
-
-LAM will ask once again if the user is sure to delete the profile. If -this is the case the profile will be deleted with delAccountProfile() from profiles.inc.
-
-
-
-
-
-
- \ No newline at end of file diff --git a/lam-web/developers/devel/profile_files.htm b/lam-web/developers/devel/profile_files.htm deleted file mode 100644 index 41825e89..00000000 --- a/lam-web/developers/devel/profile_files.htm +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Account profiles - - - - -

Account profiles

-
-Every account profile is saved as single file in config/profiles. The -file extension is the account type (user, group, ...).
-In contrast to the configuration profiles the account profiles are not -designed to be editable by hand. They do not allow to add comments and -have a simpler format.
-
-

Format

-There is one option per line which is formated: <identifier>: -<value>
-
-Identifier is the option's name, value is the rest of the line after -the first ": ".
-Some options are multi-valued, the sub-values are separated by "+::+".
-
-
-Examples:
-
-posixAccount_primaryGroup: group1
-posixAccount_additionalGroup: group3+::+group4+::+group5+::+group6
-
- - diff --git a/lam-web/developers/devel/profiles.htm b/lam-web/developers/devel/profiles.htm deleted file mode 100644 index 42eac39b..00000000 --- a/lam-web/developers/devel/profiles.htm +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Account profiles - - - - -

profiles.inc

-
-This file includes all functions to manage account -profiles. You can read/store/list/delete profiles.
-
-Profile names may contain letters, numbers, "_" and "-". All functions -which have a profile name as parameter check this.
-Functions which modify the filesystem (saveAccountProfile, -delAccountProfile) also check if the user is logged in to LAM -for security reasons. This is done by reading $_SESSION['logedIn'].
-
-
-
- - diff --git a/lam-web/developers/devel/samba_domains.htm b/lam-web/developers/devel/samba_domains.htm deleted file mode 100644 index 58cdc66e..00000000 --- a/lam-web/developers/devel/samba_domains.htm +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Samba 3 domains - - - - -

Samba 3 domains
-

-

-
-

-
The Samba -3 domain list is based on the other account lists. The -difference is that there are no filter boxes and the displayed -attributes are fixed (name, SID, DN).
-
-If the user selects to edit or create a domain he will be redirected to -domain.php which manages the -domain objects in LDAP.
-
-
-

domain.php

-This script manages domain objects. It allows the user to create -domains or to modify values.
-The domain name, SID and RIDbase cannot be changed by the user because -this could cause trouble on the clients.
-
-
-
-
- - diff --git a/lam-web/developers/devel/style/layout.css b/lam-web/developers/devel/style/layout.css deleted file mode 100644 index 61a0fb85..00000000 --- a/lam-web/developers/devel/style/layout.css +++ /dev/null @@ -1,57 +0,0 @@ - /* -$Id$ - - This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - Copyright (C) 2004 - 2006 Roland Gruber - - 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 detaexils. - - 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 - -*/ - -/* CSS layout for LAM development documentation */ - - - -h1,h2,h3,h4 { - color:#0c12b7; -} - -/* links */ -a { - color:blue; - text-decoration:none; -} - -a:visited { - color:blue; - text-decoration:none; -} - -a:hover { - color:red; - text-decoration:none; -} - -a:active { - color:red; - text-decoration:none; -} - - -/* module HowTo */ - -table.mod-code { - background-color:#fffde2; -} diff --git a/lam-web/developers/devel/tree_schema.htm b/lam-web/developers/devel/tree_schema.htm deleted file mode 100644 index a4cebc88..00000000 --- a/lam-web/developers/devel/tree_schema.htm +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Tree view and schema browser - - - - -

Tree view and schema browser
-

-
-
-These parts are based on phpLDAPadmin.
-The two tools are located in templates/schema -and templates/tree.
-
- - diff --git a/lam-web/developers/devel/type_basics.htm b/lam-web/developers/devel/type_basics.htm deleted file mode 100644 index 35b155c7..00000000 --- a/lam-web/developers/devel/type_basics.htm +++ /dev/null @@ -1,71 +0,0 @@ - - - - Type HowTo - Basic concepts - - - - -
-

Type HowTo - Basic concepts
-

-
-
-

-

1. Licensing

-LAM is licensed under the GNU -General Public License. This means your plugins need a compatible -license.
-LAM is distributed with a copy of the GPL license.
-
-
-

2. Naming and position in directory structure

-Type names are usually named after the group of accounts they manage. -However, you can use any name you want, it should be short and -containing only a-z and 0-9. The type name is only shown in the -configuration dialog, on all other pages LAM will show a provided alias name.
-All type modules are stored in lib/types. -The filename must end with .inc -and the file must have the same name as its inside class.
-
-Example: -Our example module will provide the class -smbDomain, -therefore the file will be called lib/types/smbDomain.inc.
-
-
-

3. Defining the class

-All type classes have baseType -as parent class. This provides common functionality and dummy functions -for all required class functions.
-
-Example:
-
- - - - - - -
/**
-* The account type for Samba domains.
-*
-* @package types
-*/
-class
smbDomain extends baseType {
-
-}
-
-
-
-

-
-
- - diff --git a/lam-web/developers/devel/type_css.htm b/lam-web/developers/devel/type_css.htm deleted file mode 100644 index b14b2517..00000000 --- a/lam-web/developers/devel/type_css.htm +++ /dev/null @@ -1,40 +0,0 @@ - - - - Type HowTo - CSS file - - - - -
-

Type HowTo - CSS file

-
-

-Every account type has its own style sheet where it can define colors -and fonts.
-
-
-

1. File name

-The CSS files are saved in style/. -Your file must be named type_<your -type>.css.
-
-Example:
-
-The smbDomain type has the -CSS file style/type_smbDomain.css.
-
-
-

2. Contents

-Take the type_user.css file as template. It is well documented.
-You have to replace all occurrences of "user" with your account type.
-
-Example:
-
-Take a look at type_user.css and type_smbDomain.css.
-
-
- - diff --git a/lam-web/developers/devel/type_general.htm b/lam-web/developers/devel/type_general.htm deleted file mode 100644 index 73f8774f..00000000 --- a/lam-web/developers/devel/type_general.htm +++ /dev/null @@ -1,91 +0,0 @@ - - - - Type HowTo - General type options - - - - -
-

Type HowTo - General type options
-

-
-
-

-

1. Alias name

-The type name is very limited, therefore every type has an alias name. This alias name has no limitations and -can be translated. It may contain special characters but make sure that -it does not contain HTML special characters like "<".
-
-The alias name is specified -with getAlias().
-
-Example:
-
-Our smbDomain type will get -the alias "Samba domains".
-
- - - - - - -
    /**
-    * Returns the alias name of this account type.
-    *
-    * @return string alias name
-    */
-    function - getAlias() {
-        return _("Samba domains");
-    }
-
-
-
-

2. Description
-

-Each type has a description so that the user knows what accounts he can -manage with that type. The description is displayed in the LAM -configuration editor.
-
-The description is specified with getDescription().
-
-Example:
-
-Our smbDomain type has the -description "Samba 3 domain entries".
-
- - - - - - -
    /**
-    * Returns the description of this account type.
-    *
-    * @return string description
-    */
-    function - getDescription() {
-        return _("Samba 3 domain -entries");
-    }
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/type_icon.htm b/lam-web/developers/devel/type_icon.htm deleted file mode 100644 index a614b4d0..00000000 --- a/lam-web/developers/devel/type_icon.htm +++ /dev/null @@ -1,32 +0,0 @@ - - - - Type HowTo - Icon - - - - -
-

Type HowTo - Icon

-
-

-You have to provide an icon for your account type. This icon is -displayed in the upper frame next to the link to your account list.
-The format of the image must be PNG -and the size should be between 20x20 -and 25x25 pixels.
-
-The file is stored in graphics/ -with the file name <your -type>.png.
-
-
-Example:
-
-The smbDomain type has the -icon graphics/smbDomain.png.
-
-
- - diff --git a/lam-web/developers/devel/type_index.htm b/lam-web/developers/devel/type_index.htm deleted file mode 100644 index efe3d204..00000000 --- a/lam-web/developers/devel/type_index.htm +++ /dev/null @@ -1,37 +0,0 @@ - - - - LAM type HowTo - - - - -
-

Type HowTo

-
-
If you write new account modules they -may not fit in the existing group of account types (user, group, host, -...). In this case you can easily create a new account type.
-This document provides a step-by-step description to build a type -module. The smbDomain -module which handles Samba domains is used as example.
-
-
- -
- - diff --git a/lam-web/developers/devel/type_list.htm b/lam-web/developers/devel/type_list.htm deleted file mode 100644 index e3a861f0..00000000 --- a/lam-web/developers/devel/type_list.htm +++ /dev/null @@ -1,182 +0,0 @@ - - - - Type HowTo - Custom list view - - - - -
-

Type HowTo - Custom list view
-

-
-
-

-

1. Default list attributes
-

-Here you can specify what attributes are shown as default in the list -view.
-
-The default attributes are -specified -with getDefaultListAttributes().
-
-Example:
-
-Our smbDomain type will show -the attributes "#sambaDomainName;#sambaSID" by default.
-
- - - - - - -
    /**
-    * Returns the default attribute list for this -account type.
-    *
-    * @return string attribute list
-    */
-    function getDefaultListAttributes() {
-        return -"#sambaDomainName;#sambaSID";
-    }
-
-
-
-

2. Pretranslated attribute descriptions
-

-You can provide translated descriptions for common attributes. This way -the user only specifies the attributes and LAM will show a description -for each language.
-
-The descriptions are specified with getListAttributeDescriptions().
-
-Example:
-
-Our smbDomain type has -descriptions for sambaSID and sambaDomainName.
-
- - - - - - -
    /**
-    * Returns a list of attributes which have a -translated description.
-    * This is used for the head row in the list view.
-    *
-    * @return array list of descriptions
-    */
-    function getListAttributeDescriptions() {
-        return array(
-            "sambaSID" -=> _("Domain SID"),
-            -"sambaDomainName" => _("Domain name")
-            );
-    }
-
-
-
-
-

3. Specifying a custom list view

-The default list view has only very generic labels for the buttons and -navigation bar. So you should at least provide some new labels which -fit to your type.
-
-The class name of your list view is specified with getListClassName().
-
-Example:
-
-Our smbDomain type sets the -list view class to lamSmbDomainList. -The list class is defined in the same file as your type class -(smbDomain.inc in this case).
-The labels are set in the constructor. Do not forget to call the parent -constructor first.
-
-If you want to change more than just the labels, take a look at lib/lists.inc and lib/types/user.inc. When a list is -displayed then the showPage() -function is called. You can overwrite this function to display a -completly new list or just one of the other functions.
-
- - - - - - -
/**
-* Returns the class name for the list object.
-*
-* @return string class name
-*/
-function getListClassName() -{
-    return "lamSmbDomainList";
-}
-
-
-/**
- * Generates the list view.
- *
- * @package lists
- * @author Roland Gruber
- *
- */
-class lamSmbDomainList -extends lamList {
-
-    /**
-     * Constructor
-     *
-     * @param string $type account type
-     * @return lamList list object
-     */
-    function lamSmbDomainList($type) {
-        parent::lamList($type);
-        $this->labels = array(
-            'nav' => -_("%s domain(s) found"),
-            -'error_noneFound' => _("No domains found!"),
-            'newEntry' -=> _("New domain"),
-            'deleteEntry' -=> _("Delete domain"),
-            'createPDF' -=> _("Create PDF for selected domain(s)"),
-            'createPDFAll' -=> _("Create PDF for all domains"));
-    }
-
-}
-
-
-
-
-
- -

-
-
- - diff --git a/lam-web/developers/devel/type_profile.htm b/lam-web/developers/devel/type_profile.htm deleted file mode 100644 index a0daf8a5..00000000 --- a/lam-web/developers/devel/type_profile.htm +++ /dev/null @@ -1,28 +0,0 @@ - - - - Type HowTo - Default profile - - - - -
-

Type HowTo - Default profile

-
-

-You have to provide a default profile for your account type. If you do -not want to specify default values then just provide an empty file.
-Save your profile as default.<your -type> in config/profiles.
-
-
-Example:
-
-The smbDomain type has only -an empty default profile. It is saved as config/profiles/default.smbDomain.
-
-
- - diff --git a/lam-web/developers/devel/types-specification.htm b/lam-web/developers/devel/types-specification.htm deleted file mode 100644 index e6f8658d..00000000 --- a/lam-web/developers/devel/types-specification.htm +++ /dev/null @@ -1,145 +0,0 @@ - - - - - Type specification - - - - -

This document describes the type -interface for LDAP Account Manager

-
-Account types are used to manage a group of accounts by grouping one or -more account modules. Examples for account types are user, group, host -and smbDomain.
-
-

1. Location and naming of types
-

-All LAM types are placed in lib/types/ and are named "<class -name>.inc".
-E.g. if you create a new type and its class name is "myUser" then the -filename would be "myUser.inc".
-
-The class name of a type must contain only a-z, A-Z, 0-9, -, and _.
-All type classes should extend the baseType class.
-
-

2. Functions

-

2.1. getAlias
-

-
- - - - - - -
function getAlias()
-
-
-Returns the alias name for -this type. E.g. the alias for smbDomain is "Samba domains".
-
-

2.2. getDescription
-

-
- - - - - - -
function getDescription()
-
-
-Returns a description for the -account type. This should be a short sentence describing the account -type.
-
-

2.3. getListClassName
-

-
- - - - - - -
function getListClassName()
-
-
-Here you can specify your own class to handle the list view. The class -must be a subclass of lamList.
-
-

2.4. getDefaultListAttributes
-

-
- - - - - - -
function getDefaultListAttributes()
-
-
-Returns the default setting -for the displayed list attributes. It is used as default for config and -the syntax is equal to the config setting.
-
-

2.5. getListAttributeDescriptions
-

-
- - - - - - -
function getListAttributeDescriptions()
-
-
-Returns a hash array which contains predefined, translated descriptions -of LDAP attributes.
-
-
-Example:

-
-return array(
-    "sambaSID" => _("Domain SID"),
-    "sambaDomainName" => _("Domain name")
-    );
-
-
-
-
-
- - - diff --git a/lam-web/developers/devel/upgrade.htm b/lam-web/developers/devel/upgrade.htm deleted file mode 100644 index dc84d995..00000000 --- a/lam-web/developers/devel/upgrade.htm +++ /dev/null @@ -1,179 +0,0 @@ - -Upgrade notes - - - - - - - - - - - - - - - -
-

Upgrade notes

- - -

2.1.0 -> 2.2.0

-

Account lists

-Account lists now support to define tools. These are displayed as linked images like the edit and delete links in the list.
- -Overwrite lamList::getAdditionalTools() to use this feature.
- -
- -The definition of account list options changed. The function lamList::getAdditionalTools() is no longer available. Use these functions instead: lamList::listGetAllConfigOptions() and lamList::listConfigurationChanged().
- -All options are now saved in cookies for one year.
- -
-

Base module

- - -The baseModule class has a new protected option: $autoAddObjectClasses You can set it to false if you do not want that your module's object classes are added when creating or loading an account.
- -
- -Account modules can now have icons. See baseModule->getIcon().
- - -
-

Constructors

-LAM now uses the PHP5 syntax for constructors: __construct()
-
-
-

Extended security model

-Each server profile now defines an access level.
-
-Currently these are:
-
    -
  • write access
  • -
  • password changes
  • -
  • read access
    -
  • -
- Please check your code and prohibit any actions which do not fit the current access level.
-There are two new functions in security.inc: checkIfWriteAccessIsAllowed() and checkIfPasswordChangeIsAllowed()
-Only LAM Pro allows to change the access level from write access to a smaller level.
-
-
- - -

2.0.0 -> 2.1.0

- -Style changes:
- -
    - -
  • "fieldset.<type>edit fieldset" and "fieldset.<type>edit fieldset fieldset" were removed.
  • -
  • "table.<type>list input" changed to "table.<type>list input,select"
  • -
- -baseModule:
- -  The class variable $base is no longer visible in child classes. Please use $this->getAccountContainer() to access the accountContainer object.
- -
- -Several other class variables in accountContainer etc. are now private. Use the new access methods.
- -
- -
- -

1.3.0 -> 2.0.0

- -LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.
- -
- -
- -

1.2.0 -> 1.3.0

- -New lamList function:
- -
    - -
  • listPrintTableCellContent(): -This function allows you to control how the LDAP attributes are -displayed in the table. This can be used to display links or binary -data.
  • -
  • listPrintAdditionalOptions(): -If you want to display additional conrols for a list please use this -function. The controls will be placed under the account table.
    -
  • -
- -No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.
- -Please use these new functions to call lamdaemon directly:
- -
    - -
  • preModifyActions()
  • -
  • postModifyActions()
  • -
  • preDeleteActions()
  • -
  • postDeleteActions()
  • -
- -
- -

1.1.x -> 1.2.0

- -API changes:
- -
    - -
  • removed get_configDescription() from module interface
  • -
- -
- -

1.0.4 -> 1.1.0

- -API changes:
- -
    - -
  • removed $post parameters from module functions (delete_attributes(), process_...(), display_html_...()). Use $_POST instead.
  • -
  • process_...() -functions: returned messages are no longer grouped (e.g. return: -array(array('INFO', 'headline', 'text'), array('INFO', 'headline2', -'text2')))
  • -
- -
- -

1.0.0 -> 1.0.2

- - - -New module functions:
- -
    - -
  • getRequiredExtensions: Allows to define required PHP extensions
  • -
  • getManagedObjectClasses: Definition of managed object classes for this module
  • -
  • getLDAPAliases: list of LDAP alias names which are replaced by LAM
  • -
  • getManagedAttributes: list of LDAP attributes which are managed by this module
  • -
- -The LDAP attributes are no longer loaded by reading the LDAP schema. If -your module does not implement the load_attributes() function then you -have to use getManagedAttributes() or the meta data to specify them.
- -
- -The class variable "triggered_messages" in baseModule was removed.
- - - - -
- \ No newline at end of file diff --git a/lam-web/developers/devel/upload.htm b/lam-web/developers/devel/upload.htm deleted file mode 100644 index 95be92be..00000000 --- a/lam-web/developers/devel/upload.htm +++ /dev/null @@ -1,103 +0,0 @@ - - - - - File upload - - - - -

File upload
-

-
-
upload
-

-

Account selection (masscreate.php)
-

-This is the initial page of the file upload. The user selects the -account type for the new upload.
-
-
-

Attribute overview (masscreate.php)

-After the account selection LAM will display an overview of the -possible and required input columns.
-The DN attributes (DN suffix and RDN) are static and are always -displayed. The default suffix is read from config with getAccountSuffix() and the list of -RDN possibilities is taken from modules.inc - getRDNAttributes().
-The next attributes are read from modules.inc - getUploadColumns(). LAM will display -all attributes of one module in a separate fieldset. The getUploadColumns() function also -returns if an attribute is required and additional information like an -example value.
-
-After clicking the upload button the user will be forwarded to the -account building page.
-
-
-

Account building (massBuildAccounts.php)
-

-This part takes the submitted CSV file -and generates the LDAP accounts.
-
-The scripts separates the head row from the data rows in the CSV file. -The head array is used to find the position of the input values. The -data array contains one subarray for each account.
-
-After the data has been extracted there are some basic checks done, -e.g. checking required and unique columns. The modules provide the -necessary information for this.
-
-Then all data is given to the modules with buildUploadAccounts() in -modules.inc. They return a list of accounts which can be uploaded with ldap-add() and generate possible -error messages.
-
-If the accounts are built the script will give the user the possibility -to check the result with an LDIF-file -or to do the upload.
-
-
-

LDIF export (massBuildAccounts.php)
-

-LAM simply takes the built accounts and generates an LDIF-file from them. This is passed -to the user's browser.
-The LDIF-file will only -contain the accounts itself. If modules do additional tasks after the -upload (e.g. adding users to groups) this will not be covered.
-
-
-

Account creation (massDoUpload.php)
-

-This script finally uploads the LDAP accounts with ldap_add().
-
-The upload can last longer than the maximum execution time of PHP. -Therefore the script will check regulary how much time is left and -pause the upload. This is resumed with a meta refresh which loads the -script again.
-
-After all accounts were created in LDAP the modules may do additional -tasks. LAM will call doUploadPostActions() -and also provide a list of failed accounts which can be ignored. The -function is called as long the returned status is "inProgress". The script uses again -a -meta refresh to handle the maximum execution time.
-Typical post actions are setting quotas or adding an user to groups.
-
-A progress bar is shown for the LDAP adding and the module actions to -give the user a hint how long it will still take.
-
-
- - diff --git a/lam-web/developers/docs.htm b/lam-web/developers/docs.htm deleted file mode 100644 index 80322358..00000000 --- a/lam-web/developers/docs.htm +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Developer documentation

-
-

Code overview

-

These pages describe the architecture of LAM and how the different parts work together.

-
- -

Module interface

-

The interface definition of the account modules.

-
- -

HowTo for writing account modules

-

A step-by-step HowTo for writing your own account modules.

-
- -

FAQ

-

Answers to the most important questions.

-
- -

Function and class reference (PHPDoc)

-

All classes and functions have PHPDoc comments. Here you find descriptions for each class and function including their parameters.

-
- - -
- - - - diff --git a/lam-web/documentation/LAMPro-HowTo/ch01.html b/lam-web/documentation/LAMPro-HowTo/ch01.html deleted file mode 100644 index a5d40088..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch01.html +++ /dev/null @@ -1,10 +0,0 @@ -Chapter 1. Self service

Chapter 1. Self service

Preparations

OpenLDAP ACLs

By default only a few administrative users have write access to - the LDAP database. Before your users may change their settings you - must allow them to change their LDAP data.

This can be done by adding an ACL to your slapd.conf which looks - like this:

access to

- attrs=mail,sn,givenName,telephoneNumber,mobile,facsimileTelephoneNumber,street,postalAddress,postOfficeBox,postalCode,password

by self write

If you do not want them to change all attributes then reduce the - list to fit your needs. Some modules may require additional LDAP - attributes.

Usually, the slapd.conf file is located in /etc/ldap or - /etc/openldap.

Other LDAP servers

There exist many LDAP implementations. If you do not use - OpenLDAP you need to write your own ACLs. Please check the manual of - your LDAP server for instructions.

diff --git a/lam-web/documentation/LAMPro-HowTo/ch01s02.html b/lam-web/documentation/LAMPro-HowTo/ch01s02.html deleted file mode 100644 index 7c3751f1..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch01s02.html +++ /dev/null @@ -1,7 +0,0 @@ -Creating a self service profile

Creating a self service profile

A self service profile defines what input fields your users see - and some other general settings like the login caption.

When you go to the LAM configuration page you will see the self - service link at the bottom. This will lead you to the self service - configuration pages

Now we need to create a new self service profile. Click on the - link to manage the self service profiles.

Specify a name for the new profile and enter you master - configuration password (default is "lam") to save the profile.

Now go back to the profile login and enter your master - configuration password to edit your new profile.

diff --git a/lam-web/documentation/LAMPro-HowTo/ch01s03.html b/lam-web/documentation/LAMPro-HowTo/ch01s03.html deleted file mode 100644 index a2a326b0..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch01s03.html +++ /dev/null @@ -1,11 +0,0 @@ -Edit your new profile

Edit your new profile

On top of the page you see the link to the user login page. Copy - this link address and give it to your users.

Below the link you can specify several options.

Table 1.1. General options

Server addressThe address of your LDAP server
LDAP suffixThe part of the LDAP tree where LAM should search for - users
LDAP user + passwordThe DN and password which is used to search for users in - the LDAP database. It is sufficient if this DN has only read - rights. If you leave these fields empty LAM will try to connect - anonymously.
LDAP search attributeHere you can specify if your users can login with user - name + password, email + password or other attributes.
Login attribute labelThis is the description for the LDAP search attribute. - Set it to something which your users are familiar with.
Login captionThis text is displayed at the login page. You can input - HTML, too.
Main page captionThis text is displayed at self service main page where - your users change their data. You can input HTML, too.

On the bottom you can specify what input fields your users can - see. It is also possible to group several input fields.

diff --git a/lam-web/documentation/LAMPro-HowTo/ch02.html b/lam-web/documentation/LAMPro-HowTo/ch02.html deleted file mode 100644 index e764dbc1..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch02.html +++ /dev/null @@ -1,6 +0,0 @@ -Chapter 2. Additional account modules

Chapter 2. Additional account modules

LAM Pro provides some more account modules to support additional - LDAP object classes.

Currently these are:

  • groupOfNames

  • groupOfUniqueNames

These classes can be used to represent group relations. Since they - allow DNs as members you can also use them to represent nested - groups.

Managing group of (unique) names

Group of (unique) names have four basic attributes:

  • Name: a unique name for the group

  • Description: optional description

  • Owner: the account which owns this group (optional)

  • Members: the members of the group (at least one is - required)

You can add any accounts as members. This includes other groups - which leads to nested groups.

diff --git a/lam-web/documentation/LAMPro-HowTo/ch03.html b/lam-web/documentation/LAMPro-HowTo/ch03.html deleted file mode 100644 index 4b66b7a5..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch03.html +++ /dev/null @@ -1,6 +0,0 @@ -Chapter 3. Access levels and passwort reset

Chapter 3. Access levels and passwort reset

You can define different access levels for each profile to allow or - disallow write access. The password reset page helps your deskside support - staff to reset user passwords.

Access levels

There are three access levels:

  • Write access (default)

    There are no restrictions. LAM admin users can manage account, - create profiles and set passwords.

  • Change passwords

    Similar to "Read only" except that the password reset page is available.

  • Read only

    No write access to the LDAP database is allowed. It is also - impossible to manage account and PDF profiles.

    Accounts may be viewed but no changes can be saved.

The access level can be set on the server configuration - page:

diff --git a/lam-web/documentation/LAMPro-HowTo/ch03s02.html b/lam-web/documentation/LAMPro-HowTo/ch03s02.html deleted file mode 100644 index 226a3fba..00000000 --- a/lam-web/documentation/LAMPro-HowTo/ch03s02.html +++ /dev/null @@ -1,19 +0,0 @@ -Password reset page

Password reset page

This special page allows your deskside support staff to reset the - Unix and Samba passwords of your users. If you set the access level to "Change passwords" then - LAM will not allow any changes to the LDAP database except password - changes via this page. The account pages will be still available in - read-only mode.

You can open the password reset page by clicking on the key symbol - on each user account:

There are three different options to set a new - password:

  • set random password and display it on - screen

    This will set the user's password to a random value. The - password will be 11 characters long with a random combination of - letters, digits and ".-_".

    You may want to use this method to tell users their new - passwords via phone.

  • set random password and mail it to - user

    If the user account has set the mail attribute then LAM can - send your user a mail with the new password. You can change the mail - template to fit your needs. See the help link for further - details.

    Using this method will prevent that your support staff knows - the new password.

  • set specific password

    Here you can specify your own password.

LAM will display contact information about the user like the - user's name, email address and telephone number. This will help your - deskside support to easily contact your users.

If a user account has Samba passwords set then LAM will offer to - synchronize the passwords.

diff --git a/lam-web/documentation/LAMPro-HowTo/images/accessLevel.png b/lam-web/documentation/LAMPro-HowTo/images/accessLevel.png deleted file mode 100644 index 246a2722..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/accessLevel.png and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/conf1.jpg b/lam-web/documentation/LAMPro-HowTo/images/conf1.jpg deleted file mode 100644 index 60c6b4ab..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/conf1.jpg and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/conf2.jpg b/lam-web/documentation/LAMPro-HowTo/images/conf2.jpg deleted file mode 100644 index 398c98d7..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/conf2.jpg and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/conf3.jpg b/lam-web/documentation/LAMPro-HowTo/images/conf3.jpg deleted file mode 100644 index 07568fd8..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/conf3.jpg and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/conf4.jpg b/lam-web/documentation/LAMPro-HowTo/images/conf4.jpg deleted file mode 100644 index f58c5784..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/conf4.jpg and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/conf5.jpg b/lam-web/documentation/LAMPro-HowTo/images/conf5.jpg deleted file mode 100644 index feefc67a..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/conf5.jpg and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/groupOfNames1.png b/lam-web/documentation/LAMPro-HowTo/images/groupOfNames1.png deleted file mode 100644 index 9392f565..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/groupOfNames1.png and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/passwordReset1.png b/lam-web/documentation/LAMPro-HowTo/images/passwordReset1.png deleted file mode 100644 index 5a764253..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/passwordReset1.png and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/images/passwordReset2.png b/lam-web/documentation/LAMPro-HowTo/images/passwordReset2.png deleted file mode 100644 index 02220736..00000000 Binary files a/lam-web/documentation/LAMPro-HowTo/images/passwordReset2.png and /dev/null differ diff --git a/lam-web/documentation/LAMPro-HowTo/index.html b/lam-web/documentation/LAMPro-HowTo/index.html deleted file mode 100644 index f19ead1b..00000000 --- a/lam-web/documentation/LAMPro-HowTo/index.html +++ /dev/null @@ -1 +0,0 @@ -LDAP Account Manager Pro - HowTo diff --git a/lam-web/documentation/LAMPro-HowTo/style.css b/lam-web/documentation/LAMPro-HowTo/style.css deleted file mode 100755 index d5be8738..00000000 --- a/lam-web/documentation/LAMPro-HowTo/style.css +++ /dev/null @@ -1,59 +0,0 @@ -/* body { background-color:#F5F5F5; } */ - -body { - font-family:sans-serif; -} - -a { -color:#000080; -text-decoration:none; -} - -a:visited { -color:#000080; -text-decoration:none; -} - -a:hover { -color:red; -text-decoration:none; -} - -a:active { -color:red; -text-decoration:none; -} - -div.navheader td { - font-weight:bold; -} - -div.navfooter td { - font-weight:bold; -} - -div.table table { - border-collapse:collapse; - border-width:2px; -} - -div.navheader hr { - margin-bottom:30px; -} - -div.navfooter hr { - margin-top:30px; -} - -div.mediaobject img { - margin-top:20px; - margin-bottom:20px; -} - -h1 { color:#253aa3; } -h2 { color:#000080; font-size:13pt; } - -table { border-color:#253aa3; border-style:solid; } -th { font-size:12pt; font-weight:bold; height:21px; color:#253aa3; } -td { padding-left: 15px; font-size:12pt; } - diff --git a/lam-web/documentation/LDAP-Account-Manager-Dokumentation.pdf b/lam-web/documentation/LDAP-Account-Manager-Dokumentation.pdf deleted file mode 100644 index 12cd9ca7..00000000 Binary files a/lam-web/documentation/LDAP-Account-Manager-Dokumentation.pdf and /dev/null differ diff --git a/lam-web/documentation/faq.htm b/lam-web/documentation/faq.htm deleted file mode 100644 index 79ea2589..00000000 --- a/lam-web/documentation/faq.htm +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - LAM - FAQ - - - - - - - - - -
  - - -

FAQ

-
-
-
I want to change -the preferences but I do not know -the password.
-
- I get strange errors (e.g. object class violation/invalid syntax) when saving accounts.
-
- What is the syntax -of the filter fields in the account lists?
-
LDAP + SSL does not work.
-
I found a bug. -Where can I report it?
-
My question is not on the -list. Where can I find help?
-
-
-
-
-I want to change -the preferences but I do not know the password.
-
-
When you install LDAP -Account Manager the password for the default profile and the master -password are "lam".
-
-
-
- I get strange errors (e.g. object class violation/invalid syntax) when saving accounts.
-
-Probably, your LDAP server does not offer the required LDAP object classes and attributes.
-To check the LDAP schema open Tools -> Tests -> Schema test and check if any errors are reported.
-
-See docs/README.schema.txt for the required schema files.
-
-
-
What is the -syntax of the filter -fields in the account lists?
-
-
LDAP Account Manager -searches for "(attribute=<filter field>)".
-
-You can do simple filtering like: a*, *nix, groupname
-
-There are several limitations: If you only enter "*", LDAP will return -all accounts with the attribute set. Numeric fields cannot use the -"*", only exact matchings are possible.
-
-
-
-LDAP + SSL does not -work.
-
-
PHP uses the LDAP settings -in /etc/ldap.conf (you will have to create this file on some -distributions).
-Use the "LDAPTLS_CACERT" setting to specify your CA certificate.
-
-
-
-I found a bug. Where can I report it?
-
-
Please use the Bug Tracker at our Sourceforge homepage -or subscribe to our public mailinglist.
-
-If the problem is related to LDAP, please add some logging information. -In /etc/ldap/slapd.conf turn logging on with the line "loglevel 256". -OpenLDAP uses /var/log/syslog for log output.
-
-
-
-My question is not on the list. Where -can I find help?
-
-
Please subscribe to our -public mailinglist. - -
- - \ No newline at end of file diff --git a/lam-web/documentation/howto.htm b/lam-web/documentation/howto.htm deleted file mode 100755 index d702c4e8..00000000 --- a/lam-web/documentation/howto.htm +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -
  -

HOWTOs

-
-

Here you will find a set of HOWTOs related with LDAP Account -Manager, LDAP and SMB/Samba. We are alwalys looking for good new HOWTOs -or other documentation that might help our users. So if you know a good -HOWTO, please let us know about it. We will take a look at it and then -link it on this site.

- -
- - - \ No newline at end of file diff --git a/lam-web/documentation/index.htm b/lam-web/documentation/index.htm deleted file mode 100755 index e57cf8e1..00000000 --- a/lam-web/documentation/index.htm +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

User documentation
-

-
-

Readme

-

Installation

-

FAQ

-

HOWTOs

-

Supported account types

- -

 


- -
- - - - diff --git a/lam-web/documentation/install.htm b/lam-web/documentation/install.htm deleted file mode 100644 index f160aa8d..00000000 --- a/lam-web/documentation/install.htm +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - -

Installation
-

-
-

1. Requirements

-
   - Apache webserver (SSL optional) with PHP module (PHP 5 (>= 5.1) with
ldap, gettext, xml and optional mcrypt)
- some LAM plugins may require additional PHP extensions (you will get a
note on the login page if something is missing)
- Perl (optional, needed only for lamdaemon)
- OpenLDAP (>2.0)
- A web browser :-)

MHash is only needed for Samba password hashes.
MCrypt will be used to store your LDAP password encrypted in the session file.


See docs/README.schema.txt for information about used LDAP schema files.
- -
-

2. Installation

- -
   1. Extract package with:
tar xzf ldap-account-manager-<version>.tar.gz

2a. Copy the files into the html-file scope of the webserver. For example
/apache/htdocs.

Set appropriate file permissions:
- lam/sess: write permission for apache user
- lam/tmp: write permission for apache user
- lam/config (with subdirectories): write permission for apache user
- lam/lib: lamdaemon.pl must be set executable (See also
docs/readme.lamdeamon.txt)

2b. You can also use the included configure script to install LAM. See
"./configure --help" for a list of install options.

3. Configure config.cfg and create a configuration profile.
Copy config.cfg_sample to config.cfg and set the master password and default
profile.

Open the index.html in your web browser:
- Follow the link "Configuration Login" from the start page.
(The default password to edit the options is "lam")
- Select the default lam profile or create a new profile.
- Change the settings to fit your environment.

- -

3. Setting up PHP

-
   LAM runs with PHP5 (>= 5.1).

Needed changes in your php.ini:

* memory_limit = 64M
-
-
- - -
- - - - - - - - \ No newline at end of file diff --git a/lam-web/documentation/lam_de.pdf b/lam-web/documentation/lam_de.pdf deleted file mode 100644 index e7dad819..00000000 Binary files a/lam-web/documentation/lam_de.pdf and /dev/null differ diff --git a/lam-web/documentation/readme.htm b/lam-web/documentation/readme.htm deleted file mode 100644 index 1abd1963..00000000 --- a/lam-web/documentation/readme.htm +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Readme

-
-  LDAP Account Manager (LAM) manages user, group and host accounts in an LDAP
-  directory. LAM runs on any webserver with PHP4/5 support and connects to your
-  LDAP server unencrypted or via SSL/TLS.
-  Currently LAM supports these account types: Samba 2 and 3, Unix, Kolab 2,
-  address book entries, NIS mail aliases and MAC addresses. There is a tree
-  viewer included to allow access to the raw LDAP attributes. You can use
-  templates for account creation and use multiple configuration profiles.
-  LAM is translated to Catalan, Chinese (Traditional), Dutch, English, French,
-  German, Hungarian, Italian, Japanese, Russian and Spanish.
-
-  http://sourceforge.net/projects/lam/
-
-    Copyright (C) 2003 - 2006 Michael Duergner 
-                              Roland Gruber 
-                              Tilo Lutz 
-
- -

Requirements:

-
-    PHP4/5
-    Openldap (2.0 or greater)
-    A web-browser that supports CSS
-
- -

Summary:

-
-    With LAM you can easily manage user, group and machine accounts stored in
-    an LDAP directory over a web interface. At the moment it supports:
-
-      - managing user/group/host/domain entries
-      - filtering and sorting
-      - account profiles
-      - multiple configuration profiles
-      - tree viwer
-      - schema browser
-      - OU Editor
-      - account creation via file upload
-      - PDF export for all accounts
-      - manage user/group Quota and create home directories
-
- -

Important:

-
-    The default password to edit the configuration options is "lam".
-
- -

Installation:

-
-    Please see the INSTALL file.
-
- -

Documentation:

-
-    Basic documentation is available in the directory "docs".
-
- -

Upgrade from older versions:

-
-    See docs/README.upgrade.txt for upgrade instructions.
-
- -

Internationalisation:

-
-    If you want to use a translated version of LAM be sure to install the
-    needed locales. See locale/ for a list of supported locales and languages.
-    Debian users can add locales with "dpkg-reconfigure locales".
-
- -

Security:

-
-    It is strongly recommended to use a SSL connection to your web server.
-
-    LAM needs to store your LDAP user name + password in the session. The session
-    files are saved in sess/ and are accessible only by the web server. To increase
-    security username and password are encrypted with MCrypt/AES if available.
-    The key and IV are generated at random when you log in. They are stored in two
-    cookies.
-
- -

Download:

-
-    You can get the newest version at ../.
-
- -

License:

-
-    LAM is published under the GNU General Public License.
-    The complete list of licenses can be found in the copyright file.
-
- -
-
- -
- - - - diff --git a/lam-web/documentation/supportedSchemas.htm b/lam-web/documentation/supportedSchemas.htm deleted file mode 100644 index a855b336..00000000 --- a/lam-web/documentation/supportedSchemas.htm +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - -

Supported account types

-
-

This is a list of all supported account types and their schema -files. The account types can be combined (e.g. users with Samba and -Unix part)
-
-

- -

Unix

-
    -
  • Types: users and groups
  • -
  • Object classes: posixAccount, shadowAccount and posixGroup
  • -
  • Schema: nis.schema
  • -
- -

Samba 3

-
    -
  • Types: users, groups, hosts and domains
  • -
  • Object classes: sambaSamAccount, sambaGroupMapping, sambaDomain
  • -
  • Schema: samba.schema
  • -
- -

- -

-

Samba 2

- -
    -
  • Types: users and hosts
  • -
  • Object class: sambaAccount
  • -
  • Schema: samba.schema
  • -
- -

Kolab 2

-
    -
  • Type: users
  • -
  • Object class: kolabInetOrgPerson
  • -
  • Schema: kolab2.schema, rfc2739.schema
  • -
- -

Address book entries

-
    -
  • Type: users
  • -
  • Object class: inetOrgPerson
  • -
  • Schema: inetorgperson.schema
  • -
- -

Mail routing

-
    -
  • Type: users
  • -
  • Object class: inetLocalMailRecipient
  • -
  • Schema: misc.schema
  • -
- -

Mail aliases

-
    -
  • Type: groups
  • -
  • Object class: nisMailAlias
  • -
  • Schema: misc.schema
  • -
- -

Group of (unique) names (LAM Pro only)
-

-
    -
  • Type: groups
  • -
  • Object class: groupOfNames, groupOfUniqueNames
  • -
  • Schema: core.schema
  • -
- -

MAC addresses

-
    -
  • Type: hosts
  • -
  • Object class: ieee802device
  • -
  • Schema: nis.schema
  • -
- -

Simple Accounts

-
    -
  • Type: users
  • -
  • Object class: account
  • -
  • Schema: cosine.schema
  • -
- -

SSH keys (LPK patch)

-
    -
  • Type: users
  • -
  • Object class: ldapPublicKey
  • -
  • Schema: openssh-lpk.schema
  • -
- - -
- - - - - - \ No newline at end of file diff --git a/lam-web/download/debian.htm b/lam-web/download/debian.htm deleted file mode 100755 index 15921119..00000000 --- a/lam-web/download/debian.htm +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Debian packages

-
-

- - - - - -
- Debian users can get LDAP Account Manager by using the the official unstable branch of Debian or on our download page.
- LDAP Account Manager can be installed with "apt-get install ldap-account-manager".
-
The package is maintained by Roland Gruber (post@rolandgruber.de).
Thanks to Fabio Tranchitella who is sponsoring the package.
-

- -
- - - - diff --git a/lam-web/download/freebsd.htm b/lam-web/download/freebsd.htm deleted file mode 100644 index 57a00b90..00000000 --- a/lam-web/download/freebsd.htm +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

FreeBSD

-
-
-

LAM is part of the official FreeBSD ports tree. The port is maintained by Clement Laforet.

-
-

For more details see these pages:

-

FreeBSD-CVS: http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/ldap-account-manager

-

FreshPorts: http://www.freshports.org/sysutils/ldap-account-manager

- -
- - - - diff --git a/lam-web/download/index.htm b/lam-web/download/index.htm deleted file mode 100755 index 4cf67ad1..00000000 --- a/lam-web/download/index.htm +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
  - - -

Downloads

Take a look at LDAP Account Manager Pro for more powerful features.
-
- -

-

- - - - - - - - - - - - - - - - -
LDAP Account Manager 2.3.0
-Source code - ldap-account-manager-2.3.0.tar.gz
-Debian package - ldap-account-manager_2.3.0-1_all.deb
-RPM package - ldap-account-manager-2.3.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 2.2.0
-Source code - ldap-account-manager-2.2.0.tar.gz
-Debian package - ldap-account-manager_2.2.0-1_all.deb
-RPM package - ldap-account-manager-2.2.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 2.1.0
-Source code - ldap-account-manager-2.1.0.tar.gz
-Debian package - ldap-account-manager_2.1.0-1_all.deb
-RPM package - ldap-account-manager-2.1.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 2.0.0
-Source code - ldap-account-manager-2.0.0.tar.gz
-Debian package - ldap-account-manager_2.0.0-1_all.deb
-RPM package - ldap-account-manager-2.0.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.3.0
-Source code - ldap-account-manager-1.3.0.tar.gz
-Debian package - ldap-account-manager_1.3.0-1_all.deb
-RPM package - ldap-account-manager-1.3.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.2.0
-Source code - ldap-account-manager-1.2.0.tar.gz
-Debian package - ldap-account-manager_1.2.0-1_all.deb
-RPM package - ldap-account-manager-1.2.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.1.1
-Source code - ldap-account-manager-1.1.1.tar.gz
-Debian package - ldap-account-manager_1.1.1-1_all.deb
-RPM package - ldap-account-manager-1.1.1-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.1.0
-Source code - ldap-account-manager-1.1.0.tar.gz
-Debian package - ldap-account-manager_1.1.0-1_all.deb
-RPM package - ldap-account-manager-1.1.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.4
-Source code - ldap-account-manager-1.0.4.tar.gz
-Debian package - ldap-account-manager_1.0.4-1_all.deb
-RPM package - ldap-account-manager-1.0.4-1.noarch.rpm
-


- -

-

-

Old releases

-


- -
- - - - \ No newline at end of file diff --git a/lam-web/download/oldReleases.htm b/lam-web/download/oldReleases.htm deleted file mode 100755 index 9e7fc6bf..00000000 --- a/lam-web/download/oldReleases.htm +++ /dev/null @@ -1,810 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Old releases

-
-

-

- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.3
-Source code - ldap-account-manager-1.0.3.tar.gz
-Debian package - ldap-account-manager_1.0.3-1_all.deb
-RPM package - ldap-account-manager-1.0.3-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.2
 - -Source code - ldap-account-manager-1.0.2.tar.gz
 - -Debian package - ldap-account-manager_1.0.2-1_all.deb
 - -RPM package - ldap-account-manager-1.0.2-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.1
 - -Source code - ldap-account-manager-1.0.1.tar.gz
 - -Debian package - ldap-account-manager_1.0.1-1_all.deb
 - -RPM package - ldap-account-manager-1.0.1-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.0
 - -Source code - ldap-account-manager-1.0.0.tar.gz
 - -Debian package - ldap-account-manager_1.0.0-1_all.deb
 - -RPM package - ldap-account-manager-1.0.0-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.rc2 (unstable)
 - -Source code - ldap-account-manager-1.0.rc2.tar.gz
 - -Debian package - ldap-account-manager_1.0.rc2-1_all.deb
 - -RPM package - ldap-account-manager-1.0.rc2-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 1.0.rc1 (unstable)
 - -Source code - ldap-account-manager-1.0.rc1.tar.gz
 - -Debian package - ldap-account-manager_1.0.rc1-1_all.deb
 - -RPM package - ldap-account-manager-1.0.rc2-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 0.5.3
 - -Source code - ldap-account-manager_0.5.3.tar.gz
 - -Debian package - ldap-account-manager_0.5.3-1_all.deb
 - -RPM package - ldap-account-manager-0.5.3-1.noarch.rpm
-


- - - - - - - - - - - - - - - - -
LDAP Account Manager 0.5.2
 - -Source code - ldap-account-manager_0.5.2.tar.gz
 - -Debian package - ldap-account-manager_0.5.2-1_all.deb
 - -RPM package - ldap-account-manager-0.5.2-1.noarch.rpm
-


-

- - - - - - - - - - - - -
LDAP Account Manager 0.5.1
 - -Source code - ldap-account-manager_0.5.1.tar.gz
 - -Debian package - ldap-account-manager_0.5.1-1_all.deb
-


-

-

-

- - - - - - - - - - - - -
LDAP Account Manager 0.5.0
 - -Source code - ldap-account-manager_0.5.0.tar.gz
 - -Debian package - ldap-account-manager_0.5.0-1_all.deb
-


-

-

-

- - - - - - - - - - - - -
LDAP Account -Manager 0.5.rc3 (unstable)
 - -Source code - ldap-account-manager_0.5.rc3.tar.gz
 - -Debian package - ldap-account-manager_0.4.10+0.5.rc3-1_all.deb
-


-

-

-

- - - - - - - - - - - - -
LDAP Account -Manager 0.5.rc2 (unstable)
 - -Source code - ldap-account-manager_0.5.rc2.tar.gz
 - -Debian package - ldap-account-manager_0.4.10+0.5.rc2-1_all.deb
-


-

-
- - - - - - - - - - - - -
LDAP Account -Manager 0.4.10
 - -Source code - ldap-account-manager_0.4.10.tar.gz
 - -Debian package - ldap-account-manager_0.4.10-1_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account -Manager 0.4.9
 - -Source code - ldap-account-manager_0.4.9.tar.gz
 - -Debian package - ldap-account-manager_0.4.9_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account -Manager 0.4.8
 - -Source code - ldap-account-manager_0.4.8.tar.gz
 - -Debian package - ldap-account-manager_0.4.8-1_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account -Manager 0.4.7
 - -Source code - ldap-account-manager_0.4.7.tar.gz
 - -Debian package - ldap-account-manager_0.4.7-1_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account -Manager 0.4.6
 - -Source code - ldap-account-manager_0.4.6.tar.gz
 - -Debian package - ldap-account-manager_0.4.6-3_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account Manager 0.4.5
 - -Source -Code - ldap-account-manager_0.4.5.tar.gz
 - -DEB -File - ldap-account-manager_0.4.5-1_all.deb
-


-

- - - - - - - - - - - - -
LDAP Account Manager 0.4.4
 - -Source -Code - ldap-account-manager_0.4.4.tar.gz
 - -DEB -File - ldap-account-manager_0.4.4-1_all.deb
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.4.3
 - -Source -Code - ldap-account-manager_0.4.3.tar.gz
 - -DEB -File - ldap-account-manager_0.4.3-1_all.deb
 - -RPM -File - suse-9.0_ldap-account-manager_0.4.3-1.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.4.2
 - -Source -Code - ldap-account-manager_0.4.2.tar.gz
 - -DEB -File - ldap-account-manager_0.4.2-1_all.deb
 - -RPM -File - suse-9.0-LDAP-Account-Manager-0.4.2-1.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.4.1
 - -Source -Code - ldap-account-manager_0.4.1.tar.gz
 - -DEB -File - ldap-account-manager_0.4.1-1_all.deb
 - -RPM -File - suse-9.0-LDAP-Account-Manager-0.4.1-1.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.4
 - -Source -Code - LDAP-Account-Manager-0.4-0.tar.gz
 - -DEB -File - ldap-account-manager_0.4-2_all.deb
 - -RPM -File - suse-9.0-LDAP-Account-Manager-0.4-0.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.3
 - -Source -Code - LDAP-Account-Manager-0.3-1.tar.gz
 - -DEB -File - ldap-account-manager_0.3-1_all.deb
 - -RPM -File - suse-8.2-LDAP-Account-Manager-0.3-1.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.2
 - -Source -Code - LDAP-Account-Manager-0.2-1.tar.gz
 - -DEB -File - ldap-account-manager_0.2-1_all.deb
 - -RPM -File - suse-8.2-LDAP-Account-Manager-0.2-1.noarch.rpm
-


-

- - - - - - - - - - - - - - - -
LDAP Account -Manager 0.1
 - -Source -Code - LDAP-Account-Manager-0.1-1.tar.gz
 - -DEB -File - ldap-account-manager_0.1-1_all.deb
 - -RPM -File - suse-8.2-LDAP-Account-Manager-0.1-1.noarch.rpm
- -
- - - - diff --git a/lam-web/download/rpm.htm b/lam-web/download/rpm.htm deleted file mode 100755 index 7a40c48c..00000000 --- a/lam-web/download/rpm.htm +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

RPM packages

-
-

You can find up-to-date RPM packages in our Releases section.
-If you want to build the packages yourself then use this SPEC file. -

-Thanks to Iain Lea who maintains the RPM packages. -

- -


- -
- - - - diff --git a/lam-web/favicon.ico b/lam-web/favicon.ico deleted file mode 100644 index 1134d0c2..00000000 Binary files a/lam-web/favicon.ico and /dev/null differ diff --git a/lam-web/i18n/i18nhowto.htm b/lam-web/i18n/i18nhowto.htm deleted file mode 100755 index bcf12276..00000000 --- a/lam-web/i18n/i18nhowto.htm +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - - - - - - - -
  -

Translation HowTo
-

-

-
- Here is how our translation -system works:
-
-We use Gettext for -our translations. The .po files[1] contain all English strings -("msgid") in our
-project. You have to write the translation for each string in "msgstr". -The msgid must not be changed. -
-
-
- - - - - - - -
Example
- #: ../lib/lists.inc:474
- msgid "Change suffix"
- msgstr "" -
=> - #: ../lib/lists.inc:474
- msgid "Change suffix"
- msgstr "Suffix wechseln" -
-
-
-If you update an existing translation there might be fuzzy entries. Here the translation -system guessed the translation. Please also check these entries and -remove the word "fuzzy".
-
-At the beginning of the file please enter your name and mail address.
-Please note that the file must be encoded in UTF8. -

-Wildcards: There may appear wildcards like "%s" in the msgids. These are replaced by parameters at runtime. Please check that the number of wildcards in msgid and msgstr is the same. -

-We suggest to use KBabel -or PoEdit for the translation but -any editor with UTF8 support can do it, too.
-
-If you want to start a new translation please subscribe to lam-i18n -and write a short mail to what language you want to translate. We will -send you an empty .po file.
-Whenever the translations need to be updated we will inform you on lam-i18n.
-
-
-
-
-[1] locale/<LANG_ID>/LC_MESSAGES/messages.po
-
-
-
-
-
-
- - diff --git a/lam-web/i18n/index.htm b/lam-web/i18n/index.htm deleted file mode 100755 index f20dd269..00000000 --- a/lam-web/i18n/index.htm +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - - - - - - - - - - - -
  -

I18N - Internationalisation
-

-

-
-

We -are always looking for people to translate LDAP Account Manager to -other languages or review existing translations. -

-

If -you would like to help please write to our i18n-mailinglist. -

-

 

-

If -you find translation errors please write to - lam-i18n@lists.sourceforge.net.

-
-
- LAM translation team:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Language
-
Translator
-
Catalan
-
Dani Pardo
-
Chinese (Simplified)
-
Alan Needham
-
Chinese (Traditional)
-
Hung Chih-ming
-
Czech
-
Ludek Finstrle
-
Dutch
-
Ruud Baart
-
English
-
LAM developers
-
French
-
Xavier Poirier
-
German
-
Roland Gruber
-
Hungarian
-
Gergely Kakasy
-
Italian
-
Massimiliano Ferrero
-
Japanese
-
Yasuhiro Magara
-
Polish
-
Cezar C
-
Portuguese
-
Alexandre Makoto Tanno
-
Russian
-
Anatoly Turov
-
Spanish
-
Dani Pardo
-
-
-
- Translation HowTo
-
-
-
-
- - diff --git a/lam-web/images/background.png b/lam-web/images/background.png deleted file mode 100644 index 7a0ad19b..00000000 Binary files a/lam-web/images/background.png and /dev/null differ diff --git a/lam-web/images/brlink_logo.gif b/lam-web/images/brlink_logo.gif deleted file mode 100644 index b0423b69..00000000 Binary files a/lam-web/images/brlink_logo.gif and /dev/null differ diff --git a/lam-web/images/geoit_logo.gif b/lam-web/images/geoit_logo.gif deleted file mode 100644 index 3ee5b71b..00000000 Binary files a/lam-web/images/geoit_logo.gif and /dev/null differ diff --git a/lam-web/images/lam_logo.jpg b/lam-web/images/lam_logo.jpg deleted file mode 100644 index 35ef1e4d..00000000 Binary files a/lam-web/images/lam_logo.jpg and /dev/null differ diff --git a/lam-web/images/openlogo-nd-25.png b/lam-web/images/openlogo-nd-25.png deleted file mode 100644 index 5ad44879..00000000 Binary files a/lam-web/images/openlogo-nd-25.png and /dev/null differ diff --git a/lam-web/images/openlogo-nd-50.png b/lam-web/images/openlogo-nd-50.png deleted file mode 100644 index 411c9d96..00000000 Binary files a/lam-web/images/openlogo-nd-50.png and /dev/null differ diff --git a/lam-web/images/schema_groupOfNames.png b/lam-web/images/schema_groupOfNames.png deleted file mode 100644 index 3e767c7c..00000000 Binary files a/lam-web/images/schema_groupOfNames.png and /dev/null differ diff --git a/lam-web/images/schema_inetOrgPerson.png b/lam-web/images/schema_inetOrgPerson.png deleted file mode 100644 index e2a44eca..00000000 Binary files a/lam-web/images/schema_inetOrgPerson.png and /dev/null differ diff --git a/lam-web/images/schema_kolab.png b/lam-web/images/schema_kolab.png deleted file mode 100644 index 31b6f339..00000000 Binary files a/lam-web/images/schema_kolab.png and /dev/null differ diff --git a/lam-web/images/schema_mac.png b/lam-web/images/schema_mac.png deleted file mode 100644 index eb153a33..00000000 Binary files a/lam-web/images/schema_mac.png and /dev/null differ diff --git a/lam-web/images/schema_mailAlias.png b/lam-web/images/schema_mailAlias.png deleted file mode 100644 index 6079a528..00000000 Binary files a/lam-web/images/schema_mailAlias.png and /dev/null differ diff --git a/lam-web/images/schema_samba.png b/lam-web/images/schema_samba.png deleted file mode 100644 index 3d2e6885..00000000 Binary files a/lam-web/images/schema_samba.png and /dev/null differ diff --git a/lam-web/images/schema_ssh.png b/lam-web/images/schema_ssh.png deleted file mode 100644 index ccf8497e..00000000 Binary files a/lam-web/images/schema_ssh.png and /dev/null differ diff --git a/lam-web/images/schema_unix.png b/lam-web/images/schema_unix.png deleted file mode 100644 index db2e8b7b..00000000 Binary files a/lam-web/images/schema_unix.png and /dev/null differ diff --git a/lam-web/images/schema_user.png b/lam-web/images/schema_user.png deleted file mode 100644 index 7be48fb8..00000000 Binary files a/lam-web/images/schema_user.png and /dev/null differ diff --git a/lam-web/images/sflogo.png b/lam-web/images/sflogo.png deleted file mode 100644 index 503b9749..00000000 Binary files a/lam-web/images/sflogo.png and /dev/null differ diff --git a/lam-web/images/siedl_logo.gif b/lam-web/images/siedl_logo.gif deleted file mode 100644 index 794b1205..00000000 Binary files a/lam-web/images/siedl_logo.gif and /dev/null differ diff --git a/lam-web/images/zend_logo.gif b/lam-web/images/zend_logo.gif deleted file mode 100644 index 389e753a..00000000 Binary files a/lam-web/images/zend_logo.gif and /dev/null differ diff --git a/lam-web/index.htm b/lam-web/index.htm deleted file mode 100755 index 3c76fd4f..00000000 --- a/lam-web/index.htm +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - - - - - - - - - - - -
  -

-

LDAP Account Manager

-

LDAP Account Manager (LAM) is a webfrontend for -managing accounts stored in an LDAP directory.

-
-
-

LAM -

-


-

-
-
-

LDAP Account Manager Pro

LAM Pro is an enhanced version of LAM which includes many features for enterprise usage. -E.g. the LAM Pro self service allows your users to change their personal data and passwords themselves. - More information
-
-
-

New: Scalix support for LAM available. Read more

-
-
-

Features:

-
    -
  • management of Unix user and group accounts -(posixAccount/posixGroup)
  • -
  • management of Samba 2.x/3 user and host -accounts -(sambaAccount/sambaSamAccount)
  • -
  • management of Kolab 2 accounts -(kolabInetorgPerson)
  • -
  • profiles for account creation
  • -
  • account creation via file upload
  • -
  • automatic creation/deletion of home -directories
  • -
  • setting quotas
  • -
  • PDF output for all accounts
  • -
  • editor for organizational units (OU)
  • -
  • schema browser
  • -
  • tree view
  • -
  • multiple configuration files
  • -
  • multi-language support (Catalan, Chinese -(Traditional + Simplified), Czech, Dutch, English, French, German, -Hungarian, Italian, Japanese, Polish, Portuguese, Russian and Spanish)
  • -
  • support for LDAP+SSL/TLS
  • -
-

-

-Complete list of supported account types: supported types -
-

-



-

If you like LAM please consider making a donation. -

-


-
-

-
- - diff --git a/lam-web/lam.js b/lam-web/lam.js deleted file mode 100644 index 46168281..00000000 --- a/lam-web/lam.js +++ /dev/null @@ -1,12 +0,0 @@ - -// mouseOver function -function list_over(list) { - list.setAttribute('class','nav-over', 0); - list.setAttribute('className','nav-over', 0); -} - -// mouseOut function -function list_out(list) { - list.setAttribute('class','nav', 0); - list.setAttribute('className','nav', 0); -} diff --git a/lam-web/lamPro/index.htm b/lam-web/lamPro/index.htm deleted file mode 100644 index c8cb2b2c..00000000 --- a/lam-web/lamPro/index.htm +++ /dev/null @@ -1,11 +0,0 @@ - - - - - -LDAP Account Manager - - - - - \ No newline at end of file diff --git a/lam-web/lamPro/payment.htm b/lam-web/lamPro/payment.htm deleted file mode 100644 index d7baaee3..00000000 --- a/lam-web/lamPro/payment.htm +++ /dev/null @@ -1,11 +0,0 @@ - - - - - -LDAP Account Manager - - - - - \ No newline at end of file diff --git a/lam-web/lamPro/rgs.htm b/lam-web/lamPro/rgs.htm deleted file mode 100644 index 363377c7..00000000 --- a/lam-web/lamPro/rgs.htm +++ /dev/null @@ -1,11 +0,0 @@ - - - - - -LDAP Account Manager - - - - - \ No newline at end of file diff --git a/lam-web/live-demo/index.htm b/lam-web/live-demo/index.htm deleted file mode 100755 index 3d6d5508..00000000 --- a/lam-web/live-demo/index.htm +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

LAM-Live-Demo

-
-

For people who want to get a first impression of what -LDAP Account Manager is, how it looks like and what can be done with -it, we can offer a special service: LAM-Live-Demo. You can use -LDAP Account Manager on a machine on the internet and check out its -features.

-


-
- -Demo server 1 (last stable release of LAM Pro)       The password is "lam". -
-Demo server 1 (CVS)       The password is "lam". -
-
- -Demo server 2 (last stable release of LAM Pro)       The password is "lamsecret". -
-Demo server 2 (CVS)       The password is "lamsecret". -
-
- - -
-
-

- -
- - - - diff --git a/lam-web/mailinglists/index.htm b/lam-web/mailinglists/index.htm deleted file mode 100755 index f7904f7d..00000000 --- a/lam-web/mailinglists/index.htm +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Mailing lists

- - - - - - - -
lam-announce
- Here you get the latest announcements from the LAM development team. Mostly new releases and critical bugs or similiar things will be posted here. Go to the - lam-announce interface to add your e-mail address. -
-





- - - - - - - -
lam-public
- This list is for everyone, developers and users, to share their experiences with LAM, ask the developers something, discuss about LAM and more. Go to the - lam-public interface to add your e-mail address. -
-









- -
- - - - diff --git a/lam-web/new-developers.htm b/lam-web/new-developers.htm deleted file mode 100644 index 495f0b20..00000000 --- a/lam-web/new-developers.htm +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - - - - - - - - -
  - -


-

-

LAM needs new developers/designers
-

-
-We are looking for new developers and designers to support our project. -Since LAM grew very fast over the last months we need your help.
-If you are interested in joining our team please contact Roland Gruber.
-
-

Developers

- -Needed skills:
-
-
    -
  • writing PHP applications
  • -
  • basic LDAP knowledge
  • -
  • speaking English or German
  • -
  • at least 3-5 hours time per week for LAM
  • -
-
-Your possible tasks:
-
    -
  • developing new plugins
  • -
  • maintaining parts of LAM (fixing bugs and implementing new features)
  • -
  • refactoring the existing codebase
  • -
  • ...
  • -
-
-You can take a look at our developer -documentation to get an overview over the code base.
-
-
-

Designers

- -Needed skills:
-
-
    -
  • artistic talent
  • -
  • webdesign knowledge
  • -
  • programming skills are optional
  • -
- -Your possible tasks:
-
-
    -
  • enhancing LAM's design
  • -
  • working on this homepage
  • -
  • ...
  • -
-
-If you are interested in joining our team or have any questions please -contact Roland Gruber. - -
-
-
- - - - diff --git a/lam-web/news/archives.htm b/lam-web/news/archives.htm deleted file mode 100755 index e692dcd8..00000000 --- a/lam-web/news/archives.htm +++ /dev/null @@ -1,705 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Archived news

-
-

- - - - - - - - - - -
Thursday 10th August 2006 - 1.0.4
This release includes support for Samba password policies and is now also translated to Russian.
-
-

- - - - - - - - - - -
Wednesday 5th July 2006 - 1.0.3
This release closes some security related bugs.
-
-

- - - - - - - - - - -
Wednesday 24th May 2006 - 1.0.2
This release adds some security enhancements and closes several bugs.
-
-

- - - - - - - - - - -
Wednesday 12th April 2006 - 1.0.1
This release fixes several bugs of the 1.0.0 release and adds some basic security checks.
-
-

- - - - - - - - - - -
Wednesday 1st March 2006 - 1.0.0
This release introduces a new architecture which supports more account types than just users, groups and hosts.
-
-

- - - - - - - - - - -
Wednesday 8th February 2006 - 1.0.rc2
This is the last release candidate of LAM 1.0. Please test it and report any problems.
-
-

- - - - - - - - - -
Wednesday 11th January 2006 - 1.0.rc1
This is the first release candidate of LAM 1.0. The new architecture will support more account types than just users, groups and hosts.
-
-

- - - - - - - - - - -
Wednesday 14th December 2005 - 0.5.3
This release fixes some bugs and allows to upload JPG images for users.
-
-

- - - - - - - - - -
Wednesday 16th November 2005 - 0.5.2
LAM 0.5.2 fixes some small bugs and includes a new module to manage SSH keys.
-
-

- - - - - - - - - -
Wednesday 19th October 2005 - 0.5.1
LAM 0.5.1 fixes several bugs which were reported since 0.5.0.
-
-

- - - - - - - - - -
Wednesday 28th September 2005 - 0.5.0
LAM 0.5.0 is ready!
This is the first release which includes the new architecture. It offers a lot of new - functions. See the changelog for details.
-
-

- - - - - - - - - -
Thursday 8th September 2005 - 0.5.rc3
LAM 0.5.rc3 is the third and maybe last release candidate of -LAM 0.5. Since this is an unstable release do not use it -in productive environments.
-
-

- - - - - - - - - -
Thursday 18th August 2005
LAM 0.5.rc2 is the second release candidate of LAM 0.5. Since -this is an unstable release do not use it -in productive environments.
-
-
-

- - - - - - - - - -
Monday 8th August 2005
LAM 0.5.rc1 is the first release candidate of LAM 0.5. Since -this is an unstable release do not use it -in productive environments.
-
-
-

- - - - - - - - - -
Thursday 28th July 2005
LAM 0.4.10 is now compatible with PHP5.
-
-
-

- - - - - - - - - -
Thursday 30th June 2005
LAM 0.5.alpha2 is the second and probably last alpha release -of LAM 0.5. Since this is an alpha release do not use it -in productive environments.
-
-
-

- - - - - - - - - -
Wednesday 11th May 2005
LAM 0.5.alpha1 is the first release of LAM which contains the -new modular architecture. Since this is an alpha release do not use it -in productive environments.
-
-
-

- - - - - - - - - -
Wednesday 9th March 2005
The LDAP Account Manager team is pleased to release another -version of LAM. This release fixes some minor bugs of the 0.4.8 release.
-There is also a security fix for lamdaemon.pl.
-
-

- - - - - - - - - -
Wednesday 26th January 2005
The LDAP Account Manager team is pleased to release another -version of LAM. This release fixes some minor bugs of the 0.4.7 -release.
-
-

- - - - - - - - - -
Thursday 27th May 2004
The LDAP Account Manager team is pleased to release another -version of LAM. This release fixes some minor bugs of the 0.4.5 -release.
-
-

- - - - - - - - - -
Monday 5th April 2004
John H. Terpstra wrote an appendix about LAM in his new book -Samba-3 by Example.
-It covers installation and usage of LAM. There are also several -screenshots.
-
-

- - - - - - - - - -
Sunday 21th March 2004
The LDAP Account Manager team is pleased to release the next -version of LAM (0.4.5), which is marked stable. This release fixes some -minor bugs and comes with a French translation.
-
-

- - - - - - - - - -
Sunday 29th February 2004
After a year of developing LDAP Account Manager we think -that LAM has reached a state where we can declare it stable.
-
-Thanks a lot to all the people that helped us to improve LAM and make -it such a great tool.
-
-Special thanks go to:
-- Clement Laforet for maintaining LAM in FreeBSD
-- Matthew Palmer/Andreas Barth who sponsor LAM for Debian
-- Zoltan Lohner/Oota Toshiya for their translations
-- Andreas Rehm who wrote a howto for LAM
-- John H. Terpstra for writing about LAM in his books
-- all the people on lam-public and bug submitters
-
-
-This version closes a lot of minor bugs. There are no new features.
-
-

- - - - - - - - - -
Monday 9th February 2004
Today the fourth beta release (version 0.4.3) is ready for -download in the download section. As in release 0.4.2 not many new -features have been added. Please note that this is still a beta -release, although we think that there should not be any more critical -bugs in this release. Please do not use it in a productive environment -unless you know the problems that could occur. The LDAP Account Manager -Development Team would be very pleased if you report any bugs you find -to our bug tracker.
-
-

- - - - - - - - - -
Wednesday 21th January 2004
Today the third beta release (version 0.4.2) is ready for -download in the download section. As in release 0.4.1 not many new -features have been added. Please note that this is still a beta -release, although we think that there should not be any more critical -bugs in this release. Please do not use it in a productive environment -unless you know the problems that could occur. The LDAP Account Manager -Development Team would be very pleased if you report any bugs you find -to our bug tracker.
-
-

- - - - - - - - - -
Tuesday 30th December 2003
The CVS archive has been splitted into the modules "lam" and -"lam-0.4".
-
-The lam module contains the new plugin structure and will be unstable -for some time. This will be the upcoming 0.5 release.
-
-lam-0.4 contains the 0.4.1 release and will be used until the plugins -are stable. There will be also a new release with a configuration -wizard and MCrypt removed in the next few weeks.
-
-

- - - - - - - - - -
Monday 29th December 2003
Today the second beta release (version 0.4.1) is ready for -download in the download section. Please note that this is still a beta -release, although we think that there should not be any more critical -bugs in this release. Please do not use it in a productive environment -unless you know the problems that could occur. The LDAP Account Manager -Development Team would be very pleased if you report any bugs you find -to our bug tracker.
-
-

- - - - - - - - - -
Monday 29th December 2003
Debian users now can get LAM directly from unstable. Thanks -to Matthew Palmer who is sponsoring the package.
-
-The Mentors repository will still be updated for the next few versions. -
-
-

- - - - - - - - - -
Wednesday 29th October 2003
Today the first beta release (version 0.4) is ready for -download in the download section. Please note that this is still a beta -release, although we think that the number of bugs has been reduced -since the last release. Please do not use it in a productive -environment unless you know the problems that could occur. The LDAP -Account Manager Development Team would be very pleased if you report -any bugs you find to our bug tracker.
-
-

- - - - - - - - - -
Sunday 31th August 2003
Today the third alpha release (version 0.3) is ready for -download in the download section. Please note that this is still just -an alpha release, although we think that the number of bugs has been -reduced since the last release. Please do not use it in a productive -environment unless you know the problems that could occur. The LDAP -Account Manager Development Team would be very pleased if you report -any bugs you find to our bug tracker.
-
-

- - - - - - - - - -
Saturday 5th June 2003
Today the second alpha release (version 0.2) is ready for -download in the download section. Please note that this is still just -an alpha release. Please do not use it in a productive environment. The -LDAP Account Manager Development Team would be very pleased if you -report any bugs you find to our bug tracker.
-
-

- - - - - - - - - -
Saturday 24th May 2003
Today the first alpha release (version 0.1) is ready for -download in the download section. Please note that this is just an -alpha release. Please do not use it in a productive environment. The -LDAP Account Manager Development Team would be very pleased if you -report any bugs you find to our bug tracker.
-
- -
- - - - diff --git a/lam-web/news/index.htm b/lam-web/news/index.htm deleted file mode 100755 index ff79073a..00000000 --- a/lam-web/news/index.htm +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

News

-
-

- - - - - - - - - - -
Wednesday 30th April 2008 - 2.3.0
LAM now supports password policies and phpGroupware accounts.
-
-

- - - - - - - - - - -
Wednesday 23th January 2008 - 2.2.0
This release adds a number of usability enhancements. The controls of the main tab were moved and are permanently visible. -
LAM Pro customers can set different access levels and use the new password reset page.
-
-

- - - - - - - - - - -
Wednesday 7th November 2007 - 2.1.0
This release comes with a new tabular design for the account pages. The Samba 3 module now supports terminal server settings.
-
-

- - - - - - - - - - -
Wednesday 8th August 2007 - 2.0.0
This is the first release which requires PHP5. It includes three -new translations (Simplified Chinese, Czech and Portuguese) and includes -several bug fixes and minor improvements.
-
-

- - - - - - - - - - -
Wednesday 28th March 2007 - 1.3.0
LAM can now display user photos in the account list and supports multiple lamdaemon servers.

-This release fixes also a security bug where HTML characters in LDAP data were not escaped.
-
-

- - - - - - - - - - -
Wednesday 24th January 2007 - 1.2.0
This release includes minor enhancements of the Samba 3 module. The LAM Pro version now supports groupOf(Unique)Names accounts.
-
-

- - - - - - - - - - -
Monday 13th November 2006 - End of PHP4 support
The support for PHP version 4 for LAM will end on 01.03.2007. This means that all releases after this date will require PHP 5 to run.
-
-

- - - - - - - - - - -
Wednesday 1st November 2006 - 1.1.1
This version fixes the password hashing bug. LAM now includes a test page for lamdaemon.
-
-

- - - - - - - - - - -
Wednesday 20th September 2006 - 1.1.0
This release comes with a new lamdaemon implementation which should be far more stable now.
-
-

- -

Archived news

-
- -
- - - - diff --git a/lam-web/po-files/messages.po.tar.gz b/lam-web/po-files/messages.po.tar.gz deleted file mode 100644 index 489baf76..00000000 Binary files a/lam-web/po-files/messages.po.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_ca.tar.gz b/lam-web/po-files/messages.po_ca.tar.gz deleted file mode 100644 index b48bcc33..00000000 Binary files a/lam-web/po-files/messages.po_ca.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_cs.tar.gz b/lam-web/po-files/messages.po_cs.tar.gz deleted file mode 100644 index 5fd72388..00000000 Binary files a/lam-web/po-files/messages.po_cs.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_es.tar.gz b/lam-web/po-files/messages.po_es.tar.gz deleted file mode 100644 index c96b863b..00000000 Binary files a/lam-web/po-files/messages.po_es.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_fr.tar.gz b/lam-web/po-files/messages.po_fr.tar.gz deleted file mode 100644 index 54f032bf..00000000 Binary files a/lam-web/po-files/messages.po_fr.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_hu.tar.gz b/lam-web/po-files/messages.po_hu.tar.gz deleted file mode 100644 index e15409b3..00000000 Binary files a/lam-web/po-files/messages.po_hu.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_it.tar.gz b/lam-web/po-files/messages.po_it.tar.gz deleted file mode 100644 index 717e923c..00000000 Binary files a/lam-web/po-files/messages.po_it.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_jp.tar.gz b/lam-web/po-files/messages.po_jp.tar.gz deleted file mode 100644 index 5e624257..00000000 Binary files a/lam-web/po-files/messages.po_jp.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_nl.tar.gz b/lam-web/po-files/messages.po_nl.tar.gz deleted file mode 100644 index 82538de7..00000000 Binary files a/lam-web/po-files/messages.po_nl.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_pt.tar.gz b/lam-web/po-files/messages.po_pt.tar.gz deleted file mode 100644 index d4d913bc..00000000 Binary files a/lam-web/po-files/messages.po_pt.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_ru.tar.gz b/lam-web/po-files/messages.po_ru.tar.gz deleted file mode 100644 index aeb75f86..00000000 Binary files a/lam-web/po-files/messages.po_ru.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_zh_CN.tar.gz b/lam-web/po-files/messages.po_zh_CN.tar.gz deleted file mode 100644 index 860304ec..00000000 Binary files a/lam-web/po-files/messages.po_zh_CN.tar.gz and /dev/null differ diff --git a/lam-web/po-files/messages.po_zh_TW.tar.gz b/lam-web/po-files/messages.po_zh_TW.tar.gz deleted file mode 100644 index aa5e8652..00000000 Binary files a/lam-web/po-files/messages.po_zh_TW.tar.gz and /dev/null differ diff --git a/lam-web/robots.txt b/lam-web/robots.txt deleted file mode 100755 index ae42c7ae..00000000 --- a/lam-web/robots.txt +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/lam-web/screenshots/images/config1.jpg b/lam-web/screenshots/images/config1.jpg deleted file mode 100644 index de2e479c..00000000 Binary files a/lam-web/screenshots/images/config1.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/config2.jpg b/lam-web/screenshots/images/config2.jpg deleted file mode 100644 index e0371d61..00000000 Binary files a/lam-web/screenshots/images/config2.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/config3.jpg b/lam-web/screenshots/images/config3.jpg deleted file mode 100644 index 16ff4d72..00000000 Binary files a/lam-web/screenshots/images/config3.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/fileupload.jpg b/lam-web/screenshots/images/fileupload.jpg deleted file mode 100644 index f4b74952..00000000 Binary files a/lam-web/screenshots/images/fileupload.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/grouplist.jpg b/lam-web/screenshots/images/grouplist.jpg deleted file mode 100644 index 344a0ef7..00000000 Binary files a/lam-web/screenshots/images/grouplist.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/login.jpg b/lam-web/screenshots/images/login.jpg deleted file mode 100644 index f0e46511..00000000 Binary files a/lam-web/screenshots/images/login.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/m_userlist.jpg b/lam-web/screenshots/images/m_userlist.jpg deleted file mode 100644 index 58db7edb..00000000 Binary files a/lam-web/screenshots/images/m_userlist.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/ouedit.jpg b/lam-web/screenshots/images/ouedit.jpg deleted file mode 100644 index ee0bb675..00000000 Binary files a/lam-web/screenshots/images/ouedit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/pdf.jpg b/lam-web/screenshots/images/pdf.jpg deleted file mode 100644 index 470a3b84..00000000 Binary files a/lam-web/screenshots/images/pdf.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/pdfedit.jpg b/lam-web/screenshots/images/pdfedit.jpg deleted file mode 100644 index a6018dae..00000000 Binary files a/lam-web/screenshots/images/pdfedit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/profiles.jpg b/lam-web/screenshots/images/profiles.jpg deleted file mode 100644 index 3384bfc5..00000000 Binary files a/lam-web/screenshots/images/profiles.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/schemabrowser.jpg b/lam-web/screenshots/images/schemabrowser.jpg deleted file mode 100644 index 1c191c06..00000000 Binary files a/lam-web/screenshots/images/schemabrowser.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_config1.jpg b/lam-web/screenshots/images/t_config1.jpg deleted file mode 100644 index 36d0fdc9..00000000 Binary files a/lam-web/screenshots/images/t_config1.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_config2.jpg b/lam-web/screenshots/images/t_config2.jpg deleted file mode 100644 index 55010c3e..00000000 Binary files a/lam-web/screenshots/images/t_config2.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_config3.jpg b/lam-web/screenshots/images/t_config3.jpg deleted file mode 100644 index 534449fb..00000000 Binary files a/lam-web/screenshots/images/t_config3.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_fileupload.jpg b/lam-web/screenshots/images/t_fileupload.jpg deleted file mode 100644 index 445ffc49..00000000 Binary files a/lam-web/screenshots/images/t_fileupload.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_grouplist.jpg b/lam-web/screenshots/images/t_grouplist.jpg deleted file mode 100644 index bea7729a..00000000 Binary files a/lam-web/screenshots/images/t_grouplist.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_login.jpg b/lam-web/screenshots/images/t_login.jpg deleted file mode 100644 index b0af153a..00000000 Binary files a/lam-web/screenshots/images/t_login.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_ouedit.jpg b/lam-web/screenshots/images/t_ouedit.jpg deleted file mode 100644 index b8d9b8b5..00000000 Binary files a/lam-web/screenshots/images/t_ouedit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_pdf.jpg b/lam-web/screenshots/images/t_pdf.jpg deleted file mode 100644 index 135f0665..00000000 Binary files a/lam-web/screenshots/images/t_pdf.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_pdfedit.jpg b/lam-web/screenshots/images/t_pdfedit.jpg deleted file mode 100644 index 2a8bf68f..00000000 Binary files a/lam-web/screenshots/images/t_pdfedit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_profiles.jpg b/lam-web/screenshots/images/t_profiles.jpg deleted file mode 100644 index d84f8a77..00000000 Binary files a/lam-web/screenshots/images/t_profiles.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_schemabrowser.jpg b/lam-web/screenshots/images/t_schemabrowser.jpg deleted file mode 100644 index c36fc838..00000000 Binary files a/lam-web/screenshots/images/t_schemabrowser.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_treeview.jpg b/lam-web/screenshots/images/t_treeview.jpg deleted file mode 100644 index 3e6f95f8..00000000 Binary files a/lam-web/screenshots/images/t_treeview.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_userPhotos.jpg b/lam-web/screenshots/images/t_userPhotos.jpg deleted file mode 100644 index 18d88e8a..00000000 Binary files a/lam-web/screenshots/images/t_userPhotos.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_useredit.jpg b/lam-web/screenshots/images/t_useredit.jpg deleted file mode 100644 index 21ef62c4..00000000 Binary files a/lam-web/screenshots/images/t_useredit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/t_userlist.jpg b/lam-web/screenshots/images/t_userlist.jpg deleted file mode 100644 index 3188eb87..00000000 Binary files a/lam-web/screenshots/images/t_userlist.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/treeview.jpg b/lam-web/screenshots/images/treeview.jpg deleted file mode 100644 index 393aa16d..00000000 Binary files a/lam-web/screenshots/images/treeview.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/userPhotos.jpg b/lam-web/screenshots/images/userPhotos.jpg deleted file mode 100644 index 84a4616c..00000000 Binary files a/lam-web/screenshots/images/userPhotos.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/useredit.jpg b/lam-web/screenshots/images/useredit.jpg deleted file mode 100644 index 61f1dc74..00000000 Binary files a/lam-web/screenshots/images/useredit.jpg and /dev/null differ diff --git a/lam-web/screenshots/images/userlist.jpg b/lam-web/screenshots/images/userlist.jpg deleted file mode 100644 index 1c970561..00000000 Binary files a/lam-web/screenshots/images/userlist.jpg and /dev/null differ diff --git a/lam-web/screenshots/index.htm b/lam-web/screenshots/index.htm deleted file mode 100755 index a3a3172d..00000000 --- a/lam-web/screenshots/index.htm +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Screenshots

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Click on the images to enlarge them in a new window.



login page

list of user accounts

user photos


list of group accounts

modification of user accounts

account profiles


create users via file upload

tree view

schema browser


PDF export

select attributes for PDF export

OU-Editor


configuration profiles

configuration

account modules

Click on the images to enlarge them in a new window.
- -
- - - - diff --git a/lam-web/sponsors/donations.htm b/lam-web/sponsors/donations.htm deleted file mode 100755 index 234b0399..00000000 --- a/lam-web/sponsors/donations.htm +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

-

Donations

-
-

Why you should donate:

-
-LAM is developed in our free time without gaining money for the work. -This is the big advantage that free software offers to you.
-Of course, we also need to work to afford our life. Therefore the time -we can spend for the project is limited.
-
-You can help us to spend more time by making donations. This will make -it possible for us to buy hardware, software or present LAM on one of -the various Free Software exhibitions.
-
-Please note that you will always get a consideration for your -support. Your money helps us to keep LAM alive and continue the support -for this product.
-
-If you need special modifications or feature enhancements in LAM we are -strongly interested in helping you in return for a donation. Please -contact Roland Gruber for details.
-
-
-

Take a look at our bounty page: Bounties

-
-
-

How you can donate:

-
-PayPal: Just use the donation -service provided by Sourceforge.
-
-Bank transfer:
-
-Account holder: Roland Gruber
-Bank name: 1822direkt
-Germany: Account number: 1252 -757 733, BLZ: 500 502 01
-International: IBAN: DE50 -5005 0201 1252 7577 33, BIC: -FRASDEFF
-
-
-Other possibilities on request.
- -
- - - - diff --git a/lam-web/sponsors/index.htm b/lam-web/sponsors/index.htm deleted file mode 100755 index a4ad4c65..00000000 --- a/lam-web/sponsors/index.htm +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - - - - - - - - - -
  -

Sponsors

-Take a look at our donations page for -information on how you can support us.
-
-
-Here is a list of our sponsors:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
01.09.2007
-
BR Link sponsors LAM demo installations.
-
Geo-IT
-
-
22.02.2007
-
Siedl networks GmbH spent code to support multiple servers for lamdaemon.
-
Geo-IT
-
-
16.06.2005
-
Geo-IT spent us some money -for -supporting Kolab accounts.
-
Geo-IT
-
-
28.03.2005: Zend -supports us with -licenses for Zend Studio Professional
-
Zend
-
-
-
- - diff --git a/lam-web/style/layout.css b/lam-web/style/layout.css deleted file mode 100755 index b7718825..00000000 --- a/lam-web/style/layout.css +++ /dev/null @@ -1,92 +0,0 @@ -/* body { background-color:#F5F5F5; } */ - -body { - font-family:sans-serif; - background-image:url("../images/background.png"); - background-repeat: repeat-y; -} - -a { -color:#000080; -text-decoration:none; -} - -a:visited { -color:#000080; -text-decoration:none; -} - -a:hover { -color:red; -text-decoration:none; -} - -a:active { -color:red; -text-decoration:none; -} - -h1 { color:#253aa3; } -h2 { color:#000080; font-size:13pt; } - -table { border-color:#253aa3; border-style:solid; border-width:1px; } -th { background-color:#253aa3; text-align:left; font-size:12pt; font-weight:bold; color:#FFFFFF; border-color:#253aa3; border-style:hidden; height:21px; } -td { padding-left: 15px;border-color:#253aa3; border-style:hidden; font-size:12pt; } - -/* background table */ -table.main { - border-width:0px; -} - -/* menu */ -td.menu { - vertical-align:top; -} - -/* main area */ -td.mainarea { - vertical-align:top; -} - -/* home.htm */ -h1.home { text-align:center; color:#000080; } -p.home { text-align:center; } - -h2.features { margin-bottom:0px; } -p.features { margin:2px; } - -/* news/index.htm */ -h2.news { margin-bottom:0px; } -p.news { margin-top:5px; text-align:justify; } - -/* nav.htm */ -table.nav { border-color:#253aa3; border-width:1px; } -th.nav { background-color:#253aa3; text-align:left; font-size:12pt; font-weight:bold; color:#FFFFFF; height:21px; } -td.nav { padding-left: 15px;background-color:#FFFFFF; font-size:10pt; } -td.nav-over { padding-left: 15px;background-color:#a8c3ff; font-size:10pt; } - -a.download { color:#253aa3; text-decoration:none; font-weight:bold; } -a.download:hover { color:red;text-decoration:none; } - -p.download { font-size:12pt; } -/* third-party/index.htm */ -table.thirdparty { border-color:#253aa3; border-style:solid; border-width:3px; } -th.thirdparty { background-color:#253aa3; text-align:left; font-size:16pt; font-weight:bold; color:#FFFFFF; border-color:#253aa3; border-style:hidden; height:25px; } -td.thirdpartyLink { border-color:#253aa3; border-style:hidden; } -td.thirdpartySpace { border-color:#253aa3; border-style:hidden; text-align:right; color:#253aa3; font-weight:bold; } - -a.thirdparty { color:#253aa3; text-decoration:none; font-weight:bold; } -a.thirdparty:hover { text-decoration:underline; } - -/* Debian page */ -table.debian { border-width:0px; } -td.debian { font-size:12pt; } - -/* documentation/index.htm */ -a.documentation { color:#253aa3; text-decoration:none; font-weight:bold; font-size:12pt; } - -/* bugs */ -td.bugGrave { padding-left: 1px;background-color:red; } -td.bugNormal { padding-left: 1px;background-color:#ffc600; } -td.bugMinor { padding-left: 1px;background-color:yellow; } -td.bugOther { padding-left: 1px; } diff --git a/lam-web/tmp/ldap-account-manager-2.3.0RC1.tar.gz b/lam-web/tmp/ldap-account-manager-2.3.0RC1.tar.gz deleted file mode 100644 index 87a7c84b..00000000 Binary files a/lam-web/tmp/ldap-account-manager-2.3.0RC1.tar.gz and /dev/null differ diff --git a/lam-web/tmp/scalixGroupClass.inc b/lam-web/tmp/scalixGroupClass.inc deleted file mode 100644 index 091c95c2..00000000 --- a/lam-web/tmp/scalixGroupClass.inc +++ /dev/null @@ -1,264 +0,0 @@ -scalixScalixObject = false; - } - - - /** used for account pages, true if input data is correct */ - var $inputCorrect = true; - var $scalixScalixObject; - var $scalixMailnode; - var $scalixEmailAddress; - - - /** - * Returns meta data that is interpreted by parent class - * - */ - function get_metaData() { - $return = array(); - // manages user accounts - $return["account_types"] = array("group"); - // alias name - $return["alias"] = _("Scalix"); - // module dependencies - $return['dependencies'] = array('depends' => array(), 'conflicts' => array()); - // help Entries - $return['help'] = array ( - "scalixuser" => array( - "ext" => "FALSE", "Headline" => _("scalixScalixObject"), - "Text" => _("boolean TRUE or FALSE for creating scalix object")), - "mailnode" => array( - "ext" => "FALSE", "Headline" => _("scalixMailnode"), - "Text" => _("comma separated org units for object mailnode")), - "mboxaddr" => array( - "ext" => "FALSE", "Headline" => _("scalixEmailAddress"), - "Text" => _("E-Mail Adress of Scalix Group")) - ); - $return['attributes'] = array('scalixScalixObject','scalixMailnode','scalixEmailAddress'); - $return['objectClasses'] = array('scalixUserClass'); - return $return; - } - - /** - * This function loads all needed attributes into the object. - * - * @param array $attr an array as it is retured from ldap_get_attributes - */ - function load_attributes($attr) { - parent::load_attributes($attr); - //scalixScalixObject - if (is_string($this->attributes['scalixScalixObject'][0])) { - if ($this->attributes['scalixScalixObject'][0] == "TRUE") $this->scalixScalixObject = true; - else $this->scalixScalixObject = false; - } - //scalixMailnode - $this->attributes['objectClass'] = array(); - $this->attributes['scalixMailnode'] = array(); - $this->orig['objectClass'] = array(); - $this->orig['scalixMailnode'] = array(); - if (isset($attr['objectClass'])) { - $this->attributes['objectClass'] = $attr['objectClass']; - $this->orig['objectClass'] = $attr['objectClass']; - } - if (isset($attr['scalixMailnode'])) { - $this->attributes['scalixMailnode'] = $attr['scalixMailnode']; - $this->orig['scalixMailnode'] = $attr['scalixMailnode']; - } - - //scalixEmailAddress - $this->attributes['objectClass'] = array(); - $this->attributes['scalixEmailAddressx'] = array(); - $this->orig['objectClass'] = array(); - $this->orig['scalixEmailAddress'] = array(); - if (isset($attr['objectClass'])) { - $this->attributes['objectClass'] = $attr['objectClass']; - $this->orig['objectClass'] = $attr['objectClass']; - } - if (isset($attr['scalixEmailAddress'])) { - $this->attributes['scalixEmailAddress'] = $attr['scalixEmailAddress']; - $this->orig['scalixEmailAddress'] = $attr['scalixEmailAddress']; - } - - // add object class if needed -// if (! in_array('scalixUserClass', $this->orig['objectClass'])) { -// $this->attributes['objectClass'][] = 'scalixUserClass'; -// } - if (! in_array('scalixUserClass', $this->orig['objectClass'])) { - $this->attributes['objectClass'][] = 'scalixUserClass'; - } - return 0; - } - - /** - * Returns a list of modifications which have to be made to the LDAP account. - * - * @return array list of modifications - *
This function returns an array with 3 entries: - *
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... ) - *
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid) - *
"add" are attributes which have to be added to LDAP entry - *
"remove" are attributes which have to be removed from LDAP entry - *
"modify" are attributes which have to been modified in LDAP entry - */ - function save_attributes() { - return $_SESSION[$this->base]->save_module_attributes($this->attributes, $this->orig); - } - - /** - * This function will create the meta HTML code to show a page with all attributes. - * - * @param array $post HTTP-POST values - */ - function display_html_attributes() { - $return = array(); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Scalix User') ), - 1 => array ( 'kind' => 'input', 'name' => 'scalixScalixObject', 'type' => 'checkbox', 'checked' => $this->scalixScalixObject, 'value' => 'true'), - 2 => array ('kind' => 'help', 'value' => 'scalixuser')); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Mailnode') ), - 1 => array ( 'kind' => 'input', 'type' => 'text', 'name' => 'scalixMailnode', 'size' => '20', 'maxlength' => '255', 'value' => $this->attributes['scalixMailnode'][0]), - 2 => array ( 'kind' => 'help', 'value' => 'mailnode' )); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Mboxaddr') ), - 1 => array ( 'kind' => 'input', 'type' => 'text', 'name' => 'scalixEmailAddress', 'size' => '20', 'maxlength' => '255', 'value' => $this->attributes['scalixEmailAddress'][0]), - 2 => array ( 'kind' => 'help', 'value' => 'mboxaddr' )); - - return $return; - } - - function get_pdfEntries() { - return array( - 'scalixUserClass_scalixScalixObject' => array('' . _('Scalix User') . '' . $this->attributes['scalixScalixObject'][0] . ''), - 'scalixUserClass_scalixMailnode' => array('' . _('Mailnode') . '' . $this->attributes['scalixMailnode'][0] . ''), - 'scalixUserClass_scalixMboxaddr' => array('' . _('Mboxaddr') . '' . $this->attributes['scalixEmailAddress'][0] . '')); - } - - /** - * Processes user input of the primary module page. - * It checks if all input values are correct and updates the associated LDAP attributes. - * - * @param array $post HTTP-POST values - * @return array list of info/error messages - */ - function process_attributes() { - $this->triggered_messages = array(); - if (isset($_POST['scalixScalixObject'])) { - $this->scalixScalixObject = true; - $this->attributes['scalixScalixObject'][0] = "TRUE"; - } else { - $this->scalixScalixObject = false; - $this->attributes['scalixScalixObject'][0] = "FALSE"; - } - $this->attributes['scalixMailnode'][0] = $_POST['scalixMailnode']; - $this->attributes['scalixEmailAddress'][0] = $_POST['scalixEmailAddress']; - - - if (sizeof($this->triggered_messages) > 0) { - $this->inputCorrect = false; - return $this->triggered_messages; - } - else { - $this->inputCorrect = true; - return 0; - } - } - - /** - * This function returns true if all needed settings are done. - */ - function module_complete() { - return $this->inputCorrect; - } - - /** - * Returns true if all settings on module page are correct. - */ - function module_ready() { - return $this->inputCorrect; - } - - function get_profileOptions() { - $return = array(); - // use Unix password as Samba password - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Scalix User') . ': '), - 1 => array('kind' => 'input', 'name' => 'scalixUserClass_scalixScalixObject', 'type' => 'checkbox', 'checked' => true), - 2 => array('kind' => 'help', 'value' => 'scalixuser') - ); - $mboxes = array(0 => 'LIMITED', 1 => 'FULL'); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Mailnode') . ': '), - 1 => array('kind' => 'input', 'type' => 'text', 'name' => 'scalixUserClass_scalixMailnode', 'size' => '30', 'maxlength' => '255', 'value' => ''), - 2 => array('kind' => 'help', 'value' => 'mailnode') - ); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Mboxaddr') . ': '), - 1 => array('kind' => 'select', 'type' => 'text', 'name' => 'scalixUserClass_scalixEmailAddress', 'size' => '30', 'maxlength' => '255', 'value' => ''), - 2 => array('kind' => 'help', 'value' => 'mboxaddr') - ); - return $return; - } - - /** - * Loads the values of an account profile into internal variables. - * - * @param array $profile hash array with profile values (identifier => value) - */ - function load_profile($profile) { - // profile mappings in meta data - parent::load_profile($profile); - // special profile options - if ($profile['scalixUserClass_scalixScalixObject'][0] == "true") { - $this->scalixScalixObject = true; - } - elseif ($profile['scalixUserClass_scalixScalixObject'][0] == "false") { - $this->scalixScalixObject = false; - } - if (isset($profile['scalixUserClass_scalixMailnode'][0])) { - $this->attributes['scalixMailnode'][0] = $profile['scalixUserClass_scalixMailnode'][0]; - } - if (isset($profile['scalixUserClass_scalixEmailAddress'][0])) { - $this->attributes['scalixEmailAddress'][0] = $profile['scalixUserClass_scalixEmailAddress'][0]; - } - } -} - - -?> - diff --git a/lam-web/tmp/scalixUserClass.inc b/lam-web/tmp/scalixUserClass.inc deleted file mode 100644 index 3fe88e8e..00000000 --- a/lam-web/tmp/scalixUserClass.inc +++ /dev/null @@ -1,352 +0,0 @@ -scalixScalixObject = false; - $this->scalixAdministrator = false; - $this->scalixMailboxAdministrator = false; - } - - - /** used for account pages, true if input data is correct */ - var $inputCorrect = true; - var $scalixScalixObject; - var $scalixMailnode; - var $scalixEmailAddress; - var $scalixAdministrator; - var $scalixMailboxAdministrator; - var $scalixMailboxClass; - - /** - * Returns meta data that is interpreted by parent class - * - */ - function get_metaData() { - $return = array(); - // manages user accounts - $return["account_types"] = array("user"); - // alias name - $return["alias"] = _("Scalix"); - // module dependencies - $return['dependencies'] = array('depends' => array(), 'conflicts' => array()); - // help Entries - $return['help'] = array ( - "scalixuser" => array( - "ext" => "FALSE", "Headline" => _("scalixScalixObject"), - "Text" => _("boolean TRUE or FALSE for creating scalix object")), - "mailnode" => array( - "ext" => "FALSE", "Headline" => _("scalixMailnode"), - "Text" => _("comma separated org units for object mail node")), - "mboxaddr" => array( - "ext" => "FALSE", "Headline" => _("scalixEmailAddress"), - "Text" => _("E-Mail Adress of Scalix User")), - "scalixadmin" => array( - "ext" => "FALSE", "Headline" => _("scalixAdministrator"), - "Text" => _("boolean TRUE or FALSE for admin capability")), - "mboxadmin" => array( - "ext" => "FALSE", "Headline" => _("scalixMailboxAdministrator"), - "Text" => _("boolean TRUE or FALSE for mboxadmin capability")), - "mboxclass" => array( - "ext" => "FALSE", "Headline" => _("scalixMailboxClass"), - "Text" => _("FULL or LIMITED for Class. LIMITED is a Scalix Standard User, FULL is a Scalix Premium User")) - ); - $return['attributes'] = array('scalixScalixObject', 'scalixAdministrator', 'scalixMailboxAdministrator', 'scalixMailnode','scalixMailboxClass','scalixEmailAddress'); - $return['objectClasses'] = array('scalixUserClass'); - return $return; - } - - /** - * This function loads all needed attributes into the object. - * - * @param array $attr an array as it is retured from ldap_get_attributes - */ - function load_attributes($attr) { - parent::load_attributes($attr); - //scalixScalixObject - if (is_string($this->attributes['scalixScalixObject'][0])) { - if ($this->attributes['scalixScalixObject'][0] == "TRUE") $this->scalixScalixObject = true; - else $this->scalixScalixObject = false; - } - //scalixAdministrator - if (is_string($this->attributes['scalixAdministrator'][0])) { - if ($this->attributes['scalixAdministrator'][0] == "TRUE") $this->scalixAdministrator = true; - else $this->scalixAdministrator = false; - } - //scalixMailboxAdministrator - if (is_string($this->attributes['scalixMailboxAdministrator'][0])) { - if ($this->attributes['scalixMailboxAdministrator'][0] == "TRUE") $this->scalixMailboxAdministrator = true; - else $this->scalixMailboxAdministrator = false; - } - //scalixMailnode - $this->attributes['objectClass'] = array(); - $this->attributes['scalixMailnode'] = array(); - $this->orig['objectClass'] = array(); - $this->orig['scalixMailnode'] = array(); - if (isset($attr['objectClass'])) { - $this->attributes['objectClass'] = $attr['objectClass']; - $this->orig['objectClass'] = $attr['objectClass']; - } - if (isset($attr['scalixMailnode'])) { - $this->attributes['scalixMailnode'] = $attr['scalixMailnode']; - $this->orig['scalixMailnode'] = $attr['scalixMailnode']; - } - - //scalixEmailAddress - $this->attributes['objectClass'] = array(); - $this->attributes['scalixEmailAddressx'] = array(); - $this->orig['objectClass'] = array(); - $this->orig['scalixEmailAddress'] = array(); - if (isset($attr['objectClass'])) { - $this->attributes['objectClass'] = $attr['objectClass']; - $this->orig['objectClass'] = $attr['objectClass']; - } - if (isset($attr['scalixEmailAddress'])) { - $this->attributes['scalixEmailAddress'] = $attr['scalixEmailAddress']; - $this->orig['scalixEmailAddress'] = $attr['scalixEmailAddress']; - } - //scalixMailboxClass - $this->attributes['objectClass'] = array(); - $this->attributes['scalixMailboxClass'] = array(); - $this->orig['objectClass'] = array(); - $this->orig['scalixMailboxClass'] = array(); - if (isset($attr['objectClass'])) { - $this->attributes['objectClass'] = $attr['objectClass']; - $this->orig['objectClass'] = $attr['objectClass']; - } - if (isset($attr['scalixMailboxClass'])) { - $this->attributes['scalixMailboxClass'] = $attr['scalixMailboxClass']; - $this->orig['scalixMailboxClass'] = $attr['scalixMailboxClass']; - } - // add object class if needed - if (! in_array('scalixUserClass', $this->orig['objectClass'])) { - $this->attributes['objectClass'][] = 'scalixUserClass'; - } - return 0; - } - - /** - * Returns a list of modifications which have to be made to the LDAP account. - * - * @return array list of modifications - *
This function returns an array with 3 entries: - *
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... ) - *
DN is the DN to change. It may be possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid) - *
"add" are attributes which have to be added to LDAP entry - *
"remove" are attributes which have to be removed from LDAP entry - *
"modify" are attributes which have to been modified in LDAP entry - */ - function save_attributes() { - return $_SESSION[$this->base]->save_module_attributes($this->attributes, $this->orig); - } - - /** - * This function will create the meta HTML code to show a page with all attributes. - * - * @param array $post HTTP-POST values - */ - function display_html_attributes() { - $return = array(); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Scalix User') ), - 1 => array ( 'kind' => 'input', 'name' => 'scalixScalixObject', 'type' => 'checkbox', 'checked' => $this->scalixScalixObject, 'value' => 'true'), - 2 => array ('kind' => 'help', 'value' => 'scalixuser')); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Mailnode') ), - 1 => array ( 'kind' => 'input', 'type' => 'text', 'name' => 'scalixMailnode', 'size' => '20', 'maxlength' => '255', 'value' => $this->attributes['scalixMailnode'][0]), - 2 => array ( 'kind' => 'help', 'value' => 'mailnode' )); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Mboxaddr') ), - 1 => array ( 'kind' => 'input', 'type' => 'text', 'name' => 'scalixEmailAddress', 'size' => '20', 'maxlength' => '255', 'value' => $this->attributes['scalixEmailAddress'][0]), - 2 => array ( 'kind' => 'help', 'value' => 'mboxaddr' )); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Scalix Admin') ), - 1 => array ( 'kind' => 'input', 'name' => 'scalixAdministrator', 'type' => 'checkbox', 'checked' => $this->scalixAdministrator, 'value' => 'true'), - 2 => array ('kind' => 'help', 'value' => 'scalixadmin')); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Scalix Mailbox Admin') ), - 1 => array ( 'kind' => 'input', 'name' => 'scalixMailboxAdministrator', 'type' => 'checkbox', 'checked' => $this->scalixMailboxAdministrator, 'value' => 'true'), - 2 => array ('kind' => 'help', 'value' => 'mboxadmin')); - $mboxes = array(0 => 'LIMITED', 1 => 'FULL'); - $return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Scalix Mailbox Class') ), - 1 => array ( 'kind' => 'select', 'type' => 'text', 'name' => 'scalixMailboxClass', 'options' => $mboxes, 'size' => '1', 'maxlength' => '255', 'options_selected' => $this->attributes['scalixMailboxClass'][0]), - 2 => array ( 'kind' => 'help', 'value' => 'mboxclass' )); - return $return; - } - - function get_pdfEntries() { - return array( - 'scalixUserClass_scalixScalixObject' => array('' . _('Scalix User') . '' . $this->attributes['scalixScalixObject'][0] . ''), - 'scalixUserClass_scalixMailnode' => array('' . _('Mailnode') . '' . $this->attributes['scalixMailnode'][0] . ''), - 'scalixUserClass_scalixMboxaddr' => array('' . _('Mboxaddr') . '' . $this->attributes['scalixEmailAddress'][0] . ''), - 'scalixUserClass_scalixMailboxClass' => array('' . _('Scalix Mailbox Class') . '' . $this->attributes['scalixMailboxClass'][0] . ''), - 'scalixUserClass_scalixAdministrator' => array('' . _('Scalix Admin') . '' . $this->attributes['scalixAdministrator'][0] . ''), - 'scalixUserClass_scalixMailboxAdministrator' => array('' . _('Scalix Mailbox Admin') . '' . $this->attributes['scalixMailboxAdministrator'][0] . '')); - } - - /** - * Processes user input of the primary module page. - * It checks if all input values are correct and updates the associated LDAP attributes. - * - * @param array $post HTTP-POST values - * @return array list of info/error messages - */ - function process_attributes() { - $this->triggered_messages = array(); - if (isset($_POST['scalixScalixObject'])) { - $this->scalixScalixObject = true; - $this->attributes['scalixScalixObject'][0] = "TRUE"; - } else { - $this->scalixScalixObject = false; - $this->attributes['scalixScalixObject'][0] = "FALSE"; - } - $this->attributes['scalixMailnode'][0] = $_POST['scalixMailnode']; - $this->attributes['scalixEmailAddress'][0] = $_POST['scalixEmailAddress']; - $this->attributes['scalixMailboxClass'][0] = $_POST['scalixMailboxClass']; - if (isset($_POST['scalixAdministrator'])) { - $this->scalixAdministrator = true; - $this->attributes['scalixAdministrator'][0] = "TRUE"; - } else { - $this->scalixAdministrator = false; - $this->attributes['scalixAdministrator'][0] = "FALSE"; - } - if (isset($_POST['scalixMailboxAdministrator'])) { - $this->scalixMailboxAdministrator = true; - $this->attributes['scalixMailboxAdministrator'][0] = "TRUE"; - } else { - $this->scalixMailboxAdministrator = false; - $this->attributes['scalixMailboxAdministrator'][0] = "FALSE"; - } - - if (sizeof($this->triggered_messages) > 0) { - $this->inputCorrect = false; - return $this->triggered_messages; - } - else { - $this->inputCorrect = true; - return 0; - } - } - - /** - * This function returns true if all needed settings are done. - */ - function module_complete() { - return $this->inputCorrect; - } - - /** - * Returns true if all settings on module page are correct. - */ - function module_ready() { - return $this->inputCorrect; - } - - function get_profileOptions() { - $return = array(); - // use Unix password as Samba password - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Scalix User') . ': '), - 1 => array('kind' => 'input', 'name' => 'scalixUserClass_scalixScalixObject', 'type' => 'checkbox', 'checked' => true), - 2 => array('kind' => 'help', 'value' => 'scalixuser') - ); - $mboxes = array(0 => 'LIMITED', 1 => 'FULL'); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Mailnode') . ': '), - 1 => array('kind' => 'input', 'type' => 'text', 'name' => 'scalixUserClass_scalixMailnode', 'size' => '30', 'maxlength' => '255', 'value' => ''), - 2 => array('kind' => 'help', 'value' => 'mailnode') - ); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Mboxaddr') . ': '), - 1 => array('kind' => 'select', 'type' => 'text', 'name' => 'scalixUserClass_scalixEmailAddress', 'size' => '30', 'maxlength' => '255', 'value' => ''), - 2 => array('kind' => 'help', 'value' => 'mboxaddr') - ); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Scalix Mailbox Class') . ': '), - 1 => array('kind' => 'select', 'type' => 'text', 'name' => 'scalixUserClass_scalixMailboxClass', 'size' => '1', 'maxlength' => '255', 'options' => $mboxes, 'options_selected' => $this->attributes['scalixMailboxClass'][0]), - 2 => array('kind' => 'help', 'value' => 'mboxclass') - ); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Scalix Admin') . ': '), - 1 => array('kind' => 'input', 'name' => 'scalixUserClass_scalixAdministrator', 'type' => 'checkbox', 'checked' => false), - 2 => array('kind' => 'help', 'value' => 'scalixadmin') - ); - $return[] = array( - 0 => array('kind' => 'text', 'text' => _('Scalix Mailbox Admin') . ': '), - 1 => array('kind' => 'input', 'name' => 'scalixUserClass_scalixMailboxAdministrator', 'type' => 'checkbox', 'checked' => false), - 2 => array('kind' => 'help', 'value' => 'mboxadmin') - ); - return $return; - } - - /** - * Loads the values of an account profile into internal variables. - * - * @param array $profile hash array with profile values (identifier => value) - */ - function load_profile($profile) { - // profile mappings in meta data - parent::load_profile($profile); - // special profile options - if ($profile['scalixUserClass_scalixScalixObject'][0] == "true") { - $this->scalixScalixObject = true; - } - elseif ($profile['scalixUserClass_scalixScalixObject'][0] == "false") { - $this->scalixScalixObject = false; - } - if ($profile['scalixUserClass_scalixAdministrator'][0] == "true") { - $this->scalixAdministrator = true; - } - elseif ($profile['scalixUserClass_scalixAdministrator'][0] == "false") { - $this->scalixAdministrator = false; - } - if ($profile['scalixUserClass_scalixMailboxAdministrator'][0] == "true") { - $this->scalixMailboxAdministrator = true; - } - elseif ($profile['scalixUserClass_scalixMailboxAdministrator'][0] == "false") { - $this->scalixMailboxAdministrator = false; - } - if (isset($profile['scalixUserClass_scalixMailnode'][0])) { - $this->attributes['scalixMailnode'][0] = $profile['scalixUserClass_scalixMailnode'][0]; - } - if (isset($profile['scalixUserClass_scalixEmailAddress'][0])) { - $this->attributes['scalixEmailAddress'][0] = $profile['scalixUserClass_scalixEmailAddress'][0]; - } - if (isset($profile['scalixUserClass_scalixMailboxClass'][0])) { - $this->attributes['scalixMailboxClass'][0] = $profile['scalixUserClass_scalixMailboxClass'][0]; - } - } -} - - -?> - diff --git a/lam-web/todo/bugs.htm b/lam-web/todo/bugs.htm deleted file mode 100644 index 3dec92a8..00000000 --- a/lam-web/todo/bugs.htm +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Submit a new bug report

-Please use our bug tracker to submit new bug reports. -
-
-
- -

Known bugs

- -

LAM 2.3.0

- - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
Minor2059740Problems With DN containing ( and )
Minor2103936Problem with gecos field in file upload
-
- -

LAM 2.2.0

- - - - - - - - - - - -
 Severity  BTS link  Description 
Minor1912736XHTML headers should be removed
-
- -

LAM 2.1.0

- - - - - - - - - -
 Severity  BTS link  Description 
No known bugs
-
- -

LAM 2.0.0

- - - - - - - - - - - - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
Normal1814578Samba domain: Lockout users after bad logon attempts must allow 0 - 999
Normal1811728Managing group quotas does not work
Normal1792447LAM does not run on PHP < 5.2.0
Normal1788752LAM Pro: UTF-8 characters are invalid displayed on configuration page
-
- -

LAM 1.3.0

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
Normal1742543PHP Warning: mcrypt_decrypt(): The IV parameter must be ...
Normal1719168User list: refreshing GID translation does not work
Minor1740499allow uid as RDN attribute for inetOrgPerson
Minor1757215uid attribute no longer required for InetOrgPerson
Minor1702132OU editor: help images
Minor1702269Config editor: extra space
Minor1694863Some inconsistent help entries
-
- -

LAM 1.2.0

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
Security1687379LAM does not escape HTML special chars in LDAP data
Normal1658868PDF generates wrong shadow expire information
Minor1660493Debian package does not include lamdaemonOld.pl
Minor1664542Samba groups: wrong help link
Minor1674198NIS mail aliases: allow more characters in alias name
-
- -

LAM 1.1.1

- - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
MinorLamdaemon test: works not with PHP 4
Minor1562426InetOrgPerson: Problems with error messages
-
- -

LAM 1.1.0

- - - - - - - - - - - - - - - - - - - - - -
 Severity  BTS link  Description 
Normal1562426Unix: Password hash is always SSHA
MinorUnix: No error message for wrong UID numbers in file upload
MinorFilters in account lists get lost when sorting the table
-
- - -
- - - - diff --git a/lam-web/todo/index.htm b/lam-web/todo/index.htm deleted file mode 100644 index a0f832b8..00000000 --- a/lam-web/todo/index.htm +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - - - - - - -
  - - -

Roadmap

-
-

Here we inform you about what we plan to include -in the upcoming releases.
-
-

-Long-term topics: -
    -
  • full integration of phpLDAPadmin
  • -
-LAM 2.4.0 (July 2008): -
    -
  • LDAP links
  • -
  • new account modules
  • -
- -
-
- -
- - - -