SUSE Support

Here When You Need Us

Error 255 returned when creating Samba usershare in Nautilus

This document (7018701) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)

Situation

Upon right-clicking a folder in Gnome's Nautilus file manager, choosing "Sharing Options," selecting the "Share this folder" box and clicking the "Create Share" button in the open dialog, the following error is returned:
'net usershare' returned error 255:  net usershare add: cannot convert name "Everyone" to a SID. Access denied.



Resolution

Since samba-client version 3.6.3-76.1, a new global option is required in smb.conf.
hostname:~ # vi /etc/samba/smb.conf
Add this option under the [global] section:
client ipc signing = auto
After the change is written, restart the samba service:
hostname:~ # rcsmb restart

Cause

Several CVEs were addressed for this samba-client package with the update to version 3.6.3-76.1.  As a result of these changes, this new client ipc signing configuration option is required when creating usershares through Nautilus.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018701
  • Creation Date: 09-Mar-2017
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.