Project

General

Profile

Tâche #16738

Scénario #16607: Evolutions sur eSBL 2.6.0

suppression de la tâche cron 'group_win'

Added by christophe guerinot over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Start date:
02/12/2015
Due date:
% Done:

100%

Estimated time:
0.50 h
Remaining (hours):
0.0

Description

Cette tâche devait être un contournement suite à un bug en samba 3.4.6

et suppression du script group_win.sh

#!/bin/bash
T=`expr $RANDOM / 3`
sleep $T
for i in `wbinfo -g|tr " " "="`; do m=`echo $i|tr  "=" " "`;sleep 5; wbinfo -n "$m"; done > /dev/null
getent group > /dev/null
getent passwd > /dev/null
#18/10/2012 Je relance winbind s'il est planté - Pbas
sleep 10s
if [ `ps -C winbindd|wc -l` -eq 1 ];then
        echo "winbind est arreté: je le relance" 
        logger -s -p daemon.alert "group_win.sh: le service winbind est arrêté => restart du service." 
        service winbind start
fi

Associated revisions

Revision 9d333b0a (diff)
Added by christophe guerinot over 6 years ago

group_win.sh : deviens obsolète en samba4 ( fixes #16738 ).

History

#1 Updated by christophe guerinot over 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by christophe guerinot over 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#3 Updated by Emmanuel IHRY over 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Also available in: Atom PDF