LinuxQuestions.org
Help answer threads with 0 replies.
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 06-21-2003, 12:10 PM   #1
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Question Asimple way to connect Windows XP Shared printer to Linux


Hi team,
I have got my network talking to each other through Samba 3.
Now I need to connect WIndows XP Printer to Linux is there a simple way to do this?

THanks
ikw38
 
Old 06-21-2003, 12:27 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
In readhat 9.0 the package redhat-config-printer-gui has a program located in /usr/bin/printconf-gui that makes it real easy to set up cups to use samba printers. Rpmfind shows an older version of the same package is available for redhat 8.
 
Old 06-21-2003, 07:09 PM   #3
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
Well I am still having printing problems.
While my networks is talking one another- I am still having some quirks.
---------------------------
Windows
---------------------------
Your computer could not be joined to the domain because the following error has occurred:



The account used is a computer account. Use your global user account or local user account to access this server.

I ge this whenI try to put the computer into the Domain.
Although it does see it on the Linux side fine , but I am trying to make sure we Authinicate to it and I can connect the printer to it by network sharing through Windows.

here is copy of the SMB.CONF file.

Please help me get this going .

# smb.conf is the main samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-03-17
[global]
# netbios bla, bla, bla
workgroup = SMIS
netbiosname = SAMBA_PDC
server string = Linux net

# LogSamba
log file = /var/log.%m

# PDC's
domain master = SMIS
prefered domain = SMIS
domain logons = yes
os level = 65
security = user


# Passwords
encrypt passwords = yes
update encrypted = yes
password level = 4

# Administra. PDC
domain admin users = root

# Performance
short preserve case = yes
max log size = 5000
case sensitive = no
default case = lower
mangle case = no
dead time = 15
read raw = yes
write raw = yes
socket options = TCP_NODELAY
oplocks = yes
fake oplocks = no
debug level = 2
preserve case = yes
getwd cache = yes


printing = Cups
load printers = yes

[homes]
path = /home/%u
comment = samba users
browseable = yes
writeable = yes


Thanks,ikw38
 
Old 06-21-2003, 11:12 PM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
I'm sharing a printer from a win98 computer so I have no idea if the setup works with anything else. The relevant lines from my smb.conf are here:
Code:
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
	printcap name = /etc/printcap
	load printers = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = yes
# Set public = yes to allow user 'guest account' to print
	printable = yes
btw, I have samba-2.2.7a-8.9.0
 
  


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
Using windows shared printer from linux DaveAtFGI Linux - Newbie 6 10-29-2005 05:07 PM
deskject 3820 Printer on Windows machine not able to connect to from linux RedHat 9.0 bmfmyth Linux - Networking 10 07-04-2004 01:06 AM
Connect to shared network printer on WinXP machine for all users (Slackware) a1flecke Linux - Newbie 12 05-03-2004 08:27 PM
How doi I connect my Mandrake 9.2 to WinXP Shared Folders and Printer? nicolo Linux - Newbie 3 03-10-2004 03:20 AM
Networking with Windows XP and printing to Windows XP shared printer AlanButler Red Hat 1 10-27-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration