gilles974 | bonjour
je voudrais centraliser mes drivers imprimante dans /var/lib/samba/printers
comme j'ai que des XP j'utilise le repertoire W32X86
l'upload des fichiers se passe bien sur le samba, mais l'opération se termine par un message d'erreur : Impossible d'installer l'imprimante : acces refuse
Code :
- [printers]
- comment = All Printers
- browseable = no
- path = /var/spool/samba
- printable = yes
- guest ok = yes
- read only = yes
- create mask = 0700
- valid users = @sambausers
- [print$]
- comment = Drivers imprimantes
- path = /var/lib/samba/printers
- browseable = yes
- read only = yes
- guest ok = no
- write list = root, gilles
|
les droits actuels des répertoires et fichiers
Code :
- drwxrwsrwx 10 root sambaadmin 4096 3 août 07:20 printers
- drwxrwsrwx 3 root sambaadmin 4096 3 août 11:23 W32X86
- drwxrwsrwx 2 gilles gilles 4096 2 août 20:33 3
- -rwxrwsrwx 1 gilles gilles 13824 22 avril 2008 CNMVS9A.DLL
- ....
- -rwxrwsrwx 1 gilles gilles 11264 22 avril 2008 CNMW39A.DLL
|
les logs de samba
Code :
- [2011/08/03 14:40:07.434802, 0] param/loadparm.c:8672(process_usershare_file)
- process_usershare_file: share name ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters (any of %<>*?|/\+=;:",)
- [2011/08/03 14:40:07.435329, 0] param/loadparm.c:8672(process_usershare_file)
- process_usershare_file: share name ::{2227a280-3aea-1069-a2de-08002b30309d} contains invalid characters (any of %<>*?|/\+=;:",)
- [2011/08/03 14:40:26.650525, 1] smbd/service.c:1070(make_connection_snum)
- pc-gilles (::ffff:192.168.10.5) connect to service print$ initially as user gilles (uid=1000, gid=1000) (pid 8265)
- [2011/08/03 14:40:36.747476, 1] smbd/service.c:1251(close_cnum)
- pc-gilles (::ffff:192.168.10.5) closed connection to service print$
- [2011/08/03 14:40:39.711227, 1] smbd/service.c:1070(make_connection_snum)
- pc-gilles (::ffff:192.168.10.5) connect to service print$ initially as user gilles (uid=1000, gid=1000) (pid 8265)
- [2011/08/03 14:40:44.548462, 0] rpc_server/srv_spoolss_nt.c:7201(spoolss_addprinterex_level_2)
- spoolss_addprinterex_level_2: add printer for printer called and nosmb.conf parameter "addprinter command" is defined. Thisparameter must exist for this call to succeed
|
merci d'avance Message édité par gilles974 le 03-08-2011 à 12:40:50
|