I think the problem is that the is a bug in samba at least printing cups.Replace -P %p in the print command with the absolute path to the printing device.Ie if the printer is connected to the lindoze and u would print from a win client.I have an usb printer, but u can find the path using lpstat -v print command = lpr /dev/usb/lp0 -o raw %s;rm %s -r
--- Ruben I Safir <[EMAIL PROTECTED]> skrev: > Can you detail this with a config sample? > > Ruben > > > On 2002.09.21 20:08 Bunny Pfau wrote: > > At 09:40 AM 9/22/2002 +1000, Andrew Bartlett > wrote: > > >Jeff Shipman wrote: > > > > > > > > I'm running samba 2.2.3a-6 under Debian > (testing) and I > > > > am having a heck of a time getting Windows > 2000 to print > > > > to my printer. I keep getting that "Access > denied, unable > > > > to connect" message. At one point I had it so > you could > > > > print test pages, but as soon as you tried to > print from > > > > an application, it would break. However, that > doesn't > > > > even work anymore. I've been reading around, > but none > > > > of the solutions I've seen work for me. Here > is what I > > > > have in my smb.conf file for the printer: > > > > > > > > [Epson] > > > > use client driver = Yes > > > > path = /var/spool/samba > > > > comment = Epson Stylus COLOR 777 > > > > guest ok = Yes > > > > printable = Yes > > > > print command = lpr -P %p -o raw %s -r > > > > printer name = Epson > > > > browseable = Yes > > > > guest ok = Yes > > > > writable = no > > > > > > > > My /var/spool/samba looks like this: > > > > > > > > drwxrwxrwt 2 root root 4096 Sep > 21 14:28 /var/spool/samba > > > > > > > > Here is a section from my log: > > > > > > > > > > > At some point it seems to be checking the > Lanman password? > > > > > >I don't know, but Samba 2.2 does some werid > stuff... > > > > > > > I have no idea why it's doing that. The > password bonnie logs > > > > in with is the same as the unix password. > Plus, she is allowed > > > > to login to all of the other shares (which can > be seen in the > > > > last line). > > > > > > > > If anyone could provide me assistance with > this, I would greatly > > > > appreciate it. I've been scratching my head > over this for a couple > > > > of days now. > > > > > >You probably need to turn up the debug level, and > show exactly where the > > >connection to [epson] is failing. > > > > > >Andrew Bartlett > > > > > > I'd be interested in the answer, too--I see this > consistently under Samba > > 2.2.1 (Solaris 7/Win2k clients). The way we work > around > > it is to create a mount --like to the PC user's > UNIX home directory, > > a SAMBA share--once the user authenticates on that > file system share, > > the printer works okay.. > > > > Bunny Pfau > > > > -- > > To unsubscribe from this list go to the following > URL and read the > > instructions: > http://lists.samba.org/mailman/listinfo/samba > > > -- > __________________________ > > Brooklyn Linux Solutions > __________________________ > DRM is THEFT - We are the STAKEHOLDERS > http://www.nyfairuse.org > > http://www.mrbrklyn.com - Consulting > http://www.nylxs.com/radio - Free Software Radio > Show and Archives > http://www.brooklynonline.com - For the love of > Brooklyn > http://www.nylxs.com - Leadership Development in > Free Software > http://www.nyfairuse.org - The foundation of > Democracy > http://www2.mrbrklyn.com/resources - Unpublished > Archive or stories and articles from around the net > http://www2.mrbrklyn.com/mp3/dr.mp3 - Imagine my > surprise when I saw you... > http://www2.mrbrklyn.com/downtown.html - See the New > Downtown Brooklyn.... > > 1-718-382-5752 > > > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba ______________________________________________________ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba