#0 -1 » [Résolu] Myunity pour Raring : Unity Tweak Tool » Aujourd'hui à 05:40
- Pierre771
- Réponses : 3
Bonjour
J'avais trouvé dans la doc et dans des articles un petit logiciel, Myunity, qui permettait de personnaliser Unity et notamment de pourvoir cacher la barre dans la vie courante.
Malheureusement il est absent dans les dépôts de Raring
Savez-vous si c'est exprès qu'on ne l'a pas mis et avez-vous des infos à ce sujet ?
Merci !
#1 Re : -1 » [Résolu] Myunity pour Raring : Unity Tweak Tool » Aujourd'hui à 09:31
- Pierre771
- Réponses : 3
Merci de ta réponse.
Le produit de remplacement (plus élaboré que Myunity) est Unity Tweak Tool (à installer)
http://www.webupd8.org/2013/03/unity-tw … buntu.html
Bonne journée
PS La solution finalement retenue par moi est CInnamon.
#2 Re : -1 » [Résolu] Myunity pour Raring : Unity Tweak Tool » Aujourd'hui à 13:44
- Pierre771
- Réponses : 3
Je viens de constater avec surprise qu'Unity lançait les programmes beaucoup plus rapidement que Cinnamon.
Dommage ou plutôt : tant mieux pour Unity.
#3 Re : -1 » [résolu] Chromium PPA » Le 14/05/2013, à 13:55
- Pierre771
- Réponses : 139
Salut,
J'ai remis le PPA ubuntu-mozilla-security(https://launchpad.net/~ubuntu-mozilla-s … rchive/ppa)
et j'ai la surprise de voir arriver
chromium-browser 26.0.1410.63-0ubuntu0.12.04.2
Bonjour
Merci de la précision : J'avais bien cette version et j'avais constaté qu'elle était supérieure à l'officielle d'Ubuntu mais je n'avais pas réalisé qu'elle venait de ce PPA qui avait incorporé Chromium et que j'avais pour FF et TB !
La vie est belle : les petites joies simples de l'existence ! ![]()
Je vais profiter de l'euphorie pour virer définitivement Google Chrome...
#4 Re : -1 » [résolu] Chromium PPA » Le 14/05/2013, à 15:57
- Pierre771
- Réponses : 139
C'est bien compliqué pour moi et surtout c'est parfaitement immoral lol
Mais je vais regarder et je te tiendrai au courant le cas échéant
#5 Re : -1 » [résolu] Chromium PPA » Le 14/05/2013, à 17:23
- Pierre771
- Réponses : 139
J'ai regardé, j'ai la flemme : trop compliqué.
Il faudrait aussi récupérer le lecteur de PDF (pour achever de faire de Chromium un logiciel propriétaire !)
Comment gères-tu les mises à jour qui, dans Chrome, font partie du paquet-cadeau ? En répétant chaque fois l'opération ?
#6 Re : -1 » [résolu] Chromium PPA » Le 14/05/2013, à 18:08
- Pierre771
- Réponses : 139
Je viens de la tester sous Chromium Windows (test sous Linux suit)
Elle est très différente de Chrome pdf viewer (qui est un plugin) et ne prend pas en charge l'impression d'une page web comme le faisait le plugin : sous Chromium, on a la boîte de dialogue d'impression système.
Clic gauche sur le lien avec ou sans ctrl (changer d'onglet ou pas) exécute la nouvelle extension, clic milieu exécute l'ancien mécanisme (chez moi : le plugin Sumatra)
Chrome: elle est inopérante : l'ancien plugin s'exécute dans tous les cas
#7 Re : -1 » [résolu] Chromium PPA » Le 14/05/2013, à 18:23
- Pierre771
- Réponses : 139
(suite)
sous Linux : Chromium, elle marche dans tous les cas et est utile : rien n'était proposé à part l'enregistrement du fichier. Pas de prise en charge de l'impression
Chrome : elle est inopérante cf plus haut
Elle flique la bande passante.
#8 Re : -1 » [résolu] Chromium PPA » Hier à 15:22
- Pierre771
- Réponses : 139
Bonjour
Il semble même que ce PPA, désormais, ne contient plus que Chromium-Browser
https://launchpad.net/~ubuntu-mozilla-s … rchive/ppa
Et que le Firefox stable "frais" vient du dépôt officiel
https://launchpad.net/ubuntu/+source/firefox
Il y a un PPA officiel pour FF beta
#9 -1 » [Résolu] Signature non valide » Le 17/05/2013, à 06:20
- Pierre771
- Réponses : 2
Bonjour
lors de apt-get update ou de son équivalent graphique (Synaptic)
j'ai ce message :
J'ai essayé de me débrouiller tout seul avec la doc mais je n'y suis par arrivé
Pouvez-vous m'aider svp merci
Lecture des listes de paquets... Fait
W: Erreur de GPG : http://www.openprinting.org lsb3.1 Release : Les signatures suivantes ne sont pas valables : BADSIG 7A4B44C2D2A2203E OpenPrinting (OpenPrinting Test Key) <webmaster@openprinting.org>
pierre@pierre-K73SV:~$ gpg --recv-key D2A2203E
gpg: répertoire « /home/pierre/.gnupg » créé
gpg: nouveau fichier de configuration « /home/pierre/.gnupg/gpg.conf » créé
gpg: Attention : les options de « /home/pierre/.gnupg/gpg.conf » ne sont pas encore actives cette fois
gpg: le porte-clefs « /home/pierre/.gnupg/secring.gpg » a été créé
gpg: le porte-clefs « /home/pierre/.gnupg/pubring.gpg » a été créé
gpg: pas de serveur de clefs connu (utilisez l'option --keyserver)
gpg: échec de réception depuis le serveur de clefs : mauvais URI
pierre@pierre-K73SV:~$ gpg --keyserver wwwkeys.eu.pgp.net --recv-key D2A2203E
gpg: demande de la clef D2A2203E sur le serveur hkp wwwkeys.eu.pgp.net
?: wwwkeys.eu.pgp.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: No such file or directory
gpg: aucune donnée OpenPGP valable n'a été trouvée.
gpg: Quantité totale traitée : 0
pierre@pierre-K73SV:~$ #10 Re : -1 » [Résolu] Signature non valide » Le 17/05/2013, à 06:43
- Pierre771
- Réponses : 2
Merci de ta réponse rapide !
#11 Re : -1 » [Résolu] Ubuntu 13.04 en live USB : noyau corrompu » Le 04/05/2013, à 19:15
- Pierre771
- Réponses : 10
Merci de cette possibilité mais c'est un contournement pour une opération qui n'est pas urgentissime.
Ce que j'aurais voulu comprendre c'est pourquoi l'apparition de ce problème en cours d'essai, non réparable par un nouveau téléchargement et si je suis le seul à qui cela arrive. Il doit y avoir autre chose.
#12 Re : -1 » [Résolu] Ubuntu 13.04 en live USB : noyau corrompu » Le 04/05/2013, à 20:50
- Pierre771
- Réponses : 10
Je réessaierai avec un DVD, je me demande si ce n'est pas Unetbootin le responsable...
#13 Re : -1 » [Résolu] Ubuntu 13.04 en live USB : noyau corrompu » Le 07/05/2013, à 09:45
- Pierre771
- Réponses : 10
Ayé, ça a marché en tâtonnant, ne me demandez pas pourquoi...
J'ai fait l'installation que je voulais (Ubuntu 13.04 Unity)
Merci de votre aide
Reste un jour ou deux pour tout configurer à mon idée
#14 Re : -1 » [Résolu] Ubuntu 13.04 en live USB : noyau corrompu » Le 08/05/2013, à 16:40
- Pierre771
- Réponses : 10
comment installe les driver de la carte réseau
Désolé, ce n'est pas le bon topic. Celui-ci est clos
Tu devrais en créer un.
#15 Re : -1 » [Résolu] Ubuntu 13.04 en live USB : noyau corrompu » Le 14/05/2013, à 09:34
- Pierre771
- Réponses : 10
Par torrent ce n'est pas sur a 100% (en général c'est mieux) c'est pourquoi j'ai demandé pour le MD5 ...
Bonjour et : si.
Ce contrôle est incorporé aux outils Bittorrent
Bonne journée
#16 -1 » [Résolu] Samba et réseau avec une machine Windows » Le 09/05/2013, à 17:05
- Pierre771
- Réponses : 12
Bonsoir
Je voudrais établir un réseau entre ma machine Ubuntu et une autre en Windows et notamment pouvoir imprimer sur mon imprimante depuis la machine Windows (réseau Livebox)
J'ai installé Samba comme indiqué ci-dessous
http://doc.ubuntu-fr.org/samba
J'ai bien déverrouillé ce qu'il fallait dans le pare-feu (ufw-gufw) et il y a du trafic samba
Mais ma machine Ubuntu est toujours invisible depuis la machine Windows et chez moi je n'obtiens pas l'écran réseau annoncé dans la doc (cf ci-dessous : l'écran réseau est un écran minimum sur le connexion filaire ou wifi)
J'avais pourtant réussi la manip en KDE sur Kubuntu il y a un an
Pourriez-vous m'aider svp merci
#17 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 09/05/2013, à 19:03
- Pierre771
- Réponses : 12
Bonsoir et merci de ta réponse
Voili-voilou
La machine claude-vaio apparaît bien
pierre@pierre-K73SV:~$ cat /etc/lsb-release && uname -r -m
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
3.8.0-19-generic x86_64
pierre@pierre-K73SV:~$
pierre@pierre-K73SV:~$ cat /etc/samba/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
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= Global Settings =======================
[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
# 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 = true
# 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
#======================= 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 director 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
# The following parameter makes sure that only "username" can connect
#
# 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
writeable = 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
# 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
pierre@pierre-K73SV:~$ sudo smbtree
[sudo] password for pierre:
Enter root's password:
WORKGROUP
\\CLAUDE-VAIO
pierre@pierre-K73SV:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
read only = No
guest ok = Yes
pierre@pierre-K73SV:~$ groups pierre
pierre : pierre adm cdrom sudo dip plugdev lpadmin netdev sambashare bumblebee
pierre@pierre-K73SV:~$ sudo ufw status
État : actif
Vers Action Depuis
---- ------ ------
Samba ALLOW Anywhere
49862/udp ALLOW Anywhere
5353/udp ALLOW Anywhere
64220/udp ALLOW Anywhere
68/udp ALLOW Anywhere
43092/udp ALLOW Anywhere
55269/udp ALLOW Anywhere
Samba (v6) ALLOW Anywhere (v6)
49862/udp ALLOW Anywhere (v6)
5353/udp ALLOW Anywhere (v6)
64220/udp ALLOW Anywhere (v6)
68/udp ALLOW Anywhere (v6)
43092/udp ALLOW Anywhere (v6)
55269/udp ALLOW Anywhere (v6)
pierre@pierre-K73SV:~$ Voici le ping de Ubuntu vers Windows
pierre@pierre-K73SV:~$ ping claude-vaio
PING claude-vaio.home (192.168.1.12) 56(84) bytes of data.
64 bytes from Claude-VAIO.home (192.168.1.12): icmp_req=1 ttl=128 time=0.614 ms
64 bytes from Claude-VAIO.home (192.168.1.12): icmp_req=2 ttl=128 time=0.617 ms
64 bytes from Claude-VAIO.home (192.168.1.12): icmp_req=3 ttl=128 time=0.685 ms
64 bytes from Claude-VAIO.home (192.168.1.12): icmp_req=4 ttl=128 time=0.734 ms
64 bytes from Claude-VAIO.home (192.168.1.12): icmp_req=5 ttl=128 time=0.663 msEt voici maintenant le ping de Windows vers Ubuntu et la copie d'écran du réseau vu de Windows
PS le pare-feu Windows est actif (c'est le pare-feu Windows). Je n'ai jamais eu besoin d'y toucher...
#18 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 09/05/2013, à 21:01
- Pierre771
- Réponses : 12
Merci, je verrai ça demain et je te tiendrai au courant.
ipconfig il n'a pas trouvé
J'avais fait un tel réseau en Kubuntu (kde) mais j'avais un peu oublié
Je n'ai jamais eu à toucher au pare-feu Windows (il se règle tout seul)
#19 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 10/05/2013, à 08:50
- Pierre771
- Réponses : 12
Bonjour
Il y a un progrès : j'ai la visibilité sur le réseau Workgroup et sur la machine Windows claude-vaio non pas depuis l'écran réseau qui a dû changer depuis la rédaction de la doc mais depuis le gestionnaire de fichiers "fichiers"/files, ex-Nautilus, je suppose. J'ai accès à tous les fichiers de la machine en saisissant le code utilisateur + mdp
Par contre toujours rien depuis la machine Windows (ni visibilité ni impression). J'ai bien regardé en détail pour le cas où ça viendrait de lui, le pare-feu Windows, extrêmement complet et compliqué, qui est censé signaler quand il bloque quelque chose et une fois de plus, lors de mon utilisation de Kubuntu, "avant ça marchait", comme disent toujours les utilisateurs ! Tout a l'air normal.
Voici l'état actuel de mon smb.conf
Merci de ton aide
#
# 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
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= Global Settings =======================
[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
# 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
security = share
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# 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
#======================= 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 director 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
# The following parameter makes sure that only "username" can connect
#
# 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
writeable = 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
# 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#20 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 10/05/2013, à 19:03
- Pierre771
- Réponses : 12
Je ne comprends pas : que faut-il donc lui déclarer ??
La machine Windows, elle, est non seulement visible depuis la machine Ubuntu mais je peux ouvrir tous les dossiers et tous les fichiers !
Dans ma précédente installation (où ça marchait), on voyait depuis la machine Windows claude-vaio la machine linux (Kubuntu à l'époque) pierre-K73SV et on pouvait aller chercher l'imprimante et imprimer (but de la manip). Par contre on ne pouvait pas voir les dossiers et les fichiers, ce qui est normal, Windows ne sachant pas lire le système de fichiers EXT4.
L'imprimante, je l'ai précisé plus haut mais ce n'est peut-être pas clair, est connectée à la machine où il y a Ubuntu (en usb).
#21 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 11/05/2013, à 10:47
- Pierre771
- Réponses : 12
Voici net config workstation
et la commande demandée sur Linux
pierre@pierre-K73SV:~$ ipconfig /all
Commande 'ipconfig' non trouvée, vouliez-vous dire :
La commande 'iwconfig' du paquet 'wireless-tools' (main)
La commande 'ifconfig' du paquet 'net-tools' (main)
La commande 'tpconfig' du paquet 'tpconfig' (universe)
ipconfig : commande introuvable
pierre@pierre-K73SV:~$ ifconfig /all
/all: erreur lors de la recherche d'infos sur l'interface: Périphérique non trouvé
pierre@pierre-K73SV:~$ iwconfig /all
/all No such device
pierre@pierre-K73SV:~$ tpconfig /all
Le programme 'tpconfig' n'est pas encore installé. Vous pouvez l'installer en tapant :
sudo apt-get install tpconfig
pierre@pierre-K73SV:~$ sudo apt-get install tpconfig
[sudo] password for pierre:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
tpconfig
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 66,2 ko dans les archives.
Après cette opération, 169 ko d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ raring/universe tpconfig amd64 3.1.3-15 [66,2 kB]
66,2 ko réceptionnés en 0s (178 ko/s)
Préconfiguration des paquets...
Sélection du paquet tpconfig précédemment désélectionné.
(Lecture de la base de données... 167983 fichiers et répertoires déjà installés.)
Dépaquetage de tpconfig (à partir de .../tpconfig_3.1.3-15_amd64.deb) ...
Traitement des actions différées (« triggers ») pour « ureadahead »...
ureadahead will be reprofiled on next reboot
Traitement des actions différées (« triggers ») pour « man-db »...
Paramétrage de tpconfig (3.1.3-15) ...
update-rc.d: warning: tpconfig stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
Traitement des actions différées (« triggers ») pour « ureadahead »...
pierre@pierre-K73SV:~$ tpconfig /all
Could not open PS/2 Port [/dev/psaux].
pierre@pierre-K73SV:~$ #22 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 11/05/2013, à 16:07
- Pierre771
- Réponses : 12
Ayé, c'est bon pour l'imprimante !! (fallait (ré)installer le pilote à partir du CD-rom sur la machine Windows)
Reste le "mot de passe réseau" dans Windows pour la machine linux
On avance : les deux machines sont désormais visibles de chacune d'entre elles et j'ai même eu la surprise de pouvoir lire tous mes fichiers Linux (ceux de /home) depuis "réseau" de la machine Windows. Seul défaut : sur le poste Windows je ne m'en sors pas avec le code utilisateur et le mot de passe (il me sort le mot de passe en erreur quoi que je fasse) et pour pouvoir accéder il faut rendre la machine Linux visible de tous les utilisateurs.
J'ai utilisé le configurateur graphique de Samba proposé quand on tape samba dans les applications Unity.
Comme code utilisateur Samba (avahi) j'ai mis pierre + le même mot de passe que pour l'utilisateur Ubuntu
Quand je tape pierre + mdp sur Windows, il me jette, cf copies d"écran.
C'est un peu du fignolage mais comme j'y ai passé des plombes, ce serait dommage de laisser traîner une erreur.
Je ne sais pas ce que fabrique ce configurateur graphique.
Au cas où il écrirait dans smb.conf, le voici ci-dessous
PS C'est curieux parce qu'en KDE j'avais eu beaucoup moins de pb
#
# 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
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= Global Settings =======================
[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
# 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
security = share
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# 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
#======================= 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 director 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
# The following parameter makes sure that only "username" can connect
#
# 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
writeable = 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
# 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
[Machine Linux]
comment = Visibilité Ubuntu depuis Windows
path = /home
; writeable = no
; browseable = yes
guest ok = yes #23 Re : -1 » [Résolu] Samba et réseau avec une machine Windows » Le 11/05/2013, à 20:44
- Pierre771
- Réponses : 12
Ayé, entièrement résolu
J'ai créé dans Samba un nouvel utilisateur pierre (et non pas avahi), pierre, <mdp>
Et j'ai appelé avec succès pierre, <mdp> dans la machine Windows : visibilité sur mon /home.
Résumé : j'ai utilisé l'interface graphique au lieu de m'user les nerfs sur smb.conf (très mal vu, je sais mais efficace !)
Merci de ton aide
#24 Re : -1 » [Clos] Kubuntu 13.04 Horloge qui se dérègle et se met à l'heure univ » Le 12/05/2013, à 08:35
- Pierre771
- Réponses : 8
Clos : j'ai abandonné Kubuntu au profit de Ubuntu