[Samba] Problems with printing

Bartosz Wegrzyn - maillists junk at lexoncom.com
Wed Sep 27 15:09:26 GMT 2006


Hello,

I set samba using this config:

[global]

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

#guest account = nobody


printer admin = blwegrzyn root

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

security = user
dns proxy = no

[homes]
   comment = Home Directories
   browseable = no
   writable = yes


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


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

[data]
        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:
samba-3.0.14a-2
samba-common-3.0.14a-2
samba-swat-3.0.14a-2
system-config-samba-1.2.31-1
samba-client-3.0.14a-2



I tried also to upgrade to latest version, but no luck
same problems


Thx







More information about the samba mailing list