You are not logged in.

#1 2022-06-27 10:55:12

jiangkero
Member
Registered: 2009-07-25
Posts: 30

[sloved]net usershare is ok,but nautilus-share show error

hi
    I have share the my folder with the code "net usershare add share /home/jie/share", it is successed.But when I use the nautilus-share,it show me the error message which is  'Called "net usershare add" but it failed: “net usershare”返回错误 255'.

    This is my smb.conf file

  
#
#======================= Global Settings =====================================
[global]
   workgroup = WORKGROUP
   server string = Samba Server

   server role = standalone server
   log file = /var/log/samba/%m.log
   max log size = 50

   server min protocol = SMB2_02
   min receivefile size = 16384
   smb encrypt = desired
   server multi channel support = yes
   deadtime = 30
   use sendfile = yes
   aio read size = 1
   aio write size = 1
   load printers = no
   printing = bsd
   printcap name = /dev/null
   disable spoolss = yes
   show add printer wizard = no

  usershare path = /var/lib/samba/usershares
  usershare max shares = 100
  usershare allow guests = no
  usershare owner only = yes
  

 
   This is my console output :
    ❯ net usershare add share /home/jie/share

    ~
    ❯ net usershare list                     
    share


    I think the usershare is ok,but  I do not know how to fix the nautilus-share error,anyone can tell me?
    thanks

Last edited by jiangkero (2022-06-30 03:07:20)

Offline

#2 2022-06-30 02:32:45

jonno2002
Member
Registered: 2016-11-21
Posts: 735

Re: [sloved]net usershare is ok,but nautilus-share show error

Offline

#3 2022-06-30 03:06:50

jiangkero
Member
Registered: 2009-07-25
Posts: 30

Re: [sloved]net usershare is ok,but nautilus-share show error

oh yes,it sloved my problem
thank you

Offline

#4 2022-06-30 03:51:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,324

Re: [sloved]net usershare is ok,but nautilus-share show error

jjangkero:  If it is solved, be sure to go back to your first post in the thread and edit the title to prepend [SOLVED]

Also, if you were wondering where your post went, you hit the 'report' link, not the 'reply' link wink


Edit: Oh, never mind.... you had.

Last edited by ewaller (2022-06-30 03:52:36)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB