Samba - Partage

samedi 29 août 2015

Bonjour à tous,

Je rencontre quelques soucis avec mon partage de fichier. Je n'ai plus d'idée et de piste... donc je viens vers vous.

J'ai deux hdd que je monte respectivement dans /mnt/HddData01 et /mnt/HddData02 via mon fstab

Fichier fstab


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=9385690e-bc09-45cf-be3f-2f5d8a6b12de /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda2 during installation
UUID=ca82b1e6-60cc-4fa9-b97f-08423c96cd78 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=ce7bbd30-c531-4546-8bdb-41a252391ff3 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0

#HomeServer01
UUID=723a6b3a-cc1e-4c50-a839-feeb2e6c998d /mnt/HddData01  ext4 defaults 0 2
UUID=c077ae5a-2480-474a-85ae-d207334b4d9d /mnt/HddData02  ext4 defaults 0 2
 

Voici mon fichier smb.conf


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

[global]

workgroup = WORKGROUP
netbios name = HomeServer01
server string = serveur HomeServer01

log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
log level = 0

security = user
#encrypt passwords = true
#unix password sync = no

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

[HddData01]
comment = HddData01
path = /mnt/HddData01
browseable = yes
public = no
writeable = yes
valid users = phoenix

[HddData02]
comment = HddData02
path = /mnt/HddData02
browseable = yes
public = no
writeable = yes
valid users = phoenix
 

Voici le retour de la commande ls -l


root@http://HomeServer01:/home/phoenix/Téléchargements# ls -l /mnt
total 8
drwxrwxr-x 12 phoenix phoenix 4096 aoû 29 00:31 HddData01
drwxrwxr-x  7 phoenix phoenix 4096 aoû 29 00:33 HddData02
 

Voici le status du service samba


root@http://HomeServer01:/home/phoenix/Téléchargements# /etc/init.d/samba status
? nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
   Loaded: loaded (/etc/init.d/nmbd)
   Active: active (exited) since sam 2015-08-29 15:15:29 CEST; 2min 40s ago
  Process: 1922 ExecStop=/etc/init.d/nmbd stop (code=exited, status=0/SUCCESS)
  Process: 1926 ExecStart=/etc/init.d/nmbd start (code=exited, status=0/SUCCESS)

aoû 29 15:15:29 HomeServer01 nmbd[1926]: Starting NetBIOS name server: nmbd
aoû 29 15:15:29 HomeServer01 nmbd[1926]: Warning: Fake start-stop-daemon ca....
aoû 29 15:15:29 HomeServer01 nmbd[1926]: .
Hint: Some lines were ellipsized, use -l to show in full.
? smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
   Loaded: loaded (/etc/init.d/smbd)
   Active: active (exited) since sam 2015-08-29 15:15:30 CEST; 2min 39s ago
  Process: 1966 ExecStop=/etc/init.d/smbd stop (code=exited, status=0/SUCCESS)
  Process: 1971 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)

aoû 29 15:15:30 HomeServer01 smbd[1971]: Starting SMB/CIFS daemon: smbd
aoû 29 15:15:30 HomeServer01 smbd[1971]: Warning: Fake start-stop-daemon ca....
aoû 29 15:15:30 HomeServer01 smbd[1971]: .
Hint: Some lines were ellipsized, use -l to show in full.
 

Rien à faire, que ce soit sous windows ou sur mon autre pc sous debian, pas moyen de voir le partage.

Je vous remercie de votre aide,
Ness



Samba - Partage

0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor