Hello Lukas, thank you very much for your reply.

As for the command I use when I notice the error, I don't use one
because I use the Nautilus-Share graphical interface. It's when I
validate that the message appears in the window:

    - cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe lsarpc failed
with error NT_STATUS_CONNECTION_DISCONNECTED. net usershare add: cannot
convert name "nobody" to a SID. The transport connection is now
disconnected..

The same message appears when I test with the same command you suggested:
    - nicolas@Zorin18-VirtualBox:~$ net usershare add PartageZorin 
/home/nicolas/Documents/PartageZorin ZorinShare nobody:F guest_ok=y
cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe lsarpc failed with error 
NT_STATUS_CONNECTION_DISCONNECTED
net usershare add: cannot convert name "nobody" to a SID. The transport 
connection is now disconnected..


I also confirm that I set nobody's password with smbpasswd. I left the password 
blank. Is that the problem?

Here is also the contents of smb.conf:

    - nicolas@Zorin18-VirtualBox:~$ grep -E "^[^#;].*" /etc/samba/smb.conf 
[global]
   workgroup = WORKGROUP
   server string = %h server (Samba, Ubuntu)
   server min protocol = SMB2
   client max protocol = SMB3
   dns proxy = no
   syslog = 0
   passdb backend = tdbsam
   log file = /var/log/samba/log.%m
   max log size = 1000
   logging = file
   panic action = /usr/share/samba/panic-action %d
   server role = standalone server
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* 
%n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   security = user
   username map = /etc/samba/smbusers
   usershare owner only = False
   guest account = nobody
   usershare allow guests = yes
[printers]
   comment = All Printers
   browseable = no
   path = /var/tmp
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no


Several lines aren't there natively. Like server min or max protocol or 
username map, for example. I only tried a few solutions found on the web to 
resolve my problem, but they didn't work.

And the contents of /etc/passwd for nobody:

    - nicolas@Zorin18-VirtualBox:~$ cat /etc/passwd | grep nobody
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin

Thank you very much for your time. Have a great day.

Nicolas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2074234

Title:
  net usershare add: cannot convert name "everyone" to a SID. The
  transport connection is now disconnected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2074234/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to