Project

General

Profile

Anomalie #2300

migration23.sh : mise à niveau des attributs mailDir

Added by Joël Cuissinat almost 10 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Target version:
Start date:
10/26/2011
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.3

Description

Le script déplace les boîtes des utilisateurs vers /home/mail mais dans l'annuaire, on a toujours :

mailDir: /home/l/login/MailDir/


Related issues

Related to creole - Anomalie #2287: migration23.sh : les partages Scribe n'ont pas de modèle affecté Fermé 10/24/2011
Related to creole - Anomalie #2204: migration23.sh : mettre à niveau les listes de diffusion responsables sur Scribe 2.3 Fermé 10/12/2011

Associated revisions

Revision f4800bd9 (diff)
Added by exarkun over 13 years ago

Merge twist-async-errors-2300

Author: exarkun
Reviewer: mithrandi
Fixes #2300

Change DeferredSerializer so that it passes failures from the Deferred
being serialized on to the Deferred returned by the flattening function.
Without this behavior, the Deferred returned by the flattening function
is never fired when a Deferred which fails is serialized.

Revision 91866a46 (diff)
Added by Walid Nouh almost 11 years ago

see #2300 Dictionnary for printers

Revision dc932242 (diff)
Added by Walid Nouh almost 11 years ago

see #2300 Add missing files

Revision 670fcde7 (diff)
Added by Joël Cuissinat over 9 years ago

migration23.sh mise à niveau des attributs mailDir lors de la sauvegarde (fixes #2300)

History

#1 Updated by Joël Cuissinat over 9 years ago

Nb : ne pas oublier le "/" final !
ex : /home/mail/admin/

#2 Updated by Joël Cuissinat over 9 years ago

  • Target version changed from Mises à jour 2.3 - 03 RC to Migration 2.3

#3 Updated by Joël Cuissinat over 9 years ago

fic = file("svg/scribe-0000a/eole22.ldif").read().splitlines()
new = []
for line in fic:
    if line.startswith("mailDir: ") and "/MailDir/" in line:
        new.append("mailDir: /home/mail/%s/" % line.split('/')[3])
    else:
        new.append(line)
if new != fic:
    fic2 = file("svg/scribe-0000a/new.ldif", 'w')
    fic2.write('\n'.join(new))
    fic2.close()

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

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

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

migration23.sh v20111116

root@scribe:~# ldapsearch -x uid=admin | grep ^mailDir
mailDir: /home/mail/admin/

#6 Updated by Joël Cuissinat over 9 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF