Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Samba Printer on XP Home, password

Posted on 2004-09-27
15
Medium Priority
?
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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 375 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
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 …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

721 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