+ Post New Thread
Page 1 of 4 1234 LastLast
Results 1 to 15 of 47
*nix Thread, Extracting the Cups Drivers on Ubuntu 7.10 in Technical; Hello again, I am currently still going through the Installation guide for Cups, Samba, Kerberos and PyKota as written by ...
  1. #1

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56

    Extracting the Cups Drivers on Ubuntu 7.10

    Hello again,

    I am currently still going through the Installation guide for Cups, Samba, Kerberos and PyKota as written by Ric_.

    I think it's going OK although i have now run into a situation that i am a little unsure about. This is how to extract the CUPS drivers into the correct folder as mentioned here:

    * Extract the following files from the CUPS Driver package to /usr/share/cups/drivers:
    o cups6.inf
    o cups6.ini
    o cups6.ppd
    o cupsps6.dll
    o cupsui6.dll

    * Copy the following files from a Windows installation to /usr/share/cups/drivers:
    o ps5ui.dll
    o pscript.hlp
    o pscript.ntf
    o pscript5.dll
    I am using Ubuntu 7.10. The package is in the .RPM format which this version of Ubuntu can't seem to recognise. I have downloaded alien and converted the package to a .deb package but now i am unsure as to what to do next. Can i just install the packe as normal or do i need to do this a different way?

    TIA.

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Here you go, fresh off my print server.
    Attached Files Attached Files

  3. Thanks to Geoff from:

    HodgeHi (1st July 2008)

  4. #3

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Thats cool. Thanks very much.

  5. #4

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    @ Geoff,

    The cups6.ppd is missing. Is this OK or is it required. I will be printing through the CUPS system from OS X as well?

  6. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    So it is, That's never caused a problem here though. However for completeness:

    http://svn.easysw.com/public/windows...i386/cups6.ppd

  7. Thanks to Geoff from:

    HodgeHi (1st July 2008)

  8. #6

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    OK i have moved on from the drivers thanks to Geoff.

    I have now got to the point that if i try to change the ownership on the /etc/samba/drivers to the administrator:"domain admins". i get an error returned which says

    chown: `administrator:domain admins': invalid group

    I don't know why. When i run the wbinfo -g the groups are returned as does the getent group command. I can obtain a ticket using kinit administrator and i can list them with klist. What could be the problem?

    Could it be something to do with the winbind error i have. When i run the testparm i get a winbind seperator error. The winbind error seems to do with the slash being seen as an escape character and thus removing the carriage return and placing the next line on the same line as the separator option.

  9. #7

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I have since run a command found in the installation guide thread at the top of the *nix section:

    Code:
    getent group | grep "Domain Admins"
    This did not return anything. Now I'm stumped as to why as the group definitely exists. I continued reading and found ICTNUT had the same issue as i have now where wbinfo -g could not find the domain admins group either.

    But it does not state what he did to resolve the issue.
    Last edited by HodgeHi; 1st July 2008 at 04:46 PM.

  10. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Did you alter /etc/nsswitch.conf to list winbind as a data source for passwd and group info?

  11. #9

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I replaced my nsswitch with the one you posted in that stickied thread I mentioned. If its in there which I'm sure you would have done then yes it will be in mine too :-)
    Last edited by HodgeHi; 2nd July 2008 at 09:09 AM.

  12. #10

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Here is my nsswitch file:

    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

  13. #11

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    and here is my smb.conf:

    Code:
    [global]
            idmap gid = 10000-40000
            obey pam restrictions = yes
            dns proxy = no
            netbios name = UBUNTU
            printing = cups
            invalid users = root
            idmap uid = 10000-20000
            workgroup = CRONEHILLS
            os level = 20
            printcap name = cups
            security = ads
            max log size = 1000
            winbind separator = \
            log file = /var/log/samba/log.%m
            load printers = yes
            socket options = TCP_NODELAY
            encrypt passwords = true
            public = yes
            realm = CRONEHILLS.SANDWELL.SCH.UK
            winbind use default domain = yes
            wins proxy = no
            server string = Cups Server
            winbind enum users = yes
            password server = *
            winbind gid = 10000-20000
            winbind enum groups = yes
            syslog = 0
            preferred master = no
            panic action = /usr/share/samba/panic-action %d
    
    [printers]
            printable = yes
            writable = no
            path = /var/spool/samba
            comment = All Printers
            public = yes
            create mode = 0700
            printer admin = @"domain admins"
    
    [print$]
    	  comment = Printer Drivers
    	  path = /etc/samba/drivers
    	  browseable = yes
    	  read only = no
    	  guest ok = yes
    	  write list = administrator, @"domain admins"

  14. #12

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    ok, that looks ok. Does 'wbinfo -g' work?

  15. #13

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Yeah, i think it works OK:

    Code:
    wbinfo -g | grep "domain admins"
    domain admins

  16. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    and 'getent group'?

  17. #15

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I run this and it returns:

    Code:
    getent group | grep "domain admins"
    domain admins:x:10017:stopit,admin,kshilton,administrator

SHARE:
+ Post New Thread
Page 1 of 4 1234 LastLast

Similar Threads

  1. Extracting data automatically from CMIS
    By danIT in forum MIS Systems
    Replies: 39
    Last Post: 26th March 2010, 08:13 PM
  2. Replies: 9
    Last Post: 25th March 2008, 06:13 PM
  3. Extracting Students Timetables
    By sutton2007 in forum MIS Systems
    Replies: 10
    Last Post: 10th March 2008, 12:54 PM
  4. Extracting data from an MIS
    By MikeBostock in forum MIS Systems
    Replies: 76
    Last Post: 27th February 2008, 09:18 PM
  5. CUPS slowness :(
    By Ric_ in forum *nix
    Replies: 14
    Last Post: 28th March 2007, 10:24 AM

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
  •