Enhancement #2803

Edit workgroup name when role is Workstation

Added by Stefano Zamboni about 7 years ago. Updated almost 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-samba
Target version:v6.5
Resolution: NEEDINFO:No

Description

In Windows network page, it should be useful to let the admin/root user to edit the workgroup name from the web interface.

now this value is hardcoded as WORKGROUP and a custom template is needed to change it


Related issues

Related to NethServer 6 - Bug #2815: Can't access group shared folder (samba WS mode) CLOSED
Related to NethServer 6 - Enhancement #2840: Samba domain SID deep checking CLOSED
Related to NethServer 6 - Bug #2806: Samba SAM db migration fails on group_mapping.ldb CLOSED
Related to NethServer 6 - Bug #2811: Smb logon drive ignored during migration CLOSED
Related to NethServer 6 - Enhancement #2792: Samba: map local users to Domain Users CLOSED
Related to NethServer 6 - Bug #2832: Samba machine accounts not migrated CLOSED

Associated revisions

Revision 8c5bf20d
Added by Davide Principi almost 7 years ago

nethserver-samba.spec: converted to plain .spec file. Refs #2803

Revision 4a43f9a7
Added by Davide Principi almost 7 years ago

samba.rst: updated Workgroup section. Refs #2803

Revision 18e39866
Added by Davide Principi almost 7 years ago

Workgroup UI module: Edit workgroup name when role is Workstation. Refs #2803

Revision 5c2b63f3
Added by Davide Principi almost 7 years ago

Workgroup/Configure UI module: collapse Workstation fieldset, when unselected. Refs #2803

Revision c7b42ee8
Added by Davide Principi almost 7 years ago

nethserver-mail-common.spec: converted to plain .spec file. Refs #2803

Revision 5655b5fa
Added by Davide Principi almost 7 years ago

nethserver-mail-server.spec: converted to plain .spec file. Refs #2803

Revision 5588560c
Added by Davide Principi almost 7 years ago

nethserver-mail-server.spec: converted to plain .spec file. Refs #2803

Revision d8b73e45
Added by Davide Principi almost 7 years ago

nethserver-mail-server.spec: converted to plain .spec file. Refs #2803

History

#1 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.5
  • % Done changed from 0 to 20

#2 Updated by Davide Principi about 7 years ago

  • Related to Bug #2815: Can't access group shared folder (samba WS mode) added

#3 Updated by Davide Principi about 7 years ago

  • Subject changed from Server role in windoes network page: let user edit workgroup name in workstation server role to Edit workgroup name when role is Workstation
  • Description updated (diff)
  • Priority changed from Low to Normal

Could be worked out with #2815

#4 Updated by Davide Principi almost 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

On branch b2803 Refs #2803

#5 Updated by Davide Principi almost 7 years ago

Packager note
Added documentation pull request:
https://github.com/nethesis/nethserver-docs/pull/31

#6 Updated by Davide Principi almost 7 years ago

#7 Updated by Davide Principi almost 7 years ago

  • Related to Bug #2806: Samba SAM db migration fails on group_mapping.ldb added

#8 Updated by Davide Principi almost 7 years ago

  • Related to Bug #2811: Smb logon drive ignored during migration added

#9 Updated by Davide Principi almost 7 years ago

#10 Updated by Davide Principi almost 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

  • Update to modified version.
  • Change workgroup name under Windows Network > Workstation page and SAVE.
  • After a few seconds check smbclient output:
    # smbclient -N -L localhost 
    Domain=[MINE] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]
    
        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer drivers
        IPC$            IPC       IPC Service (NethServer Samba 3.6.9-169.el6_5)
    Domain=[MINE] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]
    
        Server               Comment
        ---------            -------
        DAVIDEP2             NethServer Samba 3.6.9-169.el6_5
    
        Workgroup            Master
        ---------            -------
        MINE                 DAVIDEP2
    

#11 Updated by Davide Principi almost 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-samba-1.4.5-1.14git5c2b63f.ns6.noarch.rpm

#12 Updated by Davide Principi almost 7 years ago

  • Related to Bug #2832: Samba machine accounts not migrated added

#13 Updated by Giacomo Sanchietti almost 7 years ago

  • Assignee set to Giacomo Sanchietti

#14 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Before changing the workgroup:

[root@localhost ~]# config getprop smb Workgroup
WORKGROUP

[root@localhost ~]# smbclient  -L //localhost
Enter root's password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]

    Sharename       Type      Comment
    ---------       ----      -------
    print$          Disk      Printer drivers
    IPC$            IPC       IPC Service (NethServer Samba 3.6.9-169.el6_5)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]

    Server               Comment
    ---------            -------
    LOCALHOST            NethServer Samba 3.6.9-169.el6_5

    Workgroup            Master
    ---------            -------
    WORKGROUP            

After changing workgroup:

[root@localhost ~]# config getprop smb Workgroup
mynewwg

[root@localhost ~]# smbclient  -L //localhost
Enter root's password: 
Domain=[MYNEWWG] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]

    Sharename       Type      Comment
    ---------       ----      -------
    print$          Disk      Printer drivers
    IPC$            IPC       IPC Service (NethServer Samba 3.6.9-169.el6_5)
Domain=[MYNEWWG] OS=[Unix] Server=[Samba 3.6.9-169.el6_5]

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------            -------
    WORKGROUP            

#15 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Package in nethserver-updates:
  • nethserver-samba-1.4.6-1.ns6.noarch.rpm

Also available in: Atom PDF