#1 Le 16/11/2021, à 11:16
- Spicykenzy
Problème d'installation de Winbind sur serveur squid pour authentifica
Bonjour;
j'ai mis en place un serveur Squid avec authentification Active Directory. je suis nouveau sur Squid .J' ai suivi en partie le tutoriel de ce site https://doc.ubuntu-fr.org/tutoriel/comm … _directory
tout fonctionnait kerberos, samba et winbind. j'ai joint le domaine. Arrivé à la configuration de squid conf j'ai fait cette commande comme l'a dit le tuto
sudo chown -R proxy:root /var/run/samba/winbindd_privilegedWinbind ne démarre plus. je l'ai désinstallé avec purge, après j'ai voulu le réinstaller. il me donne le message d'erreur suivant:
testuser@test-PC:~$ sudo apt-get install winbind
sudo Mot de passe de testuser :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Paquets suggérés :
libnss-winbind libpam-winbind
Les NOUVEAUX paquets suivants seront installés :
winbind
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 459 ko dans les archives.
Après cette opération, 2007 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 winbind amd64 2:4.13.14+dfsg-0ubuntu0.20.04.1 [459 kB]
459 ko réceptionnés en 0s (1336 ko/s)
Sélection du paquet winbind précédemment désélectionné.
(Lecture de la base de données... 202235 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../winbind_2%3a4.13.14+dfsg-0ubuntu0.20.04.1_amd64.deb ...
Dépaquetage de winbind (2:4.13.14+dfsg-0ubuntu0.20.04.1) ...
Paramétrage de winbind (2:4.13.14+dfsg-0ubuntu0.20.04.1) ...
mkdir: création du répertoire '/var/lib/samba/winbindd_privileged'
groupe de '/var/lib/samba/winbindd_privileged' modifié de root en winbindd_priv
le mode de '/var/lib/samba/winbindd_privileged' a été modifié de 0755 (rwxr-xr-x) en 0750 (rwxr-x---)
Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /lib/systemd/system/winbind.service.
Job for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.2) ...
Traitement des actions différées (« triggers ») pour systemd (245.4-4ubuntu3.13) ...
testuser@test-PC:~$ sudo /etc/init.d/winbind restart
Restarting winbind (via systemctl): winbind.serviceJob for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.Je suis sous ubuntu 20.4 LTS
Je cherche de l'aide car je dois mettre en place ce proxy dans les meilleurs délais pour mon organisation.
Merci d'avance.
Hors ligne
#2 Le 16/11/2021, à 15:53
- bruno
Re : Problème d'installation de Winbind sur serveur squid pour authentifica
Bonjour,
Comme tu peux le voir le service windbind n'arrive pas à démarrer :
Restarting winbind (via systemctl): winbind.serviceJob for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "Restarting winbind (via systemctl): winbind.serviceJob for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details. for details.Il faut donc faire ce qui est indiqué, en remplaçant journalctl -xe par :
journalctl -xe -u winbindIl est probable que le service ne démarre pas suite au changement de propriétaire / groupe indiqué au début.
Hors ligne
#3 Le 16/11/2021, à 17:47
- Spicykenzy
Re : Problème d'installation de Winbind sur serveur squid pour authentifica
Bonjour
merci pour ta réponse.
La commande journalctl -xe -u winbind m'envoie ceci:
testuser@test-PC:~$ journalctl -xe -u winbind
nov. 16 17:10:54 test-PC.testdomain.lan systemd[ winbindd[8584]: [2021/11/16 17:10:54.096662, 0] ../../source3/winbindd/winbindd.c:1458(winbindd_register_handlers)
nov. 16 17:10:54 test-PC.testdomain.lan systemd[ winbindd[8584]: unable to initialize domain list
nov. 16 17:10:54 test-PC.testdomain.lan systemd[ systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit winbind.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
nov. 16 17:10:54 test-PC.testdomain.lan systemd[ systemd[1]: winbind.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit winbind.service has entered the 'failed' state with result 'exit-code'.
nov. 16 17:10:54 test-PC.testdomain.lan systemd[1]: Failed to start Samba Winbind Daemon.
-- Subject: L'unité (unit) winbind.service a échoué
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) winbind.service a échoué, avec le résultat failed.
nov. 16 17:18:53 proxy2-cgudk.cit-info.dk systemd[1]: Starting Samba Winbind Daemon...
-- Subject: L'unité (unit) winbind.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) winbind.service a commencé à démarrer.
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: [2021/11/16 17:18:53.791541, 0] ../../source3/winbindd/winbindd_cache.c:3203(initialize_winbindd_cache)
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: [2021/11/16 17:18:53.793402, 0] ../../source3/winbindd/winbindd_util.c:1305(init_domain_list)
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: Could not fetch our SID - did we join?
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: [2021/11/16 17:18:53.793446, 0] ../../source3/winbindd/winbindd.c:1458(winbindd_register_handlers)
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: unable to initialize domain list
nov. 16 17:18:53 test-PC.testdomain.lan systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit winbind.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
nov. 16 17:18:53 proxy2-cgudk.cit-info.dk systemd[1]: winbind.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit winbind.service has entered the 'failed' state with result 'exit-code'.
nov. 16 17:18:53 test-PC.testdomain.lan systemd systemd[1]: Failed to start Samba Winbind Daemon.
-- Subject: L'unité (unit) winbind.service a échoué
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) winbind.service a échoué, avec le résultat failed.Hors ligne
#4 Le 16/11/2021, à 18:45
- bruno
Re : Problème d'installation de Winbind sur serveur squid pour authentifica
Je n'ai pas suffisamment de compétences sur windbind et Active Directory pour identifier le problème.
Une recherche sur cette erreur :
nov. 16 17:18:53 test-PC.testdomain.lan winbindd[8781]: Could not fetch our SID - did we join?devrait te donner des indications.
Hors ligne