Première install Samba

Salut me revoila,

Je fais suite à ce sujet : http://www.debian-fr.org/soucis-mdadm-t42438.html
Je n’ai finalement rien obtenu de satisfaisant avec Ubuntu et Xubuntu, peut d’aide sur le forum dédié et encore moins, enfin du moins bien ficelé pour le débutant que je suis sur le web.

J’ai donc installé Debian, c’est ma première :mrgreen:

Pas de soucis pour le raid ca roule comme sur des roulettes/
Mais maintenant je m’attelle à samba.
J’ai suivi ce tuto : https://www.debian-fr.org/partages-de-fichiers-t19993.html?hilit=samba

Et bien sûr ca ne marche pas :038

Lorsque je vais dans réseau du w7 il voit bien ma machine Debian mais lorsque je double clic il dit :
Windows ne peut pas accéder à \nom_de_ma_Debian

Lorsque je tape l’ip de ma Debian dans exécuter de w7 :
Windows ne peut pas accéder à \x.x.x.15

Le fichier de config de samba est long comme le bras. Je n’y est apporté que les modifs demandées dans le tuto. Je pense qu’il y a autre chose à faire.

Poste ton smb.conf si tu veux que l’on puisse t’aider.
Vérifie que les chemins des dossiers soient correct, vérifie les autrorisations…

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

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

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

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

[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 = no

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.

The following parameter makes sure that only “username” can connect

to \server\username

This might need tweaking when using external authentication schemes

valid users = %S

Un-comment the following and create the netlogon directory for Domain Logons

(you need to configure Samba to act as a domain controller too.)

;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes

Un-comment the following and create the profiles directory to store

users profiles (see the “logon path” option above)

(you need to configure Samba to act as a domain controller too.)

The path below should be writable by all users so that their

profile directory may be created the first time they log on

;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

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

[Partages]
comment = All Partages
browseable = yes
path = /home/pierre/bureau/partage_testraid

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

Il y a plusieurs lignes qui m’inspirent. Mais je ne veux pas mettre la pagaille.
Il y a n autre point que je trouve étrange, c’est l’ip de la Debian.
J’ai fais ifconfig pour la connaître et elle est de forme : 10.0.6.15.

Bon je dois pas être doué.
J’ai voulu faire des essais dans le smb.conf mais avant j’ai copié le fichier sur le bureau pour sauvegarde.

Depuis le bureau graphique je n’arrive pas editer le dossier /samba/, depuis la console en route pas mieux.
Je n’arrive pas à me placer sur le bureau il me dit que le dossier ou le fichier n’existe pas.
Je procède comme suit :

cd /home/pierre/bureau

Si je fais :

cp /home/pierre/bureau/smb.conf /etc/samba

Ne va pas non plus. :013

que donne :

$ ls -rtl /home/pierre
$ ls -rtl /home/pierre/bureau
$ ls -rtl /etc

root@pierre:/etc# ls -rtl /home/pierre total 32 drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Vidéos drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Téléchargements drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Public drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Musique drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Modèles drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Images drwxr-xr-x 2 pierre pierre 4096 27 févr. 22:08 Documents drwxr-xr-x 3 pierre pierre 4096 1 mars 09:07 Bureau root@pierre:/etc# ls -rtl /home/pierre/bureau ls: impossible d'accéder à /home/pierre/bureau: Aucun fichier ou dossier de ce type root@pierre:/etc# ls -rtl /etc total 1116 -rw-r--r-- 1 root root 9 7 août 2006 host.conf -rw-r--r-- 1 root root 10852 4 avril 2007 gnome-vfs-mime-magic -rw-r--r-- 1 root root 1260 30 mai 2008 ucf.conf -rw-r--r-- 1 root root 599 19 févr. 2009 logrotate.conf -rw-r--r-- 1 root root 645 25 mars 2009 ts.conf -rw-r--r-- 1 root root 1180 23 avril 2009 kerneloops.conf -rw-r--r-- 1 root root 899 31 août 2009 gssapi_mech.conf -rw-r--r-- 1 root root 395 1 nov. 2009 anacrontab -rw-r--r-- 1 root root 274 4 nov. 2009 updatedb.conf -rw-r--r-- 1 root root 22275 8 déc. 2009 mime.types -rw-r--r-- 1 root root 449 8 déc. 2009 mailcap.order -rw-r--r-- 1 root root 624 15 févr. 2010 mtools.conf -rw-r--r-- 1 root root 2082 25 févr. 2010 sysctl.conf -rw-r--r-- 1 root root 125 14 mars 2010 mail.rc -rw-r--r-- 1 root root 1657 10 avril 2010 bash.bashrc -rw-r--r-- 1 root root 8453 15 avril 2010 nanorc drwxr-xr-x 2 root root 4096 24 avril 2010 libpaper.d -rw-r--r-- 1 root root 882 7 mai 2010 insserv.conf -rw-r--r-- 1 root root 8596 26 mai 2010 sensors3.conf -rw-r--r-- 1 root root 1721 30 mai 2010 inputrc -rw-r--r-- 1 root root 191 18 juin 2010 libaudit.conf -rw-r--r-- 1 root root 823 6 août 2010 profile -rw-r--r-- 1 root root 2724 7 août 2010 reportbug.conf -rw-r--r-- 1 root root 26 14 août 2010 libao.conf -rw-r--r-- 1 root root 145 26 août 2010 idmapd.conf -rw-r--r-- 1 root root 4496 5 sept. 2010 wgetrc -rw-r----- 1 root fuse 216 18 sept. 2010 fuse.conf -rwxr-xr-x 1 root root 268 22 sept. 2010 rmt -rw-r--r-- 1 root root 4794 30 sept. 2010 hdparm.conf -rw-r--r-- 1 root root 571 11 nov. 2010 usb_modeswitch.conf -rw-r--r-- 1 root root 57063 16 nov. 2010 bash_completion -rw-r--r-- 1 root root 600 21 nov. 2010 deluser.conf -rw-r--r-- 1 root root 2572 30 nov. 2010 rsyslog.conf drwxr-xr-x 2 root root 4096 30 nov. 2010 rsyslog.d -rw-r--r-- 1 root root 346 5 déc. 2010 discover-modprobe.conf drwxr-xr-x 2 root root 4096 9 déc. 2010 update-notifier -rw-r--r-- 1 root root 724 19 déc. 2010 crontab -rw-r--r-- 1 root root 5173 3 janv. 2011 manpath.config drwxr-xr-x 2 root root 4096 11 janv. 2011 lsb-base -rw-r--r-- 1 root root 19666 19 janv. 2011 services -rw-r--r-- 1 root root 887 19 janv. 2011 rpc -rw-r--r-- 1 root root 2859 19 janv. 2011 protocols -rw-r--r-- 1 root root 2969 30 janv. 2011 debconf.conf -rw-r--r-- 1 root root 3828 15 févr. 2011 securetty -rw-r--r-- 1 root root 10183 15 févr. 2011 login.defs -rw-r--r-- 1 root root 801 18 juin 2011 mke2fs.conf -rw-r--r-- 1 root root 552 17 oct. 2011 pam.conf -rw-r--r-- 1 root root 4636 19 déc. 2011 Muttrc -rw-r--r-- 1 root root 111 4 mars 2012 magic.mime -rw-r--r-- 1 root root 111 4 mars 2012 magic -rw-r----- 1 root daemon 144 4 mars 2012 at.deny -rw-r--r-- 1 root root 4966 17 mars 2012 gnashrc -rw-r--r-- 1 root root 580 17 mars 2012 gnashpluginrc -rw-r--r-- 1 root root 2008 27 mars 2012 inittab -rw-r--r-- 1 root root 2570 6 juin 2012 locale.alias -rw-r--r-- 1 root root 344 8 juin 2012 bindresvport.blacklist -rw-r--r-- 1 root root 2940 8 juin 2012 gai.conf -rw-r--r-- 1 root root 312 25 oct. 20:10 email-addresses -rw-r--r-- 1 root root 7439 5 déc. 12:21 bogofilter.cf -rw-r--r-- 1 root root 6 14 févr. 11:00 debian_version -rw-r--r-- 1 root root 21 18 févr. 21:54 issue.net -rw-r--r-- 1 root root 28 18 févr. 21:54 issue -rw-r--r-- 1 root root 730 27 févr. 19:58 fstab drwxr-xr-x 3 root root 4096 27 févr. 19:59 insserv drwxr-xr-x 2 root root 4096 27 févr. 19:59 opt -rw-r--r-- 1 root root 34 27 févr. 19:59 ld.so.conf drwxr-xr-x 2 root root 4096 27 févr. 19:59 terminfo drwxr-xr-x 2 root root 4096 27 févr. 19:59 ld.so.conf.d drwxr-xr-x 4 root root 4096 27 févr. 19:59 dpkg -rw-r--r-- 1 root root 165 27 févr. 19:59 shells drwxr-xr-x 4 root root 4096 27 févr. 19:59 security -rw-r--r-- 1 root root 0 27 févr. 19:59 environment -rwxr-xr-x 1 root root 306 27 févr. 19:59 rc.local -rw-r--r-- 1 root root 286 27 févr. 19:59 motd.tail lrwxrwxrwx 1 root root 13 27 févr. 19:59 motd -> /var/run/motd drwxr-xr-x 3 root root 4096 27 févr. 19:59 logcheck -rw-r--r-- 1 root root 60 27 févr. 19:59 networks drwxr-xr-x 2 root root 4096 27 févr. 19:59 iproute2 drwxr-xr-x 2 root root 4096 27 févr. 19:59 groff drwxr-xr-x 2 root root 4096 27 févr. 19:59 cron.hourly drwxr-xr-x 2 root root 4096 27 févr. 19:59 calendar -rw-r--r-- 1 root root 2981 27 févr. 19:59 adduser.conf drwxr-xr-x 2 root root 4096 27 févr. 19:59 vim drwxr-xr-x 4 root root 4096 27 févr. 19:59 dhcp drwxr-xr-x 2 root root 4096 27 févr. 19:59 sysctl.d -rw-r--r-- 1 root root 221 27 févr. 20:00 hosts -rw-r--r-- 1 root root 7 27 févr. 20:00 hostname -rw-r--r-- 1 root root 8460 27 févr. 20:00 locale.gen -rw-r--r-- 1 root root 13 27 févr. 20:00 timezone -rw-r--r-- 1 root root 253 27 févr. 20:00 modules -rw-r--r-- 1 root root 2945 27 févr. 20:00 localtime drwxr-xr-x 2 root root 4096 27 févr. 20:00 kbd drwxr-xr-x 2 root root 4096 27 févr. 20:00 console-setup drwxr-xr-x 5 root root 4096 27 févr. 20:00 initramfs-tools drwxr-xr-x 3 root root 4096 27 févr. 20:00 acpi drwxr-xr-x 2 root root 4096 27 févr. 20:20 discover.conf.d drwxr-xr-x 6 root root 4096 27 févr. 20:22 kernel drwxr-xr-x 2 root root 4096 27 févr. 20:22 menu drwxr-xr-x 3 root root 4096 27 févr. 20:22 dkms drwxr-xr-x 4 root root 4096 27 févr. 21:29 perl drwxr-xr-x 5 root root 4096 27 févr. 21:29 gconf drwxr-xr-x 3 root root 4096 27 févr. 21:30 ca-certificates drwxr-xr-x 4 root root 4096 27 févr. 21:31 fonts drwxr-xr-x 4 root root 4096 27 févr. 21:31 ssl drwxr-xr-x 2 root root 4096 27 févr. 21:31 ldap -rw-r--r-- 1 root root 6302 27 févr. 21:31 ca-certificates.conf drwxr-xr-x 2 root root 4096 27 févr. 21:31 pango drwxr-xr-x 2 root root 4096 27 févr. 21:31 python2.6 drwxr-xr-x 2 root root 4096 27 févr. 21:31 gtk-2.0 drwxr-xr-x 2 root root 4096 27 févr. 21:31 python drwxr-xr-x 3 root root 4096 27 févr. 21:31 texmf drwxr-xr-x 6 root root 4096 27 févr. 21:31 apm drwxr-xr-x 2 root root 4096 27 févr. 21:31 openoffice drwxr-xr-x 3 root root 4096 27 févr. 21:31 emacs drwxr-xr-x 3 root root 4096 27 févr. 21:31 resolvconf drwxr-xr-x 5 root root 4096 27 févr. 21:32 ConsoleKit drwxr-xr-x 4 root root 4096 27 févr. 21:32 ghostscript drwxr-xr-x 3 root root 4096 27 févr. 21:32 gnome-vfs-2.0 drwxr-xr-x 3 root root 4096 27 févr. 21:32 sound drwxr-xr-x 5 root root 4096 27 févr. 21:33 polkit-1 drwxr-xr-x 3 root root 4096 27 févr. 21:33 gimp drwxr-xr-x 3 root root 4096 27 févr. 21:34 apache2 drwxr-xr-x 3 root root 4096 27 févr. 21:36 ifplugd drwxr-xr-x 5 root root 4096 27 févr. 21:36 pm drwxr-xr-x 4 root root 4096 27 févr. 21:37 defoma drwxr-xr-x 4 root root 4096 27 févr. 21:37 dbus-1 drwxr-xr-x 3 root root 4096 27 févr. 21:37 foomatic drwxr-xr-x 6 root root 4096 27 févr. 21:38 apt drwxr-xr-x 2 root root 4096 27 févr. 21:38 profile.d -rw-r--r-- 1 root root 7 27 févr. 21:38 mailname drwxr-xr-x 3 root root 4096 27 févr. 21:38 exim4 -rw-r--r-- 1 root root 198 27 févr. 21:38 aliases drwxr-xr-x 2 root root 4096 27 févr. 21:38 Muttrc.d -rw-r--r-- 1 root root 880 27 févr. 21:38 hosts.deny -rw-r--r-- 1 root root 580 27 févr. 21:38 hosts.allow drwxr-xr-x 2 root root 4096 27 févr. 21:38 ssh drwxr-xr-x 2 root root 4096 27 févr. 21:38 w3m drwxr-xr-x 2 root root 4096 27 févr. 21:38 cron.monthly drwxr-xr-x 2 root root 4096 27 févr. 21:38 cron.d drwxr-xr-x 2 root root 4096 27 févr. 21:38 bonobo-activation drwxr-xr-x 3 root root 4096 27 févr. 21:38 avahi drwxr-xr-x 2 root root 4096 27 févr. 21:38 bluetooth drwxr-xr-x 2 root root 4096 27 févr. 21:38 vga drwxr-xr-x 3 root root 4096 27 févr. 21:38 java -rw-r--r-- 1 root root 3 27 févr. 21:38 papersize drwxr-xr-x 4 root lp 4096 27 févr. 21:38 cups drwxr-xr-x 2 root root 4096 27 févr. 21:38 esound drwxr-xr-x 2 root root 4096 27 févr. 21:38 wildmidi drwxr-xr-x 2 root root 4096 27 févr. 21:38 timidity drwxr-xr-x 2 root root 4096 27 févr. 21:38 UPower drwxr-xr-x 2 root root 4096 27 févr. 21:38 sudoers.d -r--r----- 1 root root 491 27 févr. 21:38 sudoers drwxr-xr-x 3 root root 4096 27 févr. 21:38 sgml drwxr-xr-x 4 root root 4096 27 févr. 21:38 gnome drwxr-xr-x 2 root root 4096 27 févr. 21:38 insserv.conf.d drwxr-xr-x 6 root root 4096 27 févr. 21:38 gdm3 drwxr-xr-x 2 root root 4096 27 févr. 21:38 gre.d drwxr-xr-x 4 root root 4096 27 févr. 21:38 iceweasel drwxr-xr-x 2 root root 4096 27 févr. 21:39 pulse drwxr-xr-x 2 root root 4096 27 févr. 21:39 obex-data-server drwxr-xr-x 2 root root 4096 27 févr. 21:39 gnome-system-tools drwxr-xr-x 4 root root 4096 27 févr. 21:39 xdg drwxr-xr-x 4 root root 4096 27 févr. 21:39 udev drwxr-xr-x 2 root root 4096 27 févr. 21:39 snmp drwxr-xr-x 2 root root 4096 27 févr. 21:39 sensors.d -rw-r--r-- 1 root root 513 27 févr. 21:39 nsswitch.conf drwxr-xr-x 10 root root 4096 27 févr. 21:39 X11 drwxr-xr-x 2 root root 4096 27 févr. 21:39 wpa_supplicant drwxr-xr-x 4 root root 4096 27 févr. 21:39 NetworkManager drwxr-xr-x 7 root root 4096 27 févr. 21:39 network -rw-r--r-- 1 root root 7649 27 févr. 21:39 pnm2ppa.conf drwxr-xr-x 7 root root 4096 27 févr. 21:39 ppp drwxr-s--- 2 root dip 4096 27 févr. 21:39 chatscripts drwxr-xr-x 3 root root 4096 27 févr. 21:39 sane.d drwxr-xr-x 2 root root 4096 27 févr. 21:39 modprobe.d drwxr-xr-x 2 root root 4096 27 févr. 21:39 xml drwxr-xr-x 2 root root 4096 27 févr. 21:39 rcS.d drwxr-xr-x 2 root root 12288 27 févr. 21:39 usb_modeswitch.d drwxr-xr-x 2 root root 4096 27 févr. 21:39 menu-methods -rw-r--r-- 1 root root 25656 27 févr. 21:39 mailcap drwxr-xr-x 2 root root 4096 27 févr. 21:39 hp drwxr-xr-x 2 root root 4096 27 févr. 21:39 cron.weekly drwxr-xr-x 2 root root 12288 27 févr. 21:39 bash_completion.d drwxr-xr-x 2 root root 4096 27 févr. 21:40 dictionaries-common drwxr-xr-x 4 root root 4096 27 févr. 21:40 mono -rw-r--r-- 1 root root 60382 27 févr. 21:40 ld.so.cache drwxr-xr-x 2 root root 4096 27 févr. 21:41 grub.d -rw-r--r-- 1 root root 144 27 févr. 22:06 kernel-img.conf -rw------- 1 root root 959 27 févr. 22:06 shadow- drwxr-xr-x 3 root root 4096 27 févr. 22:22 dhcp3 drwxr-xr-x 2 root root 4096 27 févr. 22:22 pam.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 logrotate.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 init.d -rw------- 1 root root 654 27 févr. 22:22 gshadow- -rw------- 1 root root 781 27 févr. 22:22 group- drwxr-xr-x 3 root root 4096 27 févr. 22:22 default drwxr-xr-x 2 root root 4096 27 févr. 22:22 cron.daily drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc6.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc5.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc4.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc3.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc2.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc1.d drwxr-xr-x 2 root root 4096 27 févr. 22:22 rc0.d drwxr-xr-x 2 root root 4096 27 févr. 22:23 alternatives -rw-r----- 1 root shadow 663 27 févr. 22:30 gshadow -rw-r--r-- 1 root root 794 27 févr. 22:30 group -rw------- 1 root root 1289 27 févr. 22:30 passwd- -rw-r----- 1 root shadow 1082 27 févr. 22:31 shadow -rw-r--r-- 1 root root 1298 27 févr. 22:31 passwd drwxr-xr-x 2 root root 4096 28 févr. 19:11 skel drwxr-xr-x 2 root root 4096 1 mars 11:43 samba -rw-r--r-- 1 root root 44 1 mars 16:45 adjtime -rw-r--r-- 1 root root 435 1 mars 16:45 mtab -rw-r--r-- 1 root root 55 1 mars 16:45 resolv.conf root@pierre:/etc#

Du coup est-ce que tu as compris que Bureau il y a un ‘B’ majuscule ? En général après s’être bouffé les doigts pendant des heures, même avec les moignons on tape la majuscule :wink:

:laughing: Ah bordel le boulet
Bon ca va faire avancer le schmilblik :astonished:ups:

au lieu de mettre :

[quote=“clibanarius”][Partages]
comment = All Partages
browseable = yes
path = /home/pierre/bureau/partage_testraid[/quote]

Essai de mettre :

[Partages] comment = All Partages path = /home/pierre/Bureau/partage_testraid browseable = yes read only = no valid users = pierre

Ensuite décommente la ligne :

security = user

Cette ligne permet de s’identifier sur le partage…sinon, si tu veux un partage sans authentification il faut ajouter usershare allow guests = yes et mettre au niveau de ton partage :

[Partages] comment = All Partages path = /home/pierre/Bureau/partage_testraid browseable = yes read only = no guest ok = yes

Tu peux aussi commenter les lignes :

[homes]
comment = Home Directories
browseable = no
...
read only = no
...
create mask = 0700
...
directory mask = 0700
...
valid users = %S
...

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
...
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

Ce sont les partages par défaut. Si tu ne les utilise pas, alors n’hésite pas : commente les !

A tu pensé à créer les utilisateur samba avecla commande :

sans oublier un :

pour voir si le fichier de conf est bon.