Samba linux print sharing ?
Hello all,
I am running Slackware 10 witht he kernel 2.6.10. I am running a Epson C82 on my linux box i want to share with my windows(XPpro) box via LAN. Here is my smb.conf ____________________________________________________________ [global] workgroup = SAMBA server string = Samba Server security = user load printers = yes printcap name = /etc/printcap load printers = yes cups options = raw guest account = smbguest log file = /usr/local/samba/var/log.%m max log size = 50 socket options = TCP_NODELAY preferred master = yes wins support = yes dns proxy = no [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print printable = yes [smbshares] comment = Public Stuff path = /usr/smbshares/ public = yes writable = yes printable = no write list = @staff [homes] comment = Home Directories browseable = no writable = yes ___________________________________________________ I got my file sharing portion working ok for now i need to change a couple things i have a login propt when looking at my kt7a my linux box i want to get ride of. KT7A ( is my linux box) 192.168.1.1 WINXP ( my windows box) 192.168.1.2 LAN via crossover ((no hub or router)) I am using CUPS as my print server and printing works good locally on KT7A all is well printing from my linux box to my linux printer. When trying to print from my windows box to my linux box i get access denied -but- my windows box does see my Epson C82 printer on the network and does installit on it as a default printer... I believe i am missing something in my smb.conf in order to do this correct. I plan to share this printer with other breads of linux and windows, as soon as i get undermy house once again to pull more Cat5e cable :) and buy a Hub or router if i get broadband. I am some what new to linux 1 1/2 years and got some things down but Samba has got me a couple times but this issue i can not figure out without a little problem pointing... If any have idea what i could do or any examples of smb.conf for what i am trying to do plz let me know TY heinola heinola@operamail.com |
XP Prof or Home? Have you checked the username the XP is trying to connect to?
Try enable guest mode for printers first with public = yes. If that does not solve the problem, set samba logging a bit higher and trace log.smbd to seek the error. If you see there something you cannot handle, feel free to copypaste some log excerpt. |
update:
________________________________________________ [global] workgroup = SAMBA server string = Samba Server security = user load printers = yes printcap name = /etc/printcap load printers = yes cups options = cups guest account = smbguest log file = /usr/local/samba/var/log.%m max log size = 100 socket options = TCP_NODELAY preferred master = yes wins support = yes dns proxy = no [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print printable = yes public = yes [smbshares] comment = Public Stuff path = /usr/smbshares/ public = yes writable = yes printable = no write list = @staff [homes] comment = Home Directories browseable = no writable = yes ____________________________________ here is my log of trying to print to linux box ____________________________________ [2005/02/14 11:22:13, 0] printing/print_cups.c:cups_job_submit(779) Unable to print file to C82 - client-error-document-format-not-supported _____________________________________ On windows Box i am heinola ( admin ) autologon On linux Box i am heinola ( user) with logon On linux Box root ( admin ) /usr/smbshares ( is my samba share folder ) ______________________________________ /etc/passwd smbguest:*:1002:1002:Samba Guest:/nonexistent:/sbin/nologin _______________________________________ /etc/samba/private/smbpasswd heinola:1000:F060D1A4D8D7A8C217306D272A9441BB:36CFE54A37C50D20429A97ADAEF88A5D:[U ]:LCT-41E85423: winxp$:1001:7C3EF25FA3779D64AAD3B435B51404EE:1A49257017CFEA65452A8927CE010BD3:[W ]:LCT-41E7661B: smbguest:1002:F060D1A4D8D7A8C217306D272A9441BB:36CFE54A37C50D20429A97ADAEF88A5D:[U ]:LCT-41E889CA: i have a samba user smbguest as well as on linux system thinking about it there might be a issue with permitttions, Maby i am just getting guest account to the samba server.. i might take a few days and come back to it or possiblly rework it from scratch to see if i can understand it a bit better let me know if there r any ideas out there |
hey, you've got this error message!
"Unable to print file to C82 - client-error-document-format-not-supported" It means that no filter was found for the specified document being printed. You should install your printer's driver (so called, .ppd filter files). Check this: http://www.linuxprinting.org/ppd-doc.html Hope I Could Helped. |
Add this line to /etc/smb.conf
use client driver = yes Restart samba. Hope that will help |
All times are GMT -5. The time now is 02:00 AM. |