+ Post New Thread
Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 71
*nix Thread, Installation guide for Samba, Winbind, CUPS and PyKota in Technical; Right have been working through this and have got the the point where cups is installed and configured but when ...
  1. #16
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Right have been working through this and have got the the point where cups is installed and configured but when I try to access https://<cups server>:631 i get the following:

    While trying to retrieve the URL: 192.168.49.16:631

    The following error was encountered:

    Connection to 192.168.49.16 Failed
    The system returned:

    (111) Connection refused

    Although I can access the webmin frontend withour issue.

    Next when I try to browse via windows to the print server I get prompted for username and password what gives??

    Don't really want to install/configure anymore untill i have this bit sorted, any help anyone ??......

  2. #17

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    Is CUPS running?
    Did the AD join work OK? Can you run things like net ads status and wbinfo -u ?

  3. #18

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    You need to use HTTP, not HTTPS.

  4. #19

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,068
    Thank Post
    160
    Thanked 925 Times in 727 Posts
    Blog Entries
    3
    Rep Power
    273
    Thanks Ric.. I be using this in the near future

    cheers buddy

    James

  5. #20
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Question

    @Ric_: CUPS is running, wbinfo -u returns loads of users, net ads status produces the following:

    Code:
    root@4428-prtsvr:~# net ads status
    root's password:
    [2008/03/12 07:35:31, 0] libads/kerberos.c:ads_kinit_password(164)
      kerberos_kinit_password root@JKHS-PD.LOCAL failed: Client not found in Kerberos database
    [2008/03/12 07:35:31, 0] utils/net_ads.c:ads_startup(191)
      ads_connect: Client not found in Kerberos database
    @Geoff: I am using https

    I have also decided to forge ahead and install pykota and have resolved all the dependancy issues apart from the following:

    Code:
    root@4428-prtsvr:/# dpkg -i pykota_1.26_official_ubuntu_all.deb
    Selecting previously deselected package pykota.
    (Reading database ... 40842 files and directories currently installed.)
    Unpacking pykota (from pykota_1.26_official_ubuntu_all.deb) ...
    dpkg: dependency problems prevent configuration of pykota:
     pykota depends on python-pysnmp4; however:
      Package python-pysnmp4 is not installed.
    dpkg: error processing pykota (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     pykota
    No matter what I try to do I cannot get this package installed (python-pysnmp4) if i do:

    Code:
    apt-get install python-pysnmp4
    I get the following:

    Code:
    root@4428-prtsvr:/# apt-get install python-pysnmp4
    Reading package lists... Done
    Building dependency tree... Done
    Package python-pysnmp4 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package python-pysnmp4 has no installation candidate
    HELP !!!!!

  6. #21

    Join Date
    Sep 2005
    Location
    Handsworth Grammar School
    Posts
    147
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    19
    I can send you pysnmp-3.4.3.tar.gz if that helps.

  7. #22

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    You need to install pysnmp4 from source on Ubuntu LTS 6.06. Ubuntu did not package pysnmp4 in it's repositories until 7.04.

  8. #23
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Geoff any pointers on doing this??

  9. #24

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    You can download it here:

    http://pysnmp.sourceforge.net/download.html

    Installation uses the normal python build system, so simply doing:
    Code:
    python setup.py install
    as root will install the library in your sitefiles.

  10. #25

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    @ICTNUT: You need to run the command as follows:

    Code:
    net ads status -U administrator
    It will chuck a load of info at you if your connection is all working well. It probably is mind since wbinfo -u works.

  11. #26
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Geoff, installed as suggested and got the following:
    Code:
    root@4428-prtsvr:/pysnmp-2.0.9# python setup.py install
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/pysnmp
    copying pysnmp/asn1.py -> build/lib/pysnmp
    copying pysnmp/asynrole.py -> build/lib/pysnmp
    copying pysnmp/bulkrole.py -> build/lib/pysnmp
    copying pysnmp/error.py -> build/lib/pysnmp
    copying pysnmp/role.py -> build/lib/pysnmp
    copying pysnmp/v1.py -> build/lib/pysnmp
    copying pysnmp/v2c.py -> build/lib/pysnmp
    copying pysnmp/__init__.py -> build/lib/pysnmp
    running install_lib
    creating /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/asn1.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/asynrole.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/bulkrole.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/error.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/role.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/v1.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/v2c.py -> /usr/lib/python2.4/site-packages/pysnmp
    copying build/lib/pysnmp/__init__.py -> /usr/lib/python2.4/site-packages/pysnmp
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/asn1.py to asn1.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/asynrole.py to asynrole.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/bulkrole.py to bulkrole.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/error.py to error.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/role.py to role.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/v1.py to v1.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/v2c.py to v2c.pyc
    byte-compiling /usr/lib/python2.4/site-packages/pysnmp/__init__.py to __init__.pyc
    Then tried to install pykota agin and got:
    Code:
    root@4428-prtsvr:/# dpkg -i pykota_1.26_official_ubuntu_all.deb
    Selecting previously deselected package pykota.
    (Reading database ... 43431 files and directories currently installed.)
    Unpacking pykota (from pykota_1.26_official_ubuntu_all.deb) ...
    dpkg: dependency problems prevent configuration of pykota:
     pykota depends on python-pysnmp4; however:
      Package python-pysnmp4 is not installed.
    dpkg: error processing pykota (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     pykota
    Any sugesstions?

    What if I rebuild the server with 7.0x instead of 6.06 would that help??

  12. #27

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Also did you edit the passwd and group sections of nsswitch.conf so that it uses winbind?

  13. #28

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    When I did my ubuntu install, I did not use the deb package. I used the tarball. I can confirm that Hardy works via the tarball method.

  14. #29

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    You could just use Debian Etch and the the instructions would work flawlessly.

  15. #30
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    installing Etch now.....

SHARE:
+ Post New Thread
Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Apache with Winbind Authentication
    By Ric_ in forum *nix
    Replies: 36
    Last Post: 22nd March 2008, 06:56 PM
  2. Samba/Cups print server
    By Geoff in forum *nix
    Replies: 7
    Last Post: 30th May 2007, 03:52 PM
  3. Replies: 3
    Last Post: 13th September 2006, 08:36 AM
  4. Windows Automated Installation Kit (WAIK) User's Guide
    By tosca925 in forum Windows Vista
    Replies: 0
    Last Post: 17th February 2006, 08:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •