Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/08/2017, à 16:11

Gecko1906

Problème connexion Samba suite à passage 17.04

Bonjour,

Suite au passage à Ubuntu 17.04 je n'arrivais plus à faire marcher mon imprimante installée via Samba sur une Freebox v6.
J'ai regardé et en fait dans Nautilus je n'ai même plus l'accès au réseau Windows. Quand je clique dessus ça me dit
"Impossible d'accéder à l'emplacement". Quand je tape

 sudo status smbd 

ça me renvoie

 status: Impossible de se connecter à Upstart: Failed to connect to socket /com/ubuntu/upstart: Connexion refusée 

Je dois avouer que je suis perdu et un peu d'aide serait la bienvenue.

Hors ligne

#2 Le 19/08/2017, à 19:12

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

t'a essayé de réinstaller samba ?

Hors ligne

#3 Le 19/08/2017, à 19:30

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Oui, j'ai désinstallé et réinstallé samba avec

sudo apt-get autoremove samba
sudo apt-get purge samba
sudo apt-get install samba

Cela n'a eu aucun effet.
En plus voici ce que donne

testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
	server string = %h server (Samba, Ubuntu)
	log file = /var/log/samba/log.%m
	max log size = 1000
	syslog = 0
	panic action = /usr/share/samba/panic-action %d
	usershare allow guests = Yes
	map to guest = Bad User
	obey pam restrictions = Yes
	pam password change = Yes
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	passwd program = /usr/bin/passwd %u
	server role = standalone server
	unix password sync = Yes
	dns proxy = No
	idmap config * : backend = tdb


[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = No
	printable = Yes
	create mask = 0700


[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
	guest ok = Yes

Voici également ce que j'obtiens en faisant

sudo /etc/init.d/smbd status 
 smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2017-08-19 19:17:00 CEST; 8min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 5606 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/smbd.service
           ├─5606 /usr/sbin/smbd
           ├─5607 /usr/sbin/smbd
           ├─5608 /usr/sbin/smbd
           └─5610 /usr/sbin/smbd

août 19 19:17:00 EliteBook systemd[1]: Stopped Samba SMB Daemon.
août 19 19:17:00 EliteBook systemd[1]: Starting Samba SMB Daemon...
août 19 19:17:00 EliteBook systemd[1]: smbd.service: Supervising process 5606 which is not our child. We'll most likely not notice when it exits.
août 19 19:17:00 EliteBook systemd[1]: Started Samba SMB Daemon.

Je dois avouer que je n'y comprends pas grand chose (j'ai trouvé ces commandes dans d'autres postes de personnes ayant eu des problèmes avec Samba).

Voici mon fichier

smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#    differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#    behaviour of Samba but the option is considered important
#    enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic 
# errors. 

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

[global]

## Browsing/Identification ###

# 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

#### 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 preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller". 
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
   passdb backend = tdbsam

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
   map to guest = bad user

########## Domains ###########

#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set 
#

# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
#   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
#   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

# This allows machine accounts to be created on the domain controller via the 
# SAMR RPC pipe.  
# The following assumes a "machines" group exists on the system
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.  
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
;   usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
;   comment = Home Directories
;   browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
;   read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
;   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
;   directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
;   valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = yes
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = yes
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin

Hors ligne

#4 Le 19/08/2017, à 19:59

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

je ne sais pas si ça peut t'aider, mais voici mon smb.conf

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
#  - When such options are commented with ";", the proposed setting
#    differs from the default Samba behaviour
#  - When commented with "#", the proposed setting is the default
#    behaviour of Samba but the option is considered important
#    enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic 
# errors. 

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

[global]

## Added manually ##

	usershare owner only = false

## Browsing/Identification ###

# 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

#### 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 preferred
;   interfaces = 127.0.0.0/8 wlo1                                                     #### modified, default eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = no                                                       #### modified, default yes



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
	log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
	max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
	syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
	panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller". 
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
	server role = standalone server

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
;	passdb backend = tdbsam

	obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
	unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
	pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
	map to guest = bad user

########## Domains ###########

#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set 
#

# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
#   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
#   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

# This allows machine accounts to be created on the domain controller via the 
# SAMR RPC pipe.  
# The following assumes a "machines" group exists on the system
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.  
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
;	usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
	usershare allow guests = yes
	username map = /etc/samba/smbusers
	security = user
;	encrypt passwords = yes
;	guest ok = no
;	guest account = nobody

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
;   comment = Home Directories
;   browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
;   read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
;   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
;   directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
;   valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
	comment = All Printers
	browseable = no
	path = /var/spool/samba
	printable = yes
;	guest ok = no
;	read only = yes
	create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
;	browseable = yes
;	read only = yes
;	guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
;   write list = root, @lpadmin

sous l'onglet [printers] y a le paramètre browsable qui n'est pas le même pour nous deux

Dernière modification par TheFalcon (Le 19/08/2017, à 20:00)

Hors ligne

#5 Le 19/08/2017, à 20:38

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Merci ! En fait c'est moi qui ai modifié cette option dans browsable dans l'onglet [printer] pour voir si ce genre de choses était le problème mais non, je viens de le remettre à la normale
et ça ne change rien.

Pour l'historique du problème: j'ai upgradé de la 16.04 à la 17.04. J'ai voulu utiliser mon imprimante (qui est sur ma freebox v6) mais pas moyen. J'ai supprimé mon imprimante et j'ai voulu la
réinstaller. Pas moyen de la trouver. En fait quand dans Nautilus je clique sur "Réseau Windows" ça mouline en me disant " ouverture de smb:///. " et ça ne fait rien.
C'est là où je me suis douté qu'il y avait un problème avec Samba (pour peu que je sache ce qu'est Samba) et que j'ai commencé à enquêter. Après, les commandes que j'ai mises dans mon post
précédent c'est des trucs que j'ai trouvés sur divers posts où les gens avaient des problèmes avec Samba en me disant que ça parlera peut-être à quelqu'un. Typiquement dans mon premier post je
n'ai aucune idée de ce qu'est upstart mais bon, ça a l'air important et le fait que ça renvoie ce message d'erreur ne me paraît pas très net.

Hors ligne

#6 Le 19/08/2017, à 21:17

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Oula, je crois que j'ai en fait un gros problème de paquet et de sources suite à la mise à jour:

laurent@EliteBook:~$ sudo apt-get update 
Atteint:1 http://fr.archive.ubuntu.com/ubuntu zesty InRelease
Ign:2 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty InRelease                
Atteint:3 http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease                                                             
Atteint:4 http://archive.canonical.com/ubuntu zesty InRelease                                                                     
Atteint:5 http://fr.archive.ubuntu.com/ubuntu zesty-backports InRelease                         
Atteint:6 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty InRelease             
Atteint:7 http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease
Ign:8 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty Release
Ign:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Err:1 http://fr.archive.ubuntu.com/ubuntu zesty InRelease     
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Err:3 http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Err:4 http://archive.canonical.com/ubuntu zesty InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
Err:5 http://fr.archive.ubuntu.com/ubuntu zesty-backports InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Err:7 http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Atteint:18 https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Err:18 https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6ED19DBB448EEE6C
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Err:9 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 Packages
  404  Not Found
Ign:10 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main i386 Packages
Ign:11 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all Packages
Ign:12 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr_FR
Ign:13 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-fr
Ign:14 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main Translation-en
Ign:15 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main all DEP-11 Metadata
Ign:16 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty/main DEP-11 64x64 Icons
Lecture des listes de paquets... Fait
W: The repository 'http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu zesty Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://fr.archive.ubuntu.com/ubuntu zesty InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu zesty InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://fr.archive.ubuntu.com/ubuntu zesty-backports InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6ED19DBB448EEE6C
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/zesty/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/zesty-updates/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/zesty-backports/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/zesty-security/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
W: Impossible de récupérer https://s3-us-west-2.amazonaws.com/brave-apt/dists/zesty/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6ED19DBB448EEE6C
W: Impossible de récupérer http://archive.canonical.com/ubuntu/dists/zesty/InRelease  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3B4FE6ACC0B21F32
E: Impossible de récupérer http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/dists/zesty/main/binary-amd64/Packages  404  Not Found
W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2

Quelqu'un pourrait m'aider pour corriger ça ? Ca ne m'étonnerait pas que mon problème soit lié à cela...

Hors ligne

#7 Le 19/08/2017, à 22:56

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

waw, un trés gros problème effectivement, peut tu m'envoyer le dossier /etc/apt/sources.list.d ainsi que le fichier /etc/apt/sources.list ?? tu peut les uploader sur un serveur et poster le lien par eg

Hors ligne

#8 Le 19/08/2017, à 23:28

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Merci le faucon wink J'ai bossé entre temps en fouillant sur le web pour ce qui est des problèmes de clef pgp à partir de là: https://doc.ubuntu-fr.org/apt-key
et ça a l'air de s'être arrangé pour cette partie là. J'ai réussi à virer cette bouse de cairo-dock des dépots et des paquets.

Voilà où j'en suis:

sudo apt-get update 
[sudo] Mot de passe de laurent : 
Atteint:1 http://fr.archive.ubuntu.com/ubuntu zesty InRelease
Réception de:2 http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease [89,2 kB]                                                                
Atteint:3 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty InRelease                                                                 
Réception de:4 http://fr.archive.ubuntu.com/ubuntu zesty-backports InRelease [89,2 kB]                                                             
Réception de:5 http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease [89,2 kB]            
Ign:6 http://archive.canonical.com/ubuntu trusty InRelease                                      
Atteint:7 http://archive.canonical.com/ubuntu zesty InRelease                                   
Réception de:8 http://fr.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages [197 kB]
Atteint:9 http://archive.canonical.com/ubuntu trusty Release                                  
Réception de:10 http://fr.archive.ubuntu.com/ubuntu zesty-updates/main i386 Packages [194 kB] 
Réception de:11 http://fr.archive.ubuntu.com/ubuntu zesty-updates/main amd64 DEP-11 Metadata [52,8 kB]
Réception de:12 http://fr.archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 64x64 Icons [26,3 kB]
Réception de:13 http://fr.archive.ubuntu.com/ubuntu zesty-updates/universe i386 Packages [98,0 kB]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages [98,0 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 DEP-11 Metadata [82,9 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 64x64 Icons [83,1 kB]
Réception de:17 http://fr.archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 DEP-11 Metadata [5 836 B]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu zesty-backports/universe amd64 DEP-11 Metadata [5 136 B]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [12,5 kB] 
Réception de:20 http://fr.archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [11,6 kB]   
Réception de:21 http://fr.archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [20,7 kB]
Réception de:22 http://fr.archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons [36,5 kB]
Atteint:24 https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease
1 191 ko réceptionnés en 1s (1 095 ko/s)
Lecture des listes de paquets... Fait
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/brave-zesty.list:1 and /etc/apt/sources.list.d/brave-zesty.list:2

Voici le lien vers ce que tu as demandé:  https://www.dropbox.com/sh/s1wl1yj0b27o … TeAoa?dl=0

Bon, après si c'est trop compliqué il va peut-être falloir que je pense à sauvegarder le \home et tout résintaller from scratch à partir d'une clef usb (i.e. te casse pas trop la tête)

Hors ligne

#9 Le 20/08/2017, à 01:12

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

bon, tu a presque tout corrigé, il reste à ouvrir le fichier /etc/apt/sources.list.d/brave-zesty.list, il contient 2 fois la même ligne, supprime la 2eme,
je te conseil également de supprimer les fichiers suivants qui sont dans sources.list.d, car ce sont des dépots pour xenial (16.04) et tu peut pas les utiliser pour zesty:
dropbox.list
dropbox.list.distUpgrade
dropbox.list.save
google-chrome.list
google-chrome.list.distUpgrade
google-chrome.list.save
steam.list
steam.list.distUpgrade
steam.list.save
pour ré-ajouter ces dépots pour zesty, réinstalle les paquets correspondants, à savoir: dropbox, google chrome, et steam.
et puis y a ton fichier sources.list qui me parait pas trop net, il y a beaucoup trop de sources activées, c'est toi qui les toutes activées ?
sinon remplace le par ce fichier aprés en avoir fait une copie: sources.list modifié
fait un apt-get update

Hors ligne

#10 Le 20/08/2017, à 01:50

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Cool , merci pour ça. J'ai suivi tes instructions à la lettre: j'ai supprimé ce dont tu m'a parlé et j'ai remplacé mon source.list par le tien. Voici ce que donne mon dernier update

laurent@EliteBook:~$ sudo apt-get update
Atteint:1 http://fr.archive.ubuntu.com/ubuntu zesty InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease                                                             
Atteint:3 http://archive.canonical.com/ubuntu zesty InRelease                                                                     
Atteint:4 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty InRelease                                               
Atteint:5 http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease
Atteint:6 https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease
Lecture des listes de paquets... Fait
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list.d/xenial-partner.list:4

Rien de bien méchant il me semble ? Juste des trucs qui sont définis plusieurs fois. Ceci dit, je ne comprends pas très bien car si j'ai remplacé mon source.list
par le tien je ne devrais plus avoir aucun problème me de ce coté là ? Y-a un truc pas net mais je ne comprends pas.

Hors ligne

#11 Le 20/08/2017, à 02:07

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

Oui tkt, j'ai oublié de te demander de supprimer le fichier /etc/apt/sources.list.d/xenial-partner.list, et tout devrais rentrer dans l'ordre

Hors ligne

#12 Le 20/08/2017, à 02:25

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

OK, c'est nickel chrome maintenant:

sudo apt-get update 
Atteint:1 http://fr.archive.ubuntu.com/ubuntu zesty InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu zesty-updates InRelease                                                             
Atteint:3 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty InRelease                                               
Atteint:4 http://fr.archive.ubuntu.com/ubuntu zesty-security InRelease                                                            
Atteint:5 http://archive.canonical.com/ubuntu zesty InRelease                                   
Atteint:6 https://s3-us-west-2.amazonaws.com/brave-apt zesty InRelease                          
Lecture des listes de paquets... Fait

Je viens de désinstaller samba, purger et résintaller et toujours le même problème. Rien n'a changé....là je suis sec, je n'ai aucune idée.
J'ai posé la question sur les forums anglophones mais rien, personne ne me répond.
Après 18 ans de linux, j'ai encore du mal que l'on doive passer par un truc aussi merdique lié à Windows pour imprimer.
Dans tous les cas merci beaucoup pour ton aide.

Hors ligne

#13 Le 20/08/2017, à 02:43

Coeur Noir

Re : Problème connexion Samba suite à passage 17.04

Ce serait pas un paramètrage à refaire au niveau de la freebox, concernant l'imprimante ?

Sinon dans le smb.conf est-ce que :

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

correspond bien à ta réalité ? Si l'imprimante est connectée à la freebox c'est pour la rendre disponible à plusieurs appareils sur le réseau, donc vérifier sur les appareils windows leur groupe de travail, et renseigner le même dans ton smb.conf

Sinon quel intérêt de brancher l'imprimante à la box ? Tu ne peux pas la connecter directement à ton pc Linux, elle n'est pas prise en charge ( marque et modèle ) ?


DébuterDocBien rédigerRetour commandeInsérer image | illustrations & captures d'écran <>

Hors ligne

#14 Le 20/08/2017, à 04:41

cqfd93

Re : Problème connexion Samba suite à passage 17.04

Bonjour,

TheFalcon a écrit :

waw, un trés gros problème effectivement, peut tu m'envoyer le dossier /etc/apt/sources.list.d ainsi que le fichier /etc/apt/sources.list ?? tu peut les uploader sur un serveur et poster le lien par eg

Il n'y a nullement besoin de mettre ces retours sur un serveur externe et il est même nettement préférable de poster les retours directement dans les messages du forum (entre balises code évidemment), comme ça, pas de risque que les retours soient perdus à cause d'un lien cassé ou d'un serveur dans les choux.

Et pour avoir le contenu de ces fichiers, la commande suivante donne un retour propre, lisible et exploitable :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

cqfd93

Hors ligne

#15 Le 20/08/2017, à 06:24

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

Ça me fait plaisir d'aider Geko1906,
Coeur noir a peut être raison, c'est peut être lié à ta box,  tu devrais verifier ses paramètres.
Merci cqfd93, je m'en souviendrai.

Hors ligne

#16 Le 20/08/2017, à 12:22

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Merci cqfd93, j'avais effectivement hésité à mettre un lien comme me l'avais demandé TheFalcon mais j'ai eu la flemme, toutes mes excuses.

Bref, ma box est bien sûr bien configurée (c'est la première chose que j'ai regardée) i.e. partage Windows activé, partage de fichiers et d'imprimante activés, accès authentifié désactivé et groupe de travail "WORKGROUP" i.e. le truc standard. Cela marche d'ailleurs sous Windows, je viens d'essayer.

Voilà, maintenant c'est pire: dans Nautilus quand je clique sur "Autres Emplacements" WORKGROUP ne s'affiche même plus et ça mouline sans rien trouver...

Hors ligne

#17 Le 20/08/2017, à 12:45

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Bon, ça marche sur un vieux laptop, ce n'est donc pas dû à la freebox.

Hors ligne

#18 Le 20/08/2017, à 12:55

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Et "Réseau Windows" est réapparu dans Nautilus. Je ne peux pas non plus me connecter à Freebox Server (partage de fichiers) même problème avec Samba. Par contre en ftp ça marche nickel, j'ai accès au disque dur de la Freebox sans avoir à rentrer de mot de passe (et donc ce n'est pas un problème d'authentification)

Hors ligne

#19 Le 20/08/2017, à 14:13

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Du nouveau: en désinstallant Samba puis en le réinstallant j'ai remarqué (ce que j'aurais dû faire avant) qu'il y a une erreur lors de l'installation de Samba:

laurent@EliteBook:~$ sudo apt-get install samba samba-common
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
The following additional packages will be installed:
  samba-common-bin
Paquets suggérés :
  bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients
Les NOUVEAUX paquets suivants seront installés :
  samba samba-common samba-common-bin
0 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/1 424 ko dans les archives.
Après cette opération, 13,0 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Préconfiguration des paquets...
Sélection du paquet samba-common précédemment désélectionné.
(Lecture de la base de données... 432817 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../samba-common_2%3a4.5.8+dfsg-0ubuntu0.17.04.5_all.deb ...
Dépaquetage de samba-common (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Sélection du paquet samba-common-bin précédemment désélectionné.
Préparation du dépaquetage de .../samba-common-bin_2%3a4.5.8+dfsg-0ubuntu0.17.04.5_amd64.deb ...
Dépaquetage de samba-common-bin (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Sélection du paquet samba précédemment désélectionné.
Préparation du dépaquetage de .../samba_2%3a4.5.8+dfsg-0ubuntu0.17.04.5_amd64.deb ...
Dépaquetage de samba (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Traitement des actions différées (« triggers ») pour ufw (0.35-4) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-19) ...
Paramétrage de samba-common (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.24-9ubuntu2.2) ...
Traitement des actions différées (« triggers ») pour systemd (232-21ubuntu5) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
Paramétrage de samba-common-bin (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Paramétrage de samba (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Traitement des actions différées (« triggers ») pour libc-bin (2.24-9ubuntu2.2) ...

L'erreur est

Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory

Si quelqu'un sait ce que cela signifie...en particulier si quelqu'un a la même erreur lorsqu'il installe samba mais que son Samba marche (pour savoir si le problème vient de là) ?

Dernière modification par Gecko1906 (Le 20/08/2017, à 14:37)

Hors ligne

#20 Le 20/08/2017, à 14:31

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

essaye d'exécuter ces commandes

sudo systemctl unmask samba
sudo systemctl enable samba
sudo systemctl restart samba

si ça marche pas essaye ça

sudo mv /lib/systemd/system/samba.service /lib/systemd/system/samba.service.bak 
sudo systemctl enable samba
sudo systemctl start samba

si ça marche toujours pas alors exécute cette commande pour restaurer le fichier samba.service

sudo mv /lib/systemd/system/samba.service.bak /lib/systemd/system/samba.service

Dernière modification par TheFalcon (Le 20/08/2017, à 14:34)

Hors ligne

#21 Le 20/08/2017, à 14:47

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Sur les trois premières commandes la deuxième et troisième retournent un message d'erreur

sudo systemctl enable samba
Synchronizing state of samba.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable samba
update-rc.d: error: samba Default-Start contains no runlevels, aborting.

sudo systemctl restart samba
Failed to restart samba.service: Unit samba.service is masked.

Pour les trois autres commandes il y a une erreur sur la seconde:

sudo systemctl enable samba
samba.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable samba
update-rc.d: error: samba Default-Start contains no runlevels, aborting.

J'ai exécuté la troisième mais je ne vois pas d'amélioration.

Hors ligne

#22 Le 20/08/2017, à 15:13

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

apparemment c'est un bug confirmé qui touche plusieurs machines. Bug #1610361
je ne sais pas trop quoi faire, mais si j'étais à ta place je vais essayer de complètement supprimer samba puis le réinstaller, voici ce que j'aurais fait:
sudo -s
apt-get autoremove --purge samba
apt-get clean
rm -rv /var/cache/apt/archives/*
rm -rv /lib/systemd/system/samba.service
rm -rv /etc/samba
rm -rv /run/samba
rm -rv /usr/lib/samba
rm -rv /usr/share/samba
rm -rv /var/cache/samba
rm -rv /var/lib/samba
rm -rv /var/log/samba
rm -rv /var/spool/smaba
puis je réinstalle samba

Hors ligne

#23 Le 20/08/2017, à 15:25

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

J'ai tout effacé comme tu me l'as préconisé mais maintenant c'est pire, à l'installation de Samba j'ai ça:

Paramétrage de samba (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service.
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2017-08-20 15:22:13 CEST; 5ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 6397 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 6397 (code=exited, status=1/FAILURE)

août 20 15:22:13 EliteBook systemd[1]: Starting Samba SMB Daemon...
août 20 15:22:13 EliteBook systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
août 20 15:22:13 EliteBook systemd[1]: Failed to start Samba SMB Daemon.
août 20 15:22:13 EliteBook systemd[1]: smbd.service: Unit entered failed state.
août 20 15:22:13 EliteBook systemd[1]: smbd.service: Failed with result 'exit-code'.
dpkg: erreur de traitement du paquet samba (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Paramétrage de libcephfs1 (10.2.7-0ubuntu0.17.04.1) ...
Paramétrage de samba-dsdb-modules (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Paramétrage de attr (1:2.4.47-2) ...
Paramétrage de samba-vfs-modules (2:4.5.8+dfsg-0ubuntu0.17.04.5) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.24-9ubuntu2.2) ...
Traitement des actions différées (« triggers ») pour systemd (232-21ubuntu5) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-19) ...
Traitement des actions différées (« triggers ») pour ufw (0.35-4) ...
Des erreurs ont été rencontrées pendant l'exécution :
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hors ligne

#24 Le 20/08/2017, à 16:21

TheFalcon

Re : Problème connexion Samba suite à passage 17.04

c'est pas pire qu'avant c'est toujours la même erreur.
je sais plus ce qu'il faut faire, en général, les mises à niveau de ubuntu se terminent rarement sans problème, tu devrait peut être envisager une réinstallation complète.

Hors ligne

#25 Le 20/08/2017, à 16:24

Gecko1906

Re : Problème connexion Samba suite à passage 17.04

Oui, je crois que je vais tout réinstaller à l'occasion (mais peut-être la LTS 16.04 pour être sûr de ne pas avoir de problème). En tous cas merci beaucoup pour ton aide !

Hors ligne