[Samba] windows printer driver installation with samba and cups

Beat Morf beat.morf at duagon.com
Fri Nov 25 15:06:54 GMT 2005


- SUSE 9.2
- SAMBA 3.0.7
- CUPS 1.1.21

I am successfully using my network printer under cups. Now I would like to share this printer to all 
windows clients with samba. These are my smb.conf configurations:

         interfaces = eth0
         load printers = yes
         printing = cups
         printcap name = /etc/printcap
         printer admin = @mygroup

         comment = Printer Driver
         path = /daten/printers
         browseable = yes
         guest ok = yes
         read only = yes
         write list = @mygroup

         comment = All Printers
         path = /var/spool/samba
         browsable = yes
         guest ok = no
         writeable = no
         printable = yes

The rights for the directories are as follows:

myserver:/ # la daten/printers/
total 1
drwxrwxr-x   2 root mygroup  48 Nov 25 15:29 .
drwxr-xr-x  20 root mygroup 472 Nov 25 14:59 ..

myserver:/ # la /var/spool/samba
total 0
drwsrwsrwx   2 root root  48 Jan 28  2005 .
drwxr-xr-x  14 root root 368 Dec 13  2004 ..

Under my windows 2000 (and XP) client, I see my printer within the folder "PRINTERS". With 
"properties->No->Advanced->New Driver" (Windows-Driver-Wizard) I can specify the driver and follow 
all instructions. At the end, when I finish the wizard, a message "can not install driver. the 
procedure could not finished" appears.
Within the directory /daten/printers NO DRIVER is installed!

The log.smbd file says, that the user opens the "print$" share, but nothing else:
[2005/11/25 15:58:27, 1] smbd/service.c:make_connection_snum(647)
   gonzales ( connect to service print$ initially as user beat (uid=509, gid=100) (pid 

I allready read a lot of posts about similar problems, but didn't find any description that would 
fix my problem.

Did someone know this problem or see something similar?


More information about the samba mailing list