OpenSUSE 11.4 – Share folder with Windows

mayo 9, 2011

I thought it would be easier to share a folder in openSUSE 11.4 but I had no luck.
OpenSUSE 11.4 comes with samba client and samba server packages already installed, I checked them just to be sure.
I tried to share a folder with right click in Nautilus but there didn’t exist an option. You need to install a package called nautilus-share and logout for changes to take effect. After succesfully installing this, I tried again with no success, it showed me an error which said:

‘net usershare’ returned error 255: net usershare: usershares are currently disabled

You can enable user shares through YaST, just go to Samba Server in the Network Services Group and in the tab “Shares” down below check the “Allow Users To Share Their Directories” and “Allow Guest Access”.
I tried once again just to found out another error:

‘net usershare’ returned error 255: net usershare add: cannot convert name “Everyone” to a SID. The connection was refused. Maybe smbd is not running.

I tried to start the samba service by hand but couldn’t do it. I was almost giving me up when I found this.
The solution was to open YaST and launch the “AppArmor Control Panel” in the “Novell AppArmor” group. Click “Configure” in the “Configure Profile Modes” section and toggle the “usr.sbin.smbd” and “usr.sbin.nmbd” profiles from “enforce” to “complain” and restart your computer.
Now you should be able to right click a folder and share it.
If you still have permission issues when trying to access from Windows, you can configure the share through YaST->Samba Server, after adding the share, select it and click Edit, then add the options

force user -> your_user
force group -> users

About these ads

2 comentarios to “OpenSUSE 11.4 – Share folder with Windows”


  1. [...] OpenSUSE 11.4 – Share folder with Windows « Blogging googling 'net usershare' returned error 255: net usershare add: cannot convert name “Everyone” to a SID. The connection was refused. Maybe smbd is not running. I tried to start the samba service by hand but couldn't do it. … [...]


  2. [...] little googling and found this thread to fix my problem, if either of you are curious. the link is: OpenSUSE 11.4 – Share folder with Windows Thanks again for the help, it's greatly appreciated Reply With Quote + [...]


Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

Únete a otros 289 seguidores

%d personas les gusta esto: