3 581
contributi
(rimosso stub) |
|||
(7 versioni intermedie di un altro utente non mostrate) | |||
Riga 445: | Riga 445: | ||
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${user} | flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${user} | ||
</pre> | </pre> | ||
Impostiamo un connettore per LDAP: | |||
<pre> | |||
# nano /etc/postfix/ldap_aliases.cf | |||
</pre> | |||
stando attenti a modificare correttamente le password e il dominio: | |||
<pre> | |||
server_host = localhost | |||
search_base = cn=Users,dc=domain,dc=local | |||
query_filter = (mail=%s) | |||
result_attribute = sAMAccountName | |||
result_format = %s@virtual.domain.local | |||
bind = yes | |||
bind_dn = Administrator@domain.local | |||
bind_pw = Passw0rd | |||
start_tls = no | |||
version = 3 | |||
</pre> | |||
Proteggiamo il file e riavviamo Postfix: | |||
<pre> | |||
# chmod 700 /etc/dovecot/dovecot-ldap.conf | |||
# /etc/init.d/postfix restart | |||
</pre> | |||
== Installazione di iGestis == | |||
iGestis è un tool che ci permetterà di amministrare gli utenti del nostro groupware in maniera agevole da un'interfaccia web. Aggiungiamo quindi il repository di iGestis: | |||
<pre> | |||
# wget http://iabsis.com/uploaded_content/igestis.list -O /etc/apt/sources.list.d/igestis.list | |||
# wget http://open.iabsis.com/open.iabsis.com.asc -O- | apt-key add - | |||
# apt-get update | |||
</pre> | |||
Quindi installiamo iGestis rispondendo come segue alle domande dell'installer: | |||
<pre> | |||
# apt-get install igestis igestis-openchange | |||
</pre> | |||
* Choose the wanted authentication method : Samba4 | |||
* Choose the admin account name : administrator | |||
* Specify the uris for the directory : ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi (lasciare così) | |||
* Specify the directory base tree : you domain (example in the context : domain.local) | |||
* Specify the directory admin account for the directory : Administrator@domain.local | |||
* Please specify the admin password for the directory : password di Samba4 | |||
* Create a user in iGestis when present in the directory ? Yes | |||
* Configure database for igestis with dbconfig-common? Yes | |||
* Password of the database’s administrative user: Password di root di MySQL | |||
* MySQL application password for igestis: vuoto | |||
* Web server to reconfigure automatically : Apache2 | |||
Infine forziamo il valore seguente nella configurazione di iGestis: | |||
<pre> | |||
# nano /etc/igestis/ConfigIgestisGlobalVars.php | |||
</pre> | |||
<pre> | |||
const LDAP_USER_RDN = "cn=%username%"; | |||
</pre> | |||
== Creazione di un utente == | |||
Accediamo a iGestis: | |||
<pre> | |||
http://IP.DEL.NOSTRO.SERVER/igestis | |||
</pre> | |||
Autentichiamoci con le credenziali fornite durante l'installazione di iGestis e andiamo in: Administration => My company => Add a new company. | |||
<br/> | |||
Quindi andiamo in: Contacts => Employee => and Add a new employee. | |||
<br/> | |||
<br/> | |||
{{Autori|Autore=[[Utente:Ferdybassi|Ferdybassi]]}} | |||
[[Categoria:Groupware server]] |
contributi