Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Desktop Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th January 2007, 02:53
SawtheLight SawtheLight is offline
Junior Member
 
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Question Ubuntu Desktop and Sharing printers with XP

Hi all,

I have installed ubuntu 6.10 desktop on amy home machine which when it had xp was also a wirless print server.

I have installed samba and can see the workgroup in the Network properties on the xp desktop/laptops. In ubuntu 1 have click share my printer, i have modified the smb file for cups and permission = users
What happens; (XP)
Add a new printer.
Go through wizard and input server.
eg: \\hmsrv\dj990c
A Uname/pword dialog appears. I type the username and correct password and it fails to connect. I type hmsrv\user1, & pword and fails to connect. I created a 'user' and put it in the user group.

I am missing something. but WHAT....

Thanks in anticipation.
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2007, 08:34
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Did you allow the printer to be shared on your winXP system? Can you print from other windows boxes to this attached printer?
Reply With Quote
  #3  
Old 16th January 2007, 09:56
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

You are trying to share the printer from your ubuntu computer right?
And WinXP tries to access it through the ubuntu computer?

If so, could you please post your /etc/samba/smb.conf file?
Reply With Quote
  #4  
Old 16th January 2007, 10:07
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Right, maybe I read the post of SawtheLight incorrect.

Maybe the question is to use a printer on his system, which he migrated from XP to Ubuntu? In that case, installing a package like CUPS should be able to handle printers directly connected to a Linux system.
Reply With Quote
  #5  
Old 16th January 2007, 10:39
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

I'm not sure but I think the printer is attached to the ubuntu box and he wants to connect with winxp to it...
Reply With Quote
  #6  
Old 16th January 2007, 22:24
SawtheLight SawtheLight is offline
Junior Member
 
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by sjau
I'm not sure but I think the printer is attached to the ubuntu box and he wants to connect with winxp to it...
Correct, thanks for the replys, i will post the conf file tonight, when i get the chance to play with it.

Printer is attached to ubuntu box, want to connect 2 winxp clients and print.

Is there any '99% you have missed' settings which i can try? Before i tax too many brains with my ignorance.

Thanks
Reply With Quote
  #7  
Old 16th January 2007, 22:27
SawtheLight SawtheLight is offline
Junior Member
 
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by martinfst
Right, maybe I read the post of SawtheLight incorrect.

Maybe the question is to use a printer on his system, which he migrated from XP to Ubuntu? In that case, installing a package like CUPS should be able to handle printers directly connected to a Linux system.
I have cups installed, it is with the basic install of edgy eft; otherwise is the a 'higher' level of cups i need to connect with win xp? Although i am sure my problem is with samba permissions.
Reply With Quote
  #8  
Old 17th January 2007, 01:16
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

Did you use SWAT to setup samba?

(1) Install swat:
Code:
sudo apt-get install swat
(2) Add to /etc/services
Code:
  swat 	901/tcp			#SWAT
(3) Add to /etc/inetd.conf (if necessary):
Code:
swat 	stream 	tcp 	nowait.400	root 	/usr/sbin/swat 	swat
Depending on your version it could also be /etc/xinted.conf instead of /etc/inted.conf

Add to /etc/xomted.conf (if necessary)
Code:
includedir /etc/xinetd.d
(4) Create/Alter /etc/xinetd.d/swat to:
Code:
# default: on 
  # description: SWAT is the Samba Web Admin Tool. Use swat \ 
  # 	to configure your Samba server. To use SWAT, \ 
  # 	connect to port 901 with your favorite web browser. 
  service swat 
  { 
	port = 901 
	socket_type = stream 
	wait = no 
	only_from = localhost 
	user = root 
	server = /usr/sbin/swat 
	log_on_failure += USERID 
	disable = no 
  }
(5) Restart xinetd
Code:
service xinetd restart
(6) Connect to SWAT throuth http://localhost:901
--> Root must be activated and you must login as root to get access.
Reply With Quote
  #9  
Old 17th January 2007, 01:54
SawtheLight SawtheLight is offline
Junior Member
 
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks will try this tonight...

Is this a SAMBA config tool?
EdIT: Thanks - i can read now - YES IT IS
Reply With Quote
  #10  
Old 17th January 2007, 07:18
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
 
Default

Did it work?
I used swat the first time I setup samba (and have ever since copied the smb.conf that it created)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.