New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Applescript Q: Kinit in Lion


Post Reply New Thread Subscribe

 
Thread Tools
YoshiBishi

 
Member Since: Jul 26, 2011
Posts: 1
YoshiBishi is on a distinguished road

YoshiBishi is offline
Hello all,

I have been scripting in applescript for a while and have developed several applications for my University. However, Lion seems to handle kinit differently through applescript. Please let me know if this is the wrong place to post this information.

In snow leopard and below,

Code:
do shell script "kinit " & principal
would prompt you for a password in a dialog box for the username stored in the varialble "principal."

However, the same command in Lion does not prompt for a password, it just gives you an error that looks like the terminal version of the password prompt. However, there is no text box to type in a password and the script just closes. Users must authenticate to our server using kerberos before they can use the script.

From what I have read, it looks like Lion moved from MIT to Heimdal Kerberos. It also changed the way that the Ticket Viewer operates. I am not sure if that is what is causing the problem.

Does anyone have a work around or can point me in the right direction? All I need is for it to ask for a password instead of closing itself out.

Thanks!
QUOTE Thanks

Post Reply New Thread Subscribe


« Can I add addresses via terminal? | OS X Lion install and no longer have connectivity to either iPhone or iPod »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
OS 10.7 Lion feature/rumour roundup the8thark Apple Rumors and Reports 44 08-17-2011 02:03 PM
Helpful Lion Articles Randy B. Singer OS X - Operating System 3 08-06-2011 10:13 PM
Apple outlines Lion upgrade path for business and education customers OneMoreThing... Apple Rumors and Reports 0 06-17-2011 04:00 PM
Amazon Germany lists Mac OS X 10.7 Lion on DVD OneMoreThing... Apple Rumors and Reports 0 04-25-2011 06:03 PM

All times are GMT -4. The time now is 08:56 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?