Imagenes de instalación de las versiones estables para Mageia y OpenMandriva.
OpenMandriva: Mageia (Mageia 9) 20/Agosto/2023 - Anuncio, Descargas.
Blogdrake recomienda descargar las imágenes de instalación (iso) vía torrent para evitar corrupción de datos, aprovechar mejor su ancho de banda y mejorar la difusión de las distribuciones.
OpenMandriva: Mageia (Mageia 9) 20/Agosto/2023 - Anuncio, Descargas.
Blogdrake recomienda descargar las imágenes de instalación (iso) vía torrent para evitar corrupción de datos, aprovechar mejor su ancho de banda y mejorar la difusión de las distribuciones.
¿Como agrego impresora por samba?
Enviado por joselp el 1 Agosto, 2017 - 11:10
Buenas a todos,
Estoy intentando agregar una impresora por samba y no me aparece la opción "agregar impresora por smb" en configuración de impresión como si aparecia en Mga 5.
El sistema es Mageia 6 Plasma. He revisado que samba esté activado en el cortafuegos, e instalados los paquetes. Lo raro es que también al entrar a recursos compartidos por samba no me aparecen las carpetas compartidas de otros equipos.
Alguna sugerencia??
Saludos!!!
# 125144 Ya que no quiero instalar
Ya que no quiero instalar paquetes que no requiero, no puedo usar la aplicación de configurar impresoras, sin embargo puedo darte unas sugerencias:
1. Revisa que este instalado el paquete cups-windows
2. Intenta agregarla como impresora de red
Si lo anterior no funciona intenta agregarla desde la interfaz web de cups http://localhost:631/
En cuanto lo de navegar recursos compartidos mediante smb en el administrador de archivos de plasma,parece que hay algunos problemas
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
# 125155 para lo de las carpetas
para lo de las carpetas compartidas, revisa si tienes instalado el paquete kio-extras.
Como dato curioso al tratar de acceder a las carpetas compartidas tal vez te pida un usuario/contraseña, proporciona el usuario/contraseña de tu sesión linux. Esto también pasa en exploradores de archivos como thunar/nautilus/etc
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125162 Ni lo uno ni lo otro...
Pues he probado las opciones que me comentas y sigue igual. Tengo los paquetes cups-windows y kio-extras instalados y la red sigue sin verse, al igual que no me aparece la opción ni en Mga 6 ni en el servidor de impresión de añadir una impresora smb.
Debo aclarar que la impresora es compartida, no está en red directamente.
Saludos!!!
Mageia 9 The Rock!!!
# 125163 Si la impresora esta en una
Si la impresora esta en una red que no controlas, debes de configurar samba para que tu equipo sea parte del grupo de trabajo al que pertenece el equipo que tiene la impresora.
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125169 smb4k
Hola, si desde el Mageia control center te da problemas la configuración de samba puedes probar con el programa
smb4k para KDE que a mi me ha dado buenos resultados otras ocasiones.
https://mageia.pkgs.org/6/mageia-core-release-i586/smb4k-2.0.0-2.mga6.i586.rpm.html
Saludos
Muy Suyo
Her DoctorBOFH
BOFH
# 125170 Pues nada...
Pues nada, que no se ve la red samba, he probado con smb4k y nada tampoco funciona.
Mageia 9 The Rock!!!
Usuario
# 125175 Facil
Como root
Ve a /etc/samba y edita el archivo smb.conf, en la sección [global] busca
"workgroup = "(sin comillas) quita el # inicial ( si es que lo tiene) y añade/cambia el nombre de tu grupo de trabajo win, ojo respetando máyusculas y mínusculas.
También busca el OS level, esto solo si quieres que tu computadora sea el Master Browser ( él que dice quien esta conectado a la red), mueve el valor arriba de 60
Grabas y listo
No requieres reiniciar, solo esperar unos 15 minutos a que todas las máquinas win se registren.
Saludos
"Si tu cuerpo pide alcohol, sexo, lujuria, bajas pasiones, dáselo porque lo necesita...
Si no lo pide, oblígalo... porque él no puede andar haciendo lo que le de gana"
Luis Roberto Basurto Seguin
lrbasurto(arroba)gmail(punto)com
# 125176 He probado en en un equipo en
He probado en en un equipo en que instale MGA 6 + Plasma.
Tampoco podía aparecían los equipos Windows en la sección de red.
Pero se me ocurrió ver si lo podía hacer desde la herramienta CCM -> Compartición de red -> Acceso a discos y directorios compartidos de Windows (SMB)
Ahí oprimí el botón Buscar servidores
Intente acceder al que apareció
Pidió usuario contraseña
Cancele la acción
Después de eso ya aparecieron los equipos Windows en la sección correspondiente en Dolphin.
Supongo que esta solución es similar a la de Irbasurto
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125189 Nada, sin resultados
He intentado realizar lo que me comentáis tanto tu como Irbasurto y nada, la configuración de smb.conf está correcta seǵun me comenta en el post anterior.
Y desde el CCM entro y no me pide contraseña ni nada.
Saludos!!!
Mageia 9 The Rock!!!
Usuario
# 125193 mmm
Lo que describes es que no vez la red win, eso en teoría 90% del tiempo lo logras con samba.
Te voy a hacer un par de preguntas, solo para tener claro como tienes tu red.
1.-¿Son mas de 25 compus de tu red?
2.-¿Usas DHCP ?
3.-¿tu workgroup es el default de win ?
Quedo al pendiente , ya que vamos a jugar con tu red, hasta que sea visible para ambos lados.
"Si tu cuerpo pide alcohol, sexo, lujuria, bajas pasiones, dáselo porque lo necesita...
Si no lo pide, oblígalo... porque él no puede andar haciendo lo que le de gana"
Luis Roberto Basurto Seguin
lrbasurto(arroba)gmail(punto)com
BOFH
# 125194 Te explico
La red actualmente consta de 2 servidores windows server y unos tres equipos con windows, el resto tiene Mageia 5 a la espera de Mageia 6 y algunos tenemos Mageia 6 Plasma y Xfce.
Si usamos DHCP o eso creo.
El Workgroup se llama ALOTRANS, no es el que viene por defecto en windows.
Desde los equipos de Mageia 5 si que se ven el resto de los equipos, tanto los de win como los Mageia, pero no los de Mageia 6.
Desde los equipos con Mageia 6 no se ven el resto de equipos.
Saludos.
Mageia 9 The Rock!!!
# 125195 Una observación
Es más fácil que vuelvas a pegar el archivo de configuración de samba a que nosotros lo encontremos entre las consultas.
Las versiones en Mageia 6 han recibido muchos cambios por parte de sus desarrolladores, y esto hace que lo que antes funcionaba ahora ya no lo haga (o al menos no sin algunos cambios).
Así que:
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125198 Voy probando.
Voy probando vuestras indicaciones. Aquí está lo que me sale en el archivo smb.conf:
#======================= Global Settings =====================================
[global]
# ----------------------- Network-Related Options -------------------------
#
# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
#
# server string = the equivalent of the Windows NT Description field.
#
# netbios name = used to specify a server name that is not tied to the hostname.
#
# interfaces = used to configure Samba to listen on multiple network interfaces.
# If you have multiple interfaces, you can use the "interfaces =" option to
# configure which of those interfaces Samba listens on. Never omit the localhost
# interface (lo).
#
# hosts allow = the hosts allowed to connect. This option can also be used on a
# per-share basis.
#
# hosts deny = the hosts not allowed to connect. This option can also be used on
# a per-share basis.
#
# max protocol = used to define the supported protocol. The default is NT1. You
# can set it to SMB2 if you want experimental SMB2 support.
#
workgroup = ALOTRANS
server string = Jose
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
; max protocol = SMB2
# --------------------------- Logging Options -----------------------------
#
# log file = specify where log files are written to and how they are split.
#
# max log size = specify the maximum size log files are allowed to reach. Log
# files are rotated when they reach the size specified with "max log size".
#
# log files split per-machine:
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# security = the mode Samba runs in. This can be set to user, share
# (deprecated), or server (deprecated).
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
security = share
passdb backend = tdbsam
# ----------------------- Domain Members Options ------------------------
#
# security = must be set to domain or ads.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# realm = only use the realm option when the "security = ads" option is set.
# The realm option specifies the Active Directory realm the host is a part of.
#
# password server = only use this option when the "security = server"
# option is set, or if you cannot use DNS to locate a Domain Controller. The
# argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
#
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
#
# Use "password server = *" to automatically locate Domain Controllers.
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server =
# ----------------------- Domain Controller Options ------------------------
#
# security = must be set to user for domain controllers.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# domain master = specifies Samba to be the Domain Master Browser, allowing
# Samba to collate browse lists between subnets. Do not use the "domain master"
# option if you already have a Windows NT domain controller performing this task.
#
# domain logons = allows Samba to provide a network logon service for Windows
# workstations.
#
# logon script = specifies a script to run at login time on the client. These
# scripts must be provided in a share named NETLOGON.
#
# logon path = specifies (with a UNC path) where user profiles are stored.
#
#
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
# the following login script name is determined by the machine name
# (%m):
; logon script = %m.bat
# the following login script name is determined by the UNIX user used:
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# use an empty path to disable profile support:
; logon path =
# various scripts can be used on a domain controller or a stand-alone
# machine to add or delete corresponding UNIX accounts:
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
# ----------------------- Browser Control Options ----------------------------
#
# local master = when set to no, Samba does not become the master browser on
# your network. When set to yes, normal election rules apply.
#
# os level = determines the precedence the server has in master browser
# elections. The default value should be reasonable.
#
# preferred master = when set to yes, Samba forces a local browser election at
# start up (and gives itself a slightly higher chance of winning the election).
#
; local master = no
; os level = 33
; preferred master = yes
#----------------------------- Name Resolution -------------------------------
#
# This section details the support for the Windows Internet Name Service (WINS).
#
# Note: Samba can be either a WINS server or a WINS client, but not both.
#
# wins support = when set to yes, the NMBD component of Samba enables its WINS
# server.
#
# wins server = tells the NMBD component of Samba to be a WINS client.
#
# wins proxy = when set to yes, Samba answers name resolution queries on behalf
# of a non WINS capable client. For this to work, there must be at least one
# WINS server on the network. The default is no.
#
# dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
# nslookups.
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
# --------------------------- Printing Options -----------------------------
#
# The options in this section allow you to configure a non-default printing
# system.
#
# load printers = when set you yes, the list of printers is automatically
# loaded, rather than setting them up individually.
#
# cups options = allows you to pass options to the CUPS library. Setting this
# option to raw, for example, allows you to use drivers on your Windows clients.
#
# printcap name = used to specify an alternative printcap file.
#
load printers = yes
cups options = raw
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Compartidos]
path = /home/jose/Compartidos
comment = Documentos compartidos
browseable = yes
public = yes
writable = yes
Esto es lo que me sale del estado de samba (parece que no se inicia):
#======================= Global Settings =====================================
[global]
# ----------------------- Network-Related Options -------------------------
#
# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
#
# server string = the equivalent of the Windows NT Description field.
#
# netbios name = used to specify a server name that is not tied to the hostname.
#
# interfaces = used to configure Samba to listen on multiple network interfaces.
# If you have multiple interfaces, you can use the "interfaces =" option to
# configure which of those interfaces Samba listens on. Never omit the localhost
# interface (lo).
#
# hosts allow = the hosts allowed to connect. This option can also be used on a
# per-share basis.
#
# hosts deny = the hosts not allowed to connect. This option can also be used on
# a per-share basis.
#
# max protocol = used to define the supported protocol. The default is NT1. You
# can set it to SMB2 if you want experimental SMB2 support.
#
workgroup = ALOTRANS
server string = Jose
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
; max protocol = SMB2
# --------------------------- Logging Options -----------------------------
#
# log file = specify where log files are written to and how they are split.
#
# max log size = specify the maximum size log files are allowed to reach. Log
# files are rotated when they reach the size specified with "max log size".
#
# log files split per-machine:
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# security = the mode Samba runs in. This can be set to user, share
# (deprecated), or server (deprecated).
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
security = share
passdb backend = tdbsam
# ----------------------- Domain Members Options ------------------------
#
# security = must be set to domain or ads.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# realm = only use the realm option when the "security = ads" option is set.
# The realm option specifies the Active Directory realm the host is a part of.
#
# password server = only use this option when the "security = server"
# option is set, or if you cannot use DNS to locate a Domain Controller. The
# argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
#
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
#
# Use "password server = *" to automatically locate Domain Controllers.
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server =
# ----------------------- Domain Controller Options ------------------------
#
# security = must be set to user for domain controllers.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# domain master = specifies Samba to be the Domain Master Browser, allowing
# Samba to collate browse lists between subnets. Do not use the "domain master"
# option if you already have a Windows NT domain controller performing this task.
#
# domain logons = allows Samba to provide a network logon service for Windows
# workstations.
#
# logon script = specifies a script to run at login time on the client. These
# scripts must be provided in a share named NETLOGON.
#
# logon path = specifies (with a UNC path) where user profiles are stored.
#
#
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
# the following login script name is determined by the machine name
# (%m):
; logon script = %m.bat
# the following login script name is determined by the UNIX user used:
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# use an empty path to disable profile support:
; logon path =
# various scripts can be used on a domain controller or a stand-alone
# machine to add or delete corresponding UNIX accounts:
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
# ----------------------- Browser Control Options ----------------------------
#
# local master = when set to no, Samba does not become the master browser on
# your network. When set to yes, normal election rules apply.
#
# os level = determines the precedence the server has in master browser
# elections. The default value should be reasonable.
#
# preferred master = when set to yes, Samba forces a local browser election at
# start up (and gives itself a slightly higher chance of winning the election).
#
; local master = no
; os level = 33
; preferred master = yes
#----------------------------- Name Resolution -------------------------------
#
# This section details the support for the Windows Internet Name Service (WINS).
#
# Note: Samba can be either a WINS server or a WINS client, but not both.
#
# wins support = when set to yes, the NMBD component of Samba enables its WINS
# server.
#
# wins server = tells the NMBD component of Samba to be a WINS client.
#
# wins proxy = when set to yes, Samba answers name resolution queries on behalf
# of a non WINS capable client. For this to work, there must be at least one
# WINS server on the network. The default is no.
#
# dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
# nslookups.
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
# --------------------------- Printing Options -----------------------------
#
# The options in this section allow you to configure a non-default printing
# system.
#
# load printers = when set you yes, the list of printers is automatically
# loaded, rather than setting them up individually.
#
# cups options = allows you to pass options to the CUPS library. Setting this
# option to raw, for example, allows you to use drivers on your Windows clients.
#
# printcap name = used to specify an alternative printcap file.
#
load printers = yes
cups options = raw
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Compartidos]
path = /home/jose/Compartidos
comment = Documentos compartidos
browseable = yes
public = yes
writable = yes
Esto es lo que me sale de testparm:
#======================= Global Settings =====================================
[global]
# ----------------------- Network-Related Options -------------------------
#
# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
#
# server string = the equivalent of the Windows NT Description field.
#
# netbios name = used to specify a server name that is not tied to the hostname.
#
# interfaces = used to configure Samba to listen on multiple network interfaces.
# If you have multiple interfaces, you can use the "interfaces =" option to
# configure which of those interfaces Samba listens on. Never omit the localhost
# interface (lo).
#
# hosts allow = the hosts allowed to connect. This option can also be used on a
# per-share basis.
#
# hosts deny = the hosts not allowed to connect. This option can also be used on
# a per-share basis.
#
# max protocol = used to define the supported protocol. The default is NT1. You
# can set it to SMB2 if you want experimental SMB2 support.
#
workgroup = ALOTRANS
server string = Jose
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
; max protocol = SMB2
# --------------------------- Logging Options -----------------------------
#
# log file = specify where log files are written to and how they are split.
#
# max log size = specify the maximum size log files are allowed to reach. Log
# files are rotated when they reach the size specified with "max log size".
#
# log files split per-machine:
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# security = the mode Samba runs in. This can be set to user, share
# (deprecated), or server (deprecated).
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
security = share
passdb backend = tdbsam
# ----------------------- Domain Members Options ------------------------
#
# security = must be set to domain or ads.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# realm = only use the realm option when the "security = ads" option is set.
# The realm option specifies the Active Directory realm the host is a part of.
#
# password server = only use this option when the "security = server"
# option is set, or if you cannot use DNS to locate a Domain Controller. The
# argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
#
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
#
# Use "password server = *" to automatically locate Domain Controllers.
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server =
# ----------------------- Domain Controller Options ------------------------
#
# security = must be set to user for domain controllers.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# domain master = specifies Samba to be the Domain Master Browser, allowing
# Samba to collate browse lists between subnets. Do not use the "domain master"
# option if you already have a Windows NT domain controller performing this task.
#
# domain logons = allows Samba to provide a network logon service for Windows
# workstations.
#
# logon script = specifies a script to run at login time on the client. These
# scripts must be provided in a share named NETLOGON.
#
# logon path = specifies (with a UNC path) where user profiles are stored.
#
#
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
# the following login script name is determined by the machine name
# (%m):
; logon script = %m.bat
# the following login script name is determined by the UNIX user used:
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# use an empty path to disable profile support:
; logon path =
# various scripts can be used on a domain controller or a stand-alone
# machine to add or delete corresponding UNIX accounts:
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
# ----------------------- Browser Control Options ----------------------------
#
# local master = when set to no, Samba does not become the master browser on
# your network. When set to yes, normal election rules apply.
#
# os level = determines the precedence the server has in master browser
# elections. The default value should be reasonable.
#
# preferred master = when set to yes, Samba forces a local browser election at
# start up (and gives itself a slightly higher chance of winning the election).
#
; local master = no
; os level = 33
; preferred master = yes
#----------------------------- Name Resolution -------------------------------
#
# This section details the support for the Windows Internet Name Service (WINS).
#
# Note: Samba can be either a WINS server or a WINS client, but not both.
#
# wins support = when set to yes, the NMBD component of Samba enables its WINS
# server.
#
# wins server = tells the NMBD component of Samba to be a WINS client.
#
# wins proxy = when set to yes, Samba answers name resolution queries on behalf
# of a non WINS capable client. For this to work, there must be at least one
# WINS server on the network. The default is no.
#
# dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
# nslookups.
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
# --------------------------- Printing Options -----------------------------
#
# The options in this section allow you to configure a non-default printing
# system.
#
# load printers = when set you yes, the list of printers is automatically
# loaded, rather than setting them up individually.
#
# cups options = allows you to pass options to the CUPS library. Setting this
# option to raw, for example, allows you to use drivers on your Windows clients.
#
# printcap name = used to specify an alternative printcap file.
#
load printers = yes
cups options = raw
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Compartidos]
path = /home/jose/Compartidos
comment = Documentos compartidos
browseable = yes
public = yes
writable = yes
Saludos y gracias por toda la ayuda!!!
Mageia 9 The Rock!!!
# 125202 inicia manualmente como
inicia manualmente como root
service smb start
Pega el resultado, pero si te repite el archivo de configuración, no lo pegues de nuevo en esta entrada ;)
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125203 Lo que me sale
Esto es lo que me sale después de ejecutar en consola:
[root@localhost ~]# service smb start
Redirecting to /bin/systemctl start smb.service
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.
Y donde veo lo que indica??
Saludos.
Mageia 9 The Rock!!!
# 125207 See "systemctl status
See "systemctl status smb.service" and "journalctl -xe" for details.
Ejecuta como root esos comandos
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125210 Me sale
Me sale esto
[root@localhost ~]# systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since vie 2017-08-11 14:11:17 CEST; 26min ago
Process: 1494 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1494 (code=exited, status=1/FAILURE)
ago 11 14:11:15 localhost systemd[1]: Starting Samba SMB Daemon...
ago 11 14:11:17 localhost systemd[1]: smb.service: Main process exited, code=exited, sta
ago 11 14:11:17 localhost systemd[1]: Failed to start Samba SMB Daemon.
ago 11 14:11:17 localhost systemd[1]: smb.service: Unit entered failed state.
ago 11 14:11:17 localhost systemd[1]: smb.service: Failed with result 'exit-code'.
[root@localhost ~]#
[root@localhost ~]# journalctl -xe
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:36 localhost dhclient[1346]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 11 14:33:36 localhost dhclient[1346]: DHCPACK from 172.26.0.1
ago 11 14:33:36 localhost NET[21697]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 11 14:33:36 localhost dhclient[1346]: bound to 172.26.0.120 -- renewal in 265 seconds.
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:55 localhost ksmserver[7712]: UnmapNotify: 81788938
ago 11 14:33:55 localhost ksmserver[7712]: UnmapNotify: 81788938
ago 11 14:33:55 localhost ksmserver[7712]: CreateNotify: 81788953
ago 11 14:33:55 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16590, resource id: 81788953, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:33:55 localhost ksmserver[7712]: Grab Released
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 44962, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45034, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45063, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45598, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45617, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45651, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45676, resource id: 73400322, major code: 141 (Unknown), minor code: 3
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25866, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25872, resource id: 81788932, major code: 25 (SendEvent), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25875, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25876, resource id: 81789073, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25877, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25878, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25879, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25880, resource id: 81789073, major code: 7 (ReparentWindow), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25881, resource id: 81789073, major code: 6 (ChangeSaveSet), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25882, resource id: 81789073, major code: 2 (ChangeWindowAttributes), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25883, resource id: 81789073, major code: 10 (UnmapWindow), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25904, resource id: 81788932, major code: 25 (SendEvent), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25908, resource id: 81788932, major code: 15 (QueryTree), minor code: 0
ago 11 14:34:38 localhost su[10040]: pam_unix(su-l:session): session closed for user root
ago 11 14:35:19 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 34843, resource id: 81789148, major code: 12 (ConfigureWindow), minor code: 0
ago 11 14:35:19 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 34844, resource id: 81789148, major code: 12 (ConfigureWindow), minor code: 0
ago 11 14:37:13 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 53716, resource id: 67108957, major code: 141 (Unknown), minor code: 3
ago 11 14:37:13 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 53717, resource id: 67108880, major code: 141 (Unknown), minor code: 3
ago 11 14:37:19 localhost su[23767]: (to root) jose on pts/0
ago 11 14:37:19 localhost su[23767]: pam_systemd(su-l:session): Cannot create session: Already running in a session
ago 11 14:37:19 localhost su[23767]: pam_unix(su-l:session): session opened for user root by jose(uid=1000)
ago 11 14:38:01 localhost dhclient[1346]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 11 14:38:01 localhost dhclient[1346]: DHCPACK from 172.26.0.1
ago 11 14:38:01 localhost NET[24361]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 11 14:38:01 localhost dhclient[1346]: bound to 172.26.0.120 -- renewal in 296 seconds.
ago 11 14:39:12 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2324, resource id: 48251030, major code: 3 (GetWindowAttributes), minor code: 0
ago 11 14:39:12 localhost kwin_x11[7719]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2325, resource id: 48251030, major code: 14 (GetGeometry), minor code: 0
ago 11 14:40:08 localhost su[23767]: pam_unix(su-l:session): session closed for user root
ago 11 14:40:09 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11317, resource id: 79691871, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:40:09 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11338, resource id: 46137610, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Creating the cache for: "applications:org.kde.konsole.desktop"
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Already in database? true
ago 11 14:40:13 localhost kactivitymanagerd[7775]: First update : QDateTime(2017-08-07 11:48:57.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Last update : QDateTime(2017-08-11 14:16:05.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: After the adjustment
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Current score : 27.6532
ago 11 14:40:13 localhost kactivitymanagerd[7775]: First update : QDateTime(2017-08-07 11:48:57.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Last update : QDateTime(2017-08-11 14:16:05.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Interval length is 0
ago 11 14:40:13 localhost kactivitymanagerd[7775]: New score : 28.6532
ago 11 14:40:13 localhost plasmashell[7722]: KActivitiesStats( 0x6ae68c0 ) ResultModelPrivate::onResultScoreUpdated result added: "applications:org.kde.konsole.desktop" score: 28
ago 11 14:40:13 localhost plasmashell[7722]: KActivitiesStats( 0x4ba4410 ) ResultModelPrivate::onResultScoreUpdated result added: "applications:org.kde.konsole.desktop" score: 28
ago 11 14:40:17 localhost su[25488]: (to root) jose on pts/0
ago 11 14:40:17 localhost su[25488]: pam_systemd(su-l:session): Cannot create session: Already running in a session
ago 11 14:40:17 localhost su[25488]: pam_unix(su-l:session): session opened for user root by jose(uid=1000)
...skipping...
ago 11 14:32:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:58 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:58 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:32:58 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:08 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:08 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:08 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:18 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:18 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:18 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:27 localhost org_kde_powerdevil[7757]: powerdevil: Kbd backlight brightness value: 0
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:28 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:36 localhost dhclient[1346]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 11 14:33:36 localhost dhclient[1346]: DHCPACK from 172.26.0.1
ago 11 14:33:36 localhost NET[21697]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 11 14:33:36 localhost dhclient[1346]: bound to 172.26.0.120 -- renewal in 265 seconds.
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:38 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:48 localhost kscreenlocker_greet[16973]: No metadata file in the package, expected it at: "/usr/share/mga/screensaver/"
ago 11 14:33:55 localhost ksmserver[7712]: UnmapNotify: 81788938
ago 11 14:33:55 localhost ksmserver[7712]: UnmapNotify: 81788938
ago 11 14:33:55 localhost ksmserver[7712]: CreateNotify: 81788953
ago 11 14:33:55 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16590, resource id: 81788953, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:33:55 localhost ksmserver[7712]: Grab Released
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 44962, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45034, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:33:57 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45063, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45598, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45617, resource id: 75497488, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45651, resource id: 79691781, major code: 141 (Unknown), minor code: 3
ago 11 14:34:00 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 45676, resource id: 73400322, major code: 141 (Unknown), minor code: 3
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25866, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25872, resource id: 81788932, major code: 25 (SendEvent), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25875, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25876, resource id: 81789073, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25877, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25878, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25879, resource id: 81789073, major code: 19 (DeleteProperty), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25880, resource id: 81789073, major code: 7 (ReparentWindow), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25881, resource id: 81789073, major code: 6 (ChangeSaveSet), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25882, resource id: 81789073, major code: 2 (ChangeWindowAttributes), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25883, resource id: 81789073, major code: 10 (UnmapWindow), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25904, resource id: 81788932, major code: 25 (SendEvent), minor code: 0
ago 11 14:34:35 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25908, resource id: 81788932, major code: 15 (QueryTree), minor code: 0
ago 11 14:34:38 localhost su[10040]: pam_unix(su-l:session): session closed for user root
ago 11 14:35:19 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 34843, resource id: 81789148, major code: 12 (ConfigureWindow), minor code: 0
ago 11 14:35:19 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 34844, resource id: 81789148, major code: 12 (ConfigureWindow), minor code: 0
ago 11 14:37:13 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 53716, resource id: 67108957, major code: 141 (Unknown), minor code: 3
ago 11 14:37:13 localhost plasmashell[7722]: QXcbConnection: XCB error: 2 (BadValue), sequence: 53717, resource id: 67108880, major code: 141 (Unknown), minor code: 3
ago 11 14:37:19 localhost su[23767]: (to root) jose on pts/0
ago 11 14:37:19 localhost su[23767]: pam_systemd(su-l:session): Cannot create session: Already running in a session
ago 11 14:37:19 localhost su[23767]: pam_unix(su-l:session): session opened for user root by jose(uid=1000)
ago 11 14:38:01 localhost dhclient[1346]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 11 14:38:01 localhost dhclient[1346]: DHCPACK from 172.26.0.1
ago 11 14:38:01 localhost NET[24361]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 11 14:38:01 localhost dhclient[1346]: bound to 172.26.0.120 -- renewal in 296 seconds.
ago 11 14:39:12 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2324, resource id: 48251030, major code: 3 (GetWindowAttributes), minor code: 0
ago 11 14:39:12 localhost kwin_x11[7719]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2325, resource id: 48251030, major code: 14 (GetGeometry), minor code: 0
ago 11 14:40:08 localhost su[23767]: pam_unix(su-l:session): session closed for user root
ago 11 14:40:09 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11317, resource id: 79691871, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:40:09 localhost kwin_x11[7719]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 11338, resource id: 46137610, major code: 18 (ChangeProperty), minor code: 0
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Creating the cache for: "applications:org.kde.konsole.desktop"
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Already in database? true
ago 11 14:40:13 localhost kactivitymanagerd[7775]: First update : QDateTime(2017-08-07 11:48:57.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Last update : QDateTime(2017-08-11 14:16:05.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: After the adjustment
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Current score : 27.6532
ago 11 14:40:13 localhost kactivitymanagerd[7775]: First update : QDateTime(2017-08-07 11:48:57.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Last update : QDateTime(2017-08-11 14:16:05.000 CEST Qt::TimeSpec(LocalTime))
ago 11 14:40:13 localhost kactivitymanagerd[7775]: Interval length is 0
ago 11 14:40:13 localhost kactivitymanagerd[7775]: New score : 28.6532
ago 11 14:40:13 localhost plasmashell[7722]: KActivitiesStats( 0x6ae68c0 ) ResultModelPrivate::onResultScoreUpdated result added: "applications:org.kde.konsole.desktop" score: 28
ago 11 14:40:13 localhost plasmashell[7722]: KActivitiesStats( 0x4ba4410 ) ResultModelPrivate::onResultScoreUpdated result added: "applications:org.kde.konsole.desktop" score: 28
ago 11 14:40:17 localhost su[25488]: (to root) jose on pts/0
ago 11 14:40:17 localhost su[25488]: pam_systemd(su-l:session): Cannot create session: Already running in a session
ago 11 14:40:17 localhost su[25488]: pam_unix(su-l:session): session opened for user root by jose(uid=1000)
Saludos
Mageia 9 The Rock!!!
# 125219 Flujo de trabajo
¿No te extraña que no aparezca casi nada relacionado con samba?
Si te das cuenta los registros de journalctl son de un dia posterior al intento de arrancar el servidor, por lo tanto lo que hay que hacer es:
Todo eso como root ;)
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125259 Esto es lo que sale
Por alguna razón que desconozco el lunes me fue casi imposible conectar a blogdrake para contestar. Esto es lo que me sale ejecutando desde consola:
[root@localhost ~]# service smb start
Redirecting to /bin/systemctl start smb.service
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.
[root@localhost ~]#
[root@localhost ~]# systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since lun 2017-08-14 17:13:36 CEST; 1min 22s ago
Process: 11226 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 11226 (code=exited, status=1/FAILURE)
ago 14 17:13:36 localhost systemd[1]: Starting Samba SMB Daemon...
ago 14 17:13:36 localhost systemd[1]: smb.service: Main process exited, code=exited, sta
ago 14 17:13:36 localhost systemd[1]: Failed to start Samba SMB Daemon.
ago 14 17:13:36 localhost systemd[1]: smb.service: Unit entered failed state.
ago 14 17:13:36 localhost systemd[1]: smb.service: Failed with result 'exit-code'.
lines 1-11/11 (END)
[root@localhost ~]# journalctl -xe
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x7449f90 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x743a090 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x72409e0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x748d600 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6c00710 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x73296d0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6fb1670 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6cd98f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x63ec100 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6381f80 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x71474a0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x735cbf0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x5852cb0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x71df460 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x755f8f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6fba3e0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x65340f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x70a2500 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6c00c50 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x551b120 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x3429930 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x341f980 ) ResultModelPr
ago 14 17:15:38 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:15:41 localhost su[11380]: (to root) jose on pts/0
ago 14 17:15:41 localhost su[11380]: pam_systemd(su-l:session): Cannot create session: A
ago 14 17:15:41 localhost su[11380]: pam_unix(su-l:session): session opened for user roo
ago 14 17:15:48 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:15:49 localhost dhclient[1337]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 14 17:15:49 localhost dhclient[1337]: DHCPACK from 172.26.0.1
ago 14 17:15:49 localhost NET[11457]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 14 17:15:49 localhost dhclient[1337]: bound to 172.26.0.120 -- renewal in 259 second
ago 14 17:15:58 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:08 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:18 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:28 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
...skipping...
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x7449f90 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x743a090 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x72409e0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x748d600 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6c00710 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x73296d0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6fb1670 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6cd98f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x63ec100 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6381f80 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x71474a0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x735cbf0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x5852cb0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x71df460 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x755f8f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6fba3e0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x65340f0 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x70a2500 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x6c00c50 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x551b120 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x3429930 ) ResultModelPr
ago 14 17:15:37 localhost plasmashell[2926]: KActivitiesStats( 0x341f980 ) ResultModelPr
ago 14 17:15:38 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:15:41 localhost su[11380]: (to root) jose on pts/0
ago 14 17:15:41 localhost su[11380]: pam_systemd(su-l:session): Cannot create session: A
ago 14 17:15:41 localhost su[11380]: pam_unix(su-l:session): session opened for user roo
ago 14 17:15:48 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:15:49 localhost dhclient[1337]: DHCPREQUEST on enp2s0 to 172.26.0.1 port 67
ago 14 17:15:49 localhost dhclient[1337]: DHCPACK from 172.26.0.1
ago 14 17:15:49 localhost NET[11457]: /sbin/dhclient-script : updated /etc/resolv.conf
ago 14 17:15:49 localhost dhclient[1337]: bound to 172.26.0.120 -- renewal in 259 second
ago 14 17:15:58 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:08 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:18 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
ago 14 17:16:28 localhost cupsd[1409]: REQUEST localhost - root "POST /admin/ HTTP/1.1"
lines 980-1014/1014 (END)
Saludos!!
Mageia 9 The Rock!!!
Usuario
# 125260 Por lo que veo, esa
Por lo que veo, esa instalación de samba o esta dañada o en conflicto con alguna otra aplicación.
Empecemos por lo más sencillo, desinstala e instala samba nuevamente.
una vez hecho esto otra vez inicia el servicio ( como root service smb start ).
Haz todo desde consola y pegas resultados.
"Si tu cuerpo pide alcohol, sexo, lujuria, bajas pasiones, dáselo porque lo necesita...
Si no lo pide, oblígalo... porque él no puede andar haciendo lo que le de gana"
Luis Roberto Basurto Seguin
lrbasurto(arroba)gmail(punto)com
BOFH
# 125261 Investigando...lo he solucionado a medias...
Bueno pues investigando, parece ser que es un "error" de samba. Según he visto en algún foro más, y en las indicaciones de samba, el modo de seguridad "share" está obsoleto, y hay que editar el archivos smb.conf y quitar la línea "security=share" o ponerla como user.
En mi caso, y lo que me ha funcionado:
1.- Entrar en el Centro de Control Mageia y configurar "Compartir discos y directorios con sistemas Windows", a lo que pedirá instalar y configurar samba-client, si es que no lo hemos hecho ya.
2.- En la configuración de samba hay que poner el nivel de seguridad en modo user.
3.- Crear un usuario samba con nombre de nuestro usuario y la contraseña de acceso de nuestro equipo.
4.- Activar en el cortafuegos la compartición de archivos smb.
5.- Reiniciar el equipo.
Después de esto queda activo el servicio smb.service y puedo entrar en los equipo poniendo en krunner \\nombre servidor samba, aunque desde dolphin todavía no me muestra los equipos de la red samba.
El equipo tiene la instalación limpia y samba configurado e instalado por primera vez, por lo que no puede ser que la instalación de samba esté dañada.
Solo queda saber, por qué dolphin no está mostrando los equipos en la red samba.
Alguna sugerencia??
Desde consola:
[root@localhost ~]# systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: enabled)
Active: active (running) since mié 2017-08-16 17:18:01 CEST; 1min 13s ago
Main PID: 2649 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─2649 /usr/sbin/smbd
├─2651 /usr/sbin/smbd
├─2652 /usr/sbin/smbd
└─2653 /usr/sbin/smbd
ago 16 17:17:59 localhost systemd[1]: Starting Samba SMB Daemon...
ago 16 17:18:01 localhost systemd[1]: smb.service: Supervising process 2649 which is not
ago 16 17:18:01 localhost systemd[1]: Started Samba SMB Daemon.
ago 16 17:18:02 localhost smbd[2649]: [2017/08/16 17:18:01.957255, 0] ../lib/util/becom
ago 16 17:18:02 localhost smbd[2649]: STATUS=daemon 'smbd' finished starting up and re
lines 1-16/16 (END)...skipping...
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: enabled)
Active: active (running) since mié 2017-08-16 17:18:01 CEST; 1min 13s ago
Main PID: 2649 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─2649 /usr/sbin/smbd
├─2651 /usr/sbin/smbd
├─2652 /usr/sbin/smbd
└─2653 /usr/sbin/smbd
ago 16 17:17:59 localhost systemd[1]: Starting Samba SMB Daemon...
ago 16 17:18:01 localhost systemd[1]: smb.service: Supervising process 2649 which is not our child. We'll most likely not notice when it exits.
ago 16 17:18:01 localhost systemd[1]: Started Samba SMB Daemon.
ago 16 17:18:02 localhost smbd[2649]: [2017/08/16 17:18:01.957255, 0] ../lib/util/become_daemon.c:124(daemon_ready)
ago 16 17:18:02 localhost smbd[2649]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Mageia 9 The Rock!!!
# 125265 Pues ahora que ya arranca
Pues ahora que ya arranca prueba lo de navegar a un servidor desde la herramienta del CCM
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125268 Sigue igual
Pues nada, que he intentado como comentas desde el CCM, y sigue sin funcionar.
El caso es que si pongo en la barra de dolphin: smb://servidor, si lleva a la carpeta compartida del usuario de la red que ponga.
Saludos.
Mageia 9 The Rock!!!
# 125269 Prueba desactivar el
Prueba desactivar el cortafuegos, mas tarde reviso que genero el MCC en la instalación plasma.
Ya que modificaste el archivo smb.conf , seria recomendable lo volvieras a poner.
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125271 No funciona
No me funciona tampoco quitando el cortafuegos.
Este es el archivo de configuración smb.conf que tengo:
# This is the main Samba configuration file. For detailed information about the
# options listed here, refer to the smb.conf(5) manual page. Samba has a huge
# number of configurable options, most of which are not shown in this example.
#
# The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
# guides for installing, configuring, and using Samba:
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# The Samba-3 by Example guide has working examples for smb.conf. This guide is
# generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# In this file, lines starting with a semicolon (;) or a hash (#) are
# comments and are ignored. This file uses hashes to denote commentary and
# semicolons for parts of the file you may wish to configure.
#
# Note: Run the "testparm" command after modifying this file to check for basic
# syntax errors.
#
#---------------
# Security-Enhanced Linux (SELinux) Notes:
#
# Turn the samba_domain_controller Boolean on to allow Samba to use the useradd
# and groupadd family of binaries. Run the following command as the root user to
# turn this Boolean on:
# setsebool -P samba_domain_controller on
#
# Turn the samba_enable_home_dirs Boolean on if you want to share home
# directories via Samba. Run the following command as the root user to turn this
# Boolean on:
# setsebool -P samba_enable_home_dirs on
#
# If you create a new directory, such as a new top-level directory, label it
# with samba_share_t so that SELinux allows Samba to read and write to it. Do
# not label system directories, such as /etc/ and /home/, with samba_share_t, as
# such directories should already have an SELinux label.
#
# Run the "ls -ldZ /path/to/directory" command to view the current SELinux
# label for a given directory.
#
# Set SELinux labels only on files and directories you have created. Use the
# chcon command to temporarily change a label:
# chcon -t samba_share_t /path/to/directory
#
# Changes made via chcon are lost when the file system is relabeled or commands
# such as restorecon are run.
#
# Use the samba_export_all_ro or samba_export_all_rw Boolean to share system
# directories. To share such directories and only allow read-only permissions:
# setsebool -P samba_export_all_ro on
# To share such directories and allow read and write permissions:
# setsebool -P samba_export_all_rw on
#
# To run scripts (preexec/root prexec/print command/...), copy them to the
# /var/lib/samba/scripts/ directory so that SELinux will allow smbd to run them.
# Note that if you move the scripts to /var/lib/samba/scripts/, they retain
# their existing SELinux labels, which may be labels that SELinux does not allow
# smbd to run. Copying the scripts will result in the correct SELinux labels.
# Run the "restorecon -R -v /var/lib/samba/scripts" command as the root user to
# apply the correct SELinux labels to these files.
#
#--------------
#
#======================= Global Settings =====================================
[global]
# ----------------------- Network-Related Options -------------------------
#
# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
#
# server string = the equivalent of the Windows NT Description field.
#
# netbios name = used to specify a server name that is not tied to the hostname.
#
# interfaces = used to configure Samba to listen on multiple network interfaces.
# If you have multiple interfaces, you can use the "interfaces =" option to
# configure which of those interfaces Samba listens on. Never omit the localhost
# interface (lo).
#
# hosts allow = the hosts allowed to connect. This option can also be used on a
# per-share basis.
#
# hosts deny = the hosts not allowed to connect. This option can also be used on
# a per-share basis.
#
# max protocol = used to define the supported protocol. The default is NT1. You
# can set it to SMB2 if you want experimental SMB2 support.
#
workgroup = ALOTRANS
server string = Jose
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
; max protocol = SMB2
# --------------------------- Logging Options -----------------------------
#
# log file = specify where log files are written to and how they are split.
#
# max log size = specify the maximum size log files are allowed to reach. Log
# files are rotated when they reach the size specified with "max log size".
#
# log files split per-machine:
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# security = the mode Samba runs in. This can be set to user, share
# (deprecated), or server (deprecated).
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
security = user
passdb backend = tdbsam
# ----------------------- Domain Members Options ------------------------
#
# security = must be set to domain or ads.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# realm = only use the realm option when the "security = ads" option is set.
# The realm option specifies the Active Directory realm the host is a part of.
#
# password server = only use this option when the "security = server"
# option is set, or if you cannot use DNS to locate a Domain Controller. The
# argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]:
#
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
#
# Use "password server = *" to automatically locate Domain Controllers.
; security = domain
; passdb backend = tdbsam
; realm = MY_REALM
; password server =
# ----------------------- Domain Controller Options ------------------------
#
# security = must be set to user for domain controllers.
#
# passdb backend = the backend used to store user information in. New
# installations should use either tdbsam or ldapsam. No additional configuration
# is required for tdbsam. The "smbpasswd" utility is available for backwards
# compatibility.
#
# domain master = specifies Samba to be the Domain Master Browser, allowing
# Samba to collate browse lists between subnets. Do not use the "domain master"
# option if you already have a Windows NT domain controller performing this task.
#
# domain logons = allows Samba to provide a network logon service for Windows
# workstations.
#
# logon script = specifies a script to run at login time on the client. These
# scripts must be provided in a share named NETLOGON.
#
# logon path = specifies (with a UNC path) where user profiles are stored.
#
#
; security = user
; passdb backend = tdbsam
; domain master = yes
; domain logons = yes
# the following login script name is determined by the machine name
# (%m):
; logon script = %m.bat
# the following login script name is determined by the UNIX user used:
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# use an empty path to disable profile support:
; logon path =
# various scripts can be used on a domain controller or a stand-alone
# machine to add or delete corresponding UNIX accounts:
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
# ----------------------- Browser Control Options ----------------------------
#
# local master = when set to no, Samba does not become the master browser on
# your network. When set to yes, normal election rules apply.
#
# os level = determines the precedence the server has in master browser
# elections. The default value should be reasonable.
#
# preferred master = when set to yes, Samba forces a local browser election at
# start up (and gives itself a slightly higher chance of winning the election).
#
; local master = no
; os level = 33
; preferred master = yes
#----------------------------- Name Resolution -------------------------------
#
# This section details the support for the Windows Internet Name Service (WINS).
#
# Note: Samba can be either a WINS server or a WINS client, but not both.
#
# wins support = when set to yes, the NMBD component of Samba enables its WINS
# server.
#
# wins server = tells the NMBD component of Samba to be a WINS client.
#
# wins proxy = when set to yes, Samba answers name resolution queries on behalf
# of a non WINS capable client. For this to work, there must be at least one
# WINS server on the network. The default is no.
#
# dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS
# nslookups.
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
# --------------------------- Printing Options -----------------------------
#
# The options in this section allow you to configure a non-default printing
# system.
#
# load printers = when set you yes, the list of printers is automatically
# loaded, rather than setting them up individually.
#
# cups options = allows you to pass options to the CUPS library. Setting this
# option to raw, for example, allows you to use drivers on your Windows clients.
#
# printcap name = used to specify an alternative printcap file.
#
load printers = yes
cups options = raw
netbios name = Jose
security = user
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[Compartidos]
path = /home/jose/Compartidos
comment = Documentos compartidos
browseable = yes
public = yes
writable = yes
Mageia 9 The Rock!!!
BOFH
# 125287 Comenta esta línea
En el archivo smb.conf tienes que comentar (recomendable) o eliminar en la sección "Standalone Server Options" la siguiente línea:
security = user
Déjalo así:
;security = user
Luego inicia los servicios nmb y smb, verifica que esten en ejecución y sería todo.
---------------------------------------------------------------------\
Linux Registered User: 423743
Linux Registered Machine: 331399
Key GPG: 61513A1E
Finger Printing: 263E 102B B8ED 8F2B 2ACE ED31 9FAD 9DFD 6151 3A1E
# 125274 Del lado del cliente parece
Del lado del cliente parece estar todo bien no entiendo por que no te aparece la impresora.
veamos que paquetes de samba tienes instalados
rpm -qa|grep samba
En cuanto a la navegación de los recurso samba en dolphin, he reportado un fallo https://bugs.mageia.org/show_bug.cgi?id=21562
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125279 Sale esto
Ejecutando en consola el comando que me dices, sale esto:
[jose@localhost ~]$ su -
Contraseña:
[root@localhost ~]# rpm -qa|grep samba
samba-winbind-modules-4.6.5-1.mga6
lib64samba-dc0-4.6.5-1.mga6
lib64samba1-4.6.5-1.mga6
samba-winbind-4.6.5-1.mga6
samba-common-4.6.5-1.mga6
samba-client-4.6.5-1.mga6
lib64kdc-samba4_2-4.6.5-1.mga6
samba-4.6.5-1.mga6
[root@localhost ~]#
Mageia 9 The Rock!!!
# 125282 Ve si ejecutando smbclient -L
Ve si ejecutando
Puedes ver los recursos del servidor
Donde servidor lo cambias por el nombre del equipo donde este físicamente la impresora.
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125285 Me aparece..
Me aparece esto:
[jose@localhost ~]$ su -
Contraseña:
[root@localhost ~]# smbclient -L fernando
Enter ALOTRANS\root's password:
session setup failed: NT_STATUS_LOGON_FAILURE
[root@localhost ~]#
He intentado con todas las contraseñas posibles y no hay forma. Con la de administrador del servidor, con la mía de acceso, con la de acceso del equipo cliente, con la de administrador del equipo cliente y nada...
Saludos.
Mageia 9 The Rock!!!
BOFH
# 125288 Solucionado
Bueno pues ya lo podemos dar por solucionado, voy a comentarlo también en el bug que puso Katnatek en bugzilla. Comentando la línea que me indica el usuario "VaCio" en el archivo smb.conf ya puedo ver los demás equipos de la red en dolphin y la impresora me aparece en impresoras de red.
Indico solución:
En el archivo smb.conf hay que comentar (recomendable) o eliminar en la sección "Standalone Server Options" la siguiente línea:
security = user
Déjar así:
;security = user
Y luego reiniciar el equipo.
Saludos!!!
Mageia 9 The Rock!!!
# 125289 Yo tengo la misma seguridad
Te paso mi archivo a ver si sacas algo en claro
[global]
guest account = nobody
preferred master = yes
server string =
os level = 20
workgroup = WORKGROUP
security = user
netbios name = MYPC
public = yes
map to guest = Bad User
[SHARE1]
path = /media/share1
comment = Aplicaciones
browseable = yes
public = yes
writable = no
[SHARE2]
path = /media/share2
comment = Documentos
browseable = yes
public = yes
writable = yes
Yo pase lo mismo y creo que tras mucho intentar lo que resolvio el problema fue desintalar y reinstalar samba
Suerte!
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
# 125294 Un reporte que podría estar
Un reporte que podría estar relacionado con lo de la impresora
https://bugs.mageia.org/show_bug.cgi?id=21164
¿lo usas?, ¿la lees?, ¿las conoces?,Herramienta útil
BOFH
# 125296 Solucionado!!!
Bueno en el reporte que me indicas está la solución, que indico para que esté más directa para otros usuarios:
- Entrar en consola como root:
- Poner: ln -svf /usr/libexec/samba/cups_backend_smb /usr/lib/cups/backend/smb
- Entrar en configuración de impresión y ya aparecerá la opción de añadir impresora a través del protocolo smb.
Gracias por todo!!!!!
Saludos.
Mageia 9 The Rock!!!
Usuario
# 125299 llegó la solución por mageia
Hola joselp, Mageia acaba de liberar una actualización que incluye el samba, y después de ponerla ( ojo ya había puesto lo de ";security =user "), sin hacer más nada empezó a agregarme las impresoras de red :-S , como hacia anteriormente,
Saludos
"Si tu cuerpo pide alcohol, sexo, lujuria, bajas pasiones, dáselo porque lo necesita...
Si no lo pide, oblígalo... porque él no puede andar haciendo lo que le de gana"
Luis Roberto Basurto Seguin
lrbasurto(arroba)gmail(punto)com