Solved

Samba Printer on XP Home, password

Posted on 2004-09-27
15
184 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

11 Experts available now in Live!

Get 1:1 Help Now