The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NFS4 with KERBEROS ravager AIX 0 04-22-2008 10:26 AM
USN-587-1: Kerberos vulnerabilities iBot Security Advisories (RSS) 0 03-19-2008 01:30 AM
SSH and Kerberos asch337 AIX 1 10-31-2007 11:33 AM
kerberos security sriram.s SUN Solaris 2 03-11-2005 01:00 AM
Kerberos security dansanmex Security 1 05-03-2001 10:33 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 08-18-2008
phykell phykell is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
Kerberos Authentication from Application

Hi,

We've configured Kerberos to authenticate AIX 5.3 users with Active Directory and I now have to port an application written in C to the new security model.

Currently, our users can login as normal and running a "klist" command reveals that they have been successfully granted a ticket.

The application I have to port currently uses the local password file to authenticate users but of course now I'd like to be able to authenticate them via Kerberos. I take it there's no API to call kinit() and I can't script it because it requires a password on the command line which prevents the idea of having a file storing the password (for obvious reasons).

Can anyone point me in the right direction?

Thanks
  #2 (permalink)  
Old 08-18-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Here is a start ...

Kerberos authentication for AIX Version 5.3 Network File System Version 4
  #3 (permalink)  
Old 08-18-2008
phykell phykell is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
Lightbulb

Thanks for your reply

As a result of your link I found this:

"To learn more on the Kerberos APIs, refer to the IBM Network Authentication Service Version 1.4 Application Development Reference guide shipped on the AIX 5L Version 5.3 Expansion Pack CD and the sample Kerberos example programs bundled with the IBM NAS product."

My system admin installed what I needed and there was indeed a samples directory which contained exactly what I needed

There's a source code example called krb_login.c which shows how to authenticate with the principal and password and there's even a keytab version along with other examples:
  • Login using principal and password
  • Login from keytab
  • List credentials
  • Destroy credentials
  • Create principal
  • Delete principal
There's even a complete client/server implementation too!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 12:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0