LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-14-2003, 12:30 PM   #1
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Rep: Reputation: 15
Win2K can see RH9 box, can't see printer


I have an HP deskjet 970c directly connected to a RH9 box. It prints just fine.

I have the printer set up as a share through the xwindows printer configuration.

I can see the RH9 box in the Win2k Add Printers dialog (seems like it takes a really long time to list all the PCs). The RH9 box has a plus sign (+) next to it but when I click on it nothing happens.

I have set this up using SAMBA and everything seems to be ok as seen through the eyes of someone with some Winders 2K networking background.

Oh... I have disabled the firewall because this network is behind a router.

Any suggestions would be appreciated.
 
Old 09-14-2003, 02:16 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In order to connect to the samba server, you will need to create Samba users.
Use the same usernames as the ones you created in win2k.
Code:
smbpasswd -a username
These Samba users must also be valid Unix users or an alias to one Unix user.
For an alias, take a look at /etc/samba/smbusers

If you still have difficulties, post your smb.conf
 
Old 09-16-2003, 05:45 AM   #3
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Hi, Mathieu...

Thanks for your reply.

I am trying to solve this problem using Webmin and manual edits to files, so I hope I haven't hosed anything up.

I solved the problem of not being able to see the printer, and I've solved the problem of not being able to "connect" to the printer (error message was "Unable to connect: access denied").

Now all I have to do is solve the problem of being unable to PRINT to the printer.

When my win2k box finally allowed me to install the printer it said I didn't have the correct driver and asked if I wanted to install a new one. I said OK and it opened up the printer selection dialogue.

At that point I had a red text message in my printers window that said "unable to connect: access denied". I changed the security settings to share in the Linux box and that went away.

However, when I try to print to it, nothing happens. (Well, I'm sure something is happening, I just can't see it and nothing comes out of the printer.)

Any suggestions will be greatly appreciated.

Thanks,

Bill
 
Old 09-16-2003, 02:06 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Can you post your smb.conf ?

Tip: When installing the HP printer drivers on win2000, download the newest driver from the HP website.
 
Old 09-16-2003, 07:30 PM   #5
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Yes, here it is.

# Global parameters
[global]
log file = /var/log/samba/%m.log
guest account = ftp
printer = hpdeskje
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# FYI... the wins server is a win2k server which is a PDC
wins server = 192.168.0.100
username map = /etc/samba/user.map
domain master = No
encrypt passwords = Yes
public = yes
passwd program = /usr/bin/passwd %u
netbios name = THUNDERBIRD
printing = cups
server string = Samba Server
path = /var/spool/samba
unix password sync = Yes
local master = No
workgroup = EUPHONIC
os level = 20
printcap name = /etc/printcap
security = share
preferred master = no
max log size = 0
pam password change = Yes

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775

[printers]
comment = HP deskjet on Thunderbird
printable = yes
path = /var/spool/samba
guest ok = yes
browseable = yes
public = yes
create mode = 0700
use client driver = yes

Thanks for your interest.

Bill
 
Old 09-16-2003, 08:24 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Place use client driver = yes among the Global parameters instead of under printers.

If that does not work, make sure that when you login in windows that the windows username and password is the same as the Samba and Linux user account.
 
Old 09-17-2003, 05:57 AM   #7
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Hi...

well, I moved the client driver statement to [global] and created user accounts on the Linux box with the same username and password as my Winders box.

Still no go.

Hmmm.

Any ideas?

Thanks.
 
Old 09-17-2003, 10:58 AM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want a good book on Samba (Using Samba), take a look at O'Reilly & Associates' Open Books Project.
http://www.oreilly.com/openbook/
 
Old 09-17-2003, 12:51 PM   #9
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Original Poster
Rep: Reputation: 15
Mathieu....

Thanks for the link.

I've already found it, I need more time to read it, I guess.

Best regards,

Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 01:16 PM
How do I get my Suse 9.1 box to print to the printer attached to my Win XP box? PadreFabuloso Linux - Newbie 2 06-23-2005 04:06 PM
How to Q: Win2k box to see Linux Box NPSHr Linux - Networking 3 09-17-2003 10:53 PM
Trouble printing from Win2K to printer on linux box cboyd Linux - Networking 0 03-03-2002 05:41 PM
Sharing a Win2k printer on a Nix box bripage Linux - Networking 0 01-29-2002 07:06 PM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration