Commit 9fd813a0 authored by bmortier's avatar bmortier

Merge branch '1.0.8.7-fixes'

Releasing FusionDirectory 1.0.8.8
parents 306dd155 3034b49e
FusionDirectory changelog
=========================
* FusionDirectory 1.0.8.8
[Fix] Bugs #3864: correct all the date and version on the man pages
[Fix] Bugs #3870: fusiondirectory-setup miss the explanation of --check-deprectaed into to manpages
[Feature] Bugs #3878: we need an option in fusiondirectory-setup to tell us the fusiondirectory version
[Feature] Bugs #3879: we need an option into fusiondirectory-insert-schema to empty a schema
[Fix] Bugs #3884: Setup fails if root object is missing
[Feature] Bugs #3887: Support apache group for Archlinux
[Fix] Bugs #3890: Vacation range should be disabled on mail methods as none implements it
[Fix] Bugs #3898: check if the demo plugin is current and use the current simple plugin api
[Fix] Bugs #3913: remove screenshot and demosection.php from developers packages
[Fix] Bugs #3917: remove the fusiondirectory-setup --migrate-repositories
[Fix] Bugs #3919: fusiondirectory-setup miss the explanation of --migrate-acls into to manpage
[Fix] Bugs #3920: reorganize the command for list, write, set vars
[Fix] Wishlist #3824: Unix account - /bin/false
* FusionDirectory 1.0.8.7
[Fix] Bugs #3753: Recovery password use default hash
......
This diff is collapsed.
#!/usr/bin/perl
########################################################################
#
# fusiondirectory-setup
#
# Manage fusiondirectory installs from the command line
#
# This code is part of FusionDirectory (http://www.fusiondirectory.org/)
# Copyright (C) 2011-2015 FusionDirectory
#
# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
#
########################################################################
use strict;
use warnings;
use 5.008;
......@@ -85,7 +110,6 @@ sub ask_yn_question {
return 0;
}
}
}
# function that ask for an user input and do some checks
......@@ -308,8 +332,8 @@ sub get_classes {
$file =~ s/^$vars{fd_home}//;
foreach my $line ( @lines ) {
# remove \n from the end of each line
chomp $line;
# remove \n from the end of each line
chomp $line;
# only process for lines beginning with "class", and extracting the 2nd word (the class name)
if ( $line =~ /^class\s*(\w+).*/ ) {
......@@ -421,6 +445,8 @@ sub get_apache_group {
$apache_group = "apache";
} elsif (-e "/etc/SuSE-release") {
$apache_group = "www";
} elsif (-e "/etc/arch-release") {
$apache_group = "http";
} else {
print ("! Looks like you are not a Debian, Suse, Redhat or Mageia, I don't know your distribution !\n");
$apache_group = ask_user_input ("What is your apache group?");
......@@ -978,54 +1004,6 @@ sub check_ldap {
$unbind->code && warn "! Unable to unbind from LDAP server: ", $unbind->error."\n";
}
# function that migrate old FAI repos
sub migrate_repo {
# initiate the LDAP connexion
my %hash_ldap_param = get_ldap_connexion();
# LDAP's connection's parameters
my $base = $hash_ldap_param{base};
my $ldap = $hash_ldap_param{ldap};
# search for FAI repository server
my $fai_repo = $ldap->search (base => $base, filter => "(&(FAIrepository=*)(objectClass=FAIrepositoryServer))");
$fai_repo->code && die $fai_repo->error;
# stock search's results
my @fai_entries = $fai_repo->entries;
foreach my $repoServer (@fai_entries) {
# retrieve the FAIrepository from the LDAP object
my $ref_FAIrepo = $repoServer->get_value('fairepository', asref=>1);
my @repos;
# foreach FAIrepository of the LDAP object
foreach my $repo (@{$ref_FAIrepo}) {
my (@items) = split('\|',$repo);
# Unless the FAIrepository has already been migrated
if (scalar @items < 5) {
print "modifying $repo\n";
push @repos, $repo."|install|local|i386";
} elsif (scalar @items < 6) {
print "repository $repo seems malformed\n";
push @repos, $repo;
} elsif (scalar @items < 7) {
print "modifying $repo\n";
push @repos, $repo."|i386";
} else {
print "keeping $repo\n";
push @repos, $repo;
}
}
my $modify = $ldap->modify ($repoServer->dn, replace => [ FAIrepository => \@repos]);
$modify->code && warn "! Unable to modify FAI repositories for ".$repoServer->dn." : ".$modify->error."\n";
}
# unbind to the LDAP server
my $unbind = $ldap->unbind;
$unbind->code && warn "! Unable to unbind from LDAP server: ", $unbind->error."\n";
}
# function that create a directory and copy plugin files in it
sub create_and_copy_plugin_dir {
my ($plugin_dir,$dest_dir) = @_;
......@@ -1392,6 +1370,22 @@ sub ldif_deprecated {
}
}
sub show_version {
my $variables_common_path = "$vars{fd_home}/include/variables_common.inc";
if (-e $variables_common_path) {
open(VARS, $variables_common_path) || die ("Could not open $variables_common_path");
while(<VARS>) {
if ($_ =~ m/^define \(["']FD_VERSION["'], "([^"]+)"\);/) {
print "FusionDirectory version is $1\n";
last;
}
}
close(VARS);
} else {
print "File $variables_common_path does not exists, can’t find out FusionDirectory version\n";
}
}
# function that set useful vars based on user specified folders and files
sub set_vars {
$fd_config = $vars{fd_config_dir}."/".$vars{config_file};
......@@ -1429,17 +1423,17 @@ die ("! You have to run this script as root\n") if ($<!=0);
$commands{"--check-directories"} = ["Checking FusionDirectory's directories", \&check_directories];
$commands{"--check-config"} = ["Checking FusionDirectory's config file", \&check_config];
$commands{"--check-ldap"} = ["Checking your LDAP tree", \&check_ldap];
$commands{"--migrate-repositories"} = ["Migrating your FAI repositories", \&migrate_repo];
$commands{"--migrate-users"} = ["Migrating your users", \&migrate_users];
$commands{"--migrate-acls"} = ["Migrating your ACLs", \&migrate_acls];
$commands{"--install-plugins"} = ["Installing FusionDirectory's plugins", \&install_plugins];
$commands{"--encrypt-passwords"} = ["Encrypt passwords in fusiondirectory.conf", \&encrypt_passwords];
$commands{"--write-vars"} = ["Choose FusionDirectory Directories", \&write_vars];
$commands{"--show-version"} = ["Show FusionDirectory version from variables_common.inc", \&show_version];
$commands{"--list-vars"} = ["List possible vars to give --set", \&list_vars];
$commands{"--write-vars"} = ["Choose FusionDirectory Directories", \&write_vars];
$commands{"--set-VAR=value"} = ["Set the variable VAR to value see --list-vars", \&die]; # Won't be called because it contains uppercase
$commands{"--list-deprecated"} = ["List deprecated attributes and objectclasses", \&list_deprecated];
$commands{"--check-deprecated"} = ["List LDAP entries using deprecated attributes or objectclasses", \&check_deprecated];
$commands{"--check-deprecated"} = ["List LDAP entries using deprecated attributes or objectclasses", \&check_deprecated];
$commands{"--ldif-deprecated"} = ["# Print an LDIF removing deprecated attributes",\&ldif_deprecated];
$commands{"--set-VAR=value"} = ["Set the variable VAR to value see --list-vars", \&die]; # Won't be called because it contains uppercase
my $usage = 0;
......@@ -1489,7 +1483,7 @@ fusiondirectory-setup - FusionDirectory setup script
=head1 DESCRIPTION
This script is designed to perform multiple checks on your FusionDirectory/LDAP architecture, and fix usual misconfiguration.
Some extra features allow you to install FusionDirectory's plugins, changes destinations directories, and migrate your old FAIrepositories.
Some extra features allow you to install FusionDirectory's plugins, and change destinations directories.
=head2 Options
......@@ -1516,14 +1510,14 @@ This option perform a check on FusionDirectory's config file.
This option check your LDAP tree. Looking for admin account, and groups or people branch. If one of those don't exists, the script will ask you what to do.
=item --migrate-repositories
This option check the fairepository object in your ldap tree and add the new option for FusionDirectory 1.0.2.
=item --migrate-users
This option add FusionDirectory attributes to the people branch.
=item --migrate-acls
This option will migrated old GOsa style acl from 1.0.7 into FusionDirectory acl roles in 1.0.8
=item --install-plugins
This option will install the plugin from a tar.gz of the plugin. This option is intended for people wanting to install from the sources.
......@@ -1532,17 +1526,33 @@ This option will install the plugin from a tar.gz of the plugin. This option is
This option will encrypt the password inside your fusiondirectory.conf file, it need the headers module to be activated in your apache to work.
=item --show-version
This option will parse the file variables_common.inc of FusionDirectory to find out which version of FusionDirectory is installed.
=item --list_vars
This option will list the variables you can change to install FusionDirectory on another set of directories. This option is intended for people wanting to install from the sources.
=item --write-vars
This option will write back the variables.inc file with the updated variables and is only useful with --set-VAR=variable and for people installing from sources.
=item --set-VAR=variable
This option will change the variable for the FusionDirectory installation. it is only useful with --install-directories and for people installing from sources.
=item --write-vars
=item --list-deprecated
This option will write back the variables.inc file with the updated variables and is only useful with --set-VAR=variable and for people installing from sources.
This option will list the deprecated attributes and objectclasses still in your schemas and no longer used by FusionDirectory.
=item --check-deprecated
This option will list the dn of LDAP entries using deprecated attributes or objectclasses and no longer used by FusionDirectory.
=item --ldif-deprecated
This option will print an LDIF to allow you to remove deprecated attributes from you ldap server. Be carefull and check before applying.
=item --yes
......@@ -1594,7 +1604,7 @@ This code is part of FusionDirectory (http://www.fusiondirectory.org/)
=over 2
=item Copyright (C) 2011-2014 FusionDirectory
=item Copyright (C) 2011-2015 FusionDirectory
=back
......
......@@ -356,6 +356,55 @@ fusiondirectory-setup --check-deprecated will output an ldif file on the console
!! Please read it carefully before applying !!
Migrate FusionDirectory from 1.0.8.7 to 1.0.8.8
===============================================
- Upgrade FusionDirectory first
Upgrade FusionDirectory core package before other ones to avoid dependencies errors:
apt-get install fusiondirectory
- Upgrade FusionDirectory schema package too.
apt-get install fusiondirectory-schema
Upgrade of LDAP directory
=========================
- Nothing to do
Check for deprecated attributes and objectClasses in your LDAP
==============================================================
FusionDirectory 1.0.8.1 comes with two new options in fusiondirectory-setup
fusiondirectory-setup --list-deprecated
List deprecated attributes and objectclasses
Deprecated attributes:
gosaUnitTag (Takes a list of relevant mime-type|priority settings) - 1.3.6.1.4.1.10098.1.1.12.33
gosaSnapshotType (Takes either undo or snapshot) - 1.3.6.1.4.1.10098.1.1.12.36
fdHonourUnitTags (FusionDirectory - Honour unit tags) - 1.3.6.1.4.1.38414.8.14.3
Deprecated objectClasses:
gosaAdministrativeUnitTag (Marker for objects below administrational units (v2.6.1)) - 1.3.6.1.4.1.10098.1.2.1.19.16
gosaAdministrativeUnit (Marker for administrational units (v2.6.1)) - 1.3.6.1.4.1.10098.1.2.1.19.15
fusiondirectory-setup --list-deprecated show deprecated attributes and objectClasses for FusionDirectory
fusiondirectory-setup --check-deprecated
List LDAP entries using deprecated attributes or objectclasses
There are no entries in the LDAP using obsolete attributes
There are no entries in the LDAP using obsolete classes
fusiondirectory-setup –check-deprecated will output a list of dns using old attributes and objectClasses
fusiondirectory-setup –ldif-deprecated will output an ldif file on the console that you can use with ldapmodify to clean you ldap server from old attributes and objectClasses
!! Please read it carefully before applying !!
---
* Further information
......
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -38,6 +38,8 @@
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
......@@ -48,17 +50,24 @@
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
......@@ -124,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "FUSIONDIRECTORY-INSERT-SCHEMA 1"
.TH FUSIONDIRECTORY-INSERT-SCHEMA 1 "2014-11-01" "FusionDirectory 1.0.8.3" "FusionDirectory Documentation"
.TH FUSIONDIRECTORY-INSERT-SCHEMA 1 "2015-06-30" "FusionDirectory 1.0.8.8" "FusionDirectory Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -145,6 +154,10 @@ This option insert the given list of schemas instead of the default list
.IP "\-m" 6
.IX Item "-m"
This option insert the given list of schemas, replacing already inserted versions of those schemas
.IP "\-e" 6
.IX Item "-e"
This option empty the given list of schemas, removing attributes and objectClasses from those.
This is useful because you cannot delete a schema without restarting slapd.
.IP "\-l" 6
.IX Item "-l"
This option list inserted schemas
......@@ -154,10 +167,13 @@ This option will make generated ldifs file to not be deleted after execution. Mi
.IP "\-c" 6
.IX Item "-c"
This option make the program continue even if an error occur
.IP "\-y" 6
.IX Item "-y"
This option answer yes to all questions. The only question right now is the confirmation one when you ask to empty a schema.
.IP "\-o" 6
.IX Item "-o"
This option allow you to specify specifics options to give to ldap commands such as ldapmodify,
but beware that you wona\*^XXt be able to see things like password prompts as the output of these commands is piped.
but beware that you will not be able to see things like password prompts as the output of these commands is piped.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
.Vb 2
......@@ -175,6 +191,9 @@ but beware that you wona\*^XXt be able to see things like password prompts as th
\&
\& fusion@catbert$ fusiondirectory\-insert\-schema \-m /etc/ldap/otherschema/myschema.schema
\& Convert /etc/ldap/otherschema/myschema.schema to ldif and replace the existing schema by this one
\&
\& fusion@catbert$ fusiondirectory\-insert\-schema \-e myschema
\& Empty the schema myschema
.Ve
.SH "BUGS"
.IX Header "BUGS"
......@@ -186,10 +205,10 @@ Come Bernigaud
.SH "LICENCE AND COPYRIGHT"
.IX Header "LICENCE AND COPYRIGHT"
This code is part of FusionDirectory <http://www.fusiondirectory.org>
.IP "Copyright (C) 2011\-2014 FusionDirectory Project" 1
.IX Item "Copyright (C) 2011-2014 FusionDirectory Project"
.IP "Copyright (C) 2011\-2015 FusionDirectory Project" 1
.IX Item "Copyright (C) 2011-2015 FusionDirectory Project"
.PP
This program is distributed in the hope that it will be useful,
but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of
\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the
but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of
\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE. \s0 See the
\&\s-1GNU\s0 General Public License for more details.
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -38,6 +38,8 @@
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
......@@ -48,17 +50,24 @@
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
......@@ -124,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "FUSIONDIRECTORY-SETUP 1"
.TH FUSIONDIRECTORY-SETUP 1 "2014-11-01" "FusionDirectory 1.0.8.3" "FusionDirectory Documentation"
.TH FUSIONDIRECTORY-SETUP 1 "2015-06-30" "FusionDirectory 1.0.8.8" "FusionDirectory Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -134,7 +143,7 @@ fusiondirectory\-setup \- FusionDirectory setup script
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This script is designed to perform multiple checks on your FusionDirectory/LDAP architecture, and fix usual misconfiguration.
Some extra features allow you to install FusionDirectory's plugins, changes destinations directories, and migrate your old FAIrepositories.
Some extra features allow you to install FusionDirectory's plugins, and change destinations directories.
.SS "Options"
.IX Subsection "Options"
.IP "\-\-update\-cache" 4
......@@ -153,27 +162,39 @@ This option perform a check on FusionDirectory's config file.
.IP "\-\-check\-ldap" 4
.IX Item "--check-ldap"
This option check your \s-1LDAP\s0 tree. Looking for admin account, and groups or people branch. If one of those don't exists, the script will ask you what to do.
.IP "\-\-migrate\-repositories" 4
.IX Item "--migrate-repositories"
This option check the fairepository object in your ldap tree and add the new option for FusionDirectory 1.0.2.
.IP "\-\-migrate\-users" 4
.IX Item "--migrate-users"
This option add FusionDirectory attributes to the people branch.
.IP "\-\-migrate\-acls" 4
.IX Item "--migrate-acls"
This option will migrated old GOsa style acl from 1.0.7 into FusionDirectory acl roles in 1.0.8
.IP "\-\-install\-plugins" 4
.IX Item "--install-plugins"
This option will install the plugin from a tar.gz of the plugin. This option is intended for people wanting to install from the sources.
.IP "\-\-encrypt\-passwords" 4
.IX Item "--encrypt-passwords"
This option will encrypt the password inside your fusiondirectory.conf file, it need the headers module to be activated in your apache to work.
.IP "\-\-show\-version" 4
.IX Item "--show-version"
This option will parse the file variables_common.inc of FusionDirectory to find out which version of FusionDirectory is installed.
.IP "\-\-list_vars" 4
.IX Item "--list_vars"
This option will list the variables you can change to install FusionDirectory on another set of directories. This option is intended for people wanting to install from the sources.
.IP "\-\-set\-VAR=variable" 4
.IX Item "--set-VAR=variable"
This option will change the variable for the FusionDirectory installation. it is only useful with \-\-install\-directories and for people installing from sources.
.IP "\-\-write\-vars" 4
.IX Item "--write-vars"
This option will write back the variables.inc file with the updated variables and is only useful with \-\-set\-VAR=variable and for people installing from sources.
.IP "\-\-set\-VAR=variable" 4
.IX Item "--set-VAR=variable"
This option will change the variable for the FusionDirectory installation. it is only useful with \-\-install\-directories and for people installing from sources.
.IP "\-\-list\-deprecated" 4
.IX Item "--list-deprecated"
This option will list the deprecated attributes and objectclasses still in your schemas and no longer used by FusionDirectory.
.IP "\-\-check\-deprecated" 4
.IX Item "--check-deprecated"
This option will list the dn of \s-1LDAP\s0 entries using deprecated attributes or objectclasses and no longer used by FusionDirectory.
.IP "\-\-ldif\-deprecated" 4
.IX Item "--ldif-deprecated"
This option will print an \s-1LDIF\s0 to allow you to remove deprecated attributes from you ldap server. Be carefull and check before applying.
.IP "\-\-yes" 4
.IX Item "--yes"
This flag will answer \*(L"yes\*(R" to every yes/no question asked by the script
......@@ -217,10 +238,10 @@ Come Bernigaud
.SH "LICENCE AND COPYRIGHT"
.IX Header "LICENCE AND COPYRIGHT"
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
.IP "Copyright (C) 2011\-2014 FusionDirectory" 2
.IX Item "Copyright (C) 2011-2014 FusionDirectory"
.IP "Copyright (C) 2011\-2015 FusionDirectory" 2
.IX Item "Copyright (C) 2011-2015 FusionDirectory"
.PP
This program is distributed in the hope that it will be useful,
but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of
\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the
but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of
\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE. \s0 See the
\&\s-1GNU\s0 General Public License for more details.
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.14)
.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
......@@ -38,6 +38,8 @@
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
......@@ -48,17 +50,24 @@
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
......@@ -124,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "FUSIONDIRECTORY.CONF 1"
.TH FUSIONDIRECTORY.CONF 1 "2013-09-23" "FusionDirectory 1.0" "FusionDirectory Documentation"
.TH FUSIONDIRECTORY.CONF 1 "2015-06-12" "FusionDirectory 1.0.8.8" "FusionDirectory Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......@@ -196,7 +205,7 @@ The templateCompileDirectory statements defines the path, where the \s-1PHP\s0 t
This path needs to be writeable by the user your webserver is running with.
.IP "\fBignoreAcl\fR \fIdn\fR" 4
.IX Item "ignoreAcl dn"
The ignoreAcl value tells FusionDirectory to ignore complete \s-1ACL\s0 sets for the given \s-1DN\s0. Add your \s-1DN\s0 here and you'll be able to restore accidently dropped ACLs.
The ignoreAcl value tells FusionDirectory to ignore complete \s-1ACL\s0 sets for the given \s-1DN.\s0 Add your \s-1DN\s0 here and you'll be able to restore accidently dropped ACLs.
.IP "\fBdisplayerrors\fR bool" 4
.IX Item "displayerrors bool"
The displayerrors statement tells FusionDirectory to show \s-1PHP\s0 errors in the upper part of the screen. This should be disabled in productive deployments, because there
......@@ -213,25 +222,25 @@ The config statement defines the \s-1LDAP\s0 base, where FusionDirectory stores
.IX Item "debuglevel integer"
The debuglevel value tells FusionDirectory to display certain information on each page load. Value is an \s-1OR\s0 combination of the following byte values :
.Sp
\&\s-1DEBUG_TRACE\s0 = 1
\&\s-1DEBUG_TRACE \s0 = 1
.Sp
\&\s-1DEBUG_LDAP\s0 = 2
\&\s-1DEBUG_LDAP \s0 = 2
.Sp
\&\s-1DEBUG_DB\s0 = 4
\&\s-1DEBUG_DB \s0 = 4
.Sp
\&\s-1DEBUG_SHELL\s0 = 8
\&\s-1DEBUG_SHELL \s0 = 8
.Sp
\&\s-1DEBUG_POST\s0 = 16
\&\s-1DEBUG_POST \s0 = 16
.Sp
\&\s-1DEBUG_SESSION\s0 = 32
\&\s-1DEBUG_SESSION \s0 = 32
.Sp
\&\s-1DEBUG_CONFIG\s0 = 64
\&\s-1DEBUG_CONFIG \s0 = 64
.Sp
\&\s-1DEBUG_ACL\s0 = 128
\&\s-1DEBUG_ACL \s0 = 128
.Sp
\&\s-1DEBUG_ARGONAUT\s0 = 256
.Sp
\&\s-1DEBUG_MAIL\s0 = 512
\&\s-1DEBUG_MAIL \s0 = 512
.SS "\s-1LDAP\s0 options"
.IX Subsection "LDAP options"
.IP "\fBldapTLS\fR \fIbool\fR" 4
......@@ -252,7 +261,7 @@ Example:
\& password="secret" />
.Ve
.PP
uri is a valid \s-1LDAP\s0 uri extendet by the base this referral is responsible for. admin is the \s-1DN\s0 which has the permission to write \s-1LDAP\s0 entries. And password is the corresponding password for this \s-1DN\s0.
uri is a valid \s-1LDAP\s0 uri extendet by the base this referral is responsible for. admin is the \s-1DN\s0 which has the permission to write \s-1LDAP\s0 entries. And password is the corresponding password for this \s-1DN.\s0
You can define a set of referrals if you have several server to connect to.
.SH "BUGS"
.IX Header "BUGS"
......@@ -263,8 +272,8 @@ This code is part of FusionDirectory <http://www.fusiondirectory.org>
.IP "Copyright (C) 2003\-2010 \s-1GONICUS\s0 GmbH" 2
.IX Item "Copyright (C) 2003-2010 GONICUS GmbH"
.PD 0
.IP "Copyright (C) 2011\-2013 FusionDirectory project" 2
.IX Item "Copyright (C) 2011-2013 FusionDirectory project"
.IP "Copyright (C) 2011\-2015 FusionDirectory project" 2
.IX Item "Copyright (C) 2011-2015 FusionDirectory project"
.PD
.PP
This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.
This program is distributed in the hope that it will be useful, but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE. \s0 See the \s-1GNU\s0 General Public License for more details.
......@@ -157,7 +157,7 @@ This code is part of FusionDirectory <http://www.fusiondirectory.org>
=item Copyright (C) 2003-2010 GONICUS GmbH
=item Copyright (C) 2011-2014 FusionDirectory project
=item Copyright (C) 2011-2015 FusionDirectory project
=back
......
......@@ -63,7 +63,7 @@ define("FPDF_FONTPATH", "/usr/share/php/fpdf/font/"); /*! Define fpdf font path
/*!
* \brief FusionDirectory Version
*/
define ("FD_VERSION", "1.0.8.7"); /*! Define FusionDirectory version */
define ("FD_VERSION", "1.0.8.8"); /*! Define FusionDirectory version */
/*!
* \brief FusionDirectory config object RDN
......
......@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: FusionDirectory-108\n"
"Report-Msgid-Bugs-To: bugs@fusiondirectory.org\n"
"POT-Creation-Date: 2015-06-04 22:02+0200\n"
"PO-Revision-Date: 2015-06-04 20:01+0000\n"
"PO-Revision-Date: 2015-06-07 12:52+0000\n"
"Last-Translator: fusiondirectory <contact@fusiondirectory.org>\n"
"Language-Team: Greek (Greece) (http://www.transifex.com/projects/p/FusionDirectory-108/language/el_GR/)\n"
"MIME-Version: 1.0\n"
......@@ -287,7 +287,7 @@ msgstr ""
#: setup/class_setupStep_Migrate.inc:2717
#: setup/class_setupStep_Migrate.inc:2730
msgid "LDAP error"
msgstr ""
msgstr "LDAP Λάθος"
#: plugins/admin/groups/class_group.inc:605
msgid "! unknown user"
......
......@@ -22,7 +22,7 @@ msgstr ""
"Project-Id-Version: FusionDirectory-108\n"
"Report-Msgid-Bugs-To: bugs@fusiondirectory.org\n"
"POT-Creation-Date: 2015-06-04 22:02+0200\n"
"PO-Revision-Date: 2015-06-04 20:09+0000\n"
"PO-Revision-Date: 2015-06-04 21:16+0000\n"
"Last-Translator: Benoit Mortier <benoit.mortier@opensides.be>\n"
"Language-Team: French (http://www.transifex.com/projects/p/FusionDirectory-108/language/fr/)\n"
"MIME-Version: 1.0\n"
......
......@@ -283,7 +283,7 @@ class configInLdap extends simplePlugin
'fdShells', FALSE
),
array('/bin/ash','/bin/bash','/bin/csh','/bin/sh','/bin/ksh',
'/bin/tcsh','/bin/dash','/bin/zsh','/sbin/nologin')