Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #4505
Something went wrong while setting issue due date.
Closed
Open
Issue created 9 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

fusiondirectory-setup --migrate-users not work when the users don't have all the samba attributs

Closed

fusiondirectory-setup --migrate-users not work when the users don't have all the samba attributs

Hello,

When I run fusiondirectory --migrate-users I have the next output.

fusiondirectory-setup --migrate-users
Migrating your users
The following users are missing objectClasses:
...
Add the inetOrgPerson objectClass to all these entries? [Yes/No]?
no
The following users are using the obsolete gosaAccount objectClass:
...
Remove the gosaAccount objectClass from these entries? [Yes/No]?
yes
objectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #7 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #4 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #6 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #6 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #7 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #6 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #7 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeobjectClass: value #7 invalid per syntaxobjectClass: value #9 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #10 invalid per syntaxobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #7 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #7 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #10 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaPwdLastSet' not allowedobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #6 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #8 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeobjectClass: value #6 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #9 invalid per syntaxobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedobjectClass: value #9 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaPwdLastSet' not allowedobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaPwdLastSet' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaPwdLastSet' not allowedmodify/delete: sambaLMPassword: no such attributeobjectClass: value #7 invalid per syntaxobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaPwdLastSet' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedobjectClass: value #8 invalid per syntaxmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedmodify/delete: sambaLMPassword: no such attributeattribute 'sambaNTPassword' not allowedobjectClass: value #8 invalid per

I think some users have only 1 of the samba attributs so we can not delete the others. It's better to remove the samba attributes one by one.

I think it's a good idea to improve the output errors. Exemple add the dn for who the error is.

Cheers.

(from redmine: issue id 4505, created on 2016-02-11, closed on 2016-02-16)

  • Changesets:
    • Revision 6b82503c by Côme Chilliet on 2016-02-15T03:32:22.000Z:
Fixes #4505 Added new lines between error messages and DN display in migrate_users
  • Revision d06a2084 by Côme Chilliet on 2016-02-15T03:33:52.000Z:
Fixes #4505 Added new lines between error messages and DN display in migrate_users
  • Revision 0759e02a by Côme Chilliet on 2016-02-16T02:27:53.000Z:
Fixes #4505 migrate users failed when only some samba attributes where present
  • Revision f0b815cc by Côme Chilliet on 2016-02-16T02:31:03.000Z:
Fixes #4505 migrate users failed when only some samba attributes where present
  • Revision f9bab7af by Côme Chilliet on 2016-02-16T10:51:49.000Z:
Fixes #4505 Fixed --migrate-users
  • Revision 31172a7c by Côme Chilliet on 2016-02-16T10:52:41.000Z:
Fixes #4505 Fixed --migrate-users
  • Revision e4a7cb49 by Swaelens Jonathan on 2016-02-16T15:23:05.000Z:
Fixes #4505 Add the last "}"
  • Revision 1fcb4f43 by Swaelens Jonathan on 2016-02-17T04:01:20.000Z:
Fixes #4505 Add the last "}"
  • Custom Fields:
    • Bug in version: 1.0.9.3
  • Uploads:
    • 0001-Fixes-4505-Add-the-last.patch
An error occurred while loading designs. Please try again.

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


  • bmortier
    bmortier @bmortier · 9 years ago
    Author Maintainer

    Added new lines between error messages and the dn is displayed for each error.

    Could you provide me an example of user which cause this problem? My guess is they have an other obsolete objectClass than gosaAccount in use.

    (from redmine: written on 2016-02-15)

    By Côme Chilliet on 2017-09-02T15:26:22 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 9 years ago
    Author Maintainer

    There's an exemple of a user.

    n: uid=XXX,ou=people,dc=xxx,dc=yyy
    sn: XXX
    displayName: XXX
    uid: XXX
    mail: XXX
    uidNumber: 1213
    homeDirectory: /home/XXX
    loginShell: /bin/sh
    sambaNTPassword: XXX
    givenName: XXX
    gender: F
    cn: XXX
    gidNumber: 1226
    gecos: XXX
    gosaMailDeliveryMode: [L]
    gosaSpamSortLevel: 0
    gosaSpamMailbox: INBOX
    gosaMailServer: server
    shadowLastChange: 15890
    objectClass: gosaMailAccount
    objectClass: gosaAccount
    objectClass: inetOrgPerson
    objectClass: organizationalPerson
    objectClass: top
    objectClass: person
    objectClass: posixAccount
    objectClass: shadowAccount
    userPassword:: XXX
    

    Cheers

    (from redmine: written on 2016-02-15)

    By Jonathan Swaelens on 2017-09-02T15:26:22 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 9 years ago
    Author Maintainer

    We must write back the last "}".

    http://git.fusiondirectory.org/gitweb/?p=main/fusiondirectory.git;a=commitdiff;h=31172a7ca49b3bd72dab5d1d4634f6343dac88ce

    (from redmine: written on 2016-02-16)

    By Jonathan Swaelens on 2017-09-02T15:26:23 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 9 years ago
    Author Maintainer

    Close issue

    (from redmine: written on 2016-02-16)

    By Jonathan Swaelens on 2017-09-02T15:26:23 (imported from GitLab)

  • bmortier closed 7 years ago

    closed

    By Jonathan Swaelens on 2017-09-02T15:26:23 (imported from GitLab)

  • bmortier added Fixed label 6 years ago

    added Fixed label

    By bmortier on 2018-10-05T11:30:39 (imported from GitLab)

Please register or sign in to reply
Assignee
bmortier's avatar
bmortier
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 Participants
Reference:

Menu

Explore Projects Groups Topics Snippets