
16th January 2007, 03:53
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

16th January 2007, 09:34
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 873
Thanks: 1
Thanked 14 Times in 13 Posts
|
|
Did you allow the printer to be shared on your winXP system? Can you print from other windows boxes to this attached printer?
|

16th January 2007, 10:56
|
|
Pseudo Lawyer
|
|
Join Date: Apr 2006
Location: Switzerland
Posts: 857
Thanks: 3
Thanked 25 Times in 23 Posts
|
|
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?
|

16th January 2007, 11:07
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 873
Thanks: 1
Thanked 14 Times in 13 Posts
|
|
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.
|

16th January 2007, 11:39
|
|
Pseudo Lawyer
|
|
Join Date: Apr 2006
Location: Switzerland
Posts: 857
Thanks: 3
Thanked 25 Times in 23 Posts
|
|
I'm not sure but I think the printer is attached to the ubuntu box and he wants to connect with winxp to it...
|

16th January 2007, 23:24
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

16th January 2007, 23:27
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

17th January 2007, 02:16
|
|
Pseudo Lawyer
|
|
Join Date: Apr 2006
Location: Switzerland
Posts: 857
Thanks: 3
Thanked 25 Times in 23 Posts
|
|
Did you use SWAT to setup samba?
(1) Install swat:
Code:
sudo apt-get install swat
(2) Add to /etc/services
(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.
|

17th January 2007, 02:54
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks will try this tonight...
Is this a SAMBA config tool?
EdIT: Thanks - i can read now - YES IT IS
|

17th January 2007, 08:18
|
|
Pseudo Lawyer
|
|
Join Date: Apr 2006
Location: Switzerland
Posts: 857
Thanks: 3
Thanked 25 Times in 23 Posts
|
|
Did it work?
I used swat the first time I setup samba (and have ever since copied the smb.conf that it created)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:48.
|
Recent comments
1 day 15 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 13 hours ago