+ Post New Thread
Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 71
*nix Thread, Installation guide for Samba, Winbind, CUPS and PyKota in Technical; I couldn't use etch because there was no driver support for some of the newer printers I have (photocopiers mainly)....
  1. #31

    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
    I couldn't use etch because there was no driver support for some of the newer printers I have (photocopiers mainly).

  2. #32
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Yeah I had a brain wave and decided to check support and found that our Canon iR range of copiers is not supported.

    I have installed ubuntu 7.10 and has worked of the bat, to say that I have CUPS up and running now going for PYKOTA.

    Will update you as I go....

  3. #33
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    OK here goes,

    I have ubuntu 7.10 instaled and working, I have cups installed and working (have added two printer thus far and done test prints to them OK), I have pykota installed.

    When doing that last section on the CUPS config:

    Code:
    chown -R administrator:"domain admins" /etc/samba/drivers/
    I get the following return ed back:

    Code:
    chown: `administrator:domain admins': invalid user
    on the next line:

    Code:
    cupsaddsmb -H servername -U administrator -a
    I assume that servername is replaced with the name of my print server??

    Onto the Pykota config, where it says add a printer via the CUPS interface I can do this but the is nowhere to select the type of "Pykota Managed"

    Any ideas?....

  4. #34

    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
    1. Verify you've edited the /etc/nsswitch.conf file as I earlier suggested.
    2. Yes.
    3. Verify the /usr/lib/cups/backend/cupspykota symbolic link exists and the permissions are correct on /usr/share/pykota/cupspykota file.

  5. #35
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    OK after a great deal of effort ubuntu is out the window.

    I have installed debian etch (4.0 r3) and have got most of the way with no errors at all, however, I am not at the bit where we change some permissions:

    Code:
    # chown -R administrator:"domain admins" /etc/samba/drivers/
    and i get:

    Code:
    chown: `administrator:domain admins': invalid user
    I have tried variations of domain admin accounts / groups non of which work, any ideas anyone??.....
    Last edited by ICTNUT; 18th March 2008 at 12:51 PM.

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

  7. #37

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    Sorry that I missed your post...

    I had a problem with this during my migration. Things to check are that the directory exists (!) and that winbind, etc. are working - particularly check there is no clock skew!

  8. #38

    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
    (Third time now) Did you edit /etc/nsswitch.conf so the system knows to ask winbind about users/groups?

  9. #39
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    @Ric_: i did see a mention somewhere about NTP, I can gaurantee this has not yet been setup but I guess it should be, any pointers??

    @Geoff: Yes see below:
    Code:
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         files winbind
    group:          files winbind
    shadow:         files winbind
    
    hosts:          files dns
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis

  10. #40

    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
    i did see a mention somewhere about NTP, I can gaurantee this has not yet been setup but I guess it should be, any pointers??
    Code:
    apt-get install openntpd
    Then edit /etc/openntpd/ntp.conf Mine looks like this:
    Code:
    # Addresses to listen on (ntpd does not listen by default)
    listen on *
    #listen on 127.0.0.1
    #listen on ::1
    
    # sync to a single server
    server ntp0.lancsngfl.ac.uk
    server ntp1.lancsngfl.ac.uk

    see below
    you have the order wrong, your using winbind for shadow (which is wrong). Here's how mine works:
    Code:
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         winbind compat
    group:          winbind compat
    shadow:         compat
    
    hosts:          files dns mdns
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis
    verify that your nsswitch is working correctly like so:

    Code:
    root@goliath:~# getent passwd | grep Administrator
    administrator:x:11761:10015:Administrator:/home/CARRHILL/administrator:/bin/bash
    root@goliath:~# getent group | grep "Domain Admins"
    Domain Admins:x:10015:Ctx_ConfigMgr,zimbra,EMLibUser1,sweepupd,gking,manager
    As you can see, mine works

  11. #41
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Ok as you can see the following works:

    Code:
    4428-prtsvr:~# getent passwd | grep ozanpakyuz
    JKHS-PD\ozanpakyuz:*:11763:10002:OzanPakyuz:/home/JKHS-PD/ozanpakyuz:/bin/false
    ozanpakyuz:x:1000:1000:Ozan Pakyuz,,,:/home/ozanpakyuz:/bin/bash
    but this does not:

    Code:
    4428-prtsvr:~# getent group | grep "Domain Admins"
    4428-prtsvr:~#
    So i guess soemthing is still missing somewhere.

    I copied you nsswitch.conf file as you posted it and we have moved foreward and it look like it is able to see users just not groups

  12. #42

    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
    So can winbind see groups?

    Code:
    root@titan:~# wbinfo -g | grep "Domain Admins"
    Domain Admins

  13. #43
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Nope, I get the same thing, just returns an empty line

  14. #44

    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
    What about 'wbinfo -g' on it's own?

  15. #45
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    I get the following:

    Code:
    4428-prtsvr:~# wbinfo -g
    BUILTIN administrators
    BUILTIN users
    domain users
    teachers
    domain guests
    domain computers
    group policy creator owners
    cert publishers
    domain admins
    domain controllers
    _web applications
    exchange domain servers
    dnsupdateproxy
    _web anonymous users
    students
    jkhsadmins
    reports
    alcusers
    2005_intake
    2004_intake
    2003_intake
    2002_intake
    2001_intake
    smt
    banned_internet
    alcstaff
    2006_intake
    moodlecreators
    ict_reset_passwords
    ras and ias servers
    exchange enterprise servers
    dhcp users
    dhcp administrators
    netopactivity
    dnsadmins
    wins users
    debugger users
    telnetclients
    iis_wpg
    sqlserver2005mssqluser$jkhs-dc1$microsoft##ssee
    sqlserver2005msfteuser$jkhs-dc1$microsoft##ssee
    wsus reporters
    wsus administrators
    certsvc_dcom_access
    enterprise admins
    schema admins
    all staff
    resources
    2006
    2005
    2004
    2003
    2002
    mathsgroup
    orangeteam
    Which is really wierd as domain admins is in there

SHARE:
+ Post New Thread
Page 3 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
  •