![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
||||
|
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 ![]() |
|
||||
|
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:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|