Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry for posting the same topic again, but nothing I have done throughout my research has worked. I am trying to set up Samba on my Slack9.1 box(server). So far I have successfully set it up as a file server. My windows clients can sucessfully connect and write and delete files as necessary. The problem comes with my hp932c printer. I have it set up with cups. From the server I can print and the quality looks goot. I can not print from my other windows boxes tho. I can see it in "My Network Places". I even installed the mofo. Here is my /etc/samba/smb.conf
I have a user named smbprint w/o a password, and have executed this command smbpasswd -a smbprint and every thing went well. I have also uncommented the following lines from the following files.
/etc/cups/mime.convs:
application/octet-stream application/vnd.cups-raw 0 -
/etc/cups/mime.types:
application/octet-stream
I have also slightly modified my /etc/cups/cupsd.conf file like this
<Location />
Deny From All
Allow From 127.0.0.1
Allow From All
</Location>
I have been at this for quite some time and I have a feeling it is the littlest thing in the world. Any help would be appreciated, from what I have read alot of you have got this to work, I just can seem to get it together. Thanks alot.
With this new smb.conf I can install the printer on my windows boxes. Then I go to properties and click print test page I wait a little bit and a box comes up saying A test page is now being sent to your printer ya da ya ya. From here I can click Ok mean the page printed, or troubleshoot. I am at a loss here peopele. If you fellas have any other suggestions let me know. As always thanks for the help.
OK, I could be way off base (since I have to use Samba to connect to a printer on a Windoze box and not the other way around), but....
... are the users who are trying to print from Windows authorized Samba users? Meaning, have they been added to smbpasswd using the -a and -e options? That's the only thing left I can think of that might be the problem. You might also have to make them users on your Linux box (using the same username and password as Windows)... sometimes Samba doesn't seem to like unknown users being added to its authorization list.
Thank you for the quick reply. I just tried it now that you mentioned it, and here is the exact command I typed:
Code:
smbpasswd -a -e First\ Last password
The user name and password that I enter was that of my window box correct? I get this error after I type that:
Code:
Failed to Initialise SAM_ACCOUNT for user First Last
Failed to modify password entry for user First Last
Should I just try to add them as actual user to the system via adduser? Is it going to have a problem with my windows user names having spaces in them. Because my windows user names (and this is what I enter above) "First Last". First and Last being my real name.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.