InicioLinuxError permiso compartir disco Ubuntu con Samba

Error permiso compartir disco Ubuntu con Samba

Linux7/18/2011
Este post explica como soluciona el error :

""'net usershare' returned error 255: [2009/04/07 21:17:27, 0] param/loadparm.c:lp_do_parameter(7198)
Ignoring unknown parameter ""usershare owner only"
net usershare add: cannot share path /media/Windows Vista Home Premium/Users/Sean as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = false"
to the section of the smb.conf to allow this.""


Tienen que agregar en el archivo smb.conf de samba la siguiente linea en la seccion
"usershare owner only = false" y listo!!!

Para agregarlo no van a poder abrir el archivo pegar y listo, porque requiere privilegios de supervisor (root), asi que en la terminal ejecuten

$ sudo gedit /etc/samba/smb.conf

les va a solicitar la clave root
y ahi si lo van a poder editar


Les copio un ejemplo de como lo agregué yo y anduvo


.
..
...
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#

#======================= Global Settings =======================



## Browsing/Identification ###

usershare owner only = false

# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally prefe...
...
..
.



Viva el Software Libre!!
Datos archivados del Taringa! original
1puntos
1,517visitas
0comentarios
Actividad nueva en Posteamelo
0puntos
1visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000

Autor del Post

g
gcirvini🇦🇷
Usuario
Puntos0
Posts3
Ver perfil →
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.