+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 47
*nix Thread, Extracting the Cups Drivers on Ubuntu 7.10 in Technical; Originally Posted by HodgeHi This is where i get lost. You see i have been following Ric_ guide on the ...
  1. #31
    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
    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.

    "mkdir /etc/samba/drivers" than copy the original drivers in there, chown the folder as you would, and leave both locations chowned to domain admins, that way either one will work, if you're not sure about location.

    Another point may be to send him a PM and suggest the guides not very clear on those steps.

  2. #32

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I'm only trying to get a fully integrated system working between Windows and OS X.

    I have set up a Print Queue on the Ad to print to the Linux print server and it prints fine with no authentication needed.

    I have also set up a print queue on the OS X side and printed from there but it still asks for authentication. It should already have been pre-authenticated as it should be running kerberos authentication from the AD but seems to still require a user to type in their name and password in OS X.

    Here is how i set up my print queue on os x:
    Attached Images Attached Images

  3. #33

    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
    Rics instructions are wrong. You should:

    Code:
    chown -R administrator:"domain admins" /usr/share/cups/drivers

  4. Thanks to Geoff from:

    HodgeHi (2nd July 2008)

  5. #34

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    OK. I will change the command.

    Anyone else know why my OS X are requesting authentication when they really shouldn't need to?



    Thanks.

  6. #35
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    OSX > Linux (Ubuntu) > Windows.

    theres kerberos communication between ubuntu and windows, as you've clearly set this up, not sure how an un-authenticated osx request would be handled by the ubuntu machine, when its expecting a response from the PDC.

    Windows user prints to Linux, linux machine asks windows if this is ok, response ok via kerberos/samba/winbind, document printers.

    OSX user prints to Linux, linux machine asks .... if this is ok, response unknown, as the linux machine doesnt know what to-do with the request?

  7. #36

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    There is a reason that I added the files there... isn't it something to do with the cupsaddsmb command? (or perhaps Ubuntu is slightly different to Debian in this respect?)... it does seem like a random place for me to put them

  8. #37

    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
    Quote Originally Posted by HodgeHi View Post
    Anyone else know why my OS X are requesting authentication when they really shouldn't need to?
    Because your Linux machine is now part of your Windows domain. As such, it expects clients to be on the same domain and also requires clients to authenticate.

    Are your Macs on the domain as well?

  9. #38

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Yes. They are bound to the AD as well. My AD users are logging in fine onto the client i have set up.

    The OD server is also set up and configured like the AD-OD integration paper.

    I have just found this though

    Configuring CUPS to Use Kerberos

    Once you have configured Kerberos on your system(s), you can then enable Kerberos authentication by selecting the Negotiate authentication type. The simplest way to do this is using the cupsctl(8) command:

    cupsctl DefaultAuthType=Negotiate
    You can also enable Kerberos from the web interface by checking the Use Kerberos Authentication box and clicking Change Settings:

    http://localhost:631/admin
    After you have enabled Kerberos authentication, add AuthType Default lines to the policies you want to protect with authentication, for example:

    Listing 1: Remote Printer Operation Policy

    1 <Policy remote>
    2 # Job-related operations must be done by the owner or an
    administrator...
    3 <Limit Send-Document Send-URI Hold-Job Release-Job
    Restart-Job Purge-Jobs Set-Job-Attributes
    Create-Job-Subscription Renew-Subscription
    Cancel-Subscription Get-Notifications Reprocess-Job
    Cancel-Current-Job Suspend-Current-Job Resume-Job
    CUPS-Move-Job>
    4 AuthType Default
    5 Require user @OWNER @SYSTEM
    6 Order deny,allow
    7 </Limit>
    8
    9 # Require authentication when creating jobs
    10 <Limit Create-Job Print-Job Print-URI>
    11 AuthType Default
    12 Require valid-user
    13 Order deny,allow
    14 </Limit>
    15
    16 # All administration operations require an administrator
    to authenticate...
    17 <Limit CUPS-Add-Printer CUPS-Delete-Printer
    CUPS-Add-Class CUPS-Delete-Class CUPS-Set-Default>
    18 AuthType Default
    19 Require user @SYSTEM
    20 Order deny,allow
    21 </Limit>
    22
    23 # All printer operations require a printer operator
    to authenticate...
    24 <Limit Pause-Printer Resume-Printer
    Set-Printer-Attributes Enable-Printer Disable-Printer
    Pause-Printer-After-Current-Job Hold-New-Jobs
    Release-Held-New-Jobs Deactivate-Printer Activate-Printer
    Restart-Printer Shutdown-Printer Startup-Printer
    Promote-Job Schedule-Job-After CUPS-Accept-Jobs
    CUPS-Reject-Jobs>
    25 AuthType Default
    26 Require user varies by OS
    27 Order deny,allow
    28 </Limit>
    29
    30 # Only the owner or an administrator can cancel or
    authenticate a job...
    31 <Limit Cancel-Job CUPS-Authenticate-Job>
    32 Require user @OWNER @SYSTEM
    33 Order deny,allow
    34 </Limit>
    35
    36 <Limit All>
    37 Order deny,allow
    38 </Limit>
    39 </Policy>
    What would i need to change to get this to work in my domain if my realm was CRONEHILLS.SANDWELL.SCH.UK Would it be similar to the Cups.conf file in the guide?

    I am slowly looking to make things simpler again. If i can edit this config file to suit then it may just get things going for me the way i would like them to be.

    Hope someone can save my day.

    PS. We need a superhero emoticon

  10. #39

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    My Setup is like this at the moment:

    AD is configured as the PDC. This holds the kerberos realm.

    OD is connected to the AD and is part of the kerberised realm hosted by the AD. It is used to host the home profiles and also manage the OS X users.

    Linux is also connected to the AD and uses the AD Kerberos realm. This allows users from the AD to print to the queues without authentication.

    The AD users print to the print queue that is connected to the Ubuntu Server
    OD users print to the queue on the ubuntu server.

  11. #40

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    OK, so i am at the point where i need to install and configure PyKota onto my Ubuntu Linux box. So where do i start?

    I have looked on the PyKota website and it says i need to pay to get the package. But there is a download on the subversion repository.

    What do i need to do to install the PyKota software. The steps in the install guide says to use dpkg -i <filename> but i don't know what the filename is?

    I thought this was going to be a little easier than this but it is certainly a job for someone with a little more knowledge of how Linux works and not really for the adventurous types as they would perhaps give up and go home

  12. #41

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    To get the packages you can get them out of SVN or stump up a donation (it's about £10 IIRC). It really is worth it's weight in gold so I donated and downloaded the packages.

    Once you have the packages, it is VERY easy to install.

  13. #42

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Unfortunately i don't have a credit card to donate :-(

  14. #43

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181

    PyKota

    I can send you the PyKota packages (the license alllows this) but I would urge you to get somebody to cough up some cash. You'll see how great the app is.

    Drop me an email address and I'll see what I can do.

  15. Thanks to Ric_ from:

    HodgeHi (3rd July 2008)

  16. #44

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

  17. #45

    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
    Once you pay, you get access to the download section. Which includes .deb files. You can install the .deb files with 'dpkg -i'.

  18. Thanks to Geoff from:

    HodgeHi (7th July 2008)

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