Project

General

Profile

Tâche #23445

Scénario #23282: Empaqueter la solution ScribeAD/conteneurs

La création d'un utilisateur via l'EAD n'aboutit pas

Added by Joël Cuissinat about 3 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/29/2018
Due date:
% Done:

100%

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

Description

root@scribe:~# tail -fn28 /var/log/rsyslog/local/ead-server/ead-server.info.log 
2018-03-29T11:11:10.620367+02:00 scribe.etb1.lan ead-server[14739]: 2018/03/29 11:11:10  [HTTPChannel (TLSMemoryBIOProtocol),16,10.1.3.5] Unhandled Error
2018-03-29T11:11:10.620583+02:00 scribe.etb1.lan ead-server[14739]: #011Traceback (most recent call last):
2018-03-29T11:11:10.620820+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 317, in addCallback
2018-03-29T11:11:10.621026+02:00 scribe.etb1.lan ead-server[14739]: #011    callbackKeywords=kw)
2018-03-29T11:11:10.621236+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 306, in addCallbacks
2018-03-29T11:11:10.621416+02:00 scribe.etb1.lan ead-server[14739]: #011    self._runCallbacks()
2018-03-29T11:11:10.621587+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
2018-03-29T11:11:10.621757+02:00 scribe.etb1.lan ead-server[14739]: #011    current.result = callback(current.result, *args, **kw)
2018-03-29T11:11:10.621927+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/share/ead2/backend/lib/execute_wrapper.py", line 18, in wrapper
2018-03-29T11:11:10.622113+02:00 scribe.etb1.lan ead-server[14739]: #011    return func(self)
2018-03-29T11:11:10.622304+02:00 scribe.etb1.lan ead-server[14739]: #011--- <exception caught here> ---
2018-03-29T11:11:10.622516+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/share/ead2/backend/actions/scribe/usercreate.py", line 71, in execute
2018-03-29T11:11:10.622686+02:00 scribe.etb1.lan ead-server[14739]: #011    result.update(self._valid_form())
2018-03-29T11:11:10.622865+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/share/ead2/backend/actions/scribe/usercreate.py", line 124, in _valid_form
2018-03-29T11:11:10.623041+02:00 scribe.etb1.lan ead-server[14739]: #011    return usercreate.create_pupil(self.form_result)
2018-03-29T11:11:10.623243+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/share/ead2/backend/actions/scribe/tool/usercreate.py", line 249, in create_pupil
2018-03-29T11:11:10.623423+02:00 scribe.etb1.lan ead-server[14739]: #011    eleve.add_one(**args)
2018-03-29T11:11:10.623597+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 257, in add_one
2018-03-29T11:11:10.623767+02:00 scribe.etb1.lan ead-server[14739]: #011    self._add(**args)
2018-03-29T11:11:10.623936+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 290, in _add
2018-03-29T11:11:10.624120+02:00 scribe.etb1.lan ead-server[14739]: #011    self.c_mod_password(args['login'], args['password'], must_change=args['change_pwd'])
2018-03-29T11:11:10.624312+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 746, in c_mod_password
2018-03-29T11:11:10.624497+02:00 scribe.etb1.lan ead-server[14739]: #011    self.ad_password(login, user_passwd, must_change)
2018-03-29T11:11:10.624704+02:00 scribe.etb1.lan ead-server[14739]: #011  File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 780, in ad_password
2018-03-29T11:11:10.624895+02:00 scribe.etb1.lan ead-server[14739]: #011    raise Exception(' '.join(ret[1:]))
2018-03-29T11:11:10.625066+02:00 scribe.etb1.lan ead-server[14739]: #011exceptions.Exception:  Unable to connect to ldaps://etb1.lan (No route to host)
2018-03-29T11:11:10.625376+02:00 scribe.etb1.lan ead-server[14739]: #011
2018-03-29T11:11:10.625699+02:00 scribe.etb1.lan ead-server[14739]: #011

=> Utiliser addc.etb1.lan au lieu de etb1.lan
=> Gérer cette exception dans l'EAD :o


Related issues

Related to Horus - Tâche #24154: L'EAD d'Horus devrait vérifier la politique de mot de passe à la création d'un utilisateur Fermé 05/29/2018

Associated revisions

Revision 328bd23f (diff)
Added by Joël Cuissinat about 3 years ago

smbldap_bind.conf : utilisation du nom complet du serveur AD

Ref: #23445

Revision e279dc5a (diff)
Added by Joël Cuissinat about 3 years ago

Suppression des caractères spéciaux empêchant l'affichage d'erreur de création d'utilisateur

Ref: #23445

Revision 3f779769 (diff)
Added by Joël Cuissinat almost 3 years ago

Suppression des caractères spéciaux empêchant l'affichage d'erreur de création d'utilisateur

Ref: #23445

History

#1 Updated by Joël Cuissinat about 3 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 3.0 to 0.5

#2 Updated by Joël Cuissinat about 3 years ago

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

=> vu en démo :)

#3 Updated by Joël Cuissinat almost 3 years ago

  • Related to Tâche #24154: L'EAD d'Horus devrait vérifier la politique de mot de passe à la création d'un utilisateur added

Also available in: Atom PDF