Menu

#5010 Unable to add users and group names containing spaces to "Valid users" option in Samba Windows File Sharing

1.850
closed-fixed
None
5
2017-08-19
2017-08-09
srikar
No

Hi,
I am trying to configure a samba share using Webmin version 1.850 on Firefox browser 54.0.1. Webmin is installed on Ubuntu 16.04 system. Here during assignment of users for "Valid users" option , I am trying to assign a user name containing spaces. Consider a user by name "demo person" I selected him from users list and added to valid users option, later when checking in smb.conf file it becomes demo, person where it is divided into two users. Similarly for a domain user "SAMDOM\demo person" it becomes SAMDOM\demo, person. In case of group names it results in same scenario where the group name with spaces is split into two groups prepended with @ symbol. For example consider group "SAMDOM\group test" becomes @SAMDOM\group, @test. Please look into this. Thanks in Advance.
Regards,
S.Srikar

Related

Bugs: #5010

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-08-10

    Does this still happen if you enter the username as "demo person" , rather than selecting from the list?

     
    • srikar

      srikar - 2017-08-10

      Hi Jamie,
      Thanks for the response. No it does not happen if I
      enter the user name or group name in quotation marks but there is another issue
      related to quotation marks.
      I wanted to raise it as another bug by giving some explanation
      regarding that(giving username and group name in quotation marks) issue.
      Regards,
      S.Srikar.

      On Thu, Aug 10, 2017 at 12:38 PM, Jamie Cameron jcameron@users.sf.net wrote:

      Does this still happen if you enter the username as "demo person" , rather
      than selecting from the list?


      [bugs:#5010] Unable to add users and group names containing spaces to "Valid
      users" option in Samba Windows File Sharing

      Status: open
      Group: 1.850
      Created: Wed Aug 09, 2017 02:38 PM UTC by srikar
      Last Updated: Wed Aug 09, 2017 02:38 PM UTC
      Owner: John Smith

      Hi,
      I am trying to configure a samba share using Webmin version 1.850 on Firefox
      browser 54.0.1. Webmin is installed on Ubuntu 16.04 system. Here during
      assignment of users for "Valid users" option , I am trying to assign a user
      name containing spaces. Consider a user by name "demo person" I selected him
      from users list and added to valid users option, later when checking in
      smb.conf file it becomes demo, person where it is divided into two users.
      Similarly for a domain user "SAMDOM\demo person" it becomes SAMDOM\demo,
      person. In case of group names it results in same scenario where the group
      name with spaces is split into two groups prepended with @ symbol. For
      example consider group "SAMDOM\group test" becomes @SAMDOM\group, @test.
      Please look into this. Thanks in Advance.
      Regards,
      S.Srikar


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5010/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5010


      Last edit: srikar 2017-08-10
  • Jamie Cameron

    Jamie Cameron - 2017-08-11

    Ok, so it sounds like what should happen is that when selecting users from the popup dialog, they are quoted if they contain spaces?

     
  • Jamie Cameron

    Jamie Cameron - 2017-08-11

    Looking at the code, and in my tests, this is already what happens.

     
  • Ernesto Carrea

    Ernesto Carrea - 2017-08-17

    I can confirm this problem using webmin-1.850-1.noarch.rpm from webmin.com on CentOS 7.

    The text boxes work as expected, but the group/user chooser popup does not recognize quoted names and adds new names unquoted.

     
  • Jamie Cameron

    Jamie Cameron - 2017-08-19
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2017-08-19

    This will be fixed in the next Webmin release.

     

Log in to post a comment.

MongoDB Logo MongoDB