• Ali

    Thank you very much for taking the time to document and make it easy.

  • Ali

    Thank you very much for taking the time to document and make it easy.

  • Hassan

    when i type the command this “chown -R shareuser:/root/share/”

    I got the follwing error:

    chown: missing operand after shareuser:/root/share/'
    Try
    chown –help’ for more information.

    Regards

    • ALi

      chown -R shareuser:root /share/

      • Hassan

        Thank you for the reply.

        Same error i am getting again “chown: missing operand after ‘shareuser:root/share/’
        Try `chown –help’ for more information.”

        • bnhashmi

          Dear Hassan Ali provided you with the right command you should use chown -R shareuser:root /share/ rather than using
          chown -R shareuser:root/share/. in bash command ,arguments and options should be seprated using white space. in the command provided here chown is command, -R is option and /share is argument.

  • Hassan

    when i type the command this “chown -R shareuser:/root/share/”

    I got the follwing error:

    chown: missing operand after shareuser:/root/share/'
    Try
    chown –help’ for more information.

    Regards

    • ALi

      chown -R shareuser:root /share/

      • Hassan

        Thank you for the reply.

        Same error i am getting again “chown: missing operand after ‘shareuser:root/share/’
        Try `chown –help’ for more information.”

        • bnhashmi

          Dear Hassan Ali provided you with the right command you should use chown -R shareuser:root /share/ rather than using
          chown -R shareuser:root/share/. in bash command ,arguments and options should be seprated using white space. in the command provided here chown is command, -R is option and /share is argument.

          • blacksmith trainer

            there is some space between root and /share/

  • Andrew

    Just confirming for others that this does indeed work.

  • Andrew

    Just confirming for others that this does indeed work.

  • rinogo

    Awesome instructions. Worked perfectly on CentOS 6! (6.7) Thank you very much! Note to anyone who wants to set up home directory support. Instead of doing all of the “shareuser” commands, just edit /etc/samba/smb.conf and uncomment the line valid users = %S.

  • deepa rajesh

    Hi, I am trying stop the windows service(tomcat) from Centos 6.8. I have installed samba-client in Centos and i hv the same userid/pwd in windows and centos. But if i use the net command, getting access denied error. Someone pls help me.