[Samba] Problems with printing

Bartosz Wegrzyn - asterisk junk at lexoncom.com
Sun Sep 24 17:19:33 GMT 2006


I set samba using this config:


workgroup = MYGROUP
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = cups
cups options = raw

#guest account = nobody

log file = /var/log/samba/%m.log
max log size = 50

security = user
dns proxy = no

   comment = Home Directories
   browseable = no
   writable = yes

   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes

        path = /data/printer
        guest ok = yes
        browseable = yes
        read only = yes
        write list = blwegrzyn root wegrzyn
        create mask = 0644
        directory mask = 0755

        path = /data
        valid users = blwegrzyn wegrzyn
        read only = No

I added users blwegrzyn root and wegrzyn using smbpasswd -a
tool. I can connect to server and browse printers.

When I try to add drivers through windows gui by connecting to samba server
\\server and printers and faxes I got errror saying
that the location does not have correct drivers for the printer.
I used exacly same config with fedora2 and it worked great.
Now I am using fedora 4.
I can access data share without any problems.

When I access shares I see also this error:
[2006/09/24 12:14:29, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(993)
  api_pipe_bind_req: unknown auth type 9 requested.

in samba log file

I am able to add printers , but I cannot add drivers using print$ share.
I have to use regular windows wizard and add printers manually.

Now, problem,
When I try to print to this printers it takes very long.
About 5-7 minutes.

When I do capture on samba server I see traffic on 445 for that time.

Any ideas what am I doing wrong.

Samba version:


More information about the samba mailing list