Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having trouble printing from a Windows box (both ME and 98SE) to a printer attached to my Mandrake Linux box. When I turn on Samba logging, I get the following messages:
[2002/10/03 17:45:05, 1] smbd/service.c:make_connection(640)
dell-steve (192.168.1.102) connect to service hpprinter as user nobody (uid=99
, gid=99) (pid 5434)
[2002/10/03 17:45:05, 2] lib/access.c:check_access(329)
Allowed connection from (192.168.1.102)
[2002/10/03 17:45:05, 2] smbd/password.c:pass_check_smb(575)
pass_check_smb failed - invalid password for user [steve]
[2002/10/03 17:45:07, 2] lib/access.c:check_access(329)
Allowed connection from (192.168.1.102)
[2002/10/03 17:45:07, 2] smbd/password.c:pass_check_smb(575)
pass_check_smb failed - invalid password for user [steve]
I've got security = SHARE, guest user is set to nobody, and guest ok for the printer is set to yes. I'm logged in to the Windows box as user "steve", but why is it trying to look up steve's password, when it's connecting to hpprinter as user nobody?
Users "steve" and "nobody" are both defined in passwd and smbpasswd. I've tried various passwords (the Windows steve's password and the Linux steve's password) for "steve" in smbpasswd, with no effect.
Here's my smb.conf:
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/10/03 17:21:46
Sorry to bother you all. Problem solved. I needed to make a couple of changes: set "guest only = yes" in the [printers] section of smb.conf, and define a separate printer in CUPS, defined as a raw printer (and set up the Windows printer to use that new share). Then everything worked.
By the way, this problem started when I upgraded from Mandrake 8.1 to 9.0. Mandrake 8.1 had Samba 2.2.1a, and Mandrake 9.0 has Samba 2.2.6pre2. I didn't change a thing in smb.conf, and suddenly the printer didn't work anymore after the upgrade. But that's ok; it works, and I can feel good about overcoming another Linux hurdle and learning something in the process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.