Bonjour,
Depuis mon souci de perte de connexion décrit dans
ce topic je n'arrive plus a me connecter au lecteur Samba, tout fonctionnait pourtant très bien avant.
Voici mon fichier /etc/samba/smb.conf :
1 [global]
2
3 # Do something sensible when Samba crashes: mail the admin a backtrace
4 admin users = root
5 panic action = /usr/share/samba/panic-action %d
6 workgroup = SAMBA
7 realm = SAMBA
8 #netbios = srv
9 server string = Serveur Samba
10 log file = /var/log/samba/log.%m
11 log level = 4
12 max log size = 1000
13 interfaces = eth0 127.0.0.1
14 # bind interfaces only = true
15 printing = cups
16 printcap name = cups
17 load printers = yes
18 security = users
19 domain logons = yes
20 domain master = yes
21 dns proxy = no
22 # add machine script = /usr/sbin/useradd -d /dev/null -G domain_pc -s /bin/false -m %m$
23 # add user script = /usr/sbin/useradd -g 100 %u
24 # add group script = /usr/sbin/groupadd %g
25 # add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false %u
26
27 # Synchronisation des mots de passe samba avec les mots de passe Linux.
28 # Permet a l'utilisateur connecte a un domaine de changer de mdp
29 # unix password sync = yes
30 # pam password change = yes
31 # passwd program = /usr/bin/passwd %u
32 # passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
33
34 logon drive = H:38 path = /home/samba-prof
39 writable = yes
40 create mask = 0600
41 directory mask = 0700
42 browsable = no
43
44 [homes]
45 comment = Espace personnel
46 browseable = no
47 read only = no
48 valid users = %S
49
50 [Public]
51 comment = Partage accessible a tous
52 path = /home/Public
53 public = yes
54 writable = yes
55 read only = no
56 create mask = 777
57 directory mask = 777
58
59 [Recrutement]
60 path = /home/Recrutement
61 force group = recrutement
62 create mask = 770
63 directory mask = 770
64 valid users = @recrutement @rh-admin @commercial @gestion
65 write list = @recrutement @rh-admin @commercial @gestion
66 read list = @recrutement @rh-admin @commercial @gestion
67 read only = no
68
69 [RH-Admin]
70 path = /home/RH-Admin
71 read only = no
72 force group = rh-admin
73 create mask = 770
74 directory mask = 770
75 valid users = @rh-admin @commercial @gestion
76 write list = @rh-admin @commercial @gestion
77 read list = @rh-admin @commercial @gestion
78
79 [Commercial]
80 path = /home/Commercial
81 read only = no
82 force group = commercial
83 create mask = 770
84 directory mask = 770
85 valid users = @commercial @gestion
86 write list = @commercial @gestion
87 read list = @commercial @gestion
88
89 [Gestion]
90 path = /home/Gestion
91 read only = no
92 force group = gestion
93 create mask = 770
94 directory mask = 770
95 valid users = @gestion
96 write list = @gestion
97 read list = @gestion
98
Lorsque je fait smbstatus :
doing parameter max log size = 1000
doing parameter interfaces = eth0 127.0.0.1
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter load printers = yes
doing parameter security = users
WARNING: Ignoring invalid value 'users' for parameter 'security'
doing parameter domain logons = yes
doing parameter domain master = yes
doing parameter dns proxy = no
doing parameter logon drive = H:
doing parameter logon home = \\%N\%U
pm_process() returned Yes
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter admin users = root
doing parameter panic action SAMBA
doing parameter realm = SAMBA
doing parameter server string = Serveur Samba
doing parameter log file = /var/log/samba/log.%m
doing parameter log level = 4
doing parameter max log size = 1000
doing parameter interfaces = eth0 127.0.0.1
doing parameter printing = cups
doing parameter printcap name = cups
doing parameter load printers = yes
doing parameter security = users
WARNING: Ignoring invalid value 'users' for parameter 'security'
doing parameter domain logons = yes
doing parameter domain master = yes
doing parameter dns proxy = no
doing parameter logon drive = H:
doing parameter logon home = \\%N\%U
Processing section "[profiles]"
doing parameter path = /home/samba-prof
doing parameter writable = yes
doing parameter create mask = 0600
doing parameter directory mask = 0700
doing parameter browsable = no
Processing section "[homes]"
doing parameter comment = Espace personnel
doing parameter browseable = no
doing parameter read only = no
doing parameter valid users = %S
Processing section "[Public]"
doing parameter comment = Partage accessible a tous
doing parameter path = /home/Public
doing parameter public = yes
doing parameter writable = yes
doing parameter read only = no
doing parameter create mask = 777
doing parameter directory mask = 777
Processing section "[Recrutement]"
doing parameter path = /home/Recrutement
doing parameter force group = recrutement
doing parameter create mask = 770
doing parameter directory mask = 770
doing parameter valid users = @recrutement @rh-admin @commercial @gestion
doing parameter write list = @recrutement @rh-admin @commercial @gestion
doing parameter read list = @recrutement @rh-admin @commercial @gestion
doing parameter read only = no
Processing section "[RH-Admin]"
doing parameter path = /home/RH-Admin
doing parameter read only = no
doing parameter force group = rh-admin
doing parameter create mask = 770
doing parameter directory mask = 770
doing parameter valid users = @rh-admin @commercial @gestion
doing parameter write list = @rh-admin @commercial @gestion
doing parameter read list = @rh-admin @commercial @gestion
Processing section "[Commercial]"
doing parameter path = /home/Commercial
doing parameter read only = no
doing parameter force group = commercial
doing parameter create mask = 770
doing parameter directory mask = 770
doing parameter valid users = @commercial @gestion
doing parameter write list = @commercial @gestion
doing parameter read list = @commercial @gestion
Processing section "[Gestion]"
doing parameter path = /home/Gestion
doing parameter read only = no
doing parameter force group = gestion
doing parameter create mask = 770
doing parameter directory mask = 770
doing parameter valid users = @gestion
doing parameter write list = @gestion
doing parameter read list = @gestion
pm_process() returned Yes
Samba version 3.5.5-SerNet-Debian
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
Donc si vous avez un idée je suis preneur.
Merci d'avance