BULOT Gr�gory a �crit :
Bonjour,
je me permets de poster ici, un probl�me samba entre 2 debian/testing mon soucis est qu'avec smbclient j'acc�de au partage (lire/se d�placer dans les r�pertoires/�crire), aors qu'un mount sur le m�me partage ne me permet que de lire le r�pertoire de base distant !
$ smbclient //annonce/web --authentication-file /etc/credentialSMBFS/wwwannonce Domain=[ANNONCE001] OS=[Unix] Server=[Samba 3.0.10-Debian] smb: \> ls Annonces D 0 Thu Mar 17 16:28:05 2005 smb: \> cd Annonces smb: \Annonces\> ls . D 0 Thu Mar 17 16:28:05 2005 .. D 0 Thu Mar 17 16:28:11 2005 index.php A 200 Fri Feb 18 17:14:50 2005 main.php A 3024 Thu Jan 13 17:12:34 2005 smb: \Annonces\> put testweb.sh putting file testweb.sh as \Annonces\testweb.sh (11,7 kb/s) (average 11,7 kb/s) smb: \Annonces\> ls testweb* testweb.sh A 240 Sat Mar 19 08:04:46 2005
maintenant, mon etc/fstab //annonce/web /mnt/annonce/web smbfs noauto,users,credentials=/etc/credentialSMBFS/wwwannonce
$ mount /mnt/annonce/web $ ls -la /mnt/annonce/web drwxrwx--- 1 www-data www-data 0 2005-03-19 08:04 Annonces $ cd /mnt/annonce/web/Annonces/ bash: cd: /mnt/annonce/web/Annonces/: Permission non accord�e
sur PC 'annonce'
$ tail -6 log.192.168.0.107 log.morpheus
==> log.192.168.0.107 <== avec mount
[2005/03/19 07:55:08, 1] smbd/service.c:make_connection_snum(648)
192.168.0.107 (192.168.0.107) connect to service web initially as user wwwannonce (uid=1001, gid=33) (pid 13734)
[2005/03/19 07:55:08, 1] smbd/service.c:close_cnum(836)
192.168.0.107 (192.168.0.107) closed connection to service web
[2005/03/19 08:07:16, 1] smbd/service.c:make_connection_snum(648)
192.168.0.107 (192.168.0.107) connect to service web initially as user wwwannonce (uid=1001, gid=33) (pid 13749)
==> log.morpheus <== avec smbclient
[2005/03/11 14:04:11, 1] smbd/service.c:close_cnum(836)
morpheus (192.168.0.107) closed connection to service web
[2005/03/19 07:56:34, 1] smbd/service.c:make_connection_snum(648)
morpheus (192.168.0.107) connect to service web initially as user wwwannonce (uid=1001, gid=33) (pid 13737)
[2005/03/19 08:05:35, 1] smbd/service.c:close_cnum(836)
morpheus (192.168.0.107) closed connection to service web
Salut,
Si tu as un 2.6.8.1 regarde toujours �a :
http://www.ussg.iu.edu/hypermail/linux/kernel/0409.2/1344.html
Je pense que dans le cas du mount il y a tentative de "translation" uid gid et embrouillage de pinceaux, avec un 2.6.10 chez moi �a marche.
Cordialement,
Thomas
-- Pensez � lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench
Pensez � rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

