[Samba] Samba not printing

Michael Alaimo ratfinklelinkle at hotmail.com
Sun Feb 16 05:38:25 GMT 2003


I have installed samba on a openbsd 3.2 machine.  I am able to mount a file
system from the windows machine, but I am unable to print.
When I try and print from the server with smbspool I get this message.


ERROR: NT_STATUS_ACCESS_DENIED opening remote file test

this is the command used

smbspool smb://user:passwd@WORKGROUP/claudia/lp 1 mike test 1 
/home/mike/index.html

here is the contents of my smb.conf
[global]
        domain master = yes
;       printing = bsd
        allow hosts = 10.1.1.18, 10.1.1.1
        dns proxy = no
        encrypt passwords = yes
        logon path = \\%L\Profiles\%U
        valid users = root, mike
        socket options = TCP_NODELAY
        wins support = true
        max log size = 50
        security = share
        printer admin = root, administrator, mike
        workgroup = WORKGROUP
        log level = 5
        netbios name = claudia
        log file = /var/log/smbd.%m
        os level = 20
        default = lp
        printcap name= /etc/printcap
        load printers = yes


[lp]
        printer = lp
        valid users = mike, @mike
;       writeable = yes
;       postscript = no
;       comment = Samsung ML-1210
;       print command = /usr/bin/lpr
        printable = yes
        path = /var/spool/lpd/lp
        browseable = yes
;       lpq command = /usr/bin/lpq
;       lprm = /usr/bin/lprm
;       printer drive location = \\&h\printer$

[alaimo]
        path = /home/mike/.share
        valid users = mike, at mike
        writeable = yes

If you need anything else let me know.
P.S. I can print from the openbsd machine with the lpr command perfectly.

Mike

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the samba mailing list