Après plusieurs recherches dans la documentation anglaise de samba ( dommage qu'il n'y est pas de documentation française :/ ) et sur google, je ne trouve pas de solution à mon problème, de ce fait je poste ici.
En effet, j'ai configuré samba pour permettre un partage de disque dur de donnée, mais celui-ci n'est visible sur mon mac que lorsque j'effectue un restart du daemon samba.
quelques infos utiles :
Code : Tout sélectionner
#======================= Global Settings =====================================
23 [global]
24 usershare allow guests = yes
25 map to guest = bad user
27 workgroup = MAISON
30 server string = Samba Server
42 hosts allow = 192.168.1. 192.168.2. 127.
dns proxy = no
161 #============================ Share Definitions ==============================
162 [Network-home]
164 path = /media/data
165 available = yes
166 browseable = yes
167 public = yes
168 writable = no
rc.conf ( au cas ou ) :
Code : Tout sélectionner
1 #
2 # /etc/rc.conf - Main Configuration for Arch Linux
3 #
4
5 # -----------------------------------------------------------------------
6 # LOCALIZATION
7 # -----------------------------------------------------------------------
8 #
9 # LOCALE: available languages can be listed with the 'locale -a' command
10 # HARDWARECLOCK: set to "UTC" or "localtime"
11 # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
12 # TIMEZONE: timezones are found in /usr/share/zoneinfo
13 # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
14 # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
15 # CONSOLEMAP: found in /usr/share/kbd/consoletrans
16 # USECOLOR: use ANSI color sequences in startup messages
17 #
18 LOCALE="fr_FR.utf8"
19 HARDWARECLOCK="UTC"
20 USEDIRECTISA="no"
21 TIMEZONE="Europe/Paris"
22 KEYMAP="fr"
23 CONSOLEFONT="ter-v16b"
24 CONSOLEMAP=
25 USECOLOR="yes"
26
27 # -----------------------------------------------------------------------
28 # HARDWARE
29 # -----------------------------------------------------------------------
30 #
31 # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
32 # MOD_BLACKLIST: Prevent udev from loading these modules
33 # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
34 #
35 # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
36 #
37 MOD_AUTOLOAD="yes"
38 #MOD_BLACKLIST=() #deprecated
39 MODULES=()
40
41 # Scan for LVM volume groups at startup, required if you use LVM
42 USELVM="no"
43
44 # -----------------------------------------------------------------------
45 # NETWORKING
46 # -----------------------------------------------------------------------
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
49 #
50 HOSTNAME="compizbox"
51
52 # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
53 #
54 # Interfaces to start at boot-up (in this order)
55 # Declare each interface then list in INTERFACES
56 # - prefix an entry in INTERFACES with a ! to disable it
57 # - no hyphens in your interface names - Bash doesn't like it
58 #
59 # DHCP: Set your interface to "dhcp" (eth0="dhcp")
60 # Wireless: See network profiles below
61 #
62
63 #Static IP example
64 #eth0="dhcp"
65 eth0="dhcp"
66 INTERFACES=(eth0)
67
68 # Routes to start at boot-up (in this order)
69 # Declare each route then list in ROUTES
70 # - prefix an entry in ROUTES with a ! to disable it
71 #
72 gateway="default gw 192.168.0.1"
73 ROUTES=(!gateway)
74
75 # Enable these network profiles at boot-up. These are only useful
76 # if you happen to need multiple network configurations (ie, laptop users)
77 # - set to 'menu' to present a menu during boot-up (dialog package required)
78 # - prefix an entry with a ! to disable it
79 #
80 # Network profiles are found in /etc/network.d
81 #
82 # This now requires the netcfg package
83 #
84 #NETWORKS=(main)
85
86 # -----------------------------------------------------------------------
87 # DAEMONS
88 # -----------------------------------------------------------------------
89 #
90 # Daemons to start at boot-up (in this order)
91 # - prefix a daemon with a ! to disable it
# -----------------------------------------------------------------------
87 # DAEMONS
88 # -----------------------------------------------------------------------
89 #
90 # Daemons to start at boot-up (in this order)
91 # - prefix a daemon with a ! to disable it
92 # - prefix a daemon with a @ to start it up in the background
93 #
94 DAEMONS=(syslog-ng hal @network @netfs @slim @sensors @alsa @sshd @gpm @fam @vboxdrv @cups samba)
Un nouveau utilisateur d'arch
