Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > windows printing on samba server
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th August 22:34
mike noble
External User
 
Posts: 1
Default windows printing on samba server



I am trying to get my windows machine to print to my samba server. I
would like to
have it so that each user does not have to have an account. I't just
at my house
so it really is not that bad, but would prefer not to. I have a
directory shared out
which works well with out needing an account. But when I try to look at the
printer from a Win2k machine it says access denied unable to connect.
Here is my smb.conf file:

# Global parameters
[global]
protocol = NT1
log file = /var/log/samba/log.%m
ldap ssl = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
map to guest = Bad User
wins support = true
dns proxy = no
server string = Samba Server %v
workgroup = NOBLE
os level = 20
printcap name = cups
security = user
max log size = 50
load printers = yes
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = root

[shares]
guest ok = yes
force user = mgnoble
force group = mgnoble
comment = Shared files
writable = yes
path = /home/shares

I have looked at the samba logs and there is nothing listed.

Mike

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


2 8th August 22:35
mike noble
External User
 
Posts: 1
Default windows printing on samba server



I am trying to get my windows machine to print to my samba server. I
would like to
have it so that each user does not have to have an account. I't just
at my house
so it really is not that bad, but would prefer not to. I have a
directory shared out
which works well with out needing an account. But when I try to look at the
printer from a Win2k machine it says access denied unable to connect.
Here is my smb.conf file:

# Global parameters
[global]
protocol = NT1
log file = /var/log/samba/log.%m
ldap ssl = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
map to guest = Bad User
wins support = true
dns proxy = no
server string = Samba Server %v
workgroup = NOBLE
os level = 20
printcap name = cups
security = user
max log size = 50
load printers = yes
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = root

[shares]
guest ok = yes
force user = mgnoble
force group = mgnoble
comment = Shared files
writable = yes
path = /home/shares

I have looked at the samba logs and there is nothing listed.

Mike

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


3 9th August 15:54
mike noble
External User
 
Posts: 1
Default windows printing on samba server


I am trying to get my windows machine to print to my samba server. I
would like to
have it so that each user does not have to have an account. I't just
at my house
so it really is not that bad, but would prefer not to. I have a
directory shared out
which works well with out needing an account. But when I try to look
at the printer
from a Win2k machine it says access denied unable to connect.

I have looked at the logs and there is nothing shown.

Here is my smb.conf file:

# Global parameters
[global]
protocol = NT1
log file = /var/log/samba/log.%m
ldap ssl = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = yes
map to guest = Bad User
wins support = true
dns proxy = no
server string = Samba Server %v
workgroup = NOBLE
os level = 20
printcap name = cups
security = user
max log size = 50
load printers = yes
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = root

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = yes
browseable = yes
read only = yes
write list = root

[shares]
guest ok = yes
force user = mgnoble
force group = mgnoble
comment = Shared files
writable = yes
path = /home/shares


Mike

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
4 10th August 00:50
david busby
External User
 
Posts: 1
Default windows printing on samba server


Please give us the names of the printers installed in CUPS too. I have
a printer named hp5550 in CUPS and have this in smb.conf

# My printer, hp5550 is it's name in cups too
[hp5550]
comment = HP DeskJet 5550
printable = yes
path = /var/spool/samba
public = yes
#guest ok = yes
# busby is my unix username, and it's in the user map too
# Group names could be @group
printer admin = busby,lp,root


busby is my username on unix machine, I have it mapped in
/etc/samba/username.map

My complete info on samba, what you wanna do, is here:
http://www.edoceo.com/liber/gentoo-samba-cups.php

HTH

/djb

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666