[Lias] CUPS and LTSP

Simon Bryan sbryan at olmc.nsw.edu.au
Mon Nov 10 13:00:01 UTC 2003


HI all, (Apologies for the length of this but trying to be thorough)
I have been working away at this for a while now and getting nowhere, so some advice
would be appreciated:
The Scenario:
Users are beginning to login to workstations on our LTSP setup. They map their home
drives from another Linux server via SMB and setup Open Office and Galeon. No
problems.
I need now to let them print back to printers attached to our W2K server - all our
school printers are shared from and controlled from there.

What I have done:
Downloaded and installed cups from source.
startted the cups server
Tried the  /usr/bin/smbclient  -L 10.192.0.13 -U myuser command (took a while to
find a user that was acceptable to the system - the windows admin user does not
work). AMongst other things this returns:
Sharename      Type      Comment
        ---------      ----      -------
        PCOUNTER       Disk
        PcounterNT     Disk      Shared for Library to use Padmin
        HP4000         Printer   HP4000
        IPC$           IPC       Remote IPC
        print$         Disk      Printer Drivers
        T4-HP2100      Printer   T4-HP2100
        StaffHP1       Printer   StaffHP1
        StaffHP3       Printer   StaffHP3
        D              Disk
        staff1 B&W     Printer   Staff1 B&W
        StaffHP2       Printer   StaffHP2
        Front Office   Printer   Pat & Lyn
        staffcolour    Printer   staffcolour
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share
        Exec           Printer   AKA Principals Secretary
        cd_rom         Disk
        interchk       Disk

This is NOT a complete listing of all the shared printers - Why?
In fact the printer I need to use is not listed - it is a HP4600 - (the share name
is quite long and icludes spaces)

Tried:
 /usr/sbin/lpadmin -p StaffHP1 -v smb://winadminuser:password@genesis/StaffHP1

Which at least did not give any errors, most other usernames and passwords gave
connection refused type errors.
Then gave the enable accept command.
Then lp install-sh (a file in the directory), which gave
request id is StaffHP1-5 (1 file(s))
But nothing prints.

If I login to a workstation and use say KWord, when I go to print there is a printer
listed as StaffHP1|StaffHP1, but attempts to print give the "client-error-not-found'
error, which would seem to indicate that the printer does not exist.


What I need is a once only install of the printer on the LTSP server so that users
can simply use it without having to install anything themselves.

Am I on the right track?
Should I be doing this some other way?

Any help, advice appreciated.

CHeers,

PS. I solved my desktop selection problem - using a kludge. Once we have this
settled under Gnome will show interested users how to select KDE as the session when
loggin in and how to make it permanent whenb logging out.
____________________
Simon Bryan
IT Manager
OLMC Parramatta



More information about the lias mailing list