j'avais oublié de préciser que SElinux et le pare feu sont désactivés....
je post mon smb.conf...peut être ça vous aidera...
[global]
# netbios name
netbios name = serv0116
# server string is the equivalent of the NT Description field
server string = Samba Server serv0116
# realm = Kerberos realm
realm = MONDOMAINE.FR
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MONDOMAINE
# Security mode.
security = ADS
# Use password server option only with security = server
password server = *
# Password encryption
encrypt passwords = yes
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network.
hosts allow = 10.1.0.0/255.0.0.0,127.
hosts deny = 0.0.0.0/0.0.0.0
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
guest account = nobody
# this tells Samba to use a separate log file for each machine
# that connects
; log file = /var/log/samba/%m.log;
log file = /var/log/samba/samba.log
; unix password sync = yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
# Unix users can map to different SMB User names
username map = /etc/samba/user.map
# 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 = /etc/samba/smb.conf.%m
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_noDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; name resolve order = wins lmhosts bcast
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# 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 = serv010105
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
; printing = lprng
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
# PAM-related
obey pam restrictions = yes
pam password change = yes
# Winbind separator
winbind separator = /
winbind use default domain = yes
winbind uid = 1000-60000
winbind gid = 1000-60000
# Allow enumeration of domain users and groups
winbind enum users = yes
winbind enum groups = yes
# Allow nested groups
; winbind nested groups = yes
; winbind nss info = template
template homedir = /home/%U
template shell = /bin/bash
; template primary group = "MONDOMAINE/Utilisa. du domaine"
; template primary group = "Utilisa. du domaine"
# Services
default service = homes
preload = global homes printers
# Default share values
valid users = @"MONDOMAINE/Utilisa. du domaine"
admin users = "MONDOMAINE/Admin"
#==================
[homes]
comment = Home Directory
browseable = no
read only = no
; read only = No
; create mask = 0664
; directory mask = 0775
[users]
path = /home
comment = All Home Directories
read only = no
read list = @"MONDOMAINE/Utilisa. du domaine"
write list = @"MONDOMAINE/Utilisa. du domaine"
[data]
path = /data
comment = Data
read only = no
read list = @"MONDOMAINE/Utilisa. du domaine"
write list = @"MONDOMAINE/Utilisa. du domaine"
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[TEST]
path = /home/Test/
guest ok = yes
read only = no
valid users = "MONDOMAINE/Admin",@"MONDOMAINE/Utilisa.,du,domaine"
read list = @"MONDOMAINE/Utilisa.,du,domaine"
case sensitive = no
strict locking = no
msdfs proxy = no