Solved

Samba Printer on XP Home, password

Posted on 2004-09-27
15
179 Views
Last Modified: 2010-03-18
I've recently bought a new laptop, which legitimately has a copy of XP Home licensed and installed.  There are advantages and disadvantages of home, but at this point upgrading to pro is out of the question.

I have a server machine at home, running linux, with samba sharing out many files and a printer to my windows machines.  This all works flawlessly from my old machines, running 98SE and 2000 Pro.  My new machine with xp home cannot access the printer.  I can install it, I can try to print to it, but it never works.

It never asks for a password, at any point, when I connect to this printer.  This printer, as everything on my network, is password protected.  How can I make xp home use a username&password to connect to a printer?
0
Comment
Question by:arantius
  • 8
  • 7
15 Comments
 
LVL 18

Expert Comment

by:crissand
ID: 12161829
If you have ICS or WF enabled you must open port 139/TCP. Or, if it's a local network, you can disable any firewall.
0
 
LVL 18

Author Comment

by:arantius
ID: 12162105
This is not in any way related to a firewall, both machines are directly connected on a network.

The problem is that though xp home can see and "access" the printer, it never asks me for a password.  I assume it does not supply a password, and access to the printer is denied.
0
 
LVL 18

Expert Comment

by:crissand
ID: 12162132
Use the account from another machine to connect to the printer. Do you have a blank password?
0
 
LVL 18

Author Comment

by:arantius
ID: 12163992
No it is not blank.  The printer works, as I said, from 98SE and 2K.
There's no "the account" on another machine, I have no domain.
0
 
LVL 18

Expert Comment

by:crissand
ID: 12169081
I have to see the samba config file.
0
 
LVL 18

Author Comment

by:arantius
ID: 12172392
I reiterate that the printer, and samba, work perfectly.  The issue is only that I cannot type in a password to use, so I am denied access as I have never supplied the password.

smb.conf:

[global]
        workgroup = INSANE ASYLUM
        netbios name = PARANOID
        server string =
        interfaces = 127.0.0.1, 192.168.1.254
        #bind interfaces only = Yes
        encrypt passwords = Yes
        log level = 4
        log file = /var/log/samba/log.%m
        max log size = 50
        deadtime = 10
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        show add printer wizard = No
        os level = 65
        lm announce = No
        preferred master = Yes
        domain master = No
        printer admin = t-bone
        create mask = 0640
        directory mask = 0750
        hosts allow = 127.0.0.1, 192.168.1.
        printing = cups

[t-bone]
        path = /home/t-bone
        username = t-bone
        valid users = t-bone
        force user = t-bone
        read only = No

[htdocs]
        path = /var/www/localhost/htdocs
        valid users = apache,t-bone
        force user = apache
        force group = apache
        read only = No

[www]
        path = /home/www
        valid users = www,t-bone
        force user = www
        force group = apache
        read only = No

[printers]
        path = /var/spool/samba
        printable = Yes
        browseable = No
0
 
LVL 18

Expert Comment

by:crissand
ID: 12178719
The samba config looks well. But there are accounts on w98 and w2k, these are local accounts. Also windows xp has integrated firewall, which is by default active and is blocking the printing port. My guess is the forewall on the xp is active, since there are no problem with samba configuration.

Anyway, since I found that line is missing add the following

use client driver = Yes

under

[printers] section

Sometimes for XP this line is requested.

0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 18

Author Comment

by:arantius
ID: 12185276
Added use client driver, no help.
Disabled firewall, no help.

I still say the problem is the fact that I am never typing in a password.  Perhaps someone can help me with that?
0
 
LVL 18

Expert Comment

by:crissand
ID: 12188910
What are the logon user name on every computer? The one that can printer the the one that cannot print.
0
 
LVL 18

Author Comment

by:arantius
ID: 12192824
all the same, t-bone
0
 
LVL 18

Expert Comment

by:crissand
ID: 12198958
Ok, this is the only user that can print. Now, is the password the same on all three computers?
0
 
LVL 18

Author Comment

by:arantius
ID: 12201372
there is no password in 9x, and it works.
password on linux and xp home is the same
0
 
LVL 18

Accepted Solution

by:
crissand earned 125 total points
ID: 12201443
Then let's look at the samba's log: /var/log/samba/log.%m, where %M is replaced by the name of the machine. But I remember you cannot have a user with or without password. Try a blank password on the xp machine.
0
 
LVL 18

Author Comment

by:arantius
ID: 12203182
Extremely strange.  After viewing the log (I should have from the begninning!) I saw a permission error.  /var/spool/samba/ to 777 and it works.  Now I get to fix it better than that.
0
 
LVL 18

Expert Comment

by:crissand
ID: 12226069
I'm glad you solved the problem.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now