That helped. I was about to get it working. Thanks!

Here is my smb.conf, for those who have similiar problems in the future:

[global]
        workgroup = BEBOP
        netbios name = FAYE
        server string = Samba Server
        security = SERVER
        encrypt passwords = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        #nt acl support = No
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        browseable = Yes
        write list = ibmjones @ibmjones
        printer admin = ibmjones @ibmjones
        printing = lprng
[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775
        browseable = yes

[print$]
        comment = All Printers
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        browseable = Yes
        writelist = ibmjones @ibmjones


[ein]
        print command = lpr -b -Pein %s
        path = /var/spool/lpd/ein
        #path = /var/spool/samba
        guest account = nobody lp ftp ibmjones
        printer admin = ibmjones @ibmjones
        writelist = ibmjones @ibmjones
        read only = No
        guest ok = Yes
        printable = Yes
        postscript = No
        printer name = ein

Rilindo Foster
http://monzell.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Binyon Steve Contr Det
4 AFC2TIG/ASRCC
Sent: Monday, January 07, 2002 8:47 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Samba 2.2.1a + Red Hat 7.2 + Printing = Grief


I hate to admit it but I did get printing working on Samba 2.2.1a, but under
IRIX.  Its been awhile, and I hoped that my notes would remind me what the
trick was...
There is a change in printing between 2.0 and 2.2 and it also gave me grief
in getting it to work (I started with 2.2.0 which had a bug in the printing
system).   The big change is how the printer drivers are handled, with Samba
now going to the Windows RPC instead of LanMan.  From looking at my setup I
have a directory tree /usr/local/samba/printers with subdirectories of the
various Window versions that we support, ./W32X86 and ./WIN40.  Then in the
smb.conf I have a [print$] share, that specifies this directory:
 [print$]
 path=/usr/local/samba/printers
 guest ok = Yes
 printable=Yes

and the usual entry for a printer served by the samba server:
 [HP4500]
 path=/tmp
 guest ok = Yes
 printable = Yes
 postscript = Yes
 printer name HP4500LJ

Then you will use the Add Printer Wizard on the Windows client to add the
printer.  It may prompt for a privilege user/password which I believe I used
root's on the Samba server (at the same time I was setting our system up as
a PDC).  It will ask for the printer driver and it will then magically show
up in the Windows printers box.

The documentation for this can be found in
/usr/samba/docs/htmldocs/Samba-HOWTO-Collection.html in section 6 which
should have come with the distro, if not check www.samba.org.  Hope this
helps.
smbinyon

-----Original Message-----
From: Rilindo Foster [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 05, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: Samba 2.2.1a + Red Hat 7.2 + Printing = Grief



I recently setup a Red Hat 7.2 box with Samba 2.2.1a (the one that came with

dist). Printer is working fine (inkjetc HP 842c) -it successfully prints
from
the Linux Box, "faye".

However, my laptop "ed" (running Windows 2000), won't connect to printer.
First time around, it get's accessed denied, so I added my login to the
write
less and also tried the guest account. That worked, but it won't accept any
print jobs from my laptop.

Worse, when I removed the samba entry and readded it, and try to readd it,
wierd stuff started to happen (like SecureCRT) crashing and getting function

calls errors when I tried to bring up the properties of the driver on my
laptop.

>From what I understand, the Samba printing changed between 2.0.x and 2.2.x,

but the instructions I read on the Samba documentation doesn't seem to help
me. It used to be a lot more simpler with 2.0.x. Sigh.

Has anybody setup Samba printing successfully?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to