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 05/11/2009, à 23:59

denis.web

SVP HELP Impossible d'accéder au réseau local !!!

Bonjour.

Je viens de faire la mise à jour vers 9.10 et maintenant quand j'ouvre "Poste de travail" et que je clique sur "Réseau" puis "Réseau Windows" je n'arrive pas à voir mon réseau (2 PC Ubuntu + 1 Windows + 1 portable en dual boot) et j'ai le message d'erreur: Impossible de monter l'emplacement L'obtention de la liste des partages du serveur à échouée.
Cela marchait bien avant pourtant. Je n'arrive même pas à me voir (j'ai, pourtant des dossiers partagés).
J'ai l'impression que le nettoyage que j'ai fait après la  m.a.j avec le script que j'ai trouvé ici:

http://doc.ubuntu-fr.org/maintenir_systeme

a supprimé des paquets qui étaient nécessairesz au réseau et maintenant ça ne fonctionne plus sad !
J'ai réinstallé les paquets Samba et smbclient mais rien à faire ...
Pouvez vous m'aider à réparer ça pour que je puisse à nouveau ouvrir mon réseau ?
Je nesais vraiment pas quoi faire hmm:(.

Merci.

Dernière modification par denis.web (Le 06/11/2009, à 14:16)


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#2 Le 06/11/2009, à 10:10

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

Salut denis.web

Peux tu nous en dire plus sur la configuration de ton réseau ? As tu une box, du wifi ? Quelles sont les adresses IP de tes postes ainsi que leur nom et le nom du groupe de travail ?

Tu peux déja faire quelques tests en tapant :
\\192.168.1.2\Partage => depuis un poste Windows
smb://192.168.1.2/Partage => depuis un poste Linux

Sachant que 192.168.1.2 est l'adresse du poste auquel tu veux accéder (à adapter en fonction de ta configuration réseau)

@+

Hors ligne

#3 Le 06/11/2009, à 12:04

zO

Re : SVP HELP Impossible d'accéder au réseau local !!!

Problème identique de mon coté

Pas d'accès au "réseau" par le poste de travail, mais cela fonctionne en passant par "Se connecter à un serveur"

pas d'accès non plus depuis les autres postes win et tux.

Et quand je veux editer "/etc/samba/smb.conf" réponse permission non accordée.

J'ai reinstallé "system-config-samba" mais rien de plus

Config wifi et livebox. Groupe de travail Workgroup 2 poste Tux et 1 WIn

merci
roll


l'HADOPI c'est le nouveau modele juridique: presomption de culpabilité, condamnation pour les faits d'autrui, sanction collective sans recours...

Hors ligne

#4 Le 06/11/2009, à 12:08

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

salut zO

Et quand je veux editer "/etc/samba/smb.conf" réponse permission non accordée.

Même en ouvrant un terminal et en tapant sudo -s avec ton mot de passe ensuite, puis cat /etc/samba/smb.conf ?

Réinstaller les packages déjà présents peux résoudre des soucis mais je pencherais plus pour un simple problème de configuration.

@+

Hors ligne

#5 Le 06/11/2009, à 15:08

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonjour.

Excusez moi (Zo et Maclane, je n'avait pas vu vos réponses)
Mon accés au réseau local depuis ce PC marché parfaitement avec que je fasse tourné le script de nettoyage. C'est pour cela que je pense que c'est un PB de paquet supprimé ou de dépendance pétée. Mais j'ai pas de certitude.
J'ai fait en utilisant Système/Outils réseau des ping et des "trace route" sur 2 PC du réseau, sur la 9box et même sur moi même et ça marche. J'élimine donc des PB de connectique. C'est donc apparemment Samba qui déconne. J'ai réinstallé par Synaptic tous les paquets en relation avec Samba mais rien à faire sad !
J'ai essayé la commande smb:// donnée par Maclane mais je n'arrive pas à la faire fonctionner (je ne suis pas sure de bien l'adapter à mon réseau local). J'obtiens toujours ça en retour:

denis@PC-Denis:~$ smb://192.168.1.20/Temp
bash: smb://192.168.1.20/Temp: Aucun fichier ou dossier de ce type
denis@PC-Denis:~$ smb://192.168.1.22/Temp
bash: smb://192.168.1.22/Temp: Aucun fichier ou dossier de ce type
denis@PC-Denis:~$ smb://192.168.1.23/Transit*
bash: smb://192.168.1.23/Transit*: Aucun fichier ou dossier de ce type

Quand je vais sous Système/Samba, je vois mes partages locaux et si j'ouvre l'onglet Paramètres du serveur j'ai: Groupe de travail=Famille, Description=%h server (Samba, Ubuntu), Mode d'identification=Utilisateur.

Je mets le contunu de mon smbconf:

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

[global]

## Browsing/Identification ###

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

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

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

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

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

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

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally 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 #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
;	encrypt passwords = yes

# 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 ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if '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

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;	printing = cups
;   printcap name = cups

############ 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

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
#   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
#   domain master = auto

# 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

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
;   winbind enum groups = yes
;   winbind enum users = yes

# 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
;	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
;   share modes = no

# 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

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   read only = yes
;   locking = no
;   path = /cdrom
;   guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[Vidéos]
	path = /home/denis/Vidéos
	writeable = yes
;	browseable = yes
	guest ok = yes

[Transfert]
	path = /home/denis/Transfert
	writeable = yes
;	browseable = yes
	guest ok = yes

[Temp]
	path = /home/denis/Temp
	writeable = yes
;	browseable = yes
	guest ok = yes

[Musique]
	path = /home/denis/Musique
	writeable = yes
;	browseable = yes
	guest ok = yes

[Images]
	path = /home/denis/Images
	writeable = yes
;	browseable = yes
	guest ok = yes

J'sais pas quoi faire sad.

Merci pour votre aide


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#6 Le 06/11/2009, à 15:11

zO

Re : SVP HELP Impossible d'accéder au réseau local !!!

j'ai fait un reboot pour recuperer samba dans administration apres install de "system-config-samba" et reussi à editer smb.conf.

Mais quand je lance samba depuis administration >>>>fenetre  Avertissement : certaines lignes de smb.conf ne peuvent etre interpretées detail:       50:     enable spoolss = yes

Toujours pas de reseau par le poste de travail et pas d'acces non plus à l'imprimante reseau "erreur du serveur cups"

Je rame , je cherche dans les docs et les forums et suis sec.

Merci


l'HADOPI c'est le nouveau modele juridique: presomption de culpabilité, condamnation pour les faits d'autrui, sanction collective sans recours...

Hors ligne

#7 Le 06/11/2009, à 16:13

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

OK OK un par un par ^_^

@denis.web

smb://192.168.1.20/Temp c'est à taper dans l'explorateur Linux.
autrement en ligne de commande ca donne ça :
sudo mount -t cifs smb://192.168.1.20/Temp /media/temp
sachant que /media/temp est un dossier vide existant sur la machine voulant se connecter.

Dans ton fichier smb.conf je pense qu'il faut décommenter les lignes commençant par une ; dans les définitions des partages.

;    browseable = yes ==>     browseable = yes

Refais des tests et poste moi les résultats on verra à ce moment là. smile

@zO

Dans ton fichier smb.conf essaies de commenter avec une ; la ligne 50 enable spoolss = yes et relance. Poste le cas échéant le/les messages d'erreur.

@+

Hors ligne

#8 Le 06/11/2009, à 19:32

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir Maclane.

Alors voila en tapant le poste de travail les commandes:

smb://192.168.1.20/Temp

Je monte le dossier Temps de 192.168.1.20 c'est à dire le dossier Temp de mon ordi puisque c'est moi 192.168.1.20. ça c'est donc OK !
Puis:

smb://192.168.1.23/Transfert

Je monte et j'accède au dossier Transfert du PC distant correspondant à cette adresse. ça c'est donc aussi ok.
Et encore:

smb://192.168.1.22/Temp

Je monte et j'accède au dossier Temp du PC distant correspondant à cette adresse. ça c'est aussi ok.
Bon !
Après vérifications, maintenant tout marche même en passant par le bouton Réseau du poste de travail.
La dernière chose que j'ai faite avant de redémarrer c'est de réinstaller tous les paquets ayant un rapport avec Samba.
Je pense donc que c'est d'avoir fait tourner le scripte de maintenance système qui avait péter des dépendances ou des paquets.
C'est bien beau ces utilitaires de maintenance mais comme on sait pas trop ce que ça fait, il y a parfois des conséquences très emmer...

En tous les cas Maclane, je te remercie pour ton aide. Grace à toi, j'ai appris que l'on pouvait monter ses partages réseau en tapant directement une ligne du type:

smb://adresse Ip du poste en réseau/dossier partagé sur ce poste

Pour la commande à taper dans le terminal, je sais pas ce qui ne va pas, j'ai un message d'erreur

denis@PC-Denis:~$ sudo mount -t cifs smb://192.168.1.20/Temp /media/temp
mount: le point de montage /media/temp n'existe pas

Je pense que c'est un PB de syntaxe !!!

Excuse moi encore de t'avoir fait perdre du temps avec mon PB et merci encore pour ton aide et ta disponibilité wink.

Dernière modification par denis.web (Le 06/11/2009, à 19:38)


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#9 Le 06/11/2009, à 21:35

zO

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bon Merci MacLane45 et Denis.web j'ai suivi votre technique et ça fonctionne avec smb://192........., mais le lien "reseau" du poste de travail ne donne toujours rien.

c'est un peu lourdingue de devoir taper la formule magique à chaque fois, y a t il un moyen de faire un raccourci à garder en memoire qlqpart?????

Ce qui est étonnant, à chaque mise à jour, je n'ai pas les mêmes problemes sur mes deux pc_Tux, le second fonctionne avec "reseau", mais ne reconnait plus la carte wifi donc lan pour l'instant en attendant de trouver le blème.

Merci encore pour les efforts.

Dernière modification par zO (Le 06/11/2009, à 22:20)


l'HADOPI c'est le nouveau modele juridique: presomption de culpabilité, condamnation pour les faits d'autrui, sanction collective sans recours...

Hors ligne

#10 Le 06/11/2009, à 22:54

tejyx

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonjour,

J ai le meme soucis, j'ai fais la mise a jour aujourd hui, et depuis je n ai pkus a mon reseau local, et je ne maitrise pas du tout linux, en clair, je n ai rien compris a ce que je vien de lire

mon reseau

1 ubuntu
1 Win

Livebox

le contenu de 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. 
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
#

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

[global]

## Browsing/Identification ###
usershare owner only = false

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

# server string is the equivalent of the NT Description field
	server string = pc bureau

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

# 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 = 192.168.1.1

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

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

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally 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 #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
	encrypt passwords = no

# 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 ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if '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

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;	printing = cups
;   printcap name = cups

############ 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

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
#   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
#   domain master = auto

# 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

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
;   winbind enum groups = yes
;   winbind enum users = yes

# 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
	security = share
	guest ok = yes
	guest account = tejyx

#======================= 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 = yes

# 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
;   share modes = no

# 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 = yes
;   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
	writeable = yes
	guest ok = yes
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
;   write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   read only = yes
;   locking = no
;   path = /cdrom
;   guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[utorrent]
	path = /media/DD XtRn/utorrent
	writeable = yes
;	browseable = yes
	guest ok = yes

[Bureau]
	path = /home/tejyx/Bureau
	writeable = yes
;	browseable = yes
	guest ok = yes

[incoming]
	path = /home/tejyx/Documents/incoming
	writeable = yes
;	browseable = yes
	guest ok = yes

[portable]
	path = /home/tejyx/Documents/portable
	writeable = yes
;	browseable = yes
	guest ok = yes

[incoming-dd xtrn]
	path = /media/DD XtRn/utorrent/incoming
	writeable = yes
;	browseable = yes
	guest ok = yes

[tejyx]
	comment = Mes doc sous Ubuntu
	path = /home/tejyx
	writeable = yes
;	browseable = yes
	guest ok = yes

Quelqu'un pourrez m aider?

de plus je ne sais pas si c'est à cause de la mise a jour, mes prises usb ne fonctionne plus sad

Merci

Dernière modification par tejyx (Le 06/11/2009, à 22:56)

Hors ligne

#11 Le 06/11/2009, à 23:36

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir.

Ben ça remerd...
L'accès au réseau local est de nouveau impossible sur mon PC avec l'icône réseau du poste de travail sad !
Bon, c'est encore possible en tapant smb://adresse Ip du poste en réseau/dossier partagé sur ce poste hmm !
Je ne comprend pas se qui se passe. C'est quand même bizarre cette panne aléatoire !
Est ce que ce ne serait pas un bug de Karmic ?
Je continue à chercher et je vous tiens au courant.
A+


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#12 Le 07/11/2009, à 16:23

tejyx

Re : SVP HELP Impossible d'accéder au réseau local !!!

tejyx a écrit :

Bonjour,

J ai le meme soucis, j'ai fais la mise a jour aujourd hui, et depuis je n ai pkus a mon reseau local, et je ne maitrise pas du tout linux, en clair, je n ai rien compris a ce que je vien de lire

mon reseau

1 ubuntu
1 Win

Livebox

le contenu de 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. 
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
#

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

[global]

## Browsing/Identification ###
usershare owner only = false

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

# server string is the equivalent of the NT Description field
	server string = pc bureau

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

# 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 = 192.168.1.1

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

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

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally 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 #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
	encrypt passwords = no

# 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 ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if '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

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;	printing = cups
;   printcap name = cups

############ 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

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
#   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
#   domain master = auto

# 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

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
;   winbind enum groups = yes
;   winbind enum users = yes

# 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
	security = share
	guest ok = yes
	guest account = tejyx

#======================= 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 = yes

# 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
;   share modes = no

# 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 = yes
;   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
	writeable = yes
	guest ok = yes
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
;   write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   read only = yes
;   locking = no
;   path = /cdrom
;   guest ok = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[utorrent]
	path = /media/DD XtRn/utorrent
	writeable = yes
;	browseable = yes
	guest ok = yes

[Bureau]
	path = /home/tejyx/Bureau
	writeable = yes
;	browseable = yes
	guest ok = yes

[incoming]
	path = /home/tejyx/Documents/incoming
	writeable = yes
;	browseable = yes
	guest ok = yes

[portable]
	path = /home/tejyx/Documents/portable
	writeable = yes
;	browseable = yes
	guest ok = yes

[incoming-dd xtrn]
	path = /media/DD XtRn/utorrent/incoming
	writeable = yes
;	browseable = yes
	guest ok = yes

[tejyx]
	comment = Mes doc sous Ubuntu
	path = /home/tejyx
	writeable = yes
;	browseable = yes
	guest ok = yes

Quelqu'un pourrez m aider?

de plus je ne sais pas si c'est à cause de la mise a jour, mes prises usb ne fonctionne plus sad

Merci

ca remarche lol

j ai modifier le fichier etc/host comme decrit sur ce post

http://forum.ubuntu-fr.org/viewtopic.php?pid=3033351

Merci

Hors ligne

#13 Le 07/11/2009, à 17:30

tejyx

Re : SVP HELP Impossible d'accéder au réseau local !!!

ca a marché à peine 10 minute, je comprend rien yikes

Hors ligne

#14 Le 07/11/2009, à 18:07

zO

Re : SVP HELP Impossible d'accéder au réseau local !!!

@tejyx

J'ai essayé ton truc, je n'ai pas eu la chance de 10 minutes, veinard va!!!

lol:lol:


l'HADOPI c'est le nouveau modele juridique: presomption de culpabilité, condamnation pour les faits d'autrui, sanction collective sans recours...

Hors ligne

#15 Le 08/11/2009, à 16:54

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonjour.

Re-bonjour.

Pour ma part pour que le bouton Réseau fonctionne, il faut que j'ai allumé au moins 2 PC  du réseau et que j'attendes au moins 10 mn pour que les IP des PC se diffusent sur le réseau (j'suis pas en IP Fixe) . Alors quand je clique sur Réseau ça m'affiche d'abord le groupe de travaille "Famille" puis quand je clique sur "Famille" ça m'affiche le PC distant. Si je fait la même chose sur le PC distant quand je clique sur le groupe de travail "Famille", je vois les 2 PC en réseau. C'est bizarre cette différence ! Mais bon on va dire que ça marche et plus ce prendre le chou !  Le réseau sur Ubuntu par Nautilus ça toujours était un peu bizarre !

Bon courage !

A+


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#16 Le 09/11/2009, à 16:02

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

La je verrais plutôt un problème de poids sur ton réseau samba denis.web
à savoir qu'il faut qu'une des tes machines "pèse" plus lourd que les autres poyr pouvoir faire office de réference. J'ai cherché un peu mais pas encore remis la main sur le paramètre à modifier sous ubuntu pour lui dire de prendre la main sur les autres postes.

Hors ligne

#17 Le 09/11/2009, à 16:30

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

Et pour les autres Zo ? tejyx ? Ou en etes vous ?

Si vous avez toujours des soucis, poster chacun les contenus de vos fichiers smb.conf ainsi que la log dans /var/log/samba.

@+

Hors ligne

#18 Le 09/11/2009, à 22:05

tejyx

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonjour a tous

@McLane

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. 
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
#

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

[global]

	usershare owner only = false
## Browsing/Identification ###


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

# server string is the equivalent of the NT Description field
	server string = pc bureau

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

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

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

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

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally 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 = false



#### 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 #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
;	encrypt passwords = yes

# 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 ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if '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

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;	printing = cups
;   printcap name = cups

############ 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

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
#   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
#   domain master = auto

# 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

# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
;   winbind enum groups = yes
;   winbind enum users = yes

# 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
	security = share
	guest ok = yes
	guest account = tejyx

#======================= 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 = yes

# 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
;   share modes = no

# 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 = yes
;   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
[incoming]
	path = /home/tejyx/Documents/incoming
	writeable = yes
;	browseable = yes
	guest ok = yes

[portable]
	path = /home/tejyx/Documents/portable
	writeable = yes
;	browseable = yes
	guest ok = yes

et la log

[Sat Nov  7 14:40:36 2009 CET, 0 smbd/server.c:268:binary_smbd_main()]
samba version 4.0.0alpha9-GIT-27087e6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[Sat Nov  7 14:40:36 2009 CET, 0 smbd/server.c:347:binary_smbd_main()]
samba: using 'standard' process model
[Sat Nov  7 14:40:36 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [ldap_server: no LDAP server required in standalone configuration]
[Sat Nov  7 14:40:36 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [kdc: no KDC required in standalone configuration]
[Sat Nov  7 14:40:36 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [dreplsrv: no DSDB replication required in standalone configuration]
[Sat Nov  7 14:40:36 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [cldap_server: no CLDAP server required in standalone configuration]
[Sat Nov  7 14:40:37 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [NT_STATUS_CANT_ACCESS_DOMAIN_INFO]
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:162:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:163:fault_report()]
INTERNAL ERROR: Signal 11 in pid 3129 (4.0.0alpha9-GIT-27087e6)[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:164:fault_report()]

Please read the file BUGS.txt in the distribution
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:165:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:133:smb_panic()]
smb_panic(): calling panic action [/usr/share/samba/panic-action %d]
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:138:smb_panic()]
smb_panic(): fork failed in panic action: No child processes
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:143:smb_panic()]
PANIC: internal error
[Sat Nov  7 14:43:17 2009 CET, 0 ../lib/util/fault.c:62:call_backtrace()]
BACKTRACE: 33 stack frames:
 #0 /usr/sbin/samba(call_backtrace+0x2b) [0x88a1f6b]
 #1 /usr/sbin/samba(smb_panic+0x2d7) [0x88a232e]
 #2 /usr/sbin/samba [0x88a24f7]
 #3 /usr/sbin/samba(fault_setup+0) [0x88a252c]
 #4 [0xcb5400]
 #5 /usr/sbin/samba [0x816ade6]
 #6 /usr/sbin/samba(smbsrv_sesssetup_backend+0x42) [0x816b4dc]
 #7 /usr/sbin/samba [0x8165e93]
 #8 /usr/sbin/samba(smbsrv_reply_sesssetup+0x3f) [0x81660b5]
 #9 /usr/sbin/samba [0x8157298]
 #10 /usr/sbin/samba(smbsrv_recv_smb_request+0x587) [0x8156d97]
 #11 /usr/sbin/samba(packet_recv+0x754) [0x879f575]
 #12 /usr/sbin/samba [0x8146974]
 #13 /usr/sbin/samba [0x80ebdab]
 #14 /usr/sbin/samba [0x80ebe26]
 #15 /usr/lib/libtevent.so.0 [0x99a826]
 #16 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x997858]
 #17 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x9978ef]
 #18 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x9975c8]
 #19 /usr/sbin/samba [0x8898990]
 #20 /usr/sbin/samba [0x80ec437]
 #21 /usr/lib/libtevent.so.0 [0x99a826]
 #22 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x997858]
 #23 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x9978ef]
 #24 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x9975c8]
 #25 /usr/sbin/samba [0x8898b25]
 #26 /usr/sbin/samba(task_server_startup+0x82) [0x80ede89]
 #27 /usr/sbin/samba [0x80eba08]
 #28 /usr/sbin/samba(server_service_startup+0x13f) [0x80ebb6e]
 #29 /usr/sbin/samba [0x80eaefa]
 #30 /usr/sbin/samba(main+0x31) [0x80eafdd]
 #31 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x459b56]
 #32 /usr/sbin/samba [0x80ea121]
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:162:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:163:fault_report()]
INTERNAL ERROR: Signal 11 in pid 3146 (4.0.0alpha9-GIT-27087e6)[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:164:fault_report()]

Please read the file BUGS.txt in the distribution
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:165:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:133:smb_panic()]
smb_panic(): calling panic action [/usr/share/samba/panic-action %d]
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:138:smb_panic()]
smb_panic(): fork failed in panic action: No child processes
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:143:smb_panic()]
PANIC: internal error
[Sat Nov  7 14:43:38 2009 CET, 0 ../lib/util/fault.c:62:call_backtrace()]
BACKTRACE: 33 stack frames:
 #0 /usr/sbin/samba(call_backtrace+0x2b) [0x88a1f6b]
 #1 /usr/sbin/samba(smb_panic+0x2d7) [0x88a232e]
 #2 /usr/sbin/samba [0x88a24f7]
 #3 /usr/sbin/samba(fault_setup+0) [0x88a252c]
 #4 [0xcb5400]
 #5 /usr/sbin/samba [0x816ade6]
 #6 /usr/sbin/samba(smbsrv_sesssetup_backend+0x42) [0x816b4dc]
 #7 /usr/sbin/samba [0x8165e93]
 #8 /usr/sbin/samba(smbsrv_reply_sesssetup+0x3f) [0x81660b5]
 #9 /usr/sbin/samba [0x8157298]
 #10 /usr/sbin/samba(smbsrv_recv_smb_request+0x587) [0x8156d97]
 #11 /usr/sbin/samba(packet_recv+0x754) [0x879f575]
 #12 /usr/sbin/samba [0x8146974]
 #13 /usr/sbin/samba [0x80ebdab]
 #14 /usr/sbin/samba [0x80ebe26]
 #15 /usr/lib/libtevent.so.0 [0x99a826]
 #16 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x997858]
 #17 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x9978ef]
 #18 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x9975c8]
 #19 /usr/sbin/samba [0x8898990]
 #20 /usr/sbin/samba [0x80ec437]
 #21 /usr/lib/libtevent.so.0 [0x99a826]
 #22 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x997858]
 #23 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x9978ef]
 #24 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x9975c8]
 #25 /usr/sbin/samba [0x8898b25]
 #26 /usr/sbin/samba(task_server_startup+0x82) [0x80ede89]
 #27 /usr/sbin/samba [0x80eba08]
 #28 /usr/sbin/samba(server_service_startup+0x13f) [0x80ebb6e]
 #29 /usr/sbin/samba [0x80eaefa]
 #30 /usr/sbin/samba(main+0x31) [0x80eafdd]
 #31 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x459b56]
 #32 /usr/sbin/samba [0x80ea121]
[Sat Nov  7 14:46:08 2009 CET, 0 smbd/server.c:110:sig_term()]
SIGTERM: killing children
[Sat Nov  7 14:46:53 2009 CET, 0 smbd/server.c:268:binary_smbd_main()]
samba version 4.0.0alpha9-GIT-27087e6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[Sat Nov  7 14:46:53 2009 CET, 0 smbd/server.c:347:binary_smbd_main()]
samba: using 'standard' process model
[Sat Nov  7 14:46:53 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [kdc: no KDC required in standalone configuration]
[Sat Nov  7 14:46:53 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [ldap_server: no LDAP server required in standalone configuration]
[Sat Nov  7 14:46:53 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [dreplsrv: no DSDB replication required in standalone configuration]
[Sat Nov  7 14:46:54 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [NT_STATUS_CANT_ACCESS_DOMAIN_INFO]
[Sat Nov  7 14:46:54 2009 CET, 0 smbd/service_task.c:36:task_server_terminate()]
task_server_terminate: [cldap_server: no CLDAP server required in standalone configuration]
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:162:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:163:fault_report()]
INTERNAL ERROR: Signal 11 in pid 1904 (4.0.0alpha9-GIT-27087e6)[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:164:fault_report()]

Please read the file BUGS.txt in the distribution
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:165:fault_report()]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:133:smb_panic()]
smb_panic(): calling panic action [/usr/share/samba/panic-action %d]
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:138:smb_panic()]
smb_panic(): fork failed in panic action: No child processes
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:143:smb_panic()]
PANIC: internal error
[Sat Nov  7 14:47:45 2009 CET, 0 ../lib/util/fault.c:62:call_backtrace()]
BACKTRACE: 33 stack frames:
 #0 /usr/sbin/samba(call_backtrace+0x2b) [0x88a1f6b]
 #1 /usr/sbin/samba(smb_panic+0x2d7) [0x88a232e]
 #2 /usr/sbin/samba [0x88a24f7]
 #3 /usr/sbin/samba(fault_setup+0) [0x88a252c]
 #4 [0x31d400]
 #5 /usr/sbin/samba [0x816ade6]
 #6 /usr/sbin/samba(smbsrv_sesssetup_backend+0x42) [0x816b4dc]
 #7 /usr/sbin/samba [0x8165e93]
 #8 /usr/sbin/samba(smbsrv_reply_sesssetup+0x3f) [0x81660b5]
 #9 /usr/sbin/samba [0x8157298]
 #10 /usr/sbin/samba(smbsrv_recv_smb_request+0x587) [0x8156d97]
 #11 /usr/sbin/samba(packet_recv+0x754) [0x879f575]
 #12 /usr/sbin/samba [0x8146974]
 #13 /usr/sbin/samba [0x80ebdab]
 #14 /usr/sbin/samba [0x80ebe26]
 #15 /usr/lib/libtevent.so.0 [0x3c3826]
 #16 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x3c0858]
 #17 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x3c08ef]
 #18 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x3c05c8]
 #19 /usr/sbin/samba [0x8898990]
 #20 /usr/sbin/samba [0x80ec437]
 #21 /usr/lib/libtevent.so.0 [0x3c3826]
 #22 /usr/lib/libtevent.so.0(_tevent_loop_once+0x98) [0x3c0858]
 #23 /usr/lib/libtevent.so.0(tevent_common_loop_wait+0x2f) [0x3c08ef]
 #24 /usr/lib/libtevent.so.0(_tevent_loop_wait+0x18) [0x3c05c8]
 #25 /usr/sbin/samba [0x8898b25]
 #26 /usr/sbin/samba(task_server_startup+0x82) [0x80ede89]
 #27 /usr/sbin/samba [0x80eba08]
 #28 /usr/sbin/samba(server_service_startup+0x13f) [0x80ebb6e]
 #29 /usr/sbin/samba [0x80eaefa]
 #30 /usr/sbin/samba(main+0x31) [0x80eafdd]
 #31 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x474b56]
 #32 /usr/sbin/samba [0x80ea121]
[Sat Nov  7 14:55:45 2009 CET, 0 smbd/server.c:110:sig_term()]
SIGTERM: killing children

C'est quoi cette derniere ligne !!:/

Merci et bonne soirée

Hors ligne

#19 Le 10/11/2009, à 16:43

MacLane45

Re : SVP HELP Impossible d'accéder au réseau local !!!

[global]
    netbios name = Desktop
    workgroup = livebox-9eda
    server string = pc bureau

    wins support = no
	socket options = TCP_NODELAY
	domain master = no
    local master = yes
    preferred master = yes
    os level = 65
	security = share
	
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d

[incoming]
    comment = incoming
    path = /home/tejyx/Documents/incoming
    read only = no
    force user = christophe
	writeable = yes
    browseable = yes
    guest ok = yes

[portable]
    comment = portable
    path = /home/tejyx/Documents/portable
    read only = yes
	force user = christophe
	writeable = yes
    browseable = yes
    guest ok = yes

Le contenu devrait se résumer à quelque chose comme ça, cf http://doc.ubuntu-fr.org/samba_smb.conf. Testes cette configuration et dis postes la log et les éventuelles erreurs associées smile

SIGTERM: killing children veut dire que le processus en question à été tué ainsi que tous les processus qu'il aurait pû créer.

@+

Hors ligne

#20 Le 11/11/2009, à 21:19

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir MacLane.


Toutes mes excuses, ne n"ai pas suivi la discution pendant quelques jours car j'étais en plein travaux de peinture à la maison.
Sinon, je confirme , il y a bien une différence entre la gestion du réseau sur les ordi de mon LAN.
Sur le premier (celui qui déc... PC-Denis), quand on ouvre le réseau depuis Nautilus, on voit les autres PC du réseau mais on ne voit  pas cet ordi.
Sur tous les autres PC du réseau (par ex. PC-Enfants) quand on ouvre le réseau depuis Nautilus, on tous les PC du réseau y compris le PC sur lequel on est (ici PC-Enfants) sauf PC-Denis neutral
Sur tous les PC du réseau (y compris PC-Denis), si je tape dans Nautilus:

smb://PC-Denis/

je vois apparaitre tous les dossier partagés de ce PC et je peu y accéder.
C'est quand même fou de devoir passer par cette méthode pour faire apparaitre les dossiers partagés de PC-Denis mad.
De plus quand je clique sur l'icône Réseau de Nautilus, j'ai 1 fois sur 2 un message d'erreur ou aucuns dossier partagé d'affiché. Si je renouvelle immédiatement l'opération, tout marche alors. C'est complètement aléatoire !!!

J'ai donc (si tu le veux bien), 2 questions à te soumettre.

1) Existe t-il un moyen de rendre apparent PC-Denis sur tous les PC de mon LAN?

2) Comment peut on forcer les différents PC du LAN à "s'identifier" sur le réseau dès leur allumage ? (j'ai lu un truc sur un autre sujet du forum qui disait ça:

Il faut parfois plus de 10 mn pour que le broadcast des pc sur le réseau se diffuse.

autan le faire tout de suite au démarrage
si tu as des ip fixes
mets tout ça dans le fichier /etc/hosts

IP du pc  nom_de réseau
Genre

192.168.1.50            pc_de_ma_chambre
192.168.1.51            laptop_sur_mes_genou

Mais je ne suis pas en IP Fixe sad.
D'où ma question subsidiaire n°3:
Est ce que c'est compliqué de passer en IP fixe (et est ce que c'est vraiment nécessaire) ?
Merci encore pour ton aide.

A+


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#21 Le 11/11/2009, à 21:33

tejyx

Re : SVP HELP Impossible d'accéder au réseau local !!!

MacLane45 a écrit :
[global]
    netbios name = Desktop
    workgroup = livebox-9eda
    server string = pc bureau

    wins support = no
	socket options = TCP_NODELAY
	domain master = no
    local master = yes
    preferred master = yes
    os level = 65
	security = share
	
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d

[incoming]
    comment = incoming
    path = /home/tejyx/Documents/incoming
    read only = no
    force user = christophe
	writeable = yes
    browseable = yes
    guest ok = yes

[portable]
    comment = portable
    path = /home/tejyx/Documents/portable
    read only = yes
	force user = christophe
	writeable = yes
    browseable = yes
    guest ok = yes

Le contenu devrait se résumer à quelque chose comme ça, cf http://doc.ubuntu-fr.org/samba_smb.conf. Testes cette configuration et dis postes la log et les éventuelles erreurs associées smile

SIGTERM: killing children veut dire que le processus en question à été tué ainsi que tous les processus qu'il aurait pû créer.

@+

Merci Mclane

Je n ai pas accsés a mon pc pour l instant.

J ai lu ton code, c'est qui christophe?

@++

Hors ligne

#22 Le 11/11/2009, à 22:27

morane

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir à tous,

Vous n'êtes pas seul à ne plus pouvoir accèder à votre réseau depuis la mise à jour vers Karmic 9.10

Voici ici http://forum.ubuntu-fr.org/viewtopic.php?id=356823 le résultat de mes essais, à mon avis il faut épingler le sujet.

Morane


Ubuntu 18.04 et 20.04 MATE installés en dual boot avec Seven et Win 8 sur plusieurs PC différents
Un serveur raid avec Ubuntu 18.04
Bricole sur Ubuntu depuis la version 7.04

Hors ligne

#23 Le 12/11/2009, à 00:41

morane

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir,

Je viens de mettre à jour mon topic, à priori j'ai résolu mon problème (au moins pour le moment)

Morane


Ubuntu 18.04 et 20.04 MATE installés en dual boot avec Seven et Win 8 sur plusieurs PC différents
Un serveur raid avec Ubuntu 18.04
Bricole sur Ubuntu depuis la version 7.04

Hors ligne

#24 Le 12/11/2009, à 21:54

denis.web

Re : SVP HELP Impossible d'accéder au réseau local !!!

Bonsoir.

Hé oui, c'était trop beau Morane.
Comme moi tu croyais avoir réglé le PB. Je suis allé voir ton topic et en fait j'ai vu que pour toi aussi ça continue à merder. Tu te poses maintenant toi aussi cette même question !

Y'a t'il un problème entre Samba et Nautilus ???

.
Je ne sais pas s'il faut épingler le sujet ni même comment on fait ça et qui le fait mais ce srait peut être une bonne chose pou faire avancer les choses.


C'est comme vous voulez, c'est comme vous voulez ! Y-en- a qu'ont essayé, ils ont eu des problèmes !!!

Hors ligne

#25 Le 13/11/2009, à 15:44

zO

Re : SVP HELP Impossible d'accéder au réseau local !!!

Mouais tout cela est fatiguant, merci McLaine pour ce devouement, je n'ai pas trop le temps de m'en occuper pour l'instant.

Je reste en veille si quelqu'un trouve l'astuce.


l'HADOPI c'est le nouveau modele juridique: presomption de culpabilité, condamnation pour les faits d'autrui, sanction collective sans recours...

Hors ligne