LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   {Debian]Samba + XP Home (https://www.linuxquestions.org/questions/linux-server-73/%7Bdebian%5Dsamba-xp-home-641978/)

nielsl 05-13-2008 04:15 PM

{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

camorri 05-14-2008 10:05 AM

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?

nielsl 05-14-2008 10:43 AM

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

beadyallen 05-14-2008 02:22 PM

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?

nielsl 05-15-2008 03:33 AM

Hey beadyallen,

thanks for the URL, that is really worth trying!


All times are GMT -5. The time now is 09:55 PM.