initial commit of file from CVS for smeserver-nfs on Sat Sep 7 19:56:53 AEST 2024
This commit is contained in:
parent
60b831ae9d
commit
70d9640a5f
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
||||
*.tar.gz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: smeserver-nfs
|
||||
# $Id: Makefile,v 1.1 2020/12/19 14:48:51 brianr Exp $
|
||||
NAME := smeserver-nfs
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
14
README.md
14
README.md
@ -1,3 +1,15 @@
|
||||
# smeserver-nfs
|
||||
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-nfs
|
||||
|
||||
SMEServer Koozali developed git repo for smeserver-nfs smecontribs
|
||||
|
||||
## Wiki
|
||||
<br />https://wiki.koozali.org/NFS
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-nfs&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
125
additional/CHANGELOG.git
Normal file
125
additional/CHANGELOG.git
Normal file
@ -0,0 +1,125 @@
|
||||
commit 4ba893a810c878ff6bdf9c22cdde6e7faa230bf6
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sun Jan 4 22:03:57 2015 +0100
|
||||
|
||||
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-8.sme
|
||||
- The ownership and the user access of the Ibay are modifiable by the contrib
|
||||
|
||||
commit 82246ed9b9f02b06a0ec01d8f59904151d1d089d
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Wed Dec 17 23:19:56 2014 +0100
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7.sme
|
||||
- added a default db nfs-rules
|
||||
- added an exception if nfs-rules is removed by the admin
|
||||
|
||||
commit c45f9926da9fdebc346608a5928a00144165493a
|
||||
Merge: 42c265b 1e816db
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Mon Dec 15 18:04:06 2014 +0100
|
||||
|
||||
Merge branch 'sme9_13122014' into sme9
|
||||
|
||||
commit 1e816db71ff27a9dd4b30109605ff2b29465014f
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sun Dec 7 22:40:16 2014 +0100
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6.sme
|
||||
- Added an event nfs-conf shorter for the server-manager
|
||||
- Added a template /etc/exports/20CustomRules for manual settings
|
||||
|
||||
commit 42c265b766d274b675626a62d6354b9032bab23e
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sun Dec 7 22:40:16 2014 +0100
|
||||
|
||||
new translation en-us
|
||||
|
||||
commit a67934c4fb69eadc9634afaaad7914e483d596d1
|
||||
Merge: c19a3b1 2c51406
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sun Dec 7 22:26:34 2014 +0100
|
||||
|
||||
merge sme9-devel
|
||||
|
||||
commit 2c51406adb31670d00aa98cec1a28a8432bd3cf5
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sat Dec 6 23:50:41 2014 +0100
|
||||
|
||||
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme
|
||||
- added a template of hosts.allow
|
||||
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update
|
||||
- display Group description and permissions from ibay account in nfs panel
|
||||
- added a textarea box for ip of nfsclient
|
||||
- display status of nfs share in the main panel
|
||||
|
||||
commit c19a3b14a4ebf34e6b6b23bbd78f921f580f2abc
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Sat Dec 6 23:50:41 2014 +0100
|
||||
|
||||
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme
|
||||
- added a template of hosts.allow
|
||||
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update
|
||||
- display Group description and permissions from ibay account in nfs panel
|
||||
|
||||
commit 92bdd5cbfd760f395f6fcf4475c77d9a6f09b664
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Wed Nov 26 21:22:18 2014 +0100
|
||||
|
||||
* Tue Dec 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-4.sme
|
||||
- Added a panel with en-us locale and validator
|
||||
|
||||
commit 808138331dc537a59103d1e62a75a1064b9bad1e
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Wed Nov 26 18:31:22 2014 +0100
|
||||
|
||||
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme
|
||||
- Added nfs4-acl-tools for nfsv4 dependency
|
||||
- Added a template to /etc/exports
|
||||
- Added a specific event nfs-update
|
||||
|
||||
commit df6fa81d1707ee5fc282127fdfef4310f9abb26a
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Wed Nov 26 18:24:58 2014 +0100
|
||||
|
||||
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme
|
||||
- Added nfs4-acl-tools for nfsv4 dependency
|
||||
- Added a template to /etc/exports
|
||||
- Added a specific event nfs-update
|
||||
|
||||
commit 2f3dc7fbf407d62e72c4a0e9a3e3ec56684abfc7
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Tue Nov 25 22:03:26 2014 +0100
|
||||
|
||||
removed smeserver-nfs-1.0.0-1-filelist
|
||||
|
||||
commit 2481f6040bc58f915b54710979d84fb7f2368313
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Mon Nov 24 23:29:03 2014 +0100
|
||||
|
||||
added service enabled by default
|
||||
|
||||
commit 09795d259f64fcab05ca5cf27e92eeaa3ff47116
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Mon Nov 24 15:11:14 2014 +0100
|
||||
|
||||
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme
|
||||
- removed portmap to rpcbind in r7.d
|
||||
|
||||
commit e0a4eb5f5938b9ac83d1d9a7679ebacf88146fdf
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Mon Nov 24 15:08:04 2014 +0100
|
||||
|
||||
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme
|
||||
- removed portmap to rpcbind in r7.d
|
||||
|
||||
commit 83e3beda1bb583db18d31687e9d45445dfe833d5
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Tue Sep 16 16:16:50 2014 +0200
|
||||
|
||||
first release to sme9
|
||||
|
||||
commit fabbfca84c3cc2542e147f1872af755831987a90
|
||||
Author: Stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
Date: Tue Sep 16 15:16:03 2014 +0200
|
||||
|
||||
first commit to SME Server 9
|
340
additional/COPYING
Normal file
340
additional/COPYING
Normal file
@ -0,0 +1,340 @@
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) 19yy <name of author>
|
||||
|
||||
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) 19yy 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.
|
||||
|
||||
<signature of Ty Coon>, 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.
|
1
additional/README.md
Normal file
1
additional/README.md
Normal file
@ -0,0 +1 @@
|
||||
smeserver-nfs is a contrib for SME Server, a Linux distro oriented server. see http://wiki.contribs.org
|
92
additional/smeserver-nfs.spec
Normal file
92
additional/smeserver-nfs.spec
Normal file
@ -0,0 +1,92 @@
|
||||
# $Id: smeserver-nfs.spec,v 1.1 2013/03/03 05:41:38 unnilennium Exp $
|
||||
# Authority: slords
|
||||
# Name: Shad L. Lords
|
||||
|
||||
Summary: smeserver - configure nfs server
|
||||
%define name smeserver-nfs
|
||||
Name: %{name}
|
||||
%define version 1.2.0
|
||||
%define release 8
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
Group: Networking/Daemons
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
Requires: e-smith-base
|
||||
Requires: smeserver-release >= 9
|
||||
Requires: nfs-utils
|
||||
Requires: nfs4-acl-tools
|
||||
Requires: e-smith-lib
|
||||
Requires: e-smith-packetfilter
|
||||
BuildRequires: e-smith-devtools
|
||||
BuildArchitectures: noarch
|
||||
|
||||
%description
|
||||
e-smith server and gateway - configure nfs server
|
||||
|
||||
%changelog
|
||||
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-8.sme
|
||||
- The ownership and the user access of the Ibay are modifiable by the contrib
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7.sme
|
||||
- added a default db nfs-rules
|
||||
- added an exception if nfs-rules is removed by the admin
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6.sme
|
||||
- Added an event nfs-conf shorter for the server-manager
|
||||
- Added a template /etc/exports/20CustomRules for manual settings
|
||||
|
||||
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme
|
||||
- added a template of hosts.allow
|
||||
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update
|
||||
- display Group description and permissions from ibay account in nfs panel
|
||||
- added a textarea box for ip of nfsclient
|
||||
- display status of nfs share in the main panel
|
||||
|
||||
* Sat Dec 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-4.sme
|
||||
- Added a panel with en-us locale and validator
|
||||
|
||||
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme
|
||||
- Added nfs4-acl-tools for nfsv4 dependency
|
||||
- Added a template to /etc/exports
|
||||
- Added a specific event nfs-update
|
||||
|
||||
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme
|
||||
- removed portmap to rpcbind in r7.d
|
||||
|
||||
* Tue Sep 16 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1.sme
|
||||
- Initial release to sme9
|
||||
|
||||
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
|
||||
- Clean up spec so package can be built by koji/plague
|
||||
|
||||
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
|
||||
- Update to new release naming. No functional changes.
|
||||
- Make Packager generic
|
||||
|
||||
* Mon Jan 30 2006 Shad L. Lords <slords@mail.com>
|
||||
- initial
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
perl createlinks
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-%{release}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
> %{name}-%{version}-%{release}-filelist
|
||||
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
|
||||
|
||||
%postun
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}-%{version}-%{release}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
||||
contribs10
|
78
createlinks
Normal file
78
createlinks
Normal file
@ -0,0 +1,78 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
# our event specific for updating with yum without reboot
|
||||
$event = "smeserver-nfs-update";
|
||||
#add here the path to your templates needed to expand
|
||||
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
|
||||
|
||||
foreach my $file (qw(
|
||||
/etc/systemd/system-preset/49-koozali.preset
|
||||
/etc/exports
|
||||
/etc/hosts.allow
|
||||
))
|
||||
{
|
||||
templates2events( $file, $event );
|
||||
}
|
||||
|
||||
#action needed in case we have a systemd unit
|
||||
event_link("systemd-default", $event, "88");
|
||||
event_link("systemd-reload", $event, "89");
|
||||
|
||||
#action specific to this package
|
||||
#event_link("nfs-update", $event, "60");
|
||||
#services we need to restart
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nfs");
|
||||
|
||||
|
||||
#--------------------------------------------------
|
||||
## functions for manager panel
|
||||
##--------------------------------------------------
|
||||
panel_link("nfsshare", "manager");
|
||||
|
||||
|
||||
foreach (qw(sysconfig/nfs exports hosts.allow))
|
||||
{
|
||||
templates2events("/etc/$_", qw(
|
||||
console-save
|
||||
bootstrap-console-save
|
||||
remoteaccess-update
|
||||
nfs-update
|
||||
));
|
||||
}
|
||||
#add this event for change /etc/exports with new local network
|
||||
foreach (qw(exports))
|
||||
{
|
||||
templates2events("/etc/$_", qw(
|
||||
network-create
|
||||
));
|
||||
}
|
||||
|
||||
foreach $event (qw(remoteaccess-update nfs-update network-create))
|
||||
{
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nfslock");
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nfs");
|
||||
}
|
||||
|
||||
#The service rpcbind needs to be restarted before nfs service,
|
||||
#but sometime it start before so I had to do a specific action
|
||||
for my $event (qw(remoteaccess-update nfs-update network-create))
|
||||
{
|
||||
event_link("smeserver-nfs-restart-rpcbind", $event, "05");
|
||||
}
|
||||
|
||||
$event="nfs-update";
|
||||
templates2events("/etc/hosts.allow", $event);
|
||||
|
||||
#here a specific event only for the server-manager, nfs-update is an event a bit long
|
||||
foreach $event (qw(nfs-conf))
|
||||
{
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nfs");
|
||||
templates2events("/etc/exports", $event);
|
||||
templates2events("/etc/hosts.allow", $event);
|
||||
}
|
||||
|
||||
#service_link_enhanced("rpcbind", "S13", "7");
|
||||
#service_link_enhanced("nfslock", "S59", "7");
|
||||
#service_link_enhanced("nfs", "S60", "7");
|
@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/defaults/nfs/TCPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/TCPPorts
Normal file
@ -0,0 +1 @@
|
||||
2049,4002,4003
|
1
root/etc/e-smith/db/configuration/defaults/nfs/UDPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/UDPPorts
Normal file
@ -0,0 +1 @@
|
||||
2049,4002,4003
|
1
root/etc/e-smith/db/configuration/defaults/nfs/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/access
Normal file
@ -0,0 +1 @@
|
||||
private
|
@ -0,0 +1 @@
|
||||
4002
|
@ -0,0 +1 @@
|
||||
4003
|
1
root/etc/e-smith/db/configuration/defaults/nfs/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/status
Normal file
@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/nfs/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/type
Normal file
@ -0,0 +1 @@
|
||||
service
|
@ -0,0 +1 @@
|
||||
4000,4001,4004
|
@ -0,0 +1 @@
|
||||
4000,4001,4004
|
@ -0,0 +1 @@
|
||||
private
|
@ -0,0 +1 @@
|
||||
4001
|
@ -0,0 +1 @@
|
||||
4004
|
@ -0,0 +1 @@
|
||||
4000
|
@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/nfslock/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfslock/type
Normal file
@ -0,0 +1 @@
|
||||
service
|
@ -0,0 +1 @@
|
||||
111
|
@ -0,0 +1 @@
|
||||
111
|
@ -0,0 +1 @@
|
||||
private
|
@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/rpcbind/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/rpcbind/type
Normal file
@ -0,0 +1 @@
|
||||
service
|
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/perl
|
||||
#The service rpcbind needs to be restarted before nfs service,
|
||||
##but sometime it start before so I had to do a specific action
|
||||
system ('/usr/bin/systemctl restart rpcbind.service') ==0 or die "Error to restart the rpcbind service : $?";
|
200
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="bg" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Добавка за NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>Инфо слотове - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Управление на настройките на инфо слот за NFS.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Управление на настройките на инфо слот за NFS.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Тези параметри ще влязат в сила само ако споделянето е включено. Споделената папка се намира в /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Име на инфо слота.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Няма конфигурирани инфо слотове в момента.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Не може да се намери акаунт за {$name} (съществува ли?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Възникна грешка при промяна на инфо слота.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Успешно променен инфо слот.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Информационни слотове</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Задайте UID и GID ако искате всички заявки да изглеждат като направени от един потребител или една група, иначе го оставете празно.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Включване на NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>За права за писане, позволяването на root потребителя и използването на несигурни портове трябва да конфигурирате списък от IP адреси, по един наред, които са част от локалната мрежа(и).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>Трябва да зададете IP адрес(и), които са част от локалната мрежа.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>Трябва да зададете реални IP адрес(и), които са част от локалната мрежа.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Споделяне в локалната мрежа.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>Разрешени NFS клиенти.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Права във файловата система.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Само за четене</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Четене и запис</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Записване (а)синхронно.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>синхронно</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>асинхронно</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Закъснение на записа върху диска.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>забавено писане</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>без забавено писане</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Редукция на правата на потребителите.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>редукция за root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>без редукция за root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>редукция за всички потребители</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Задаване на UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Задаване на GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Разглеждане на папките от горно ниво.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>скрий папката</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>без скриване на папката</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Заявки по сигурни портове.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>сигурни</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>несигурни</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>GID трябва да положително цяло число по-малко от 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>UID трябва да положително цяло число по-малко от 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Писане = група, Четене = група</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Писане = група, Четене = всеки</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Писане = админ, Четене = група</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Споделяне на групата на собственика.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>Права за инфо слота.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Всеки</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Статус на NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Достъп чрез споделени файлове.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/da/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/da/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="da" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Administrer NFS ibay indstillinger.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Administrer NFS ibay indstillinger.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Disse indstillinger vil kun være aktive hvis share er aktiveret. Share er i /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Informations bay navn.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Der er pt ikke konfiguret nogen I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Kan ikke finde konto for {$name} (eksisterer den?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Der opstod en fejl under redigering af i-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Ændring af I-bay er gennemført med succes.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Sæt UID og GID hvis du ønsker at alle forespørgsler vises som kommende fra én bruger eller én gruppe, ellers efterlad blank</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Aktiver NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS klient(er) tilladt.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Fil system tilladelser.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Kun læsbar</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Læse og skrive</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Skrive (a)synkront.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synkront</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynkron</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Forsinker skrivning til disk.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>skrivnings forsinkelse</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>Ingen skrivnings forsinkelse</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Reducer brugernes rettigheder.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>Reducer remote root users rettigheder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>undlad at reducere remote root brugeres rettigheder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>reducer alle brugeres rettigheder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Sæt UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Sæt GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Gennemse overliggende mapper.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>skjul mappe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>skjul ikke mappe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Anmodning om sikre porte.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>sikker</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>usikker</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>GID skal være et positivt helttal mindre end 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>UID skal være et positivt helttal mindre end 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Skrive = gruppe, Læse = gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Skrive = gruppe, Læse = alle</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Skrive = admin, Læse = gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share ejer gruppe.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay tilladelser.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Alle</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Adgang via fil deling.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/de/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/de/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="de" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Contrib für NFS-Freigaben</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS-Freigabe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>NFS-Ibay-Einstellungen verwalten</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>NFS-Ibay-Einstellungen verwalten</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Diese Parameter sind nur wirksam, wenn die Freigabe aktiviert ist. Die Freigabe befindet sich unter /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Name der I-Bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Zur Zeit sind keine I-Bays konfiguriert.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Kann keinen Account für {$name} finden (existiert er überhaupt?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Beim Ändern der I-Bay ist ein Fehler aufgetreten.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Die I-Bay wurde erfolgreich geändert.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>i-bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Setzen Sie eine UID und GID, wenn Sie möchten dass alle Zugriffe mit den Berechtigungen eines bestimmten Benutzers oder einer bestimmten Gruppe ausgeführt werden sollen. Andernfalls lassen Sie die Felder leer.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>NFS-Freigabe aktivieren.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>Um Schreibzugriff für den root-Benutzer und über unsichere Ports zu ermöglichen müssen Sie eine Liste von IP-Adressen aus dem/n lokalen Netzwerk/en angeben (eine Adresse pro Zeile).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>Sie müssen IP(s) aus Ihrem lokalen Netzwerk verwenden.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>Sie müssen real existierende IP(s) aus Ihrem lokalen Netzwerk verwenden.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Freigeben im lokalen Netzwerk.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>Berechtigte NFS-Client(s)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Dateisystem-Zugriffsrechte</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Nur lesen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Lesen und Schreiben</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>(A)synchroner Schreibzugriff</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchron</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchron</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>HDD-Schreibzugriffe verzögern.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>Schreibverzögerung (write delay)</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>keine Schreibverzögerung (no write delay)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Benutzerrechte squashen.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>UID setzen.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>GID setzen.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Auf übergeordnete Verzeichnisse zugreifen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>Verzeichnis verstecken (hide folder)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>Verzeichnis anzeigen (nohide folder)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Anfragen über sichere Ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>sicher</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>unsicher</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>Die GID muss eine positive Ganzzahl kleiner als 4,294,967,295 sein</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>Die UID muss eine positive Ganzzahl kleiner als 4,294,967,295 sein</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Schreiben = Gruppe, Lesen = Gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Schreiben = Gruppe, Lesen = jeder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Schreiben = admin, Lesen = Gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Gruppe, der die Freigabe gehört.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-Bay-Berechtigungen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Jeder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>NFS-Status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Zugriff über Freigabe.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/el/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/el/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="el" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Δεν βρίσκω λογαριασμο για {$name} (μήπως δεν υπάρχει;)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>I-bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Εγγραφή = ομάδα, ανάγνωση = ομάδα</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Εγγραφή = ομάδα, ανάγνωση = όλοι</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Εγγραφή = admin, ανάγνωση = ομάδα</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Όλοι</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
281
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/nfsshare
Normal file
281
root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,281 @@
|
||||
<lexicon lang="en-us" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>
|
||||
NFS Share Contrib
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>
|
||||
Manage NFS Ibay settings.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>
|
||||
Manage NFS Ibay settings.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans>
|
||||
<![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]>
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>
|
||||
Information bay name.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>
|
||||
There are no I-bays currently configured.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>
|
||||
Can't find account for {$name} (does it exist?)
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>
|
||||
An error occurred while modifying the I-bay.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>
|
||||
Successfully modified I-bay.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>
|
||||
Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>
|
||||
Enable the NFS Share.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>
|
||||
For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>
|
||||
You must set IP(s) being part of your local network.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>
|
||||
You must set real IP(s) being part of your local network.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>
|
||||
Share on local network.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>
|
||||
NFS Client(s) allowed.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>
|
||||
File system permissions.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>
|
||||
Read Only
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>
|
||||
Read and Write
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>
|
||||
Write (a)synchronously.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>
|
||||
synchronous
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>
|
||||
asynchronous
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>
|
||||
Delays the disk writings.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>
|
||||
write delay
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>
|
||||
no write delay
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>
|
||||
Squash the power of users.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>
|
||||
root squash
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>
|
||||
no root squash
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>
|
||||
all users squash
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>
|
||||
Set the UID.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>
|
||||
Set the GID.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>
|
||||
Browse the parent folders.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>
|
||||
hide folder
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>
|
||||
nohide folder
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>
|
||||
Requests on secure ports.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>
|
||||
secure
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>
|
||||
insecure
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>
|
||||
The GID has to be a positive integer inferior at 4,294,967,295
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>
|
||||
The UID has to be a positive integer inferior at 4,294,967,295
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Write = group, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Write = group, Read = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Write = admin, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>
|
||||
Access via file sharing.
|
||||
</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
||||
|
200
root/etc/e-smith/locale/es/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/es/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="es" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>No se puede encontrar la cuenta de {$name} (¿existe?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Bahías de información</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asíncrona</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>seguro</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Escritura = grupo, Lectura = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Escritura = grupo, Lectura = todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Escritura = admin, Lectura = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/et/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/et/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="et" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Ei leia kontot {$name} (on see üldse olemas?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>I-bay-d</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Write = group, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Write = group, Read = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Write = admin, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="fr" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Contribution Partage NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - Partage NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Configurer les paramètres NFS de l'I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Configurer les paramètres NFS de l'I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Ces paramètres seront effectifs seulement si le partage est activé. Le partage du dossier est /home/e-smith/files/ibays/{$name}/files]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Nom de l'i-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Il n'y a pas d'Ibay existante actuellement.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Compte introuvable pour {$name} (existe-t'il ?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Une erreur est survenue durant la modification de l'I-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>I-bay modifiée avec succès.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>I-bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Configurer les UID et GID si vous voulez que toutes les requêtes apparaissent venant d'un usager ou d'un groupe, autrement laisser vide.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Activer le Partage NFS.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>Pour les permissions d’écriture, autoriser l'usager root et utiliser un port non sécurisé, vous devez configurer une liste d’adresse IP (une seule par ligne), faisant partie du (des) réseau(x) local (locaux). </trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>Vous devez configurer une (des) adresse(s) IP faisant partie du réseau local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>Vous devez configurer une vraie adresse IP(s) faisant partie du réseau local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Partage sur le réseau local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>Client(s) NFS autorisé(s)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Permissions du système de fichier.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Lecture Seule</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Lecture et écriture</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Écriture (dé)synchronisée.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronisé</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>désynchronisé</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Différer les écritures disque.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>écriture différée</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>pas d'écriture différée</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Supprime les droits utilisateurs.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>supprime le root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>autoriser root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>Supprimer tous les usagers</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Configurer les UID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Configurer les GID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Explorer le répertoire parent.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>Cacher le dossier</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>ne pas cacher le dossier</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Demande sur les ports sécurisés</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>sécurisé</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>non sécure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>Le GID doit être un nombre entier positif inférieur a 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>Le UID doit être un nombre entier positif inférieur a 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Écriture=Groupe, Lecture=Groupe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Écriture=Groupe, Lecture=Tous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Écriture=Admin, Lecture=Groupe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Partager le groupe propriétaire.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>Permissions de l'i-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Tout le monde</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Statuts NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Accéder via le partages de fichiers</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/he/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/he/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="he" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>לא ניתן למצוא חשבון עבור {$name} (האם הוא קיים ?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>מפרצי מידע</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>כתיבה = group, קריאה = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>כתיבה = group, קריאה = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>כתיבה = admin, קריאה = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="hu" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>A {$name} névhez nem található felhasználói fiók (létezik?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Adattárak</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Irás = csoport, Olvasás = csoport</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Irás = csoport, Olvasás = mindenki</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Írás = admin, Olvasás = csoport</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Mindenki</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/id/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/id/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="id" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Tidak ditemukan akun {$name} (apakah benar ada?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Write = group, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Write = group, Read = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Write = admin, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Semua user</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/it/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/it/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="it" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Contrib NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Gestire le impostazioni NFS della I-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Gestire le impostazioni NFS della I-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Questi parametri risulteranno attivi solo se la condivisione è abilitata. La condivisione si trova in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Nome I-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Non ci sono I-bay attualmente configurate.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Impossibile trovare l'account per {$name} (esiste?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Si è verificato un errore modificando la I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>I-bay modificata con successo.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>i-bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Impostare UID e GID se si desidera che ogni richiesta compaia come proveniente da un utente o da un gruppo, altrimenti lasciare vuoto.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Abilita la condivisione NFS.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>Per i permessi di scrittura, abilitando l'utente root e consentendo porte non-secure, deve essere inserita una lista di indirizzi IP della rete locale, uno per riga.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>Si devono inserire gli IP parte della rete locale del server.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>Si devono inserire gli IP reali parte della rete locale del server.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Condivisione sulla rete locale.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client consentiti.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Permessi sul file system.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Sola lettura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Lettura e scrittura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Scrittura in modalità (a)sincrona</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>sincrono</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asincrono</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Ritarda la scrittura su disco</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>Ritardo scrittura</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>Nessun ritardo scrittura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Schiacciare i diritti degli utenti (squash).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Imposta UID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Imposta GID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Sfoglia le cartelle principali</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>nasconde cartella</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>non nasconde cartella</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Richieste sulle porte "secure"</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>non secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>GID deve essere un intero positivo minore di 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>UID deve essere un intero positivo minore di 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Scrittura = gruppo, Lettura = gruppo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Scrittura = gruppo, Lettura = tutti</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Scrittura = admin, Lettura = gruppo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Gruppo proprietario condivisione.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>Permessi I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Tutti</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Stato NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Accesso tramite file sharing</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="ja" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Can't find account for {$name} (does it exist?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Write = group, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Write = group, Read = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Write = admin, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="nb" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Kan ikke finne en konto for {$name} (eksisterer det?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Informasjonsgrupper</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Skrive = gruppe, Lese = gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Skrive = gruppe, Lese = alle</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Skrive = admin, Lese = gruppe</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Alle</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="nl" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Netwerk Station Service</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>Informatie-baai - NFS netwerk station</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Beheer NFS informatie-baai instellingen,</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Beheer NFS informatie-baai instellingen,</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Deze parameters zullen alleen effectief zijn als het schijfstation is ingeschakeld. De schijfstation bestanden zijn in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Informatie baai naam.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Er zijn momenteel geen informatie-baaien geconfigureerd.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Kan geen account vinden voor {$name} (bestaat deze account?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Er is een fout opgetreden bij het modificeren van de informatie-baai.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Informatie-baai is met succes gewijzigd.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Informatie-baaien</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Stel de UID en GID in als u wilt dat alle verzoeken lijken te zijn van één gebruiker of één groep, anders leeg laten.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Zet het NFS network station aan.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>Voor het toestaan van schrijven, toegand van een root gebruiker en het gebruik van onbeveiligde poorten, dient U een lijst van één IP per regel te configureren. Dezen moeten deel uitmaken van het lokale netwerk.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>U dient IP's in te stellen die deel uitmaken van uw lokale netwerk.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>U dient echte IP's in te stellen die deel uitmaken van uw lokale netwerk .</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Deel met het lokale netwerk.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS werkstation(en) toestaan.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Bestand permissies.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Alleen Lezen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Lezen en Schrijven</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>(A)synchroon Schrijven.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>gelijktijdig</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchrone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Vertraagt het schrijven naar het schijfstation.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>schrijf vertraging</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>geen schrijf vertraging</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Onderdruk de kracht van gebruikers.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>onderdruk root permissies</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>geen onderdrukking van root permissies</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all gebruikers permissies onderdrukt</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Zet de UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Zet de GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Blader de bovenliggende mappen.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>map verstoppen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>map laten zien</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Toegang vragen op beveiligde poorten.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>beveiligd</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>niet beveiligd</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>De GID moet een positief geheel getal zijn en minder dan 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>De UID moet een positief geheel getal zijn en minder dan 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Schrijven = groep, Lezen = groep</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Schrijven = groep, Lezen = iedereen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Schrijven = beheerder, Lezen = groep</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Netwerkstation Eigenaar Groep</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>Informatie-baai permissies</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Iedereen</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>NFS status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Toegang via het delen van bestanden.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="pl" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Nie udało się znaleźć konta dla {$name}(czy istnieje?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Magazyn danych</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Zapis = grupa, Odczyt = grupa</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Zapis = grupa, Odczyt = wszyscy</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Zapis = administrator, Odczyt = grupa</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="pt-br" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Contribuição de Compartilhamento NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - Compartilhamento NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Gerenciar configurações NFS do ibay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Gerenciar configurações NFS do ibay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ Esses parâmetros serão efetivos apenas se o compartilhamento estiver habilitado. o Compartilhamento está em /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Nome do Information bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>Não há nenhum compartilhamento atualmente configurado.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Incapaz de encontrar conta para {$name} (isto existe?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>Ocorreu um erro enquanto modificando o i-Bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Alteração no i-Bay realizada com sucesso.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Pastas</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Defina o UID e GID se você deseja que todas requisições pareçam vir de um usuário ou grupo, de outro modo deixe em branco.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Habilite o Compartilhamento NFS.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>Para permissões de escrita, permitindo o usuário root e usando portas inseguras, você deve configurar uma lista de IP, um por linha, que sejam parte da lista de redes locais.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>Você deve definir IPs que sejam parte de sua rede local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>Você deve definir IPs reais que sejam parte de sua rede local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Compartilhamento em rede local.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>Clientes NFS permitidos.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>Permissões do sistema de arquivos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Apenas Leitura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Leitura e Escrita</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Escrita (a)ssincrona.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>sincrona</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>assincrona</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Retardar escritas para o disco.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>retardo de escrita</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>sem retardo de escrita</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Diminuir o poder dos usuários.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>diminuir root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>nao diminuir root</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>diminuir todos usuários</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Definir o UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Definir o GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Navegar nas pastas superiores.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>esconder a pasta</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>não esconder a pasta</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requisições em portas seguras.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>segura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insegura</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>o GID deve ser um inteiro positivo e menor que 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>o UID deve ser um inteiro positivo e menor que 4.294.967.295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Escrever = grupo, Ler = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Escrever = grupo, Ler = todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Escrever = admin, Ler = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Compartilhar proprietário do grupo.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>Permissões do i-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Status do NFS</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Acesso via compartilhamento de arquivos.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="pt" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Incapaz de encontrar conta para {$name} (isto não existe?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Compartilhamentos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Escrever = grupo, Ler = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Escrever = grupo, Ler = todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Escrever = admin, Ler = grupo</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Todos</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="ro" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Can't find account for {$name} (does it exist?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Write = group, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Write = group, Read = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Write = admin, Read = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="ru" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Невозможно найти учётную запись {$name} (она существует?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Информационные блоки</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Только чтение</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Запись = group, Чтение = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Запись = group, Чтение = everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Запись = admin, Чтение = group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Каждый</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="sl" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Ne najdem i-lista {$name} (ne obstaja?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Informacijski listi</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Pisi = skupina, Beri = skupina</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Pisi = skupina, Beri = vsi</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Pisi = admin, Beri = skupina</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Everyone</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="sv" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>Kan inte finna konto för {$name} (existerar detta?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Endast läsmöjlighet</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Skriva = grupp, Läsa = grupp</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Skriva = grupp, Läsa = alla</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Skriva = admin, Läsa = grupp</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Alla</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/th/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/th/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="th" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>ไม่พบบัญชี {$name} (มันมีอยู่หรือไม่?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>Information bays</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>เขียน = เฉพาะในกลุ่ม, อ่าน = เฉพาะในกลุ่ม</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>เขียน = เฉพาะในกลุ่ม, อ่าน = ทุกคน</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>เขียน = ผู้ดูแลระบบ, อ่าน = เฉพาะในกลุ่ม</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>ทุกคน</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="tr" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>{$name} hesabı bulunamadı (mevcut mu kontrol edin)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>i-bay (bilgi yuvaları)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>Read Only</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>eşzamansız</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>güvenli</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>Yazma = grup, Okuma = grup</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>Yazma = grup, Okuma = herkes</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>Yazma = admin, Okuma = grup</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>Herkes</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="zh-cn" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS Share Contrib</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>I-bays - NFS Share</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>Manage NFS Ibay settings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>Information bay name.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>There are no I-bays currently configured.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>无法找到{$name}的账号(请确认其是否存在?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>An error occurred while modifying the I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>Successfully modified I-bay.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>信息港</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>Enable the NFS Share.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>You must set IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>You must set real IP(s) being part of your local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>Share on local network.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS Client(s) allowed.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>File system permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>只读</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>Read and Write</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>Write (a)synchronously.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>synchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>asynchronous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>Delays the disk writings.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>write delay</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>no write delay</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>Squash the power of users.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>no root squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>all users squash</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>Set the UID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>Set the GID.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>Browse the parent folders.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>hide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>nohide folder</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>Requests on secure ports.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>secure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>insecure</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The GID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>The UID has to be a positive integer inferior at 4,294,967,295</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>写入=群,读取=群</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>写入 = 群组,读取 = 任何人</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>写入 = 管理员,读取 = 群</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>Share Owner Group.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay Permissions.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>任何人</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>Nfs status</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>Access via file sharing.</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
200
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/nfsshare
Normal file
200
root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/nfsshare
Normal file
@ -0,0 +1,200 @@
|
||||
<lexicon lang="zh-tw" params="getExtraParams()">
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>NFS分享套件庫</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>nfsshare</base>
|
||||
<trans>訊息匯集告示 - NFS 分享</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FIRSTPAGE_DESC</base>
|
||||
<trans>管理NFS Ibay設定</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD_TITLE</base>
|
||||
<trans>管理NFS Ibay設定</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_FIELD_DESC</base>
|
||||
<trans><![CDATA[ 只有分享啟動時參數才有效用。此分享位於 /home/e-smith/files/ibays/{$name}/files ]]></trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME_LABEL</base>
|
||||
<trans>訊息匯集告示的名稱</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_IBAYS</base>
|
||||
<trans>當下無I-bay設定。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANT_FIND_IBAY</base>
|
||||
<trans>無法找到 {$name} 的帳號(其是否存在?)</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_WHILE_MODIFYING_IBAY</base>
|
||||
<trans>修正I-bay時發生錯誤。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESSFULLY_MODIFIED_IBAY</base>
|
||||
<trans>成功修正I-bay。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Information bays</base>
|
||||
<trans>訊息匯集告示</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_ANONUIDGID</base>
|
||||
<trans>若您欲讓來自使用者或群組所有的請求顯示出來,請設定uid與gid,否則請留白。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSTATUS</base>
|
||||
<trans>啟用NFS分享。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_NFSCLIENT</base>
|
||||
<trans>對於寫入權限而言,允許最高權限使用者與使用非安全埠,您必須設定一行一IP的表列,以成為區網的一部分。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK</base>
|
||||
<trans>您必須設定IP以成為區網的一部分。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT_FIELD_IS_NOT_AN_IP</base>
|
||||
<trans>您必須設定真實IP以成為區網的一部分。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLE_LOCALNETWORK</base>
|
||||
<trans>在區網分享。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSCLIENT</base>
|
||||
<trans>NFS客戶端允許。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSRW</base>
|
||||
<trans>檔案系統權限。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RO</base>
|
||||
<trans>唯讀</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RW</base>
|
||||
<trans>讀與寫</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSYNC</base>
|
||||
<trans>(非)同步寫入。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SYNC</base>
|
||||
<trans>同步</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ASYNC</base>
|
||||
<trans>非同步</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSDELAY</base>
|
||||
<trans>延後磁碟寫入</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WDELAY</base>
|
||||
<trans>延後寫入</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_WDELAY</base>
|
||||
<trans>無延後寫入</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSQUASH</base>
|
||||
<trans>抑制使用者權限。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROOT_SQUASH</base>
|
||||
<trans>root抑制</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_ROOT_SQUASH</base>
|
||||
<trans>無root抑制</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ALL_SQUASH</base>
|
||||
<trans>抑制所有使用者</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONUID</base>
|
||||
<trans>設定UID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSANONGID</base>
|
||||
<trans>設定GID</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSHIDE</base>
|
||||
<trans>瀏覽上層目錄。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>HIDE</base>
|
||||
<trans>隱藏目錄</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NOHIDE</base>
|
||||
<trans>未隱藏目錄</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFSSECURE</base>
|
||||
<trans>安全連接埠的要求</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SECURE</base>
|
||||
<trans>安全</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>INSECURE</base>
|
||||
<trans>不安全</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>GID必需是低於4,294,967,295的正整數</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295</base>
|
||||
<trans>UID必需是低於4,294,967,295的正整數</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRG</base>
|
||||
<trans>寫入=群組,讀取=群組</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WGRE</base>
|
||||
<trans>寫入 = 群組,讀取 = 每個人</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>WARG</base>
|
||||
<trans>寫入 = 管理員,讀取 = 群組</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_LABEL</base>
|
||||
<trans>分享使用者群組。</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USERACCESS_LABEL</base>
|
||||
<trans>I-bay權限</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>EVERYONE</base>
|
||||
<trans>每個人</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NFS_IS_ENABLED</base>
|
||||
<trans>NFS狀態</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_ACCESS</base>
|
||||
<trans>透過檔案分享來存取。</trans>
|
||||
</entry>
|
||||
|
||||
</lexicon>
|
99
root/etc/e-smith/templates/etc/exports/10exports
Normal file
99
root/etc/e-smith/templates/etc/exports/10exports
Normal file
@ -0,0 +1,99 @@
|
||||
{
|
||||
use strict;
|
||||
use warnings;
|
||||
use esmith::AccountsDB;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::NetworksDB;
|
||||
use Net::IPv4Addr qw(ipv4_in_network ipv4_parse);
|
||||
use esmith::util::network qw(isValidIP);
|
||||
|
||||
my $ndb = esmith::NetworksDB->open_ro;
|
||||
my $accounts = esmith::AccountsDB->open_ro;
|
||||
my $config = esmith::ConfigDB->open_ro;
|
||||
|
||||
sub convert_to_cidr
|
||||
{
|
||||
$_ = shift;
|
||||
return "$_/32" unless (m!/!);
|
||||
my ($ip,$bits) = ipv4_parse($_);
|
||||
return "$ip/$bits";
|
||||
}
|
||||
|
||||
my @localAccess = map {
|
||||
convert_to_cidr($_)
|
||||
} $ndb->local_access_spec();
|
||||
|
||||
|
||||
my @ibays = $accounts->ibays;
|
||||
|
||||
foreach my $ibay (@ibays)
|
||||
{
|
||||
#first we verify if the NFS is enabled for the ibay
|
||||
my $nfsstatus = $ibay->prop("NfsStatus") || "disabled";
|
||||
|
||||
#then we look about the host(s) allowed
|
||||
my $nfsclient = $ibay->prop("NfsClient") || "";
|
||||
my $nfslocalnetwork = $ibay->prop("NfsLocalNetwork") || "disabled";
|
||||
|
||||
$nfsclient = $nfsclient . ':local' if ($nfslocalnetwork eq 'enabled');
|
||||
|
||||
#Then we retrieve the name of the ebay
|
||||
my $key = $ibay->key;
|
||||
|
||||
#start to count
|
||||
my $count = '0';
|
||||
|
||||
if (($nfsstatus eq 'enabled'))
|
||||
{
|
||||
# write the configuration
|
||||
{
|
||||
my @IP = split /[:]/, $nfsclient;
|
||||
foreach my $IP (@IP)
|
||||
{
|
||||
#now we look about exports options
|
||||
my $nfsrw = $ibay->prop("NfsRW") || 'ro';
|
||||
my $nfssync = $ibay->prop("NfsSync") || 'sync';
|
||||
my $wdelay = $ibay->prop("NfsWdelay") || 'wdelay';
|
||||
my $nfssquash = $ibay->prop("NfsSquash") || 'root_squash';
|
||||
my $anonuid = $ibay->prop("NfsAnonUid") || '';
|
||||
my $anongid = $ibay->prop("NfsAnonGid") || '';
|
||||
my $secure = $ibay->prop("NfsSecure") || 'secure';
|
||||
my $hide = $ibay->prop("NfsHide") || 'nohide';
|
||||
|
||||
my $nfs_options = $hide . ',' . $nfssync . ',' . $wdelay;
|
||||
|
||||
if (isValidIP($IP) && (grep { ipv4_in_network($_, $IP) } @localAccess) )
|
||||
{
|
||||
$nfs_options = $nfs_options . ',' . "anonuid=$anonuid"
|
||||
if (($anonuid =~ m/(\d+)/) && ($anonuid !~ m/(\D+)/));
|
||||
$nfs_options = $nfs_options . ',' . "anongid=$anongid"
|
||||
if (($anongid =~ m/(\d+)/) && ($anongid !~ m/(\D+)/));
|
||||
$nfs_options = $nfs_options . ',' . $nfsrw;
|
||||
$nfs_options = $nfs_options . ',' . $nfssquash;
|
||||
$nfs_options = $nfs_options . ',' . $secure;
|
||||
$OUT .= "\n/home/e-smith/files/ibays/$key/files " if ($count == '0');
|
||||
$OUT .= " $IP($nfs_options)";
|
||||
$count++
|
||||
}
|
||||
|
||||
if ($IP eq 'local')
|
||||
{
|
||||
$nfsrw = 'ro';
|
||||
$nfssquash = 'root_squash';
|
||||
$secure = 'secure';
|
||||
$nfs_options = $nfs_options . ',' . $nfsrw;
|
||||
$nfs_options = $nfs_options . ',' . $nfssquash;
|
||||
$nfs_options = $nfs_options . ',' . $secure;
|
||||
|
||||
foreach my $localAccess (@localAccess)
|
||||
{
|
||||
$OUT .= "\n/home/e-smith/files/ibays/$key/files " if ($count == '0');
|
||||
$OUT .= " $localAccess($nfs_options)" if $localAccess !~ '127.0.0.1';
|
||||
$count++
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
58
root/etc/e-smith/templates/etc/exports/20CustomRules
Normal file
58
root/etc/e-smith/templates/etc/exports/20CustomRules
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
use strict;
|
||||
use warnings;
|
||||
use esmith::NetworksDB;
|
||||
use esmith::ConfigDB;
|
||||
use Net::IPv4Addr qw(ipv4_in_network ipv4_parse);
|
||||
use esmith::util::network qw(isValidIP);
|
||||
|
||||
my $DB = esmith::ConfigDB->open_ro or die "can't open Config DB";
|
||||
my $ndb = esmith::NetworksDB->open_ro or die "can't open Network DB";
|
||||
|
||||
sub convert_to_cidr2
|
||||
{
|
||||
$_ = shift;
|
||||
return "$_/32" unless (m!/!);
|
||||
my ($ip,$bits) = ipv4_parse($_);
|
||||
return "$ip/$bits";
|
||||
}
|
||||
|
||||
my @localAccess = map {
|
||||
convert_to_cidr2($_)
|
||||
} $ndb->local_access_spec();
|
||||
|
||||
|
||||
my $rules = $DB->get('nfs-rules') || '';
|
||||
return "\# no custom rules, you are an Angel\n" unless ($rules ne '');
|
||||
|
||||
my %properties = $rules->props;
|
||||
|
||||
$OUT .= "\n";
|
||||
$OUT .= "# Here Your custom rules, we hope that you know what you are doing\n";
|
||||
|
||||
foreach my $properties ( sort keys %properties)
|
||||
{
|
||||
my $values = $DB->get_prop("nfs-rules","$properties");
|
||||
my $IP = $1 if $values =~/(\d{1,5}\.\d{1,5}\.\d{1,5}\.\d{1,5})/;
|
||||
|
||||
if ($values =~/[\/a-zA-Z0-9_\-]+\s+(\d{1,5}\.\d{1,5}\.\d{1,5}\.\d{1,5}(\(|\/\d{2,2}\())/)
|
||||
{
|
||||
$OUT .= "$values\n" if (isValidIP($IP) && (grep { ipv4_in_network($_, $IP) } @localAccess) );
|
||||
$OUT .= "##This is not an IP : $values\n" if (!isValidIP($IP));
|
||||
$OUT .= "##Your IP is not in any Local Networks : $values\n" if (isValidIP($IP)
|
||||
&& (!grep { ipv4_in_network($_, $IP) } @localAccess));
|
||||
}
|
||||
elsif ($values =~/(\/+)\s+(\d{1,5}\.\d{1,5}\.\d{1,5}\.\d{1,5})/)
|
||||
{
|
||||
$OUT .= "##Give a full path, '/' is not accepted : $values\n";
|
||||
}
|
||||
elsif ($values =~/[\/a-zA-Z0-9_\-]+\s+\*/)
|
||||
{
|
||||
$OUT .= "##Wild Card * not accepted: $values\n";
|
||||
}
|
||||
elsif ($values =~/[\/a-zA-Z0-9_\-]+\s+(\d{1,5}\.\d{1,5}\.\d{1,5}\.\d{1,5})(\s+|\/\d{2,2}\s+)/)
|
||||
{
|
||||
$OUT .="##No spaces between IP and nfs rules : $values\n";
|
||||
}
|
||||
}
|
||||
}
|
3
root/etc/e-smith/templates/etc/hosts.allow/lockd
Normal file
3
root/etc/e-smith/templates/etc/hosts.allow/lockd
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
$DB->hosts_allow_spec('nfslock', 'lockd');
|
||||
}
|
3
root/etc/e-smith/templates/etc/hosts.allow/mountd
Normal file
3
root/etc/e-smith/templates/etc/hosts.allow/mountd
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
$DB->hosts_allow_spec('nfs', 'mountd');
|
||||
}
|
3
root/etc/e-smith/templates/etc/hosts.allow/rpcbind
Normal file
3
root/etc/e-smith/templates/etc/hosts.allow/rpcbind
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
$DB->hosts_allow_spec('rpcbind', 'rpcbind');
|
||||
}
|
3
root/etc/e-smith/templates/etc/hosts.allow/rquotad
Normal file
3
root/etc/e-smith/templates/etc/hosts.allow/rquotad
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
$DB->hosts_allow_spec('nfs', 'rquotad');
|
||||
}
|
3
root/etc/e-smith/templates/etc/hosts.allow/statd
Normal file
3
root/etc/e-smith/templates/etc/hosts.allow/statd
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
$DB->hosts_allow_spec('nfslock', 'statd');
|
||||
}
|
2
root/etc/e-smith/templates/etc/sysconfig/nfs/lockdPort
Normal file
2
root/etc/e-smith/templates/etc/sysconfig/nfs/lockdPort
Normal file
@ -0,0 +1,2 @@
|
||||
LOCKD_TCPPORT={ $nfslock{lockdPort} }
|
||||
LOCKD_UDPPORT={ $nfslock{lockdPort} }
|
1
root/etc/e-smith/templates/etc/sysconfig/nfs/mountdPort
Normal file
1
root/etc/e-smith/templates/etc/sysconfig/nfs/mountdPort
Normal file
@ -0,0 +1 @@
|
||||
MOUNTD_PORT={ $nfs{mountdPort} }
|
1
root/etc/e-smith/templates/etc/sysconfig/nfs/rquotadPort
Normal file
1
root/etc/e-smith/templates/etc/sysconfig/nfs/rquotadPort
Normal file
@ -0,0 +1 @@
|
||||
RQUOTAD_PORT={ $nfs{rquotadPort} }
|
2
root/etc/e-smith/templates/etc/sysconfig/nfs/statdPort
Normal file
2
root/etc/e-smith/templates/etc/sysconfig/nfs/statdPort
Normal file
@ -0,0 +1,2 @@
|
||||
STATD_PORT={ $nfslock{statdPort} }
|
||||
STATD_OUTGOING_PORT={ $nfslock{statdOutgoingPort} }
|
@ -0,0 +1,12 @@
|
||||
#nfs specific
|
||||
{
|
||||
$status = $nfslock{status} || 'disabled';
|
||||
$status = ($status eq "enabled") ? "enable" : "disable";
|
||||
$OUT .= "$status rpc-statd.service\n";
|
||||
|
||||
$status = $nfs{status} || 'disabled';
|
||||
$status = ($status eq "enabled") ? "enable" : "disable";
|
||||
$OUT .= "$status nfs-server.service\n";
|
||||
|
||||
}
|
||||
|
164
root/etc/e-smith/web/functions/nfsshare
Executable file
164
root/etc/e-smith/web/functions/nfsshare
Executable file
@ -0,0 +1,164 @@
|
||||
#!/usr/bin/perl -wT
|
||||
|
||||
# vim: ft=xml ts=4 sw=4 et:
|
||||
#----------------------------------------------------------------------
|
||||
# heading : Collaboration
|
||||
# description : nfsshare
|
||||
# navigation : 2000 2500
|
||||
#
|
||||
# Copyright (c) 2001 Mitel Networks Corporation
|
||||
# 2014 stephane de Labrusse <stephdl@de-labrusse.fr>
|
||||
# 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
|
||||
#
|
||||
# Technical support for this program is available from e-smith, inc.
|
||||
# Please visit our web site www.e-smith.com for details.
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use esmith::FormMagick::Panel::nfsshare;
|
||||
|
||||
my $fm = esmith::FormMagick::Panel::nfsshare->new();
|
||||
$fm->display();
|
||||
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
nfsshare -- manage nfs share
|
||||
|
||||
=head2 DESCRIPTION
|
||||
|
||||
This screen allows the administrator to manage information bays.
|
||||
|
||||
=begin testing
|
||||
|
||||
use esmith::FormMagick::Tester;
|
||||
use esmith::TestUtils;
|
||||
use esmith::TestUtils;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::AccountsDB;
|
||||
|
||||
my $panel = $Original_File;
|
||||
my $ua = esmith::FormMagick::Tester->new();
|
||||
|
||||
my $c = esmith::ConfigDB->open();
|
||||
my $a = esmith::AccountsDB->open();
|
||||
|
||||
is (mode($panel), '4750', "Check permissions on script");
|
||||
ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS");
|
||||
is ($ua->{status}, 200, "200 OK");
|
||||
#like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title");
|
||||
ok ($ua->set_language("en"), "Set language to English");
|
||||
ok ($ua->get_panel($panel), "Get panel");
|
||||
is ($ua->{status}, 200, "200 OK");
|
||||
like($ua->{content}, qr/Information bays/, "Saw translated form title");
|
||||
|
||||
ok ($ua->get_panel($panel), "ABOUT TO TEST CREATING IBAY");
|
||||
ok ($ua->follow("Click here"), "Follow 'create ibay' link");
|
||||
is ($ua->{status}, 200, "200 OK");
|
||||
like($ua->{content}, qr/Create a new information bay/, "Saw page title");
|
||||
like($ua->{content}, qr/Brief description/, "Saw description field");
|
||||
like($ua->{content}, qr/Group/, "Saw group field");
|
||||
like($ua->{content}, qr/User access via file/, "Saw user access field");
|
||||
like($ua->{content}, qr/Public access via/, "Saw Public access field");
|
||||
like($ua->{content}, qr/Add/, "Saw add button");
|
||||
|
||||
SKIP: {
|
||||
|
||||
skip 10, "Unsafe!" unless destruction_ok();
|
||||
|
||||
ok ($ua->follow("Click here"), "ACTUALLY ADDING A NETWORK");
|
||||
$ua->field();
|
||||
$ua->click("Add");
|
||||
like($ua->{content}, qr/Successfully added ibay/, "Saw success message");
|
||||
|
||||
ok ($ua->follow("Remove"), "REMOVING NETWORK");
|
||||
like($ua->{content}, qr/Are you sure/, "Saw confirmation message");
|
||||
$ua->click("Remove");
|
||||
like($ua->{content}, qr/Successfully deleted/, "Saw success message");
|
||||
|
||||
}
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
__DATA__
|
||||
<form title="FORM_TITLE" header="/etc/e-smith/web/common/head.tmpl" footer="/etc/e-smith/web/common/foot.tmpl">
|
||||
<page name="First" pre-event="print_status_message()">
|
||||
<title>FIRSTPAGE_DESC</title>
|
||||
<subroutine src="print_ibay_table()" />
|
||||
</page>
|
||||
<page name="CreateModify" pre-event="turn_off_buttons()" post-event="handle_ibays()">
|
||||
|
||||
<title>ADD_TITLE</title>
|
||||
<subroutine src="print_ibay_name_field()" />
|
||||
|
||||
<field type="select" id="group" options="group_list()">
|
||||
<label>GROUP_LABEL</label>
|
||||
</field>
|
||||
<field type="select" id="userAccess" options="userAccess_list()">
|
||||
<label>USER_ACCESS</label>
|
||||
</field>
|
||||
|
||||
<field type="select" id="nfsstatus" value="disabled" options="'disabled' => 'DISABLED', 'enabled' => 'ENABLED'">
|
||||
<label>NFSSTATUS</label>
|
||||
</field>
|
||||
<field type="select" id="nfslocalnetwork" value="disabled" options="'disabled' => 'DISABLED', 'enabled' => 'ENABLED'">
|
||||
<label>ENABLE_LOCALNETWORK</label>
|
||||
</field>
|
||||
<field
|
||||
type="literal"
|
||||
id="descnfsclient"
|
||||
value="">
|
||||
<description>DESC_NFSCLIENT</description>
|
||||
</field>
|
||||
<field type="textarea" id="nfsclient" validation="IPinLocalNetwork" >
|
||||
<label>NFSCLIENT</label>
|
||||
</field>
|
||||
<field type="select" id="nfsrw" value="ro" options="'ro' => 'RO', 'rw' => 'RW'">
|
||||
<label>NFSRW</label>
|
||||
</field>
|
||||
<field type="select" id="nfssync" value="sync" options="'sync' => 'SYNC', 'async' => 'ASYNC'">
|
||||
<label>NFSSYNC</label>
|
||||
</field>
|
||||
<field type="select" id="nfswdelay" value="wdelay" options="'wdelay' => 'WDELAY', 'no_wdelay' => 'NO_WDELAY'">
|
||||
<label>NFSDELAY</label>
|
||||
</field>
|
||||
<field type="select" id="nfssquash" value="root_squash" options="'root_squash' => 'ROOT_SQUASH', 'no_root_squash' => 'NO_ROOT_SQUASH', 'all_squash' => 'ALL_SQUASH'">
|
||||
<label>NFSSQUASH</label>
|
||||
</field>
|
||||
<field type="select" id="nfshide" value="hide" options="'hide' => 'HIDE', 'nohide' => 'NOHIDE'">
|
||||
<label>NFSHIDE</label>
|
||||
</field>
|
||||
<field type="select" id="nfssecure" value="secure" options="'secure' => 'SECURE', 'insecure' => 'INSECURE'">
|
||||
<label>NFSSECURE</label>
|
||||
</field>
|
||||
<field
|
||||
type="literal"
|
||||
id="anonuidgiddesc"
|
||||
value="">
|
||||
<description>DESC_ANONUIDGID</description>
|
||||
</field>
|
||||
<field type="text" id="nfsanonuid" validation="ValidUid" >
|
||||
<label>NFSANONUID</label>
|
||||
</field>
|
||||
<field type="text" id="nfsanongid" validation="ValidGid" >
|
||||
<label>NFSANONGID</label>
|
||||
</field>
|
||||
<subroutine src="print_save_or_add_button()" />
|
||||
</page>
|
||||
|
||||
</form>
|
||||
|
@ -0,0 +1,3 @@
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
@ -0,0 +1,3 @@
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
@ -0,0 +1,3 @@
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
@ -0,0 +1,581 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
#
|
||||
# $Id: ibays.pm,v 1.8 2005/09/06 05:49:52 apc Exp $
|
||||
#
|
||||
|
||||
package esmith::FormMagick::Panel::nfsshare;
|
||||
|
||||
use strict;
|
||||
|
||||
use esmith::FormMagick;
|
||||
use esmith::AccountsDB;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::DomainsDB;
|
||||
use esmith::cgi;
|
||||
use esmith::util;
|
||||
use File::Basename;
|
||||
use Exporter;
|
||||
use Carp;
|
||||
use esmith::util::network qw(isValidIP);
|
||||
use Net::IPv4Addr qw(ipv4_in_network ipv4_parse);
|
||||
|
||||
|
||||
our @ISA = qw(esmith::FormMagick Exporter);
|
||||
|
||||
our @EXPORT = qw(
|
||||
print_ibay_table
|
||||
print_ibay_name_field
|
||||
print_vhost_message
|
||||
group_list
|
||||
userAccess_list
|
||||
max_ibay_name_length
|
||||
handle_ibays
|
||||
print_save_or_add_button
|
||||
wherenext
|
||||
IPinLocalNetwork
|
||||
ValidUid
|
||||
ValidGid
|
||||
getExtraParams
|
||||
);
|
||||
|
||||
our $VERSION = sprintf '%d.%03d', q$Revision: 1.8 $ =~ /: (\d+).(\d+)/;
|
||||
|
||||
our $accountdb = esmith::AccountsDB->open();
|
||||
our $configdb = esmith::ConfigDB->open();
|
||||
our $ndb = esmith::NetworksDB->open_ro();
|
||||
=pod
|
||||
|
||||
=head1 NAME
|
||||
|
||||
esmith::FormMagick::Panels::ibays - useful panel functions
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use esmith::FormMagick::Panels::ibays;
|
||||
|
||||
my $panel = esmith::FormMagick::Panel::ibays->new();
|
||||
$panel->display();
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
=head2 new();
|
||||
|
||||
Exactly as for esmith::FormMagick
|
||||
|
||||
=begin testing
|
||||
|
||||
$ENV{ESMITH_ACCOUNT_DB} = "10e-smith-base/accounts.conf";
|
||||
$ENV{ESMITH_CONFIG_DB} = "10e-smith-base/configuration.conf";
|
||||
$ENV{ESMITH_DOMAINS_DB} = "10e-smith-base/domains.conf";
|
||||
|
||||
use_ok('esmith::FormMagick::Panel::ibays');
|
||||
use vars qw($panel);
|
||||
ok($panel = esmith::FormMagick::Panel::ibays->new(),
|
||||
"Create panel object");
|
||||
isa_ok($panel, 'esmith::FormMagick::Panel::ibays');
|
||||
|
||||
{ package esmith::FormMagick::Panel::ibays;
|
||||
our $accountdb;
|
||||
::isa_ok($accountdb, 'esmith::AccountsDB');
|
||||
}
|
||||
|
||||
=end testing
|
||||
|
||||
=cut
|
||||
|
||||
sub new
|
||||
{
|
||||
my $proto = shift;
|
||||
my $class = ref($proto) || $proto;
|
||||
my $self = esmith::FormMagick::new($class);
|
||||
$self->{calling_package} = (caller)[0];
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
=head1 HTML GENERATION ROUTINES
|
||||
|
||||
Routines for generating chunks of HTML needed by the panel.
|
||||
|
||||
=head1 ROUTINES FOR FILLING IN FIELDS
|
||||
|
||||
=head2 print_ibay_table
|
||||
|
||||
Prints out the ibay table on the front page.
|
||||
|
||||
=for testing
|
||||
my $self = esmith::FormMagick::Panel::ibays->new();
|
||||
$self->{cgi} = CGI->new("");
|
||||
can_ok('main', 'print_ibay_table');
|
||||
$self->print_ibay_table();
|
||||
like($_STDOUT_, qr/NAME/, "Found NAME header in table output");
|
||||
#like($_STDOUT_, qr/testibay/, "Found test ibay in user table output");
|
||||
#like($_STDOUT_, qr/ff0000/, "Found red 'reset password' output");
|
||||
|
||||
=cut
|
||||
|
||||
sub print_ibay_table {
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $name = $self->localise('NAME');
|
||||
my $description = $self->localise('DESCRIPTION');
|
||||
my $nfsstatus = $self->localise('NFS_IS_ENABLED');
|
||||
my $modify = $self->localise('MODIFY');
|
||||
my $action_h = $self->localise('ACTION');
|
||||
|
||||
my @ibays = $accountdb->ibays();
|
||||
|
||||
unless ( scalar @ibays )
|
||||
{
|
||||
print $q->Tr($q->td($self->localise('NO_IBAYS')));
|
||||
return "";
|
||||
}
|
||||
|
||||
print $q->start_table({-CLASS => "sme-border"}),"\n";
|
||||
print $q->Tr (
|
||||
esmith::cgi::genSmallCell($q, $name,"header"),
|
||||
esmith::cgi::genSmallCell($q, $description,"header"),
|
||||
esmith::cgi::genSmallCell($q, $nfsstatus,"header"),
|
||||
esmith::cgi::genSmallCell($q, $action_h,"header", 3)),"\n";
|
||||
my $scriptname = basename($0);
|
||||
|
||||
foreach my $i (@ibays)
|
||||
{
|
||||
my $ibayname = $i->key();
|
||||
my $ibaydesc = $i->prop('Name');
|
||||
my $ibaynfs = $i->prop('NfsStatus')||'disabled';
|
||||
my $modifiable = $i->prop('Modifiable') || 'yes';
|
||||
|
||||
$ibaynfs = $self->localise('ENABLED') if ($ibaynfs eq 'enabled');
|
||||
$ibaynfs = $self->localise('DISABLED') if ($ibaynfs eq 'disabled');
|
||||
|
||||
|
||||
my $params = $self->build_ibay_cgi_params($ibayname, $i->props());
|
||||
|
||||
|
||||
my $href = "$scriptname?$params&action=modify&wherenext=";
|
||||
|
||||
my $actionModify = ' ';
|
||||
if ($modifiable eq 'yes')
|
||||
{
|
||||
$actionModify .= $q->a({href => "${href}CreateModify"},$modify)
|
||||
. ' ';
|
||||
}
|
||||
|
||||
|
||||
print $q->Tr (
|
||||
esmith::cgi::genSmallCell($q, $ibayname,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $ibaydesc,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $ibaynfs,"normal"),
|
||||
esmith::cgi::genSmallCell($q, $actionModify,"normal"));
|
||||
}
|
||||
|
||||
print $q->end_table,"\n";
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
sub build_ibay_cgi_params {
|
||||
my ($self, $ibayname, %oldprops) = @_;
|
||||
|
||||
#$oldprops{'description'} = $oldprops{Name};
|
||||
#delete $oldprops{Name};
|
||||
|
||||
my %props = (
|
||||
page => 0,
|
||||
page_stack => "",
|
||||
#".id" => $self->{cgi}->param('.id') || "",
|
||||
name => $ibayname,
|
||||
#%oldprops
|
||||
);
|
||||
|
||||
return $self->props_to_query_string(\%props);
|
||||
}
|
||||
|
||||
*wherenext = \&CGI::FormMagick::wherenext;
|
||||
|
||||
sub print_ibay_name_field {
|
||||
my $self = shift;
|
||||
my $in = $self->{cgi}->param('name') || '';
|
||||
# my $group = $accountdb->get_prop("$in",'Group')||'';
|
||||
# my $groupdesc = $accountdb->get_prop("$group",'Description')||'';
|
||||
# my $useraccess = $accountdb->get_prop("$in",'UserAccess')||'';
|
||||
my $action = $self->{cgi}->param('action') || '';
|
||||
my $maxLength = $configdb->get('maxIbayNameLength')->value;
|
||||
|
||||
#retieve the translation for useraccess
|
||||
# $useraccess = $self->localise('WGRG') if ($useraccess eq 'wr-group-rd-group');
|
||||
# $useraccess = $self->localise('WGRE') if ($useraccess eq 'wr-group-rd-everyone');
|
||||
# $useraccess = $self->localise('WARG') if ($useraccess eq 'wr-admin-rd-group');
|
||||
#retrieve correct name/description
|
||||
#$group = $self->localise('EVERYONE') if ($group eq 'shared');
|
||||
#$group = "$groupdesc " . "($group)" if ($groupdesc ne '');
|
||||
|
||||
print qq(<tr><td colspan="2">) . $self->localise('NAME_FIELD_DESC',
|
||||
{maxLength => $maxLength}) . qq(</td></tr>);
|
||||
print qq(<tr><td class="sme-noborders-label">) .
|
||||
$self->localise('NAME_LABEL') . qq(</td>\n);
|
||||
if ($action eq 'modify' and $in) {
|
||||
print qq(
|
||||
<td class="sme-noborders-content">$in
|
||||
<input type="hidden" name="name" value="$in">
|
||||
<input type="hidden" name="action" value="modify">
|
||||
</td>
|
||||
);
|
||||
# print qq(<tr><td class="sme-noborders-label">) .
|
||||
# $self->localise('GROUP_LABEL') . qq(</td>\n);
|
||||
# print qq(
|
||||
# <td class="sme-noborders-content">$group
|
||||
# <input type="hidden" name="group" value="$group">
|
||||
# <input type="hidden" name="action" value="modify">
|
||||
# </td>
|
||||
# );
|
||||
# print qq(<tr><td class="sme-noborders-label">) .
|
||||
# $self->localise('USERACCESS_LABEL') . qq(</td>\n);
|
||||
# print qq(
|
||||
# <td class="sme-noborders-content">$useraccess
|
||||
# <input type="hidden" name="useraccess" value="$useraccess">
|
||||
# <input type="hidden" name="action" value="modify">
|
||||
# </td>
|
||||
# );
|
||||
|
||||
# Read the values for each field from the accounts db and store
|
||||
# them in the cgi object so our form will have the correct
|
||||
# info displayed.
|
||||
my $q = $self->{cgi};
|
||||
my $rec = $accountdb->get($in);
|
||||
if ($rec)
|
||||
{
|
||||
$q->param(-name=>'description',-value=>
|
||||
$rec->prop('Name'));
|
||||
$q->param(-name=>'group',-value=>
|
||||
$rec->prop('Group'));
|
||||
$q->param(-name=>'userAccess',-value=>
|
||||
$rec->prop('UserAccess'));
|
||||
$q->param(-name=>'nfsstatus',-value=>
|
||||
($rec->prop('NfsStatus')));
|
||||
$q->param(-name=>'nfslocalnetwork',-value=>
|
||||
($rec->prop('NfsLocalNetwork')));
|
||||
#we need to replace the : delimeter of the db per a \n
|
||||
#with that we can have one ip per line in the textarea box of the panel
|
||||
my $nfsclientform = $rec->prop('NfsClient') || '';
|
||||
$nfsclientform =~ s/:/\n/g;
|
||||
|
||||
$q->param(-name=>'nfsclient',-value=> $nfsclientform);
|
||||
$q->param(-name=>'nfsrw',-value=>
|
||||
($rec->prop('NfsRW')));
|
||||
$q->param(-name=>'nfssync',-value=>
|
||||
($rec->prop('NfsSync')));
|
||||
$q->param(-name=>'nfswdelay',-value=>
|
||||
($rec->prop('NfsWdelay')));
|
||||
$q->param(-name=>'nfssquash',-value=>
|
||||
($rec->prop('NfsSquash')));
|
||||
$q->param(-name=>'nfsanonuid',-value=>
|
||||
($rec->prop('NfsAnonUid')));
|
||||
$q->param(-name=>'nfsanongid',-value=>
|
||||
($rec->prop('NfsAnonGid')));
|
||||
$q->param(-name=>'nfshide',-value=>
|
||||
($rec->prop('NfsHide')));
|
||||
$q->param(-name=>'nfssecure',-value=>
|
||||
($rec->prop('NfsSecure')));
|
||||
}
|
||||
} else {
|
||||
print qq(
|
||||
<td><input type="text" name="name" value="$in">
|
||||
<input type="hidden" name="action" value="create">
|
||||
</td>
|
||||
);
|
||||
}
|
||||
|
||||
print qq(</tr>\n);
|
||||
return undef;
|
||||
|
||||
}
|
||||
|
||||
|
||||
=pod
|
||||
|
||||
=head2 print_vhost_message()
|
||||
|
||||
Prints a warning message that vhosts whose content is this ibay will be
|
||||
modified to point to primary site.
|
||||
|
||||
=for testing
|
||||
$panel->{cgi} = CGI->new();
|
||||
$panel->{cgi}->param(-name=>'name', -value=>'bar');
|
||||
is($panel->print_vhost_message(), undef, 'print_vhost_message');
|
||||
|
||||
=cut
|
||||
|
||||
sub print_vhost_message {
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $name = $q->param('name');
|
||||
|
||||
my $domaindb = esmith::DomainsDB->open();
|
||||
my @domains = $domaindb->get_all_by_prop(Content => $name);
|
||||
my $vhostListItems = join "\n",
|
||||
(map ($q->li($_->key." ".$_->prop('Description')),
|
||||
@domains));
|
||||
if ($vhostListItems)
|
||||
{
|
||||
print $self->localise('VHOST_MESSAGE', {vhostList => $vhostListItems});
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
=head2 group_list()
|
||||
|
||||
Returns a hash of groups for the Create/Modify screen's group field's
|
||||
drop down list.
|
||||
|
||||
=for testing
|
||||
can_ok('main', 'group_list');
|
||||
my $g = group_list();
|
||||
is(ref($g), 'HASH', "group_list returns a hashref");
|
||||
is($g->{simpsons}, "Simpsons Family (simpsons)",
|
||||
"Found names and descriptions");
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
=head1 THE ROUTINES THAT ACTUALLY DO THE WORK
|
||||
|
||||
=for testing
|
||||
can_ok('main', 'handle_ibays');
|
||||
|
||||
=cut
|
||||
|
||||
sub handle_ibays {
|
||||
my ($self) = @_;
|
||||
|
||||
|
||||
if ($self->cgi->param("action") eq "create") {
|
||||
$self->create_ibay();
|
||||
} else {
|
||||
$self->modify_ibay();
|
||||
}
|
||||
}
|
||||
|
||||
=head2 print_save_or_add_button()
|
||||
=cut
|
||||
|
||||
sub print_save_or_add_button {
|
||||
my ($self) = @_;
|
||||
|
||||
my $action = $self->cgi->param("action") || '';
|
||||
if ($action eq "modify") {
|
||||
$self->print_button("SAVE");
|
||||
} else {
|
||||
$self->print_button("ADD");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
sub modify_ibay {
|
||||
my ($self) = @_;
|
||||
my $name = $self->cgi->param('name');
|
||||
#we take the content of textarea nfsclient (one ip per line)
|
||||
#and we split it and add a separator ':' to record that in a db
|
||||
my $nfsclientCGI = $self->cgi->param('nfsclient');
|
||||
my @nfsclientCGI = split /\s+/, $nfsclientCGI;
|
||||
my $nfsclientdb = '';
|
||||
foreach (@nfsclientCGI)
|
||||
{
|
||||
$nfsclientdb = $nfsclientdb . ':' . $_;
|
||||
}
|
||||
|
||||
if (my $acct = $accountdb->get($name)) {
|
||||
if ($acct->prop('type') eq 'ibay') {
|
||||
$acct->merge_props(
|
||||
NfsStatus => $self->cgi->param('nfsstatus'),
|
||||
NfsLocalNetwork => $self->cgi->param('nfslocalnetwork'),
|
||||
UserAccess => $self->cgi->param('userAccess'),
|
||||
Group => $self->cgi->param('group'),
|
||||
NfsClient => $nfsclientdb,
|
||||
NfsRW => $self->cgi->param('nfsrw'),
|
||||
NfsSync => $self->cgi->param('nfssync'),
|
||||
NfsWdelay => $self->cgi->param('nfswdelay'),
|
||||
NfsSquash => $self->cgi->param('nfssquash'),
|
||||
NfsAnonUid => $self->cgi->param('nfsanonuid'),
|
||||
NfsAnonGid => $self->cgi->param('nfsanongid'),
|
||||
NfsSecure => $self->cgi->param('nfssecure'),
|
||||
NfsHide => $self->cgi->param('nfshide'),
|
||||
);
|
||||
|
||||
# Untaint $name before use in system()
|
||||
$name =~ /(.+)/; $name = $1;
|
||||
if (system ("/sbin/e-smith/signal-event", "ibay-modify",
|
||||
$name) == 0 && system ("/sbin/e-smith/signal-event", "nfs-conf",
|
||||
$name) == 0)
|
||||
{
|
||||
$self->success("SUCCESSFULLY_MODIFIED_IBAY");
|
||||
} else {
|
||||
$self->error("ERROR_WHILE_MODIFYING_IBAY");
|
||||
}
|
||||
} else {
|
||||
$self->error('CANT_FIND_IBAY');
|
||||
}
|
||||
} else {
|
||||
$self->error('CANT_FIND_IBAY');
|
||||
}
|
||||
}
|
||||
|
||||
=head2 IPinLocalNetwork
|
||||
|
||||
verify that the IP list contains good IP and also in the range of all Local Network
|
||||
|
||||
=cut
|
||||
sub IPinLocalNetwork {
|
||||
my $self = shift;
|
||||
my $nfsclientfield = $self->cgi->param('nfsclient');
|
||||
my @nfsclient = split /\s+/, $nfsclientfield;
|
||||
|
||||
sub convert_to_cidr
|
||||
{
|
||||
$_ = shift;
|
||||
return "$_/32" unless m!/!;
|
||||
my ($ip,$bits) = ipv4_parse($_);
|
||||
return "$ip/$bits";
|
||||
}
|
||||
|
||||
my @localAccess = map {
|
||||
convert_to_cidr($_)
|
||||
} $ndb->local_access_spec();
|
||||
|
||||
foreach my $nfsclient (@nfsclient)
|
||||
{
|
||||
if (!isValidIP($nfsclient))
|
||||
{
|
||||
return $self->localise('NFSCLIENT_FIELD_IS_NOT_AN_IP');
|
||||
}
|
||||
elsif (!grep { ipv4_in_network($_, $nfsclient) } @localAccess)
|
||||
{
|
||||
return $self->localise('NFSCLIENT_FIELD_IS_NOT_IN_ANY_LOCALNETWORK');
|
||||
}
|
||||
}
|
||||
return "OK";
|
||||
}
|
||||
|
||||
=head2 ValidUid
|
||||
|
||||
verify that the gid is a positive integer inferior at 4294967295
|
||||
|
||||
=cut
|
||||
sub ValidUid {
|
||||
my $self = shift;
|
||||
my $nfsanonuid = $self->cgi->param('nfsanonuid');
|
||||
$nfsanonuid = '1' if $nfsanonuid eq '';
|
||||
if (($nfsanonuid eq int($nfsanonuid)) && ($nfsanonuid > 0) && ($nfsanonuid < 4294967295))
|
||||
{
|
||||
return "OK";
|
||||
}
|
||||
else
|
||||
{
|
||||
return $self->localise('THE_UID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295');
|
||||
}
|
||||
}
|
||||
|
||||
=head2 ValidGid
|
||||
|
||||
verify that the gid is a positive integer inferior at 4294967295
|
||||
|
||||
=cut
|
||||
sub ValidGid {
|
||||
my $self = shift;
|
||||
my $nfsanongid = $self->cgi->param('nfsanongid');
|
||||
$nfsanongid = '1' if $nfsanongid eq '';
|
||||
if (($nfsanongid eq int($nfsanongid)) && ($nfsanongid > 0) && ($nfsanongid < 4294967295))
|
||||
{
|
||||
return "OK";
|
||||
}
|
||||
else
|
||||
{
|
||||
return $self->localise('THE_GID_HAS_TO_BE_A_POSITIVE_INTEGER_INFERIOR_4294967295');
|
||||
}
|
||||
}
|
||||
|
||||
=pod
|
||||
|
||||
=head2 getExtraParams()
|
||||
|
||||
Sets variables used in the lexicon to their required values.
|
||||
|
||||
=for testing
|
||||
$panel->{cgi}->param(-name=>'name', -value=>'foo');
|
||||
my %ret = $panel->getExtraParams();
|
||||
is($ret{name}, 'foo', ' .. name field is foo');
|
||||
isnt($ret{description}, undef, ' .. description field isnt undef');
|
||||
|
||||
=cut
|
||||
|
||||
sub getExtraParams
|
||||
{
|
||||
my $self = shift;
|
||||
my $q = $self->{cgi};
|
||||
my $name = $q->param('name');
|
||||
my $desc = '';
|
||||
|
||||
if ($name)
|
||||
{
|
||||
my $acct = $accountdb->get($name);
|
||||
if ($acct)
|
||||
{
|
||||
$desc = $acct->prop('Name');
|
||||
}
|
||||
}
|
||||
return (name => $name, description => $desc);
|
||||
}
|
||||
|
||||
|
||||
=head2 group_list()
|
||||
|
||||
Returns a hash of groups for the Create/Modify screen's group field's
|
||||
drop down list.
|
||||
|
||||
=for testing
|
||||
can_ok('main', 'group_list');
|
||||
my $g = group_list();
|
||||
is(ref($g), 'HASH', "group_list returns a hashref");
|
||||
is($g->{simpsons}, "Simpsons Family (simpsons)",
|
||||
"Found names and descriptions");
|
||||
|
||||
=cut
|
||||
|
||||
sub group_list
|
||||
{
|
||||
my @groups = $accountdb->groups();
|
||||
my %groups = ( admin => 'Admin', shared => 'Everyone' );
|
||||
foreach my $g (@groups) {
|
||||
$groups{$g->key()} = $g->prop('Description')." (".
|
||||
$g->key.")";
|
||||
}
|
||||
return \%groups;
|
||||
}
|
||||
|
||||
|
||||
=head2 userAccess_list
|
||||
|
||||
Returns the hash of user access settings for showing in the user access
|
||||
drop down list.
|
||||
|
||||
=for testing
|
||||
can_ok('main', 'userAccess_list');
|
||||
my $u = userAccess_list();
|
||||
is(ref($u), 'HASH', "userAccess_list returns a hashref");
|
||||
like($u->{'wr-group-rd-group'}, qr/WGRG/, "hashref contains the right stuff");
|
||||
|
||||
=cut
|
||||
|
||||
sub userAccess_list
|
||||
{
|
||||
return {
|
||||
'wr-group-rd-group' => 'WGRG',
|
||||
'wr-group-rd-everyone' => 'WGRE',
|
||||
'wr-admin-rd-group' => 'WARG'
|
||||
};
|
||||
}
|
||||
|
||||
1;
|
141
smeserver-nfs.spec
Normal file
141
smeserver-nfs.spec
Normal file
@ -0,0 +1,141 @@
|
||||
# $Id: smeserver-nfs.spec,v 1.7 2024/09/06 00:59:47 terryfage Exp $
|
||||
# Authority: slords
|
||||
# Name: Shad L. Lords
|
||||
|
||||
Summary: smeserver - configure nfs server
|
||||
%define name smeserver-nfs
|
||||
Name: %{name}
|
||||
%define version 1.2.0
|
||||
%define release 23
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
Group: Networking/Daemons
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||
Requires: e-smith-base
|
||||
Requires: smeserver-release >= 9
|
||||
Requires: nfs-utils
|
||||
Requires: nfs4-acl-tools
|
||||
Requires: e-smith-lib
|
||||
Requires: e-smith-packetfilter
|
||||
BuildRequires: e-smith-devtools
|
||||
BuildArchitectures: noarch
|
||||
|
||||
%description
|
||||
e-smith server and gateway - configure nfs server
|
||||
|
||||
%changelog
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.2.0-23.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
* Sat Sep 07 2024 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 1.2.0-22.sme
|
||||
- apply locale 2024-09-06.patch
|
||||
|
||||
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-21.sme
|
||||
- fix service not starting and not accessible [SME: 12230]
|
||||
- using systemd and removing sysvinit links
|
||||
|
||||
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-20.sme
|
||||
- apply locale 2021-08-22 patch
|
||||
|
||||
* Wed Mar 03 2021 Brian Read <brianr@bjsystems.co.uk> 1.2.0-19.sme
|
||||
- Add in -update event [SME:11272 ]
|
||||
|
||||
* Mon Dec 21 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-18.sme
|
||||
- Alter-rcpbind-restart-to-systemctl-call [SME: 11272]
|
||||
|
||||
* Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-17.sme
|
||||
- Initial import to SME10 [SME: 11272]
|
||||
|
||||
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.2.0-16.sme
|
||||
- apply locale 2019-12-07 patch
|
||||
|
||||
* Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-15.sme
|
||||
- apply locale 2018-12-14 patch
|
||||
|
||||
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.2.0-14.sme
|
||||
- apply locale 2017-12-02 patch
|
||||
|
||||
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-13.sme
|
||||
- apply locale 2017-03-25 patch
|
||||
|
||||
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-12.sme
|
||||
- apply locale 2017-02-02.patch
|
||||
|
||||
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.0-11.sme
|
||||
- apply locale 2016-03-09 patch
|
||||
|
||||
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-10.sme
|
||||
- Added smeserver-nfs-1.2.0-locale-2015-09-12.patch
|
||||
|
||||
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-9.sme
|
||||
- Initial release to contribs9
|
||||
|
||||
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-8.sme
|
||||
- The ownership and the user access of the Ibay are modifiable by the contrib
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7.sme
|
||||
- added a default db nfs-rules
|
||||
- added an exception if nfs-rules is removed by the admin
|
||||
|
||||
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6.sme
|
||||
- Added an event nfs-conf shorter for the server-manager
|
||||
- Added a template /etc/exports/20CustomRules for manual settings
|
||||
|
||||
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme
|
||||
- added a template of hosts.allow
|
||||
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update
|
||||
- display Group description and permissions from ibay account in nfs panel
|
||||
- added a textarea box for ip of nfsclient
|
||||
- display status of nfs share in the main panel
|
||||
|
||||
* Sat Dec 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-4.sme
|
||||
- Added a panel with en-us locale and validator
|
||||
|
||||
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme
|
||||
- Added nfs4-acl-tools for nfsv4 dependency
|
||||
- Added a template to /etc/exports
|
||||
- Added a specific event nfs-update
|
||||
|
||||
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme
|
||||
- removed portmap to rpcbind in r7.d
|
||||
|
||||
* Tue Sep 16 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1.sme
|
||||
- Initial release to sme9
|
||||
|
||||
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
|
||||
- Clean up spec so package can be built by koji/plague
|
||||
|
||||
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
|
||||
- Update to new release naming. No functional changes.
|
||||
- Make Packager generic
|
||||
|
||||
* Mon Jan 30 2006 Shad L. Lords <slords@mail.com>
|
||||
- initial
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
perl createlinks
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-%{release}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
> %{name}-%{version}-%{release}-filelist
|
||||
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
|
||||
|
||||
%postun
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}-%{version}-%{release}-filelist
|
||||
%defattr(-,root,root)
|
Loading…
Reference in New Issue
Block a user