Home › Forums › OS X Server and Client Discussion › Active Directory › [PATCH]: Printing with kerberos ticket against AD on OSX 10.5
- This topic has 4 replies, 3 voices, and was last updated 14 years ago by
oranki.
-
AuthorPosts
-
July 30, 2008 at 12:38 pm #373560
oranki
ParticipantHi ‘yall,
I got a bit frustrated with not being able to print in OSX 10.5 using Kerberos ticket.
Since the CUPS code Apple is using is not fully opensource, fixing the actual problem
is not very easy. So I hacked the user_kprintd to work in OSX 10.5. (Tested w/ OSX 10.5.4)Get the shitz here:
[url]http://love.hole.fi/atte/kerbprint-osx105.tar.gz[/url]
Don’t look at the code at the same time when drinking something, might ruin your keyboard
and display… feel free to rewrite it. And don’t post it to thedailywtf.com either, k plz thx 😉EDIT: List of possible improvements:
– Validate input; $2 is an existing user, stdin is actual PostScript, $DEVICE_URI exists
– Bail out if something doesn’t work out instead of $something, like segfaulting.
– Check variable sizes before shoving stuff in ’em (now they’re just “big enough” )
– Sanity checking to install script
– Install script to remove “RequiredAuth” from printers.conf if exists
– Conditionally install either as ‘smb’ or ‘ksmb’ and mungle printers.conf where neededI won’t be doing these as I see current version “good enough”, hopefully Apple will some day get their act together and CUPS working as it really should.
August 4, 2008 at 3:14 pm #373616htsupport
ParticipantHi, I tried this today with Mac OS X 10.5.4. When creating a printer I only see type Unknown. I can create a smb: printer but then when printing the dialogbox is coming up asking me for username and password.
The mac is integrated in AD (W2K3R2 Domain), the user has a correct kerberos ticket and I can connect to the smb share on the Domaincontroller (with a cifs kerberos ticket).
What can be wrong on my system (clean new installed os x patched for 10.5.4)
September 1, 2008 at 7:04 am #373959oranki
ParticipantTry reading the README file in the tarball.
March 9, 2011 at 8:15 pm #380518Rine
Participant[QUOTE][u]Quote by: htsupport[/u][p]Hi, I tried this today with Mac OS X 10.5.4. When creating a printer I only see type Unknown. I can create a smb: printer but then when printing the dialogbox is coming up asking me for username and password.
The mac is integrated in AD (W2K3R2 Domain), the user has a correct kerberos ticket and I can connect to the smb share on the Domaincontroller (with a cifs kerberos ticket).
What can be wrong on my system (clean new installed os x patched for 10.5.4)
[/p][/QUOTE]It’s the problem with trying a new hack. You always run the risk of screwing it up in a big way with minor mistakes. If you can show us exsactly what you did maybe we can help you.
April 1, 2011 at 8:59 am #380604oranki
ParticipantSeems I’d forgotten all about this long ago.
love.hole.fi has been retired for ages now, I just re-uploaded the hack here:
http://kameli.org/kerbprint-osx105.tar.gz
Not tested on 10.6, I have had nothing to do with this issue since I wrote the hack and I won’t help anyone getting it to work, sorry.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed