Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: SloopJohnB on October 23, 2003, 09:17:01 AM
-
I typed up the steps I took to create a network print-server (Hawking Tcp-Ip print server)> The only problem is that I get an "Access denied, unable to connect" error message when opening the the printer status windows in WindowsXP. Here are steps, soes anyone know what I left out??
SloopJohnB
How to setup a Hawking network print-server on SME 6.03b Server
1) login to https://mydomain/server-manager
2) go to hostnames and addresses
3) add a hostname (call it “print.mydomain.com)” select “local” for location.
4) Click “next”
5) Add ip address AND THE MAC ADDRESS (Ethernet address) (be sure to choose an address out of the DHCP range, ie 192.168.0.252)
6) Click “add”
7) Verify print server is setup for DHCP. Go to www.hawking-tech.com for print server software and manuals.
8) Go to “prnters”
9) Click “add printer”
10) Enter printer name (ie hplaserj)
11) Add a short description (where located…)
12) Choose “network printer…” for location
13) Click add
14) For ip address or hostname enter hostname (ie, print.mydomain.com)
15) Enter lp1 (or lp2, or lp3 for 3 port print server) for “network printer name”
16) Wait a few seconds for server to update
17) Go to Windows “Add printer” wizard and locate the printer in the tree and install drivers as needed.
18) Print a test page and viola !
-
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes" then do /sbin/e-smith/signal-event post-upgrade followed by /sbin/e-smith/signal-event reboot. The change will then be effective and the access denied msg will go away. I believe this works will all versions of SME that have the problem.
Your howto looks good, except that some print-servers will need different care and feeding to setup, or will use different port names, or will allow you to set up services for which you can then choose your own names.
Regards,
Tom
-
why would you do /sbin/e-smith/signal-event post-upgrade then reboot?
Surely a /sbin/e-smith/expand-template /etc/smb.conf would work followed possible by service smb restart if I remember rightly :-/
-
I just tested Byte's method and it seems to work on 5.6 and a Win2kPro ws.
/Jens
-
Thank you ... this resolved my problem that this newbie had been struggling with.
Byte's smb restart was used rather than the "reboot" option.
-
btw - do NOT move the template, copy it. The whole idea behind the template system is that the default template set is left intact to allow for a standard config if the customisation messes up.
-
Welcome tip on access denied
if you do;
- smbstatus -b
- kill
smb.conf is re-read and changes are visible
-
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes"
I have not been able to get this to work. I did some more search in Google this tip did the trick. Add the following line in the 50printers file:
use client driver = yes
-
The "access denied" message probably won't keep you from printing. This has been discussed here before, and my fix is to move "50printers" from /etc/e-smith/templates/etc/smb.conf directory into etc/e-smith/templates-custom/etc/smb.conf/ and change guest to "yes"
I have not been able to get this to work. I did some more search in Google this tip did the trick. Add the following line in the 50printers file:
use client driver = yes
This worked for me too.
Note that, although it said 'access denied...' next to the printer icon, some apps would print anyway. One app that refused to print was Adobe Reader 7.0.
-
In case you don't know this can be done using James Prices Adv Worksgroup contrib; up to 6.0.1 only
HTH
-
In case you don't know this can be done using James Prices Adv Worksgroup contrib; up to 6.0.1 only
HTH
Sounds good. Do you have a link to this contrib - I can't find it?
Thanks.
Max.
-
.. its in the contribs area here that hooks into Ibiblio!!!
http://www.ibiblio.org/pub/Linux/distributions/smeserver/contribs/jprice/beta/e-smith-advworkgroup/e-smith-advworkgroup-0.3-4.noarch.rpm
-
And please note also, that this adv-wkg-contrib is for samba version 2.8 and not for upgraded machines (like the upgrade script provides Samba 3.x).