fusiondirectory-setup - Online in the Cloud

This is the command fusiondirectory-setup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


fusiondirectory-setup - FusionDirectory setup script

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, and change destinations directories.

Options
--update-cache
This option update the /var/cache/fusiondirectory/class.cache file. Wich contain PHP
classes used in FusionDirectory, and their location.

--update-locales
This option update internalization, by generating a new .mo locales file for each
language, with every .po files it found. Needs msgcat and msgfmt to be installed.

--check-directories
This option perform a check on all FusionDirectory's files or directories.

--check-config
This option perform a check on FusionDirectory's config file.

--check-ldap
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.

--migrate-users
This option add FusionDirectory attributes to the people branch.

--migrate-acls
This option will migrated old GOsa style acl from 1.0.7 into FusionDirectory acl roles
in 1.0.8

--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.

--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.

--show-version
This option will parse the file variables_common.inc of FusionDirectory to find out
which version of FusionDirectory is installed.

--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.

--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.

--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.

--list-deprecated
This option will list the deprecated attributes and objectclasses still in your
schemas and no longer used by FusionDirectory.

--check-deprecated
This option will list the dn of LDAP entries using deprecated attributes or
objectclasses and no longer used by FusionDirectory.

--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.

--yes
This flag will answer "yes" to every yes/no question asked by the script

EXAMPLE


benoit@catbert$ fusiondirectory-setup --update-cache --update-locales

Update FusionDirectory class cache and update localization

benoit@catbert$ fusiondirectory-setup --list-vars
List possible vars to give --set
locale_cache_dir [locale]
config_file [fusiondirectory.conf]
fd_cache [/var/cache/fusiondirectory]
fd_smarty_dir [/usr/share/php/smarty3]
fd_spool_dir [/var/spool/fusiondirectory]
fai_log_dir [fai]
tmp_dir [tmp]
secrets_file [fusiondirectory.secrets]
template_dir [template]
locale_dir [locale]
class_cache [class.cache]
fd_config_dir [/etc/fusiondirectory]
fd_home [/var/www/fusiondirectory]

benoit@catbert$ fusiondirectory-setup --set-class_cache=class.cache --write-vars

update the class.cache name and write back the variables.inc file

Use fusiondirectory-setup online using onworks.net services



Latest Linux & Windows online programs