Hi. I've configured a Samba PDC controller on which I've configured a couple of printers using Cups. I've set up the relevant config according to the documentation, so: load printers = Yes printing = cups printcap name = cups [print$] comment = Printer Drivers path = /dati/samba/drivers browseable = yes guest ok = no read only = yes write list = root,administrator,"@Domain Admins" directory mask = 0775 create mask = 0775 directory mask = 0775 create mask = 0775 force create mode = 0775 force directory mode = 6775 [printers] comment = All Printers path = /var/spool/samba browseable = Yes public = Yes guest ok = Yes writable = No printable = Yes write list = root,administrator,"@Domain Admins" The problem is that if I browse \\server I get the list of shares, including the two cups printers. If I go into the printer subfolder I see two printers with no name, so when I try to edit properties to upload drivers it complains printer has no name. Same happens if I go back to server shares' "root" and I try to add the printer, I get asked for the drivers, provide them, then when finishes copyin it complains the printer has no name or it's not on the server anymore. What could be the problem? thanks -- Lorenzo Milesi - lorenzo.milesi at yetopen.it GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it
I'm using Samba 2:3.6.3-2ubuntu2.3 (ubuntu 12) and cups 1.5.3-0ubuntu2. thanks ----- Messaggio originale -----> Da: "Lorenzo Milesi" <maxxer at ufficyo.com> > A: samba at lists.samba.org > Inviato: Luned?, 6 agosto 2012 17:09:43 > Oggetto: [Samba] Problem in sharing printers > > Hi. > > I've configured a Samba PDC controller on which I've configured a > couple of printers using Cups. > I've set up the relevant config according to the documentation, so: > > load printers = Yes > printing = cups > printcap name = cups > > [print$] > comment = Printer Drivers > path = /dati/samba/drivers > browseable = yes > guest ok = no > read only = yes > write list = root,administrator,"@Domain Admins" > directory mask = 0775 > create mask = 0775 > directory mask = 0775 > create mask = 0775 > force create mode = 0775 > force directory mode = 6775 > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = Yes > public = Yes > guest ok = Yes > writable = No > printable = Yes > write list = root,administrator,"@Domain Admins" > > > > > The problem is that if I browse \\server I get the list of shares, > including the two cups printers. If I go into the printer subfolder > I see two printers with no name, so when I try to edit properties to > upload drivers it complains printer has no name. > Same happens if I go back to server shares' "root" and I try to add > the printer, I get asked for the drivers, provide them, then when > finishes copyin it complains the printer has no name or it's not on > the server anymore. > > What could be the problem? > thanks > > -- > Lorenzo Milesi - lorenzo.milesi at yetopen.it > > GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Lorenzo Milesi - lorenzo.milesi at yetopen.it YetOpen S.r.l. - http://www.yetopen.it/ Via Carlo Torri Tarelli 19 - 23900 Lecco - ITALY - Tel 0341 220 205 - Fax 178 6070 222 GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it -------- D.Lgs. 196/2003 -------- Si avverte che tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile. Grazie. -- -- Lorenzo Milesi - lorenzo.milesi at yetopen.it GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it
Be sure samba is starting after CUPS. Try restarting samba and see if printers are accessible after you restart it. sudo /etc/init.d/samba restart or sudo service smbd restart sudo service nmbd restart Sincerely, Carlos R. Pena Santo Domingo, Dominican Republic I had the same problem, because in the Ubuntu Server On 8/6/2012 10:09 AM, Lorenzo Milesi wrote:> Hi. > > I've configured a Samba PDC controller on which I've configured a couple of printers using Cups. > I've set up the relevant config according to the documentation, so: > > load printers = Yes > printing = cups > printcap name = cups > > [print$] > comment = Printer Drivers > path = /dati/samba/drivers > browseable = yes > guest ok = no > read only = yes > write list = root,administrator,"@Domain Admins" > directory mask = 0775 > create mask = 0775 > directory mask = 0775 > create mask = 0775 > force create mode = 0775 > force directory mode = 6775 > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = Yes > public = Yes > guest ok = Yes > writable = No > printable = Yes > write list = root,administrator,"@Domain Admins" > > > > > The problem is that if I browse \\server I get the list of shares, including the two cups printers. If I go into the printer subfolder I see two printers with no name, so when I try to edit properties to upload drivers it complains printer has no name. > Same happens if I go back to server shares' "root" and I try to add the printer, I get asked for the drivers, provide them, then when finishes copyin it complains the printer has no name or it's not on the server anymore. > > What could be the problem? > thanks >