+ Post New Thread
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 47
*nix Thread, Extracting the Cups Drivers on Ubuntu 7.10 in Technical; So everything is working then....
  1. #16

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    So everything is working then.

  2. #17

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    Well i would of thought so too but when i try to chown -R adminsitrator:"domain admins" /etc/samba/drivers it comes back with a failure saying invalid group.

  3. #18

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    I had this the other day but couldn't be bothered with. As a work around I did:

    Code:
    chown -R administrator:administrator /etc/samba/drivers

  4. #19

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    This also comes back with invalid group.

    Code:
    chown -R administrator:administrator /etc/samba/drivers/
    chown: `administrator:administrator': invalid group

  5. #20

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Have you tried using the group/user numbers? rather than the names?

  6. #21

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    Would this be their GUIDS?

  7. #22

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Code:
    root@hermes:/usr/share/cups/drivers# getent passwd | grep "administrator"
    administrator:*:11260:10004:Administrator:/home/CARRHILL/administrator:/bin/bash
    11260 is the uid of administrator here.


    Code:
    root@hermes:/usr/share/cups/drivers# getent group | grep "domain admin"
    domain admins:x:10004:ctx_configmgr,zimbra,emlibuser1,sweepupd,gking,manager
    10004 is domain admins here. Makes sense, if you look above it conicides with the default posix group for the administrator.

    Thus:

    Code:
    chown -R 11260:10004 /somewhere/
    does the same job as:

    Code:
    chown -R "administrator":"domain admins" /somewhere/

  8. #23
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    quick work around:

    chgrp administrator /var/../.. && chmod 750 /var/../..

  9. #24

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    Ok. I tried the group an duser numbers and it accepted the command but it returned:

    Code:
    mark@ubuntu:~$ sudo chown -R 10000:10017 /etc/samba/drivers/
    [sudo] password for mark:
    chown: cannot access `/etc/samba/drivers/': No such file or directory
    What is supposed to be in the /samba/drivers folder as mine is missing?

    Have i forgot to install a package when installing SAMBA?

  10. #25
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    If you know there's meant to be something in there, do the following:

    shell: updatedb
    shell: locate filename

    and it should point to the correct location of the file.

  11. #26

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    Quote Originally Posted by ahuxham View Post
    If you know there's meant to be something in there, do the following:

    shell: updatedb
    shell: locate filename

    and it should point to the correct location of the file.
    I don't know what files should be there as i have never done this before. I assumed that the drivers folder would be there.

    Can i point filename to the folder/directory name instead?

  12. #27
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    You sure can.

    For example Samba, dependant of system, creates its winbindd pipe in different places, so I did a "locate d_pipe" and lo and behold it found the correct location of the folder.

    Its just a text search, either folder locations, filenames, etc etc

  13. #28

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    Thanks.

    I just run the command like so:

    Code:
    mark@ubuntu:~$ locate /etc/samba/drivers
    mark@ubuntu:~$ sudo ls /etc/samba
    dhcp.conf  gdbcommands  smb.conf  smb.conf~  smbpasswd
    It returned me to the command prompt. I listed the directory and there wasn't anything there. Am i using it incorrectly? I presume i am.

  14. #29
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Quote Originally Posted by HodgeHi View Post
    Thanks.

    I just run the command like so:

    Code:
    mark@ubuntu:~$ locate /etc/samba/drivers
    mark@ubuntu:~$ sudo ls /etc/samba
    dhcp.conf  gdbcommands  smb.conf  smb.conf~  smbpasswd
    It returned me to the command prompt. I listed the directory and there wasn't anything there. Am i using it incorrectly? I presume i am.
    You'll want to run "locate drivers" thus showing all locations of that folder, it may have placed it in a different location, or surely, these "drivers" are the ones you've just downloaded, wouldn't you need to point that toward the location where they are shared?

  15. Thanks to ahuxham from:

    HodgeHi (2nd July 2008)

  16. #30

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,184
    Thank Post
    299
    Thanked 211 Times in 181 Posts
    Rep Power
    55
    This is where i get lost. You see i have been following Ric_ guide on the installation. He suggests extracting the cups drivers into /usr/share/cups/drivers and then chown -R admin:admin /etc/samba/drivers.

    If what you say is the case then i can copy or even move the file to the samba location.

    I may just do that anyway.


    PS thanks for all the help guys. Please bear with me, i think i'm nearly there.

SHARE:
+ Post New Thread
Page 2 of 4 FirstFirst 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
  •