[HOW TO] Print to a Linux Box from a Windows Box


Recommended Posts

msg43

Previous way does not work

Well I've been trying to get samba and cups to work for a long time and I didn't care how if it had to be with a user name would have done it but wouldn't have liked it. Anyways....

You need to create a user called samba and a group called samba

adduser

follow the steps

add group

groupadd samba

Then you need to edit some samba things. First File

/etc/cups/cupsd.conf

and you go to change this

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>

to this

<Location />
Order Deny,Allow
Deny From All
Allow From All
</Location>

then you need to uncomment the following lines:

/etc/cups/mime.types

application/octet-stream

/etc/cups/mime.convs

application/octet-stream        application/vnd.cups-raw        0      -

Then you edit you samba conf

Edit Samba Config

# Global parameters
[global]
	server string = Matthew
	security = SHARE
	guest account = samba
	printer admin = samba, matthew

[Share]
	read only = No
	guest ok = Yes
	path = /home/samba

[Canoni450]
	comment = Canoni450
	path = /home/samba/spool
	valid users = matthew, samba
	guest ok = Yes
	printable = Yes
	use client driver = Yes

I added a dir so people can see how I setup a share

It is probably necessary to add WORKGROUP = yourworkgroup if you use a different workgroup other than workgroup

Edited by msg43
Link to post
Share on other sites
markjensen

Thanks for the nice HOWTO! (Y)

It would be nice if someone could add in some information to limit connections to only a home network set of IPs (or otherwise restrict connections).

Link to post
Share on other sites
msg43
Thanks for the nice HOWTO! (Y)

It would be nice if someone could add in some information to limit connections to only a home network set of IPs (or otherwise restrict connections).

585608643[/snapback]

If you have a router w/ a fireall just block port 631

most routers today have firewalls

btw thanks

Link to post
Share on other sites
msg43

will put in a request

thanks

Link to post
Share on other sites
  • 3 months later...
msg43

Majorly Rechange the previous way does not work very well.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.