.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.\" way too many mistakes in technical documents.
.if n .ad l
.if n .ad l
.nh
.nh
.SH "NAME"
.SH "NAME"
fusiondirectory\-setup \- class cache and locale setup for FusionDirectory
fusiondirectory\-setup \- Setup command to do various checks and update on FusionDirectory
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
fusiondirectory-setup [\s-1OPTION\s0]
.SH "DESCRIPTION"
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
.IX Header "DESCRIPTION"
fusiondirectory-setup is a command that help you to manage your fusiondirectory instance
This script is designed to perform multiple checks on your FusionDirectory/LDAP architecture, and fix usual misconfiguration.
.IP "\fBrescan\-i18n\fR Rebuilds the translations" 3
For now, it update internalization, FusionDirectory's cache, it check FusionDirectory's files/directories, and it check your \s-1LDAP\s0 tree.
.IX Item "rescan-i18n Rebuilds the translations"
.SS "Options"
.PD 0
.IX Subsection "Options"
.IP "\fBrescan-classes\fR Rebuilds the class list" 3
.IP "\-\-update\-cache" 4
.IX Item "rescan-classes Rebuilds the class list"
.IX Item "--update-cache"
.PD
This option update the /var/cache/fusiondirectory/class.cache file. Wich contain \s-1PHP\s0 classes used in FusionDirectory, and their location.
.IP "\-\-update\-lang" 4
.IX Item "--update-lang"
This option update internalization, by generating a new .mo locales file for each language, with every .po files it found.
Needs \fImsgcat\fR and \fImsgfmt\fR to be installed.
.IP "\-\-check\-dir" 4
.IX Item "--check-dir"
This option perform a check on all FusionDirectory's files or directories.
.IP "\-\-create\-dir" 4
.IX Item "--create-dir"
This option fix rights misconfiguration on FusionDirectory's files or directories. It create directories that should exist but don't seem to.
.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.
.SH "BUGS"
.SH "BUGS"
.IX Header "BUGS"
.IX Header "BUGS"
Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to
Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to