nsswitch.conf

1
2
3
4
5
6
7
8
9
10
passwd:         files winbind
group:          files winbind
shadow:         files winbind
hosts:          files dns wins
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       nis

resolv.conf

1
2
3
search dominioperintero
nameserver ip server dns active direcoty
nameserver 151.99.0.100

Adesso restart dei vari servizi in ordine samba e poi winbind. Controlliamo da consolle se linux risponde all’active directory:
operazione di controllo da consolle:

getent passwd (visualizza elenco utenti linux + active directory)
getent group (visualizza elenco gruppi linux + active directory)
wbinfo -u (visualizza tutti gli utenti active directory)
wbinfo -g (visualizza tutti i gruppi active directory)
net ads join -U administrator (joina linux sul server active director

squid.conf

1
2
3
4
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm BLUBOX PROXY SERVER
auth_param basic credentialsttl 2 second

Restart di squid.

Per chirimenti contattatemi nel contact form