Project

General

Profile

Tâche #13531

Scénario #13191: Plantage aléatoire de Logon.exe sur la récupération d'un sambaSID

Gérer le cas des ouverture de session "machine"

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/12/2015
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

D'après les retours obtenus, les plantages se produisent lorsque l'utilisateur qui se connecte est une station.


Related issues

Related to Scribe - Demande #10456: Pb-Gestion de poste et distribution de devoirs en présence d'un script d'élévation de pouvoir Fermé

Associated revisions

Revision 189e5c03 (diff)
Added by Emmanuel GARETTE over 5 years ago

ne pas lister les utilisateurs de type 'computer' + attente du vrai utilisateur dans le cas du logon (ref #13531 @2h)

Revision bbaa1342 (diff)
Added by Lionel Morin over 5 years ago

Correction d'une erreur de syntaxe (ref #13531 @2h)

History

#1 Updated by Emmanuel GARETTE over 5 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 5 years ago

  • Status changed from En cours to Nouveau
  • Assigned To set to Emmanuel GARETTE

#3 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to Résolu

#4 Updated by Joël Cuissinat over 5 years ago

  • Remaining (hours) changed from 4.0 to 0.5

#5 Updated by Lionel Morin over 5 years ago

  • Status changed from Résolu to En cours

Problème à la connexion d'un client (vu dans /var/log/controle-vnc/main.log) :

2015/10/30 14:16:51  [Broker,11,10.1.2.50] Appel de la fonction remote_logon par 10.1.2.50
2015/10/30 14:16:51  [Broker,11,10.1.2.50] Peer will receive following PB traceback:
2015/10/30 14:16:51  [Broker,11,10.1.2.50] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 153, in gotItem
        self.callExpressionReceived(item)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 116, in callExpressionReceived
        self.expressionReceived(obj)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 565, in expressionReceived
        method(*sexp[1:])
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 877, in proto_message
        self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 891, in _recvMessage
        netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
      File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 67, in remoteMessageReceived
        return pb.Root.remoteMessageReceived(self, broker, message, args, kw)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/flavors.py", line 114, in remoteMessageReceived
        state = method(*args, **kw)
      File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 329, in remote_logon
        return gest_sessions.Logon().logon(self.ip, os_type, self.blocage)
      File "/usr/share/eole/controlevnc/gest_sessions.py", line 34, in logon
        Connexions().get_infos(self.ip, os_type)
      File "/usr/share/eole/controlevnc/connexions.py", line 354, in get_infos
        sessions = self.get_sessions(only=ip)
      File "/usr/share/eole/controlevnc/connexions.py", line 350, in get_sessions
        self.sessions = Session(only)
      File "/usr/share/eole/controlevnc/connexions.py", line 121, in __init__
        raise ComputerNameError()
    exceptions.UnboundLocalError: local variable 'ComputerNameError' referenced before assignment

#6 Updated by Lionel Morin over 5 years ago

  • Status changed from En cours to Résolu

#7 Updated by Daniel Dehennin over 5 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 0.5 to 0.0

Ça fonctionne sur ma machine.

Also available in: Atom PDF