Bug #1829

Feature #1660: Migrate NethService to NethServer

Pre-defined groups are not available after migration

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:04/03/2013
Priority:NormalDue date:04/09/2013
Assignee:-% Done:

100%

Category:nethserver-samba
Target version:v6.4-beta1
Security class: Resolution:
Affected version:v6.4-alpha2 NEEDINFO:

Description

The builtin groups
  • shared
  • faxmaster
  • jabberadmins

were not mapped to SAM groups after migration. Also shared RID did not observe the algorithmic mapping formula (see Identity mapping).


Related issues

Related to NethServer 6 - Bug #1861: Samba: group description not updated CLOSED 04/11/2013 04/11/2013

Associated revisions

Revision e1fb068d
Added by Davide Principi over 6 years ago

nethserver-samba-group-create action: calculate group RID with algorithmic method. Refs #1829

Revision b8c63fe2
Added by Davide Principi over 6 years ago

nethserver-samba-group-create action: use default RID allocation method. Refs #1829

Revision af62bf08
Added by Davide Principi over 6 years ago

nethserver-samba-migrate-sam action: load existing groups RIDs, to complete group migration. Refs #1829

Revision bdecff85
Added by Davide Principi over 6 years ago

migration-import event: restart winbind at the end of migration. This seems to be necessary to re-read the changed SIDs. Refs #1829

Revision 0ff9f8fb
Added by Davide Principi over 6 years ago

migration-import event: restart also smb and nmb at the end of migration. This seems to be necessary to re-read the changed SIDs. Refs #1829

History

#1 Updated by Davide Principi over 6 years ago

  • Due date set to 04/04/2013
  • Assignee set to Davide Principi
  • Start date set to 04/03/2013
  • % Done changed from 0 to 20
  • Affected version set to v6.4-alpha2

#2 Updated by Davide Principi over 6 years ago

  • Status changed from NEW to ON_DEV

#3 Updated by Davide Principi over 6 years ago

  • Due date changed from 04/04/2013 to 04/09/2013
  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 20 to 100

Fixed, using net groupmap add instead of net sam mapunixgroup. rid value is set to a value calculated as

rid = 1001 + (gid * 2)

#4 Updated by Davide Principi over 6 years ago

Cannot replicate the bug, if idmap backend is properly configured. Maybe we were missing the idmap secret commit:d6a0b35596

#5 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_DEV

#6 Updated by Davide Principi over 6 years ago

  • Subject changed from Builtin groups are not available after migration to Pre-defined groups are not available after migration
  • Status changed from ON_DEV to MODIFIED

The term "builtin" may be confused with MS Builtin groups

#7 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to CLOSED

Also available in: Atom PDF