LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-13-2008, 04:15 PM   #1
nielsl
LQ Newbie
 
Registered: May 2008
Location: Leiden, Netherlands
Distribution: Debian Etch
Posts: 6

Rep: Reputation: 0
{Debian]Samba + XP Home


Dear everybody,

I've got a samba server up and running, i've added my users, configured cups for my printer and those printers into my windowscomputers, as a administrator

Here comes the funny part... the printer does prints a testpage when I am logged in on my windows pc as the administrator, but it doesn't print a testpage, or whatever you would like to print when I'm logged in as a normal user without admin rights. I can see the printer, seemingly i can connect to the printer (it asks if it can install drivers) but I just can't print.

My smb.conf looks the following:

[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
public = yes
guest ok = yes
writable = yes
create mode = 0777


[HP_Laserjet_5M]
comment = HP Laserjet 5M
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
hosts allow = 10.0.0.

I amusing debian etch as a server an windows XP Home SP3 as the client. Does anybody have an idea?

Thanks,
Niels Lemmens
 
Old 05-14-2008, 10:05 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
If the administrator can print, then that eliminates a lot; you have the correct driver, printer config etc.

How are you handling security? Are your users logging in? Can a regular user see the shares, other than the printer?
 
Old 05-14-2008, 10:43 AM   #3
nielsl
LQ Newbie
 
Registered: May 2008
Location: Leiden, Netherlands
Distribution: Debian Etch
Posts: 6

Original Poster
Rep: Reputation: 0
Hey camorri,

My users are logging onto my server using a simple VBS script (map network drive for the shares, net use LPT1 for the printer), if I run it as an administrator, I can print, if I run it as a normal user I still have to log in as one of the unix users, which is good, it then adds the printer but when i ask windows to print a testpage, it just won't print.

It does print a testpage when I am logged onto my windows pc as an administrator and login my server using the VBS script as the same unix user that I tried to use when I am logged in as a regular user on my windows client

Last edited by nielsl; 05-14-2008 at 10:46 AM.
 
Old 05-14-2008, 02:22 PM   #4
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
It sounds more like a windows problem (about which I know very little ). From what you say, you're mapping a network printer every time the user logs in. If so, then this url might show you why it's not working. It seems that normal users aren't allowed to remap the parallel port (which seems to be quite sensible to be)

Is there a reason you can't just have the printer setup by Administrator on each machine, so users don't have to do anything?
 
Old 05-15-2008, 03:33 AM   #5
nielsl
LQ Newbie
 
Registered: May 2008
Location: Leiden, Netherlands
Distribution: Debian Etch
Posts: 6

Original Poster
Rep: Reputation: 0
Hey beadyallen,

thanks for the URL, that is really worth trying!
 
  


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 12:47 AM
samba /xp home deveware Linux - Server 7 01-05-2007 08:18 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
Samba and XP Home datprogrammer Linux - Networking 1 07-07-2004 01:43 PM
Samba and XP Home? Wik Linux - Networking 4 04-30-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:21 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