Alors pour le testparm:
[root@Linux01 Stagiaire]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions
[global]
workgroup = XXXXXXXXXXXX
realm = XXXXXXXXXXXX.COM
server string = Samba Server Version %v
security = ADS
password server = serveur.xxxxxxxxxxx.com
log file = /var/log/samba/log.%m
max log size = 50
local master = No
domain master = No
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind separator = +
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
cups options = raw
[homes]
comment = Home Directories
path = /homes
valid users = XXXXXXXXXXXX+essai
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
Et pour le smbclient -L 127.0.0.1:
[root@Linux01 Stagiaire]# smbclient -L 127.0.0.1
Enter Stagiaire's password:
session setup failed: NT_STATUS_LOGON_FAILURE
Apparemment ca ne fonctionne pas, le mot de passe qu'il me demande est bien celui pour l'ouverture de la session "Stagiaire" ?
Ah je viens également d'avoir une erreur dans log.comm01 (le nom de mon poste windows) :
[2008/12/02 14:24:32, 0] smbd/service.c:make_connection_snum(1152)
'/homes' does not exist or permission denied when connecting to [essai] Error was Aucun fichier ou dossier de ce type
Mais également dans log.winbindd
[2008/12/02 14:32:06, 1] libads/ldap.c:ads_find_dc(379)
ads_find_dc: failed to find a valid DC on our site (Premier-Site-par-defaut), trying to find another DC
[2008/12/02 14:32:06, 0] libsmb/nmblib.c:send_udp(839)
Packet send failed to 192.168.17.1(137) ERRNO=Le réseau n'est pas accessible
[2008/12/02 14:36:47, 1] winbindd/winbindd_util.c:trustdom_recv(260)
Could not receive trustdoms
Et dans log.__ffff_192.168.17.1 (IP du serveur AD)
[2008/12/02 14:39:58, 1] smbd/sesssetup.c:reply_spnego_kerberos(350)
Failed to verify incoming ticket with error NT_STATUS_LOGON_FAILURE!
VOila si ca peut t'aider merci.